aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-hyperlink/APKBUILD
blob: 5ecf535701cdfe6800aa8ff06e376b03b86babaf (plain)
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
# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-hyperlink
_pkgname=hyperlink
pkgver=19.0.0
pkgrel=1
pkgdesc="Python implementation of immutable URLs"
url="https://github.com/python-hyper/hyperlink"
arch="noarch"
license="MIT"
depends="py3-idna"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/"$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="5d5723bc0bd0c381edd3a9ef7bab3ba9ad4252027d5a4afa61e6cfff3e5b8457994b6dd36ecc356e638d41f797fe3367a3010249e0e77bee6e9e94336c1e7c2e  hyperlink-19.0.0.tar.gz"