Received: from mail.cmpwn.com (mail.cmpwn.com [45.56.77.53]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 2802A781E33 for <~alpine/aports@lists.alpinelinux.org>; Thu, 12 Dec 2019 17:17:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cmpwn.com; s=cmpwn; t=1576171057; bh=8gaijoi9mAxBlhzCpbnSYh3W64aYUcR0OVjVIXytEac=; h=From:To:Cc:Subject:Date; b=TLHw+QMTOUeVA4XCMx88DJwaBzS5vT9wWdB1yUV8Rr2moIkdchLoEo5MrKRoPv4jb KLc1GHPvQksokb97HqgSlqrpsQ26SCTa2Rkut0XfLiuuyjQlKfhSX4B5L+kd2eOPJg bHrLJZU7NwyP5AxgbWQukuplTS6revr3Tw5du4PY= From: Drew DeVault To: ~alpine/aports@lists.alpinelinux.org Cc: Drew DeVault Subject: [PATCH] community/py3-pygit2: fix tests Date: Thu, 12 Dec 2019 12:18:21 -0500 Message-Id: <20191212171821.27207-1-sir@cmpwn.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit --- 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