mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
33 lines
1 KiB
Text
33 lines
1 KiB
Text
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Maintainer:
|
|
pkgname=py3-argcomplete
|
|
_pkgname=${pkgname#py3-}
|
|
pkgver=1.10.0
|
|
pkgrel=1
|
|
pkgdesc="Easy, extensible command line tab completion of arguments for your Python script"
|
|
options="!check" # Tests are py2 dependent
|
|
url="https://github.com/kislyuk/argcomplete"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-coverage py3-flake8 py3-pexpect bash"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/kislyuk/$_pkgname/archive/v$pkgver.tar.gz
|
|
"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
replaces="py-argcomplete" # Backwards compatibility
|
|
provides="py-argcomplete=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
|
|
}
|
|
|
|
sha512sums="bbed1666698eca49477bef768f416eb3fed9157d43d0ad19d221302a47625743395947377011536fb3d26a411a17b8b53807350ed616629c65e1e017967e9124 py3-argcomplete-1.10.0.tar.gz"
|