[arch-commits] Commit in python-argcomplete/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Feb 15 02:08:11 UTC 2022


    Date: Tuesday, February 15, 2022 @ 02:08:11
  Author: felixonmars
Revision: 1133310

archrelease: copy trunk to community-testing-any

Added:
  python-argcomplete/repos/community-testing-any/
  python-argcomplete/repos/community-testing-any/PKGBUILD
    (from rev 1133309, python-argcomplete/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: python-argcomplete/repos/community-testing-any/PKGBUILD (from rev 1133309, python-argcomplete/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-02-15 02:08:11 UTC (rev 1133310)
@@ -0,0 +1,42 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
+
+pkgname=python-argcomplete
+_pyname=argcomplete
+pkgver=2.0.0
+_gitcommit=bf16566adcfb2fd0307c6ecdf24304b21b0b5752
+pkgrel=1
+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}
+  # workaround for https://github.com/kislyuk/argcomplete/issues/337
+  echo "set enable-bracketed-paste off" > .inputrc
+  INPUTRC=$PWD/.inputrc 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