mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=py3-argcomplete
|
|
_pyname=argcomplete
|
|
pkgver=3.0.8
|
|
pkgrel=0
|
|
pkgdesc="Easy, extensible command line tab completion of arguments for your Python script"
|
|
url="https://github.com/kislyuk/argcomplete"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pexpect py3-pip bash fish tcsh"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/kislyuk/$_pyname/archive/v$pkgver.tar.gz
|
|
disable-zsh-tests.patch
|
|
"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
replaces="py-argcomplete" # Backwards compatibility
|
|
provides="py-argcomplete=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python test/test.py -v
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
rm -rf "$pkgdir"/usr/lib/python3.11/site-packages/test/
|
|
}
|
|
|
|
sha512sums="
|
|
3989d058b4cda9a0002fc722740fcfefd71d023b7803839031c8e935dd7e6b3cdfe9b3c01e232b9b45b71f4e105fa341e049eb53bec2e265a73a66d74f4db30a py3-argcomplete-3.0.8.tar.gz
|
|
cc3aa820a255a6ccd9aee0f3a3bf369a93d3e01d80e3586ad839f45405907a64a74e485669f43811ae708d18047c8f8387fa7199d3e67b5c021df04cb10e9a91 disable-zsh-tests.patch
|
|
"
|