aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-yarl/APKBUILD
blob: cca48854ff9a2f65456757f4a64eef4d4bb2913a (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.18.0
pkgrel=0
pkgdesc="An URL library"
url="http://yarl.readthedocs.io/"
arch="all"
license="Apache-2.0"
depends="py3-multidict py3-pytest"
makedepends="python3-dev py3-setuptools"
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="9f287837336637c9b985c57dc8fa0203b49d85a61e767d0d47c810eee221b47997b82c157b868bdd84c062b639f999e515b1edcc129780d2046a2c28cc564984  yarl-0.18.0.tar.gz"