~dricottone/apkbuilds

ref: nginx-dav apkbuilds/src/py3-furl/APKBUILD -rw-r--r-- 788 bytes
5a83bac6Dominic Ricottone WIP: nginx-dav-ext-module 7 months 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
29
30
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-furl
_pyname=furl
pkgver=2.1.3
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="
ce7455bd1a352243efd9715e80e9f9979631cc058927edcd8c52ccb85d27fd8f32079611bb29c487d2add2d1d941d56e4db75520339dc371b1539811ccefda02  furl-2.1.3.tar.gz
"