David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
python-argcomplete


Commits:
2cd1a74b by David Runge at 2024-04-06T18:36:57+02:00
upgpkg: 3.1.1-2: Rebuild against Python 3.12

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-argcomplete
        pkgdesc = Easy, extensible command line tab completion of arguments for 
your Python script
        pkgver = 3.1.1
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/kislyuk/argcomplete
        arch = any
        license = Apache-2.0


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 pkgname=python-argcomplete
 _pyname=argcomplete
 pkgver=3.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Easy, extensible command line tab completion of arguments for your 
Python script'
 url='https://github.com/kislyuk/argcomplete'
 arch=('any')
@@ -21,6 +21,12 @@ pkgver() {
   git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
 }
 
+prepare() {
+  cd ${_pyname}
+  # fix test issues with Python 3.12: 
https://github.com/kislyuk/argcomplete/issues/440
+  git cherry-pick -n 59f4f9d37d7da3001829db67d22a4581798a0639
+}
+
 build() {
   cd ${_pyname}
   python -m build --wheel --no-isolation



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-argcomplete/-/commit/2cd1a74bccba43b607225d2c43846a6c09bed18e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-argcomplete/-/commit/2cd1a74bccba43b607225d2c43846a6c09bed18e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to