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

2020-11-11 Thread Evangelos Foutras via arch-commits
Date: Wednesday, November 11, 2020 @ 10:34:16
  Author: foutrelis
Revision: 750120

upgpkg: python-extras 1.0.0-8: Python 3.9 rebuild

Modified:
  python-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-11 10:34:14 UTC (rev 750119)
+++ PKGBUILD2020-11-11 10:34:16 UTC (rev 750120)
@@ -2,7 +2,7 @@
 
 pkgname=python-extras
 pkgver=1.0.0
-pkgrel=7
+pkgrel=8
 pkgdesc="Useful extra bits for Python - things that should be in the standard 
library"
 arch=('any')
 license=('MIT')


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

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 15:34:05
  Author: felixonmars
Revision: 746978

upgpkg: python-extras 1.0.0-7: Python 3.9 rebuild

Modified:
  python-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 15:33:58 UTC (rev 746977)
+++ PKGBUILD2020-11-09 15:34:05 UTC (rev 746978)
@@ -2,7 +2,7 @@
 
 pkgname=python-extras
 pkgver=1.0.0
-pkgrel=6
+pkgrel=7
 pkgdesc="Useful extra bits for Python - things that should be in the standard 
library"
 arch=('any')
 license=('MIT')


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

2020-02-25 Thread Felix Yan via arch-commits
Date: Tuesday, February 25, 2020 @ 10:41:32
  Author: felixonmars
Revision: 580990

upgpkg: python-extras 1.0.0-6: remove python2 sibling

Modified:
  python-extras/trunk/PKGBUILD

--+
 PKGBUILD |   46 +-
 1 file changed, 13 insertions(+), 33 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-25 10:39:03 UTC (rev 580989)
+++ PKGBUILD2020-02-25 10:41:32 UTC (rev 580990)
@@ -1,50 +1,30 @@
 # Maintainer: Felix Yan 
 
-pkgbase=python-extras
-pkgname=('python-extras' 'python2-extras')
+pkgname=python-extras
 pkgver=1.0.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Useful extra bits for Python - things that should be in the standard 
