[arch-commits] Commit in python-argh/repos/community-staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 16:52:37 UTC 2019
Date: Thursday, October 31, 2019 @ 16:52:36
Author: foutrelis
Revision: 521179
archrelease: copy trunk to community-staging-any
Added:
python-argh/repos/community-staging-any/PKGBUILD
(from rev 521178, python-argh/trunk/PKGBUILD)
Deleted:
python-argh/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 16:52:32 UTC (rev 521178)
+++ PKGBUILD 2019-10-31 16:52:36 UTC (rev 521179)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Francois Boulogne <fboulogne at april dot org>
-
-pkgname=('python-argh' 'python2-argh')
-pkgver=0.26.2
-pkgrel=4
-pkgdesc="An unobtrusive argparse wrapper with natural syntax"
-arch=(any)
-url="https://pypi.python.org/pypi/argh"
-license=('LGPL3')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock'
- 'python-iocapture' 'python2-iocapture')
-source=("git+https://github.com/neithere/argh.git#tag=v$pkgver")
-sha256sums=('SKIP')
-
-prepare() {
- cp -a argh{,-py2}
-}
-
-build() {
- cd "$srcdir"/argh
- python setup.py build
-
- cd "$srcdir"/argh-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/argh
- py.test
-
- cd "$srcdir"/argh-py2
- LC_CTYPE=en_US.UTF-8 py.test2
-}
-
-package_python-argh() {
- depends=('python')
-
- cd argh
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-argh() {
- depends=('python2')
-
- cd argh-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-argh/repos/community-staging-any/PKGBUILD (from rev 521178, python-argh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 16:52:36 UTC (rev 521179)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+
+pkgname=('python-argh' 'python2-argh')
+pkgver=0.26.2
+pkgrel=5
+pkgdesc="An unobtrusive argparse wrapper with natural syntax"
+arch=(any)
+url="https://pypi.python.org/pypi/argh"
+license=('LGPL3')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock'
+ 'python-iocapture' 'python2-iocapture')
+source=("git+https://github.com/neithere/argh.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+ cp -a argh{,-py2}
+}
+
+build() {
+ cd "$srcdir"/argh
+ python setup.py build
+
+ cd "$srcdir"/argh-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/argh
+ py.test
+
+ cd "$srcdir"/argh-py2
+ LC_CTYPE=en_US.UTF-8 py.test2
+}
+
+package_python-argh() {
+ depends=('python')
+
+ cd argh
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-argh() {
+ depends=('python2')
+
+ cd argh-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list