~alpine/aports

community/py3-pygit2: fix tests v1 APPLIED

Drew DeVault: 1
 community/py3-pygit2: fix tests

 1 files changed, 4 insertions(+), 3 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3173/mbox | git am -3
Learn more about email & git

[PATCH] community/py3-pygit2: fix tests Export this patch

---
 community/py3-pygit2/APKBUILD | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/community/py3-pygit2/APKBUILD b/community/py3-pygit2/APKBUILD
index 1d1a1087cf..9f8a21e2aa 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() {
-- 
2.24.0