blob: b962e30bc5042e37a3ea6a3eae1ecbbfedb9b225 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=py3-argcomplete
_pkgname=${pkgname#py3-}
pkgver=1.10.2
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"
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="95cc73b798b3c5ea2bba6cb687feb48e80117e73c72914592adfa38dd2e94a4850504056c7f5a5a83e3add90ae0bb90983dfd9f66845aeab8a6fe6ef5bceb1a4 py3-argcomplete-1.10.2.tar.gz"
|