[arch-commits] Commit in python-argh/trunk (PKGBUILD)

2020-11-11 Thread Felix Yan via arch-commits
Date: Wednesday, November 11, 2020 @ 10:33:49
  Author: felixonmars
Revision: 750107

upgpkg: python-argh 0.26.2-8: Python 3.9 rebuild

Modified:
  python-argh/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-11 10:33:44 UTC (rev 750106)
+++ PKGBUILD2020-11-11 10:33:49 UTC (rev 750107)
@@ -3,7 +3,7 @@
 
 pkgname=python-argh
 pkgver=0.26.2
-pkgrel=7
+pkgrel=8
 pkgdesc="An unobtrusive argparse wrapper with natural syntax"
 arch=(any)
 url="https://pypi.python.org/pypi/argh";


[arch-commits] Commit in python-argh/trunk (PKGBUILD)

2020-03-16 Thread Felix Yan via arch-commits
Date: Monday, March 16, 2020 @ 12:35:43
  Author: felixonmars
Revision: 599706

upgpkg: python-argh 0.26.2-6: remove python2 sibling

Modified:
  python-argh/trunk/PKGBUILD

--+
 PKGBUILD |   39 ++-
 1 file changed, 10 insertions(+), 29 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-16 12:31:17 UTC (rev 599705)
+++ PKGBUILD2020-03-16 12:35:43 UTC (rev 599706)
@@ -1,49 +1,30 @@
 # Maintainer: Felix Yan 
 # Contributor: Francois Boulogne 
 
-pkgname=('python-argh' 'python2-argh')
+pkgname=python-argh
 pkgver=0.26.2
-pkgrel=5
+pkgrel=6
 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";)
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock' 'python-iocapture')
+source=("https://github.com/neithere/argh/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
 sha256sums=('SKIP')
 
-prepare() {
-  cp -a argh{,-py2}
-}
-
 build() {
-  cd "$srcdir"/argh
+  cd argh-$pkgver
   python setup.py build
-
-  cd "$srcdir"/argh-py2
-  python2 setup.py build
 }
 
 check() {
-  cd "$srcdir"/argh
+  cd argh-$pkgver
   py.test
-
-  cd "$srcdir"/argh-py2
-  LC_CTYPE=en_US.UTF-8 py.test2
 }
 
-package_python-argh() {
-  depends=('python')
-
-  cd argh
+package() {
+  cd argh-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
 }
-
-package_python2-argh() {
-  depends=('python2')
-
-  cd argh-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}


[arch-commits] Commit in python-argh/trunk (PKGBUILD)

2019-10-31 Thread Evangelos Foutras via arch-commits
Date: Thursday, October 31, 2019 @ 16:52:32
  Author: foutrelis
Revision: 521178

Python 3.8 rebuild

Modified:
  python-argh/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-31 16:51:53 UTC (rev 521177)
+++ PKGBUILD2019-10-31 16:52:32 UTC (rev 521178)
@@ -3,7 +3,7 @@
 
 pkgname=('python-argh' 'python2-argh')
 pkgver=0.26.2
-pkgrel=4
+pkgrel=5
 pkgdesc="An unobtrusive argparse wrapper with natural syntax"
 arch=(any)
 url="https://pypi.python.org/pypi/argh";


[arch-commits] Commit in python-argh/trunk (PKGBUILD)

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Friday, October 25, 2019 @ 15:39:35
  Author: foutrelis
Revision: 519136

Python 3.8 rebuild

Modified:
  python-argh/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 15:39:24 UTC (rev 519135)
+++ PKGBUILD2019-10-25 15:39:35 UTC (rev 519136)
@@ -3,7 +3,7 @@
 
 pkgname=('python-argh' 'python2-argh')
 pkgver=0.26.2
-pkgrel=3
+pkgrel=4
 pkgdesc="An unobtrusive argparse wrapper with natural syntax"
 arch=(any)
 url="https://pypi.python.org/pypi/argh";


[arch-commits] Commit in python-argh/trunk (PKGBUILD)

2018-07-12 Thread Felix Yan via arch-commits
Date: Thursday, July 12, 2018 @ 20:41:51
  Author: felixonmars
Revision: 358197

upgpkg: python-argh 0.26.2-3

Python 3.7 rebuild

Modified:
  python-argh/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-12 20:41:39 UTC (rev 358196)
+++ PKGBUILD2018-07-12 20:41:51 UTC (rev 358197)
@@ -4,7 +4,7 @@
 
 pkgname=('python-argh' 'python2-argh')
 pkgver=0.26.2
-pkgrel=2
+pkgrel=3
 pkgdesc="An unobtrusive argparse wrapper with natural syntax"
 arch=(any)
 url="https://pypi.python.org/pypi/argh";


[arch-commits] Commit in python-argh/trunk (PKGBUILD)

2016-12-24 Thread Felix Yan
Date: Saturday, December 24, 2016 @ 17:13:48
  Author: felixonmars
Revision: 201600

upgpkg: python-argh 0.26.2-2

python 3.6 rebuild

Modified:
  python-argh/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-24 17:12:21 UTC (rev 201599)
+++ PKGBUILD2016-12-24 17:13:48 UTC (rev 201600)
@@ -4,7 +4,7 @@
 
 pkgname=('python-argh' 'python2-argh')
 pkgver=0.26.2
-pkgrel=1
+pkgrel=2
 pkgdesc="An unobtrusive argparse wrapper with natural syntax"
 arch=(any)
 url="https://pypi.python.org/pypi/argh";


[arch-commits] Commit in python-argh/trunk (PKGBUILD)

2016-05-12 Thread Felix Yan
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
===
--- PKGBUILD2016-05-12 07:34:16 UTC (rev 174861)
+++ PKGBUILD2016-05-12 07:34:22 UTC (rev 174862)
@@ -3,9 +3,8 @@
 # Contributor: Francois Boulogne 
 
 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
 }


[arch-commits] Commit in python-argh/trunk (PKGBUILD)

2015-12-03 Thread Felix Yan
Date: Friday, December 4, 2015 @ 04:41:24
  Author: fyan
Revision: 148270

upgpkg: python-argh 0.26.1.20151013-2

how i missed the python 2 counterpart...

Modified:
  python-argh/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2015-12-04 03:38:05 UTC (rev 148269)
+++ PKGBUILD2015-12-04 03:41:24 UTC (rev 148270)
@@ -2,10 +2,10 @@
 # Maintainer: Felix Yan 
 # Contributor: Francois Boulogne 
 
-pkgname=python-argh
+pkgname=('python-argh' 'python2-argh')
 pkgver=0.26.1.20151013
 _commit=994dcb479a0195621b4a62f68a2ce9e990e28051
-pkgrel=1
+pkgrel=2
 pkgdesc="An unobtrusive argparse wrapper with natural syntax"
 arch=(any)
 url="https://pypi.python.org/pypi/argh";