Date: Tuesday, September 6, 2022 @ 10:55:56 Author: alerque Revision: 1294412
archrelease: copy trunk to community-x86_64 Added: python-pygit2/repos/community-x86_64/PKGBUILD (from rev 1294411, 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-09-06 10:55:48 UTC (rev 1294411) +++ PKGBUILD 2022-09-06 10:55:56 UTC (rev 1294412) @@ -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.10.0 -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=('cython' '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=('f86f76812a1eed69b4b36757ddf77a1e455d8dc508ed26550b4e4be46e5e79af') - -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=cpython-$(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 1294411, python-pygit2/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-06 10:55:56 UTC (rev 1294412) @@ -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.10.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=('cython' '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=('4424d2a7817b5b97fdeb08f908c2bd96f87d46b5d60ca4d33afd06d48257c015') + +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=cpython-$(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 +}