* update python-dulwich to 0.22.1-1

This commit is contained in:
Alexander Baldeck 2024-05-10 08:22:38 +02:00
parent a777dc8838
commit a2bde6d82c
2 changed files with 762 additions and 3884 deletions

View File

@ -4,18 +4,18 @@
pkgname=python-dulwich
_name=${pkgname#python-}
pkgver=0.21.7
pkgver=0.22.1
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-urllib3')
depends=('python-setuptools' 'python-urllib3')
makedepends=(
'git'
'python-build'
'python-installer'
'python-setuptools'
'python-setuptools-rust'
'python-wheel'
)
checkdepends=('python-gpgme' 'python-paramiko')
@ -27,9 +27,15 @@ 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?signed")
b2sums=('SKIP')
validpgpkeys=('DC837EE14A7E37347E87061700806F2BD729A457') # Jelmer Vernooij <jelmer@jelmer.uk>
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
}
build() {
cd "$_name"
@ -38,7 +44,7 @@ build() {
check() {
cd "$_name"
PYTHONPATH="$PWD/dulwich:$PYTHONPATH" python -m unittest dulwich.tests.test_suite
PYTHONPATH="$PWD/dulwich:$PYTHONPATH" python -m unittest -v tests.test_suite
}
package() {