* update python-dulwich to 0.22.6-1

This commit is contained in:
Alexander Baldeck 2024-11-20 13:55:34 +01:00
parent d0e4e0f0c2
commit 83babfe8ad
2 changed files with 46 additions and 19 deletions

View File

@ -0,0 +1,30 @@
pkgbase = python-dulwich
pkgdesc = Pure-Python implementation of the Git file formats and protocols
pkgver = 0.22.6
pkgrel = 1
url = https://www.dulwich.io
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = Apache-2.0 OR GPL-2.0-or-later
checkdepends = python-gpgme
checkdepends = python-paramiko
makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools-rust
makedepends = python-wheel
depends = python-urllib3
optdepends = python-fastimport: for fast-import support
optdepends = python-gpgme: for PGP signature support
optdepends = python-idna: for HTTPS support via urllib3
optdepends = python-paramiko: for use as the SSH implementation
optdepends = python-pyopenssl: for HTTPS support via urllib3
optdepends = python-pyinotify: to watch for changes to refs
source = git+https://github.com/jelmer/dulwich.git#tag=v0.22.6
validpgpkeys = DC837EE14A7E37347E87061700806F2BD729A457
b2sums = 88267d7bd79812612530f99eb1bafc58a0fc2a6dd39d6ab6a8b8047196c046e0d5aba8352f3a8aa6037b8a1652541b18221818236e0e6f2e7c3906811039b686
pkgname = python-dulwich

View File

@ -4,21 +4,24 @@
pkgname=python-dulwich
_name=${pkgname#python-}
pkgver=0.22.1
pkgver=0.22.6
pkgrel=1
pkgdesc='Pure-Python implementation of the Git file formats and protocols'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url=https://www.dulwich.io
license=('GPL')
depends=('python-setuptools' 'python-urllib3')
license=('Apache-2.0 OR GPL-2.0-or-later')
depends=(python-urllib3)
makedepends=(
'git'
'python-build'
'python-installer'
'python-setuptools-rust'
'python-wheel'
git
python-build
python-installer
python-setuptools-rust
python-wheel
)
checkdepends=(
python-gpgme
python-paramiko
)
checkdepends=('python-gpgme' 'python-paramiko')
optdepends=(
'python-fastimport: for fast-import support'
'python-gpgme: for PGP signature support'
@ -27,15 +30,9 @@ optdepends=(
'python-pyopenssl: for HTTPS support via urllib3'
'python-pyinotify: to watch for changes to refs'
)
source=("git+https://github.com/jelmer/dulwich.git#tag=dulwich-$pkgver")
b2sums=('5c263266b7e7205efbe1be1bbbac50258c8229f166961b83fdcdb3d87780c31489886eb83ce2defafe86fedafb027ae334fcc7bfb49d212de96f06e819236800')
#validpgpkeys=('DC837EE14A7E37347E87061700806F2BD729A457') # Jelmer Vernooij <jelmer@jelmer.uk>
prepare() {
cd "$_name"
# https://github.com/jelmer/dulwich/issues/1293
git cherry-pick -n 36c2264a621b94a30aea68938fe94059487b9cdf
}
source=("git+https://github.com/jelmer/dulwich.git#tag=v$pkgver")
b2sums=('88267d7bd79812612530f99eb1bafc58a0fc2a6dd39d6ab6a8b8047196c046e0d5aba8352f3a8aa6037b8a1652541b18221818236e0e6f2e7c3906811039b686')
validpgpkeys=(DC837EE14A7E37347E87061700806F2BD729A457) # Jelmer Vernooij <jelmer@jelmer.uk>
build() {
cd "$_name"
@ -44,7 +41,7 @@ build() {
check() {
cd "$_name"
PYTHONPATH="$PWD/dulwich:$PYTHONPATH" python -m unittest -v tests.test_suite
PYTHONPATH=dulwich python -m unittest -v tests.test_suite
}
package() {