author | David Runge
<dvzrv@archlinux.org> 2024-04-06 16:36:57 UTC |
committer | David Runge
<dvzrv@archlinux.org> 2024-04-06 16:36:57 UTC |
parent | 55e7e3a158256e3c964e2febd0a413784ce9e50f |
.SRCINFO | +1 | -1 |
PKGBUILD | +7 | -1 |
diff --git a/.SRCINFO b/.SRCINFO index 758bf99..6d92a5c 100644 --- a/.SRCINFO +++ b/.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 diff --git a/PKGBUILD b/PKGBUILD index 99566bd..1082dfd 100644 --- a/PKGBUILD +++ b/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