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

2020-11-10 Thread Evangelos Foutras via arch-commits
Date: Tuesday, November 10, 2020 @ 08:10:14
  Author: foutrelis
Revision: 749419

upgpkg: python-iocapture 0.1.2-7: Python 3.9 rebuild

Modified:
  python-iocapture/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-10 07:36:36 UTC (rev 749418)
+++ PKGBUILD2020-11-10 08:10:14 UTC (rev 749419)
@@ -2,7 +2,7 @@
 
 pkgname=python-iocapture
 pkgver=0.1.2
-pkgrel=6
+pkgrel=7
 pkgdesc="Capture stdout, stderr easily"
 arch=('any')
 license=('MIT')


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

2020-03-16 Thread Felix Yan via arch-commits
Date: Monday, March 16, 2020 @ 12:39:32
  Author: felixonmars
Revision: 599710

upgpkg: python-iocapture 0.1.2-6: remove python2 sibling

Modified:
  python-iocapture/trunk/PKGBUILD

--+
 PKGBUILD |   50 ++
 1 file changed, 14 insertions(+), 36 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-16 12:39:31 UTC (rev 599709)
+++ PKGBUILD2020-03-16 12:39:32 UTC (rev 599710)
@@ -1,52 +1,30 @@
 # Maintainer: Felix Yan 
 
-pkgbase=python-iocapture
-pkgname=('python-iocapture' 'python2-iocapture')
+pkgname=python-iocapture
 pkgver=0.1.2
-pkgrel=5
-pkgdesc="Capture stdout, stderr easily."
+pkgrel=6
+pkgdesc="Capture stdout, stderr easily"
 arch=('any')
 license=('MIT')
 url="https://github.com/oinume/iocapture;
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-flexmock'
-  'python2-flexmock' 'python-pytest-cov' 'python2-pytest-cov'
-  'python-six' 'python2-six')
-source=("git+https://github.com/oinume/iocapture.git#tag=$pkgver;)
-sha512sums=('SKIP')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-flexmock' 'python-pytest-cov' 
'python-six')
+source=("https://github.com/oinume/iocapture/archive/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha512sums=('1205d13b107d83dcb45d5546038d8b0b5417a20a51149c405123111488c351ff81a447f10653cd3dd9ecc236e01a0fcceb6647091e38ff2fa34c69e0baff1567')
 
-prepare() {
-  cp -a iocapture{,-py2}
-}
-
 build() {
-  cd "$srcdir/iocapture"
+  cd iocapture-$pkgver
   python setup.py build
-
-  cd "$srcdir/iocapture-py2"
-  python2 setup.py build
 }
 
 check() {
-  cd "$srcdir/iocapture"
+  cd iocapture-$pkgver
   python setup.py pytest
-
-  cd "$srcdir/iocapture-py2"
-  python2 setup.py pytest
 }
 
-package_python-iocapture() {
-  depends=('python')
-
-  cd iocapture
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+package() {
+  cd iocapture-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
-
-package_python2-iocapture() {
-  depends=('python2')
-
-  cd iocapture-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}


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

2019-11-03 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 06:16:31
  Author: felixonmars
Revision: 523346

Python 3.8 rebuild

Modified:
  python-iocapture/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-11-04 06:16:20 UTC (rev 523345)
+++ PKGBUILD2019-11-04 06:16:31 UTC (rev 523346)
@@ -3,7 +3,7 @@
 pkgbase=python-iocapture
 pkgname=('python-iocapture' 'python2-iocapture')
 pkgver=0.1.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Capture stdout, stderr easily."
 arch=('any')
 license=('MIT')


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

2019-10-26 Thread Felix Yan via arch-commits
Date: Saturday, October 26, 2019 @ 20:52:26
  Author: felixonmars
Revision: 520640

Python 3.8 rebuild

Modified:
  python-iocapture/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-10-26 20:52:22 UTC (rev 520639)
+++ PKGBUILD2019-10-26 20:52:26 UTC (rev 520640)
@@ -3,7 +3,7 @@
 pkgbase=python-iocapture
 pkgname=('python-iocapture' 'python2-iocapture')
 pkgver=0.1.2
-pkgrel=3
+pkgrel=4
 pkgdesc="Capture stdout, stderr easily."
 arch=('any')
 license=('MIT')


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 13:01:39
  Author: felixonmars
Revision: 354874

Python 3.7 rebuild

Modified:
  python-iocapture/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 13:01:20 UTC (rev 354873)
+++ PKGBUILD2018-07-08 13:01:39 UTC (rev 354874)
@@ -4,7 +4,7 @@
 pkgbase=python-iocapture
 pkgname=('python-iocapture' 'python2-iocapture')
 pkgver=0.1.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Capture stdout, stderr easily."
 arch=('any')
 license=('MIT')


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

2017-10-04 Thread Felix Yan
Date: Wednesday, October 4, 2017 @ 15:49:08
  Author: felixonmars
Revision: 261509

use prefered subcommand for pytest-runner

Modified:
  python-iocapture/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-10-04 15:48:17 UTC (rev 261508)
+++ PKGBUILD2017-10-04 15:49:08 UTC (rev 261509)
@@ -30,10 +30,10 @@
 
 check() {
   cd "$srcdir/iocapture"
-  python setup.py ptr
+  python setup.py pytest
 
   cd "$srcdir/iocapture-py2"
-  python2 setup.py ptr
+  python2 setup.py pytest
 }
 
 package_python-iocapture() {


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

2016-12-24 Thread Felix Yan
Date: Saturday, December 24, 2016 @ 17:15:47
  Author: felixonmars
Revision: 201606

upgpkg: python-iocapture 0.1.2-2

python 3.6 rebuild

Modified:
  python-iocapture/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-12-24 17:15:37 UTC (rev 201605)
+++ PKGBUILD2016-12-24 17:15:47 UTC (rev 201606)
@@ -4,7 +4,7 @@
 pkgbase=python-iocapture
 pkgname=('python-iocapture' 'python2-iocapture')
 pkgver=0.1.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Capture stdout, stderr easily."
 arch=('any')
 license=('MIT')