diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-12-12 12:18:21 -0500 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-12-12 18:22:57 +0100 |
commit | 5185d2e34bf149ecac298c2b2b97cf349f054356 (patch) | |
tree | c3f5554ab61a46a4bee6c7893ec94a9bc1e7fb45 | |
parent | aaf1268b78e473d1e61315b3209a19782c074f5d (diff) | |
download | aports-5185d2e34bf149ecac298c2b2b97cf349f054356.tar.gz aports-5185d2e34bf149ecac298c2b2b97cf349f054356.tar.bz2 aports-5185d2e34bf149ecac298c2b2b97cf349f054356.tar.xz |
community/py3-pygit2: fix tests
-rw-r--r-- | community/py3-pygit2/APKBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/community/py3-pygit2/APKBUILD b/community/py3-pygit2/APKBUILD index 1d1a1087cf1..9f8a21e2aa7 100644 --- a/community/py3-pygit2/APKBUILD +++ b/community/py3-pygit2/APKBUILD @@ -4,13 +4,14 @@ pkgname=py3-pygit2 _pkgname=pygit2 pkgver=1.0.0 -pkgrel=0 +pkgrel=1 pkgdesc="Python bindings for libgit2" url="https://github.com/libgit2/pygit2" arch="all" license="GPL-2.0 WITH GCC-exception-2.0" depends="py3-cffi py3-six" makedepends="python3-dev py3-setuptools libgit2-dev" +checkdepends="py3-pytest py3-hypothesis" source="https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" @@ -18,11 +19,11 @@ replaces="py-pygit" # Backward compat provides="py-pygit=$pkgver-r$pkgrel" # Backward compat build() { - python3 setup.py build + python3 setup.py build_ext --inplace } check() { - python3 setup.py check + pytest-3 } package() { |