[arch-commits] Commit in python-argh/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Thu May 12 07:34:22 UTC 2016
Date: Thursday, May 12, 2016 @ 09:34:22
Author: fyan
Revision: 174862
upgpkg: python-argh 0.26.2-1
Modified:
python-argh/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-12 07:34:16 UTC (rev 174861)
+++ PKGBUILD 2016-05-12 07:34:22 UTC (rev 174862)
@@ -3,9 +3,8 @@
# Contributor: Francois Boulogne <fboulogne at april dot org>
pkgname=('python-argh' 'python2-argh')
-pkgver=0.26.1.20151013
-_commit=994dcb479a0195621b4a62f68a2ce9e990e28051
-pkgrel=2
+pkgver=0.26.2
+pkgrel=1
pkgdesc="An unobtrusive argparse wrapper with natural syntax"
arch=(any)
url="https://pypi.python.org/pypi/argh"
@@ -13,7 +12,7 @@
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#commit=$_commit")
+source=("git+https://github.com/neithere/argh.git#tag=v$pkgver")
sha256sums=('SKIP')
prepare() {
@@ -21,18 +20,18 @@
}
build() {
- cd "$srcdir/argh"
+ cd "$srcdir"/argh
python setup.py build
- cd "$srcdir/argh-py2"
+ cd "$srcdir"/argh-py2
python2 setup.py build
}
check() {
- cd "$srcdir/argh"
+ cd "$srcdir"/argh
py.test
- cd "$srcdir/argh-py2"
+ cd "$srcdir"/argh-py2
LC_CTYPE=en_US.UTF-8 py.test2
}
@@ -39,7 +38,7 @@
package_python-argh() {
depends=('python')
- cd "$srcdir/argh"
+ cd argh
python setup.py install --root="$pkgdir" --optimize=1
}
@@ -46,6 +45,6 @@
package_python2-argh() {
depends=('python2')
- cd "$srcdir/argh-py2"
+ cd argh-py2
python2 setup.py install --root="$pkgdir" --optimize=1
}
More information about the arch-commits
mailing list