aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Berthault <justin.berthault@zaclys.net>2020-07-14 19:19:57 +0200
committerLeo <thinkabit.ukim@gmail.com>2020-07-14 18:18:02 +0000
commit1c05ba3065d6b06c6cc64478652f59c11918aae3 (patch)
tree04e307cbf9e85dc989c8349b9587ede484131bb6
parentbb61050bd3b4a2f860c0ab981befe48ae460bccc (diff)
downloadaports-1c05ba3065d6b06c6cc64478652f59c11918aae3.tar.gz
aports-1c05ba3065d6b06c6cc64478652f59c11918aae3.tar.bz2
aports-1c05ba3065d6b06c6cc64478652f59c11918aae3.tar.xz
community/py3-netaddr: upgrade to 0.8.0
-rw-r--r--community/py3-netaddr/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/community/py3-netaddr/APKBUILD b/community/py3-netaddr/APKBUILD
index 826f52c824..c16fb85023 100644
--- a/community/py3-netaddr/APKBUILD
+++ b/community/py3-netaddr/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-netaddr
_pyname=netaddr
-pkgver=0.7.20
+pkgver=0.8.0
pkgrel=0
pkgdesc="A network address manipulation library for Python"
url="https://github.com/drkjam/netaddr"
@@ -10,6 +10,7 @@ arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
+checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/n/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
@@ -20,8 +21,12 @@ build() {
python3 setup.py build
}
+check() {
+ python3 setup.py test
+}
+
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="f6cbfefa3cec95c039ef711b15e3c9509cdf730c9c4b9427fe2fa55beddd8fd44621fe8615d26a3b9ac6989a648f96d42a6a8e848a4976d883b8a5a243590ccf netaddr-0.7.20.tar.gz"
+sha512sums="a158bef87e862330c583f8b6709c4f575ec036dd31d725dad679e583ad4bef1a34f43225453bc93970ab720ae5f9f0fc2a6a3b92cbb922ed6f201414fd1e96d3 netaddr-0.8.0.tar.gz"