Skip to content

Commit

Permalink
python-pygit2: update to 1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiChinoune committed Sep 9, 2023
1 parent 13677eb commit aca0a3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 64 deletions.
18 changes: 5 additions & 13 deletions mingw-w64-python-pygit2/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
_realname=pygit2
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=1.12.2
pkgrel=2
pkgver=1.13.0
pkgrel=1
pkgdesc='Python bindings for libgit2 (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
url='https://github.com/libgit2/pygit2'
license=('GPL2')
license=('spdx:GPL-2.0-only')
depends=("${MINGW_PACKAGE_PREFIX}-libgit2"
"${MINGW_PACKAGE_PREFIX}-python"
"${MINGW_PACKAGE_PREFIX}-python-cffi")
Expand All @@ -18,21 +18,13 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
"${MINGW_PACKAGE_PREFIX}-python-setuptools"
"${MINGW_PACKAGE_PREFIX}-python-wheel"
"${MINGW_PACKAGE_PREFIX}-cc")
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz"
"libgit2-1.7.patch")
sha256sums=('56e85d0e66de957d599d1efb2409d39afeefd8f01009bfda0796b42a4b678358'
'fb1023efd7cbdc804502e5d1dc62ecac15bcce85d44c6cb3b5a847ac3737d73f')
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
sha256sums=('6dde37436fab14264ad3d6cbc5aae3fd555eb9a9680a7bfdd6e564cd77b5e2b8')

prepare() {
cd "${srcdir}"
rm -rf "python-build-${MSYSTEM}" | true
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}"

cd "${srcdir}/python-build-${MSYSTEM}"

# https://github.com/libgit2/pygit2/issues/1231
# https://gitlab.archlinux.org/archlinux/packaging/packages/python-pygit2/-/blob/main/libgit2-1.7.patch
patch -p1 -i "${srcdir}/libgit2-1.7.patch"
}

build() {
Expand Down
51 changes: 0 additions & 51 deletions mingw-w64-python-pygit2/libgit2-1.7.patch

This file was deleted.

0 comments on commit aca0a3a

Please sign in to comment.