Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages /
python-argcomplete
Commits:
c3692acb by 极速蜗牛 at 2025-02-02T11:21:53+08:00
Switch to hatchling and update to 3.5.3
- - - - -
4d4f0873 by 极速蜗牛 at 2025-02-03T11:03:23+08:00
Fix check() errors with venv
- - - - -
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.4.0
- pkgrel = 2
+ pkgver = 3.5.3
+ pkgrel = 1
url = https://github.com/kislyuk/argcomplete
arch = any
license = Apache-2.0
@@ -12,12 +12,13 @@ pkgbase = python-argcomplete
checkdepends = zsh
makedepends = git
makedepends = python-build
+ makedepends = python-hatch-vcs
+ makedepends = python-hatchling
makedepends = python-installer
- makedepends = python-setuptools-scm
makedepends = python-wheel
depends = python
- source =
argcomplete::git+https://github.com/kislyuk/argcomplete#tag=v3.4.0
+ source =
argcomplete::git+https://github.com/kislyuk/argcomplete#tag=v3.5.3
validpgpkeys = 29BCBADB4ECAAAC2382699388AFAFCD242818A52
- sha512sums =
99a3b9f6c0572b309f2da8846cceb89e6a8f03eb3bd17b5695a8a4a34a2d71e4e68ac283ec5a0e90eb50df3b4c095417faccec2fd607a5ac81219190cb489e58
+ sha512sums =
446593154b8c16f2d280ed5727723b808c5873cfc2c4715a96e8e68ecc0572d0dc2cca8992e41ea9af6d6f88c53f36ac55583139ea659a173fc2186ee9221520
pkgname = python-argcomplete
=====================================
PKGBUILD
=====================================
@@ -1,19 +1,20 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
+# Contributor: JisuWoniu <[email protected]>
pkgname=python-argcomplete
_pyname=argcomplete
-pkgver=3.4.0
-pkgrel=2
+pkgver=3.5.3
+pkgrel=1
pkgdesc='Easy, extensible command line tab completion of arguments for your
Python script'
url='https://github.com/kislyuk/argcomplete'
arch=('any')
license=('Apache-2.0')
depends=('python')
-makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
+makedepends=('git' 'python-build' 'python-hatch-vcs' 'python-hatchling'
'python-installer' 'python-wheel')
checkdepends=('fish' 'python-pexpect' 'python-pip' 'tcsh' 'zsh')
source=(${_pyname}::"git+$url#tag=v$pkgver")
-sha512sums=('99a3b9f6c0572b309f2da8846cceb89e6a8f03eb3bd17b5695a8a4a34a2d71e4e68ac283ec5a0e90eb50df3b4c095417faccec2fd607a5ac81219190cb489e58')
+sha512sums=('446593154b8c16f2d280ed5727723b808c5873cfc2c4715a96e8e68ecc0572d0dc2cca8992e41ea9af6d6f88c53f36ac55583139ea659a173fc2186ee9221520')
validpgpkeys=('29BCBADB4ECAAAC2382699388AFAFCD242818A52') # Andrey Kislyuk
<[email protected]>
build() {
@@ -23,7 +24,10 @@ build() {
check() {
cd ${_pyname}
- python test/test.py -v
+ python -m venv --system-site-packages test-venv
+ test-venv/bin/python -m installer dist/*.whl
+ PATH="$PWD/test-venv/bin/:$PATH" test-venv/bin/python test/test.py -v
+
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-argcomplete/-/compare/f3c2e8ed9c7a50a748645e102b35fb8abf797b6c...4d4f08730bbd004ad8eeec73442a7bc7ce704bf9
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-argcomplete/-/compare/f3c2e8ed9c7a50a748645e102b35fb8abf797b6c...4d4f08730bbd004ad8eeec73442a7bc7ce704bf9
You're receiving this email because of your account on gitlab.archlinux.org.