Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages /
python-pygit2
Commits:
8265aab1 by Carl Smedstad at 2024-11-18T08:10:12+01:00
upgpkg: 1.16.0-2: Fix build
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-pygit2
pkgdesc = Python bindings for libgit2
pkgver = 1.16.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/libgit2/pygit2
arch = x86_64
license = LicenseRef-GPL-2.0-only-with-linking-exception
@@ -16,7 +16,9 @@ pkgbase = python-pygit2
depends = python
depends = python-cffi
source =
https://github.com/libgit2/pygit2/archive/v1.16.0/python-pygit2-1.16.0.tar.gz
+ source =
fix-libgit2-compatibility.patch::https://github.com/libgit2/pygit2/commit/eba710e45bb40e18641c6531394bb46631e7f295.patch
sha256sums =
72584d3bc24eb783229e5475eed41078815e90b03254451f3918bc80bba10513
+ sha256sums =
e6d6c2cde580c163159bba8263c0fba4bc18af79781a6834e297cc2da242cbe9
pkgname = python-pygit2
depends = glibc
=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
pkgname=python-pygit2
pkgver=1.16.0
-pkgrel=1
+pkgrel=2
pkgdesc='Python bindings for libgit2'
arch=('x86_64')
url="https://github.com/libgit2/pygit2"
@@ -13,11 +13,16 @@ license=('LicenseRef-GPL-2.0-only-with-linking-exception')
depends=('glibc' 'libgit2' 'python' 'python-cffi')
makedepends=('cython' 'python-build' 'python-installer' 'python-setuptools'
'python-wheel')
checkdepends=('python-pytest')
-source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('72584d3bc24eb783229e5475eed41078815e90b03254451f3918bc80bba10513')
+source=(
+ "$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+
"fix-libgit2-compatibility.patch::$url/commit/eba710e45bb40e18641c6531394bb46631e7f295.patch"
+)
+sha256sums=('72584d3bc24eb783229e5475eed41078815e90b03254451f3918bc80bba10513'
+ 'e6d6c2cde580c163159bba8263c0fba4bc18af79781a6834e297cc2da242cbe9')
prepare() {
cd "pygit2-$pkgver"
+ patch -Np1 -i ../fix-libgit2-compatibility.patch
# Disable tests that do stuff online
sed -e '/has_network/s/True/False/' -i test/utils.py
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pygit2/-/commit/8265aab164f38abef35d725061abcc9e65e23bf7
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pygit2/-/commit/8265aab164f38abef35d725061abcc9e65e23bf7
You're receiving this email because of your account on gitlab.archlinux.org.