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

2016-12-24 Thread Felix Yan
Date: Saturday, December 24, 2016 @ 16:27:16
  Author: felixonmars
Revision: 201550

upgpkg: python-subunit 1.2.0-2

python 3.6 rebuild

Modified:
  python-subunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-12-24 16:26:27 UTC (rev 201549)
+++ PKGBUILD2016-12-24 16:27:16 UTC (rev 201550)
@@ -4,7 +4,7 @@
 pkgbase=python-subunit
 pkgname=('python-subunit' 'python2-subunit')
 pkgver=1.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Python implementation of subunit test streaming protocol"
 arch=('any')
 license=('Apache')


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

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 16:50:55
  Author: felixonmars
Revision: 747602

upgpkg: python-subunit 1.4.0-2: Python 3.9 rebuild

Modified:
  python-subunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 16:50:53 UTC (rev 747601)
+++ PKGBUILD2020-11-09 16:50:55 UTC (rev 747602)
@@ -2,7 +2,7 @@
 
 pkgname=python-subunit
 pkgver=1.4.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Python implementation of subunit test streaming protocol"
 arch=('any')
 license=('Apache')


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

2020-11-11 Thread Felix Yan via arch-commits
Date: Wednesday, November 11, 2020 @ 15:19:27
  Author: felixonmars
Revision: 751089

upgpkg: python-subunit 1.4.0-3: Python 3.9 rebuild

Modified:
  python-subunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-11 15:19:25 UTC (rev 751088)
+++ PKGBUILD2020-11-11 15:19:27 UTC (rev 751089)
@@ -2,7 +2,7 @@
 
 pkgname=python-subunit
 pkgver=1.4.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Python implementation of subunit test streaming protocol"
 arch=('any')
 license=('Apache')


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

2020-03-14 Thread Felix Yan via arch-commits
Date: Saturday, March 14, 2020 @ 19:29:40
  Author: felixonmars
Revision: 597109

upgpkg: python-subunit 1.4.0-1

Modified:
  python-subunit/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-14 19:29:21 UTC (rev 597108)
+++ PKGBUILD2020-03-14 19:29:40 UTC (rev 597109)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=python-subunit
-pkgver=1.3.0
-pkgrel=5
+pkgver=1.4.0
+pkgrel=1
 pkgdesc="Python implementation of subunit test streaming protocol"
 arch=('any')
 license=('Apache')
@@ -11,7 +11,7 @@
 makedepends=('python-setuptools')
 checkdepends=('python-fixtures' 'python-hypothesis' 'python-testscenarios')
 
