mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
35 lines
1 KiB
Text
35 lines
1 KiB
Text
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=py3-argcomplete
|
|
_pyname=argcomplete
|
|
pkgver=2.0.5
|
|
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"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/kislyuk/$_pyname/archive/v$pkgver.tar.gz"
|
|
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="
|
|
9babcae73c68e73cd72672f2c304aae9860bb84373b4cd7552112aa700ec3edcc76e51c1e386ba289ba8f05e51977acbe0eb2107fee4d9ab63c8002604bc0088 py3-argcomplete-2.0.5.tar.gz
|
|
"
|