Date: Thursday, March 24, 2022 @ 18:24:05 Author: alerque Revision: 1174896
archrelease: copy trunk to community-x86_64 Added: python-pygit2/repos/community-x86_64/PKGBUILD (from rev 1174895, python-pygit2/trunk/PKGBUILD) Deleted: python-pygit2/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 78 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-24 18:23:55 UTC (rev 1174895) +++ PKGBUILD 2022-03-24 18:24:05 UTC (rev 1174896) @@ -1,39 +0,0 @@ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> -# Maintainer: Caleb Maclennan <ca...@alerque.com> -# Contributor: Daniel Micay <danielmi...@gmail.com> - -pkgname=python-pygit2 -pkgver=1.9.0 -pkgrel=2 -pkgdesc='Python bindings for libgit2' -arch=('x86_64') -url="https://github.com/libgit2/pygit2" -license=('GPL2') -depends=('libgit2>=1:1.4.0' 'python-cffi' 'python-six' 'python-cached-property') -makedepends=('python-build' 'python-cffi' 'python-installer' 'python-setuptools' 'git' 'python-six' 'python-wheel') -checkdepends=('python-pytest-runner') -source=("$pkgname-$pkgver.tar.gz"::$url/archive/v$pkgver.tar.gz) -sha256sums=('c4c04215eed965c9455b2736155695b08f0ffeaaf24299d9d33b0314499acdca') - -prepare() { - cd "pygit2-$pkgver" - # Disable tests that do stuff online - sed -i -e '/has_network/s/True/False/' test/utils.py -} - -build() { - cd "pygit2-$pkgver" - python -m build -wn -} - -check() { - cd "pygit2-$pkgver" - local _pyver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') - PYTHONPATH="$PWD/build/lib.linux-$CARCH-$_pyver" pytest -} - -package() { - cd "pygit2-$pkgver" - LANG=en_US.UTF8 python -m installer -d "${pkgdir}" dist/*.whl -} Copied: python-pygit2/repos/community-x86_64/PKGBUILD (from rev 1174895, python-pygit2/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-24 18:24:05 UTC (rev 1174896) @@ -0,0 +1,39 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: Daniel Micay <danielmi...@gmail.com> + +pkgname=python-pygit2 +pkgver=1.9.1 +pkgrel=1 +pkgdesc='Python bindings for libgit2' +arch=('x86_64') +url="https://github.com/libgit2/pygit2" +license=('GPL2') +depends=('libgit2' 'libgit2.so' 'python-cffi' 'python-six' 'python-cached-property') +makedepends=('python-build' 'python-cffi' 'python-installer' 'python-setuptools' 'git' 'python-six' 'python-wheel') +checkdepends=('python-pytest-runner') +source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('5d73def26a59546f8759a3ff3c7224a7e73a16650cab7e3145a63702ee209fcc') + +prepare() { + cd "pygit2-$pkgver" + # Disable tests that do stuff online + sed -i -e '/has_network/s/True/False/' test/utils.py +} + +build() { + cd "pygit2-$pkgver" + python -m build -wn +} + +check() { + cd "pygit2-$pkgver" + local _pyver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))') + PYTHONPATH="$PWD/build/lib.linux-$CARCH-$_pyver" pytest +} + +package() { + cd "pygit2-$pkgver" + LANG=en_US.UTF8 python -m installer -d "${pkgdir}" dist/*.whl +}