~dricottone/huttese-apk

ref: e1f6695b46c95dbc6b60a01646f9e421eac651d9 huttese-apk/sr.ht/py3-furl/APKBUILD -rw-r--r-- 786 bytes
e1f6695b — Drew DeVault py3-deprecated: drop package 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-furl
_pyname=furl
pkgver=2.1.0
pkgrel=0
pkgdesc="Python library that makes manipulating URLs simple."
url="https://github.com/gruns/furl"
arch="noarch"
license="Unlicense"
depends="python3 py3-six py3-orderedmultidict"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="c7de9c87e5368a3ccb7c0639b9c679b3c71ac75144f275b2491e88d361bfca8612b3b23e76e538a98b02c1666e2dac000cb9f5add2e97d240cead7f40a1411ca  furl-2.1.0.tar.gz"