~dricottone/huttese-apk

ref: bd5e2607cbcd0a0f4b754651a72c8c06a647627f huttese-apk/sr.ht/py3-furl/APKBUILD -rw-r--r-- 786 bytes
bd5e2607 — Drew DeVault Update README.md with upgrade lessons 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"