library"
 arch=('any')
 license=('MIT')
 url="https://github.com/testing-cabal/extras";
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-testtools' 'python2-testtools')
-source=("git+https://github.com/testing-cabal/extras.git#tag=$pkgver";)
-sha512sums=('SKIP')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-testtools')
+source=("https://github.com/testing-cabal/extras/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('db264cf183dd0f63a411d03def51bb6ec8c5d47fe1e3e75cab4d65f2793b9458023a2387574968b095bf39cf7746428f7e7f190100dbdf2d99695f4c69875475')
 
-prepare() {
-  cp -a extras{,-py2}
-}
-
 build() {
-  cd "$srcdir/extras"
+  cd extras-$pkgver
   python setup.py build
-
-  cd "$srcdir/extras-py2"
-  python2 setup.py build
 }
 
 check() {
-  cd "$srcdir/extras"
+  cd extras-$pkgver
   python -m testtools.run extras.tests.test_suite
-
-  cd "$srcdir/extras-py2"
-  python2 -m testtools.run extras.tests.test_suite
 }
 
-package_python-extras() {
-  depends=('python')
-
-  cd extras
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+package() {
+  cd extras-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
-
-package_python2-extras() {
-  depends=('python2')
-
-  cd extras-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}


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

2019-10-31 Thread Evangelos Foutras via arch-commits
Date: Thursday, October 31, 2019 @ 18:13:00
  Author: foutrelis
Revision: 521598

Python 3.8 rebuild

Modified:
  python-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-10-31 18:12:54 UTC (rev 521597)
+++ PKGBUILD2019-10-31 18:13:00 UTC (rev 521598)
@@ -3,7 +3,7 @@
 pkgbase=python-extras
 pkgname=('python-extras' 'python2-extras')
 pkgver=1.0.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Useful extra bits for Python - things that should be in the standard 
library"
 arch=('any')
 license=('MIT')


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

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Friday, October 25, 2019 @ 16:00:17
  Author: foutrelis
Revision: 519316

Python 3.8 rebuild

Modified:
  python-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 16:00:16 UTC (rev 519315)
+++ PKGBUILD2019-10-25 16:00:17 UTC (rev 519316)
@@ -3,7 +3,7 @@
 pkgbase=python-extras
 pkgname=('python-extras' 'python2-extras')
 pkgver=1.0.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Useful extra bits for Python - things that should be in the standard 
library"
 arch=('any')
 license=('MIT')


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

2018-06-29 Thread Felix Yan via arch-commits
Date: Saturday, June 30, 2018 @ 02:14:24
  Author: felixonmars
Revision: 347845

upgpkg: python-extras 1.0.0-3

Python 3.7 rebuild

Modified:
  python-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-06-30 02:12:03 UTC (rev 347844)
+++ PKGBUILD2018-06-30 02:14:24 UTC (rev 347845)
@@ -4,7 +4,7 @@
 pkgbase=python-extras
 pkgname=('python-extras' 'python2-extras')
 pkgver=1.0.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Useful extra bits for Python - things that should be in the standard 
library"
 arch=('any')
 license=('MIT')


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

2016-12-24 Thread Felix Yan
Date: Saturday, December 24, 2016 @ 16:32:01
  Author: felixonmars
Revision: 201556

upgpkg: python-extras 1.0.0-2

python 3.6 rebuild

Modified:
  python-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-12-24 16:31:14 UTC (rev 201555)
+++ PKGBUILD2016-12-24 16:32:01 UTC (rev 201556)
@@ -4,7 +4,7 @@
 pkgbase=python-extras
 pkgname=('python-extras' 'python2-extras')
 pkgver=1.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Useful extra bits for Python - things that should be in the standard 
library"
 arch=('any')
 license=('MIT')


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

2016-08-05 Thread Felix Yan
Date: Friday, August 5, 2016 @ 07:14:56
  Author: felixonmars
Revision: 185179

fix a typo in pkgdesc

Modified:
  python-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-08-05 07:06:58 UTC (rev 185178)
+++ PKGBUILD2016-08-05 07:14:56 UTC (rev 185179)
@@ -5,7 +5,7 @@
 pkgname=('python-extras' 'python2-extras')
 pkgver=1.0.0
 pkgrel=1
-pkgdesc="Useful extra bits for Python - things that shold be in the standard 
library"
+pkgdesc="Useful extra bits for Python - things that should be in the standard 
library"
 arch=('any')
 license=('MIT')
 url="https://github.com/testing-cabal/extras";


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

2016-05-19 Thread Felix Yan
Date: Thursday, May 19, 2016 @ 15:46:41
  Author: fyan
Revision: 175692

upgpkg: python-extras 1.0.0-1

Modified:
  python-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-05-19 13:42:32 UTC (rev 175691)
+++ PKGBUILD2016-05-19 13:46:41 UTC (rev 175692)
@@ -3,7 +3,7 @@
 
 pkgbase=python-extras
 pkgname=('python-extras' 'python2-extras')
-pkgver=0.0.3
+pkgver=1.0.0
 pkgrel=1
 pkgdesc="Useful extra bits for Python - things that shold be in the standard 
library"
 arch=('any')


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

2015-11-03 Thread Felix Yan
Date: Tuesday, November 3, 2015 @ 09:23:02
  Author: fyan
Revision: 145754

fix test target

Modified:
  python-extras/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-11-03 08:08:50 UTC (rev 145753)
+++ PKGBUILD2015-11-03 08:23:02 UTC (rev 145754)
@@ -28,10 +28,10 @@
 
 check() {
   cd "$srcdir/extras"
-  python -m testtools.run testtools.tests.test_suite
+  python -m testtools.run extras.tests.test_suite
 
   cd "$srcdir/extras-py2"
-  python2 -m testtools.run testtools.tests.test_suite
+  python2 -m testtools.run extras.tests.test_suite
 }
 
 package_python-extras() {