source=("https://pypi.io/packages/source/p/python-subunit/python-subunit-$pkgver.tar.gz";)
-sha512sums=('387c9ce8ed679d8998d33c7a295412e4f9de46b8dccdfab92eb82d8c4290958760b6c9bd99d50abd0836e4556c1b0c0132fc01e16801a3113844ab1bf28cf962')
+sha512sums=('7f8ebf1cfdd7ff22bfd68367cb90dd75e7f3b5f7da71830b304225905e1799ad1ec8f0d41f5f98895c831dc10fe77229137a472b8e8e57ea84c05c66694a5b5b')
 
 prepare() {
   sed -i 's|import unittest2 as unittest|import unittest|' 
python-subunit-$pkgver/python/subunit/tests/test_test_protocol.py


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

2020-02-25 Thread Felix Yan via arch-commits
Date: Tuesday, February 25, 2020 @ 10:20:47
  Author: felixonmars
Revision: 580972

upgpkg: python-subunit 1.3.0-5: remove python2 sibling

Modified:
  python-subunit/trunk/PKGBUILD

--+
 PKGBUILD |   41 +
 1 file changed, 9 insertions(+), 32 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-25 10:20:42 UTC (rev 580971)
+++ PKGBUILD2020-02-25 10:20:47 UTC (rev 580972)
@@ -1,56 +1,33 @@
 # Maintainer: Felix Yan 
 
-pkgbase=python-subunit
-pkgname=('python-subunit' 'python2-subunit')
+pkgname=python-subunit
 pkgver=1.3.0
-pkgrel=4
+pkgrel=5
 pkgdesc="Python implementation of subunit test streaming protocol"
 arch=('any')
 license=('Apache')
 url="https://launchpad.net/subunit";
-makedepends=('python-setuptools' 'python2-setuptools' 'python-extras' 
'python2-extras'
- 'python-testtools' 'python2-testtools')
-checkdepends=('python-fixtures' 'python2-fixtures' 'python-hypothesis' 
'python2-hypothesis'
-  'python-testscenarios' 'python2-testscenarios')
+depends=('python-extras' 'python-testtools')
+makedepends=('python-setuptools')
+checkdepends=('python-fixtures' 'python-hypothesis' 'python-testscenarios')
 
source=("https://pypi.io/packages/source/p/python-subunit/python-subunit-$pkgver.tar.gz";)
 
sha512sums=('387c9ce8ed679d8998d33c7a295412e4f9de46b8dccdfab92eb82d8c4290958760b6c9bd99d50abd0836e4556c1b0c0132fc01e16801a3113844ab1bf28cf962')
 
 prepare() {
   sed -i 's|import unittest2 as unittest|import unittest|' 
python-subunit-$pkgver/python/subunit/tests/test_test_protocol.py
-
-  cp -a python-subunit-$pkgver{,-py2}
 }
 
 build() {
-  cd "$srcdir/python-subunit-$pkgver"
+  cd python-subunit-$pkgver
   python setup.py build
-
-  cd "$srcdir/python-subunit-$pkgver-py2"
-  python2 setup.py build
 }
 
 check() {
-  cd "$srcdir/python-subunit-$pkgver"
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m testtools.run 
subunit.test_suite || warning "Tests failed"
-
-  cd "$srcdir/python-subunit-$pkgver-py2"
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m testtools.run 
subunit.test_suite || warning "Tests failed"
+  cd python-subunit-$pkgver
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m testtools.run 
subunit.test_suite || :
 }
 
-package_python-subunit() {
-  depends=('python-extras' 'python-testtools')
-
+package() {
   cd python-subunit-$pkgver
   python setup.py install --root="${pkgdir}" --optimize=1
 }
-
-package_python2-subunit() {
-  depends=('python2-extras' 'python2-testtools')
-
-  cd python-subunit-$pkgver-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-
-  for name in subunit-1to2 subunit-2to1 subunit-filter subunit-ls 
subunit-notify subunit-output subunit-stats subunit-tags subunit2csv 
subunit2gtk subunit2junitxml subunit2pyunit tap2subunit subunit2disk; do
-mv "$pkgdir"/usr/bin/$name{,-python2}
-  done
-}


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

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Friday, October 25, 2019 @ 20:10:55
  Author: foutrelis
Revision: 519776

Python 3.8 rebuild

Modified:
  python-subunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 20:10:53 UTC (rev 519775)
+++ PKGBUILD2019-10-25 20:10:55 UTC (rev 519776)
@@ -3,7 +3,7 @@
 pkgbase=python-subunit
 pkgname=('python-subunit' 'python2-subunit')
 pkgver=1.3.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Python implementation of subunit test streaming protocol"
 arch=('any')
 license=('Apache')


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

2019-11-01 Thread Felix Yan via arch-commits
Date: Friday, November 1, 2019 @ 13:37:44
  Author: felixonmars
Revision: 521883

Python 3.8 rebuild

Modified:
  python-subunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-11-01 13:37:14 UTC (rev 521882)
+++ PKGBUILD2019-11-01 13:37:44 UTC (rev 521883)
@@ -3,7 +3,7 @@
 pkgbase=python-subunit
 pkgname=('python-subunit' 'python2-subunit')
 pkgver=1.3.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Python implementation of subunit test streaming protocol"
 arch=('any')
 license=('Apache')


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

2018-04-11 Thread Felix Yan via arch-commits
Date: Thursday, April 12, 2018 @ 05:50:51
  Author: felixonmars
Revision: 315911

upgpkg: python-subunit 1.3.0-1

Modified:
  python-subunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-04-12 05:50:43 UTC (rev 315910)
+++ PKGBUILD2018-04-12 05:50:51 UTC (rev 315911)
@@ -3,8 +3,8 @@
 
 pkgbase=python-subunit
 pkgname=('python-subunit' 'python2-subunit')
-pkgver=1.2.0
-pkgrel=2
+pkgver=1.3.0
+pkgrel=1
 pkgdesc="Python implementation of subunit test streaming protocol"
 arch=('any')
 license=('Apache')
@@ -13,8 +13,8 @@
  'python-testtools' 'python2-testtools')
 checkdepends=('python-fixtures' 'python2-fixtures' 'python-hypothesis' 
'python2-hypothesis'
   'python-testscenarios' 'python2-testscenarios')
-source=("https://pypi.python.org/packages/source/p/python-subunit/python-subunit-$pkgver.tar.gz";)
-sha512sums=('SKIP')
+source=("https://pypi.io/packages/source/p/python-subunit/python-subunit-$pkgver.tar.gz";)
+sha512sums=('387c9ce8ed679d8998d33c7a295412e4f9de46b8dccdfab92eb82d8c4290958760b6c9bd99d50abd0836e4556c1b0c0132fc01e16801a3113844ab1bf28cf962')
 
 prepare() {
   sed -i 's|import unittest2 as unittest|import unittest|' 
python-subunit-$pkgver/python/subunit/tests/test_test_protocol.py
@@ -51,7 +51,7 @@
   cd python-subunit-$pkgver-py2
   python2 setup.py install --root="${pkgdir}" --optimize=1
 
-  for name in subunit-1to2 subunit-2to1 subunit-filter subunit-ls 
subunit-notify subunit-output subunit-stats subunit-tags subunit2csv 
subunit2gtk subunit2junitxml subunit2pyunit tap2subunit; do
+  for name in subunit-1to2 subunit-2to1 subunit-filter subunit-ls 
subunit-notify subunit-output subunit-stats subunit-tags subunit2csv 
subunit2gtk subunit2junitxml subunit2pyunit tap2subunit subunit2disk; do
 mv "$pkgdir"/usr/bin/$name{,-python2}
   done
 }


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

2018-06-30 Thread Felix Yan via arch-commits
Date: Saturday, June 30, 2018 @ 09:49:43
  Author: felixonmars
Revision: 348026

upgpkg: python-subunit 1.3.0-2

Python 3.7 rebuild

Modified:
  python-subunit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-06-30 09:48:43 UTC (rev 348025)
+++ PKGBUILD2018-06-30 09:49:43 UTC (rev 348026)
@@ -4,7 +4,7 @@
 pkgbase=python-subunit
 pkgname=('python-subunit' 'python2-subunit')
 pkgver=1.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Python implementation of subunit test streaming protocol"
 arch=('any')
 license=('Apache')