[arch-commits] Commit in python-pygit2/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Thu Feb 24 15:31:46 UTC 2022
Date: Thursday, February 24, 2022 @ 15:31:46
Author: alerque
Revision: 1136428
upgpkg: python-pygit2 1.9.0-2; update check() to test actual build
Modified:
python-pygit2/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-24 15:30:16 UTC (rev 1136427)
+++ PKGBUILD 2022-02-24 15:31:46 UTC (rev 1136428)
@@ -5,7 +5,7 @@
pkgname=python-pygit2
pkgver=1.9.0
-pkgrel=1
+pkgrel=2
pkgdesc='Python bindings for libgit2'
arch=('x86_64')
url="https://github.com/libgit2/pygit2"
@@ -29,7 +29,8 @@
check() {
cd "pygit2-$pkgver"
- python setup.py pytest
+ local _pyver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-$_pyver" pytest
}
package() {
More information about the arch-commits
mailing list