[arch-commits] Commit in python-argcomplete/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:22:17 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:22:17
Author: felixonmars
Revision: 1058130
archrelease: copy trunk to community-staging-any
Added:
python-argcomplete/repos/community-staging-any/
python-argcomplete/repos/community-staging-any/PKGBUILD
(from rev 1058126, python-argcomplete/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: python-argcomplete/repos/community-staging-any/PKGBUILD (from rev 1058126, python-argcomplete/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:22:17 UTC (rev 1058130)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
+
+pkgname=python-argcomplete
+_pyname=argcomplete
+pkgver=1.12.1
+_gitcommit=36bc3b3e4230caacb11de6e49c24bff1406f8c1d
+pkgrel=2
+pkgdesc='Easy, extensible command line tab completion of arguments for your Python script'
+url='https://github.com/kislyuk/argcomplete'
+arch=('any')
+license=('Apache')
+depends=('python')
+makedepends=('git' 'python-setuptools')
+checkdepends=('python-pexpect' 'tcsh' 'fish' 'python-pip')
+source=(${_pyname}::"git+https://github.com/kislyuk/${_pyname}#commit=${_gitcommit}?signed")
+sha512sums=('SKIP')
+validpgpkeys=('29BCBADB4ECAAAC2382699388AFAFCD242818A52') # Andrey Kislyuk <kislyuk at gmail.com>
+
+pkgver() {
+ cd ${_pyname}
+ git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd ${_pyname}
+ python setup.py build
+}
+
+check() {
+ cd ${_pyname}
+ LC_CTYPE=en_US.UTF-8 python test/test.py -v
+}
+
+package() {
+ cd ${_pyname}
+ python setup.py install -O1 --root="${pkgdir}" --skip-build
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list