Date: Tuesday, April 11, 2023 @ 07:46:27
  Author: alerque
Revision: 1444644

archrelease: copy trunk to community-x86_64

Added:
  python-pygit2/repos/community-x86_64/PKGBUILD
    (from rev 1444643, python-pygit2/trunk/PKGBUILD)
Deleted:
  python-pygit2/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 39 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-11 07:46:18 UTC (rev 1444643)
+++ PKGBUILD    2023-04-11 07:46:27 UTC (rev 1444644)
@@ -1,45 +0,0 @@
-# Maintainer: Lukas Fleischer <[email protected]>
-# Maintainer: Jaroslav Lichtblau <[email protected]>
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Daniel Micay <[email protected]>
-
-pkgname=python-pygit2
-pkgver=1.11.1
-pkgrel=2
-pkgdesc='Python bindings for libgit2'
-arch=('x86_64')
-url="https://github.com/libgit2/pygit2";
-license=('GPL2')
-depends=('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")
-        # "pseudo-1.11.2.patch::$url/compare/v1.11.1...c8d6d27.patch")
-sha256sums=('c352cf8712094b6fa997a24d76e906d13f02ad5f54f66ce2fb3fdc3890150546')
-            # 
'f8e59174431acf418a26655200fb41fb739430be2d77f7cec1abbcad12a67502')
-
-prepare() {
-       cd "pygit2-$pkgver"
-       # Disable tests that do stuff online
-       sed -e '/has_network/s/True/False/' -i test/utils.py
-       # Bypass hard limit on libgit2-1.5.x
-       sed -i -e '/LIBGIT2_VER_MINOR/s/5/6/g' src/types.h
-       # apply patches from master branch to 1.11.2 commit (tag yanked)
-       # patch -p1 < ../pseudo-1.11.2.patch
-}
-
-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 1444643, 
python-pygit2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-11 07:46:27 UTC (rev 1444644)
@@ -0,0 +1,39 @@
+# Maintainer: Lukas Fleischer <[email protected]>
+# Maintainer: Jaroslav Lichtblau <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Daniel Micay <[email protected]>
+
+pkgname=python-pygit2
+pkgver=1.12.0
+pkgrel=1
+pkgdesc='Python bindings for libgit2'
+arch=('x86_64')
+url="https://github.com/libgit2/pygit2";
+license=('GPL2')
+depends=('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=('014b635dbf017542d83f72d459ce835ea9713fe401986f428febfd317088c34f')
+
+prepare() {
+       cd "pygit2-$pkgver"
+       # Disable tests that do stuff online
+       sed -e '/has_network/s/True/False/' -i 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
+}

Reply via email to