mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
36 lines
1 KiB
Text
36 lines
1 KiB
Text
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Maintainer:
|
|
pkgname=py3-argcomplete
|
|
_pyname=argcomplete
|
|
pkgver=1.12.3
|
|
pkgrel=0
|
|
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"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-coverage py3-flake8 py3-pexpect bash"
|
|
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() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
|
|
}
|
|
|
|
sha512sums="
|
|
055c12f0c6c2d575979e7ac5d9e60688564ea6c38d2637c39393af03a140a29c8b70ffc6d91dcfee194d30556f1a9d6c33c190469e5e658da6543f08fb41b725 py3-argcomplete-1.12.3.tar.gz
|
|
"
|