diff options
-rw-r--r-- | community/py3-yarl/APKBUILD | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/community/py3-yarl/APKBUILD b/community/py3-yarl/APKBUILD index 1dff40bd6b..315900881c 100644 --- a/community/py3-yarl/APKBUILD +++ b/community/py3-yarl/APKBUILD @@ -2,31 +2,28 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py3-yarl _pkgname=yarl -pkgver=1.3.0 -pkgrel=2 +pkgver=1.4.1 +pkgrel=0 pkgdesc="Yet another URL library" url="http://yarl.readthedocs.io" arch="all" license="Apache-2.0" -depends="py3-multidict" +depends="py3-multidict py3-idna" makedepends="py3-setuptools python3-dev" -checkdepends="py3-pytest" +checkdepends="py3-pytest py3-pytest-cov" 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 + python3 -m pytest } package() { - cd "$builddir" python3 setup.py install --root="$pkgdir" } -sha512sums="58e539900e7754b0a3d41960ebe20d21fd7245ce71fccb31d6a1204298dd71cacd742b2cb2b4c49c3a9b28ce5c664c412334f29e23a3c608aad8018142ba3e14 yarl-1.3.0.tar.gz" +sha512sums="9e6cdd8b9fc2ebe39cfa04a2a8c32ac0d7241faced697d89899246cd617e72b5971690b1317a330144f2cc564f6a8cad81be996110f5cd4fd0c45f8f8105c959 yarl-1.4.1.tar.gz" |