aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-dulwich
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-24 16:39:40 +0300
committerprspkt <prspkt@protonmail.com>2019-06-24 17:33:32 +0300
commitb9b9969217a66e982c218c1cf748e9870f153834 (patch)
tree52d6c3439e17e07f5354e5145abc08536f42970e /testing/py3-dulwich
parent9bcfa3541407f905b7d2bfad7c99c09a8732664a (diff)
downloadaports-b9b9969217a66e982c218c1cf748e9870f153834.tar.bz2
aports-b9b9969217a66e982c218c1cf748e9870f153834.tar.xz
testing/py3-dulwich: upgrade to 0.19.11
* Add py3certifi, py3-urllib3. * Add checkdepends and run test suite.
Diffstat (limited to 'testing/py3-dulwich')
-rw-r--r--testing/py3-dulwich/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/testing/py3-dulwich/APKBUILD b/testing/py3-dulwich/APKBUILD
index 8c434ef456..d8a11bc4b9 100644
--- a/testing/py3-dulwich/APKBUILD
+++ b/testing/py3-dulwich/APKBUILD
@@ -2,14 +2,15 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-dulwich
_pkgname=dulwich
-pkgver=0.19.10
-pkgrel=1
+pkgver=0.19.11
+pkgrel=0
pkgdesc="A python implementation of the Git file formats and protocols"
url="https://www.dulwich.io"
arch="all"
license="GPL-2.0-or-later OR Apache-2.0"
-options="!check" # Tests are failing (http-backend)
+depends="py3-certifi py3-urllib3"
makedepends="py3-setuptools python3-dev"
+checkdepends="py3-mock"
source="https://github.com/dulwich/dulwich/archive/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-dulwich-$pkgver
@@ -20,13 +21,12 @@ build() {
python3 setup.py build
}
-#check() {
-# PYTHONHASHSEED=random PYTHONPATH=.: python -m unittest dulwich.tests.test_suite
-# PYTHONHASHSEED=random PYTHONPATH=.: python3 -m unittest dulwich.tests.test_suite
-#}
+check() {
+ python3 -m unittest dulwich.tests.test_suite
+}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="0699e7cdea103f2caca24b7841d2cb761d264d3847c22ceb74b5c3f9a890ad8143dad5affd339da424b38c1b13e55788b2d521797b9653a7ff7c373ab02b2401 dulwich-0.19.10.tar.gz"
+sha512sums="3a81f8c338c4b95d972f76743ab4c1ca8aa45359bc228df7360d4b6055c1d7f2c3405143e43f2efd94754c6f4c3418022ce78dac7b67ecf2c4c6adf81380d4a0 dulwich-0.19.11.tar.gz"