aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-yarl/APKBUILD
blob: a2f3cbd2cc277bfc715ce0a29ae1b4be755afd3b (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
30
31
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-yarl
_pkgname=yarl
pkgver=0.14.0
pkgrel=0
pkgdesc="An URL library"
url="http://yarl.readthedocs.io/"
arch="all"
license="ASL 2.0"
depends="py3-multidict py3-pytest"
makedepends="python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test
}

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

sha512sums="d521efe97e388688b978695b0740fae517bac3c7e3db7d3d9a4a0d356235bba4a2d5ac375636b3637002ba886d37a84bebe3de4fa5af81891b332bab10891ef3  yarl-0.14.0.tar.gz"