[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Sunday, December 6, 2020 @ 19:01:28 Author: jelle Revision: 771083 upgpkg: python-betamax 0.8.1-7 Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD | 27 +++ 1 file changed, 7 insertions(+), 20 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-12-06 19:01:27 UTC (rev 771082) +++ PKGBUILD2020-12-06 19:01:28 UTC (rev 771083) @@ -1,16 +1,17 @@ # Maintainer: Felix Yan pkgbase=python-betamax -pkgname=('python-betamax' 'python2-betamax') +pkgname=python-betamax pkgver=0.8.1 -pkgrel=6 +pkgrel=7 pkgdesc="A VCR imitation for python-requests" arch=('any') license=('GPL') url='https://github.com/sigmavirus24/betamax' -makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests') -checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python2-mock') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/sigmavirus24/betamax/archive/$pkgver.tar.gz"; +depends=('python-requests') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner') +source=("$pkgname-$pkgver.tar.gz::https://github.com/sigmavirus24/betamax/archive/$pkgver.tar.gz"; betamax-pytest4.patch::"https://github.com/betamaxpy/betamax/commit/165cc321.patch";) sha512sums=('3888aa5f1e249faf496a32c03fb7d37096d7bbde573048c2ff3d1ba0fa03ebaeb4ff4e72191478da5f1a04d813204e31d3897469bd5f5eea4c5db2c72aae1374' '258bd6729286dc9374829308c23cca73ea640c4597ca8747ebb8281bcf7723bba3dfee5b55cadff0459e8dc4511d85228d37911e981859dd0af55a3753ae9e22') @@ -22,29 +23,15 @@ sed -i -e 's:test_records:_&:' -e 's:test_replaces:_&:' -e 's:test_replays:_&:' \ tests/integration/test_record_modes.py ) - cp -a betamax-$pkgver{,-py2} } check() { cd "$srcdir"/betamax-$pkgver python setup.py pytest - - cd "$srcdir"/betamax-$pkgver-py2 - python2 setup.py pytest } -package_python-betamax() { - depends=('python-requests') - +package() { cd betamax-$pkgver python setup.py install --root="$pkgdir" --optimize=1 install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } - -package_python2-betamax() { - depends=('python2-requests') - - cd betamax-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -}
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Wednesday, November 11, 2020 @ 15:40:03 Author: felixonmars Revision: 751118 upgpkg: python-betamax 0.8.1-6: Python 3.9 rebuild Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-11 15:38:46 UTC (rev 751117) +++ PKGBUILD2020-11-11 15:40:03 UTC (rev 751118) @@ -3,7 +3,7 @@ pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') pkgver=0.8.1 -pkgrel=5 +pkgrel=6 pkgdesc="A VCR imitation for python-requests" arch=('any') license=('GPL')
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Monday, November 9, 2020 @ 16:51:21 Author: foutrelis Revision: 747607 upgpkg: python-betamax 0.8.1-5: Python 3.9 rebuild Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-09 16:51:16 UTC (rev 747606) +++ PKGBUILD2020-11-09 16:51:21 UTC (rev 747607) @@ -3,7 +3,7 @@ pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') pkgver=0.8.1 -pkgrel=4 +pkgrel=5 pkgdesc="A VCR imitation for python-requests" arch=('any') license=('GPL')
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Friday, November 1, 2019 @ 19:12:22 Author: felixonmars Revision: 522070 Python 3.8 rebuild Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-01 19:10:49 UTC (rev 522069) +++ PKGBUILD2019-11-01 19:12:22 UTC (rev 522070) @@ -3,7 +3,7 @@ pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') pkgver=0.8.1 -pkgrel=3 +pkgrel=4 pkgdesc="A VCR imitation for python-requests" arch=('any') license=('GPL')
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Friday, November 1, 2019 @ 19:10:49 Author: arojas Revision: 522069 Fix tests with pytest 4 Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-01 18:53:56 UTC (rev 522068) +++ PKGBUILD2019-11-01 19:10:49 UTC (rev 522069) @@ -10,10 +10,15 @@ url='https://github.com/sigmavirus24/betamax' makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests') checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python2-mock') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/sigmavirus24/betamax/archive/$pkgver.tar.gz";) -sha512sums=('3888aa5f1e249faf496a32c03fb7d37096d7bbde573048c2ff3d1ba0fa03ebaeb4ff4e72191478da5f1a04d813204e31d3897469bd5f5eea4c5db2c72aae1374') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/sigmavirus24/betamax/archive/$pkgver.tar.gz"; + betamax-pytest4.patch::"https://github.com/betamaxpy/betamax/commit/165cc321.patch";) +sha512sums=('3888aa5f1e249faf496a32c03fb7d37096d7bbde573048c2ff3d1ba0fa03ebaeb4ff4e72191478da5f1a04d813204e31d3897469bd5f5eea4c5db2c72aae1374' + '258bd6729286dc9374829308c23cca73ea640c4597ca8747ebb8281bcf7723bba3dfee5b55cadff0459e8dc4511d85228d37911e981859dd0af55a3753ae9e22') prepare() { + (cd betamax-$pkgver + patch -p1 -i ../betamax-pytest4.patch # Fix tests with pytest 4 + ) cp -a betamax-$pkgver{,-py2} }
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Friday, October 25, 2019 @ 20:20:16 Author: felixonmars Revision: 519848 Python 3.8 rebuild Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-25 20:19:28 UTC (rev 519847) +++ PKGBUILD2019-10-25 20:20:16 UTC (rev 519848) @@ -3,7 +3,7 @@ pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') pkgver=0.8.1 -pkgrel=2 +pkgrel=3 pkgdesc="A VCR imitation for python-requests" arch=('any') license=('GPL')
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Monday, July 2, 2018 @ 10:22:14 Author: felixonmars Revision: 349479 Python 3.7 rebuild Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-02 10:21:16 UTC (rev 349478) +++ PKGBUILD2018-07-02 10:22:14 UTC (rev 349479) @@ -4,7 +4,7 @@ pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') pkgver=0.8.1 -pkgrel=1 +pkgrel=2 pkgdesc="A VCR imitation for python-requests" arch=('any') license=('GPL')
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Monday, July 2, 2018 @ 10:21:16 Author: foutrelis Revision: 349478 Re-enable tests Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-02 10:18:26 UTC (rev 349477) +++ PKGBUILD2018-07-02 10:21:16 UTC (rev 349478) @@ -19,14 +19,11 @@ } check() { - # Failure about isinstance urllib3.response.HTTPResponse affects only tests. - # We need to investigate it more. - cd "$srcdir"/betamax-$pkgver - python setup.py pytest || warning "Tests failed" + python setup.py pytest cd "$srcdir"/betamax-$pkgver-py2 - python2 setup.py pytest || warning "Tests failed" + python2 setup.py pytest } package_python-betamax() {
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Tuesday, March 13, 2018 @ 23:43:28 Author: felixonmars Revision: 307494 upgpkg: python-betamax 0.8.1-1 Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-03-13 23:42:30 UTC (rev 307493) +++ PKGBUILD2018-03-13 23:43:28 UTC (rev 307494) @@ -3,19 +3,19 @@ pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') -pkgver=0.8.0 -pkgrel=2 +pkgver=0.8.1 +pkgrel=1 pkgdesc="A VCR imitation for python-requests" arch=('any') license=('GPL') url='https://github.com/sigmavirus24/betamax' -makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests' 'git') +makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests') checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python2-mock') -source=("git+https://github.com/sigmavirus24/betamax.git#tag=$pkgver";) -md5sums=('SKIP') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/sigmavirus24/betamax/archive/$pkgver.tar.gz";) +sha512sums=('3888aa5f1e249faf496a32c03fb7d37096d7bbde573048c2ff3d1ba0fa03ebaeb4ff4e72191478da5f1a04d813204e31d3897469bd5f5eea4c5db2c72aae1374') prepare() { - cp -a betamax{,-py2} + cp -a betamax-$pkgver{,-py2} } check() { @@ -22,10 +22,10 @@ # Failure about isinstance urllib3.response.HTTPResponse affects only tests. # We need to investigate it more. - cd "$srcdir"/betamax + cd "$srcdir"/betamax-$pkgver python setup.py pytest || warning "Tests failed" - cd "$srcdir"/betamax-py2 + cd "$srcdir"/betamax-$pkgver-py2 python2 setup.py pytest || warning "Tests failed" } @@ -32,7 +32,7 @@ package_python-betamax() { depends=('python-requests') - cd betamax + cd betamax-$pkgver python setup.py install --root="$pkgdir" --optimize=1 install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } @@ -40,7 +40,7 @@ package_python2-betamax() { depends=('python2-requests') - cd betamax-py2 + cd betamax-$pkgver-py2 python2 setup.py install --root="$pkgdir" --optimize=1 install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Wednesday, October 4, 2017 @ 19:10:11 Author: felixonmars Revision: 261563 use prefered subcommand for pytest-runner Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-10-04 19:09:37 UTC (rev 261562) +++ PKGBUILD2017-10-04 19:10:11 UTC (rev 261563) @@ -23,10 +23,10 @@ # We need to investigate it more. cd "$srcdir"/betamax - python setup.py ptr || warning "Tests failed" + python setup.py pytest || warning "Tests failed" cd "$srcdir"/betamax-py2 - python2 setup.py ptr || warning "Tests failed" + python2 setup.py pytest || warning "Tests failed" } package_python-betamax() {
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Saturday, December 24, 2016 @ 18:49:47 Author: foutrelis Revision: 201771 Python 3.6 rebuild Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-12-24 18:44:51 UTC (rev 201770) +++ PKGBUILD2016-12-24 18:49:47 UTC (rev 201771) @@ -4,7 +4,7 @@ pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') pkgver=0.8.0 -pkgrel=1 +pkgrel=2 pkgdesc="A VCR imitation for python-requests" arch=('any') license=('GPL')
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Saturday, August 27, 2016 @ 04:11:47 Author: felixonmars Revision: 187808 upgpkg: python-betamax 0.8.0-1 Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-08-27 04:03:20 UTC (rev 187807) +++ PKGBUILD2016-08-27 04:11:47 UTC (rev 187808) @@ -3,7 +3,7 @@ pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') -pkgver=0.7.2 +pkgver=0.8.0 pkgrel=1 pkgdesc="A VCR imitation for python-requests" arch=('any')
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Friday, August 5, 2016 @ 07:17:32 Author: felixonmars Revision: 185181 upgpkg: python-betamax 0.7.2-1 Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-08-05 07:17:21 UTC (rev 185180) +++ PKGBUILD2016-08-05 07:17:32 UTC (rev 185181) @@ -3,7 +3,7 @@ pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') -pkgver=0.7.1 +pkgver=0.7.2 pkgrel=1 pkgdesc="A VCR imitation for python-requests" arch=('any')
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Wednesday, June 15, 2016 @ 01:00:11 Author: felixonmars Revision: 180121 upgpkg: python-betamax 0.7.1-1 Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-06-15 00:55:15 UTC (rev 180120) +++ PKGBUILD2016-06-15 01:00:11 UTC (rev 180121) @@ -3,7 +3,7 @@ pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') -pkgver=0.7.0 +pkgver=0.7.1 pkgrel=1 pkgdesc="A VCR imitation for python-requests" arch=('any')
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Saturday, April 30, 2016 @ 08:37:03 Author: fyan Revision: 173042 upgpkg: python-betamax 0.7.0-1 Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-04-30 06:25:58 UTC (rev 173041) +++ PKGBUILD2016-04-30 06:37:03 UTC (rev 173042) @@ -3,7 +3,7 @@ pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') -pkgver=0.6.0 +pkgver=0.7.0 pkgrel=1 pkgdesc="A VCR imitation for python-requests" arch=('any')
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Wednesday, April 13, 2016 @ 07:31:59 Author: fyan Revision: 170806 upgpkg: python-betamax 0.6.0-1 Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-04-13 04:57:08 UTC (rev 170805) +++ PKGBUILD2016-04-13 05:31:59 UTC (rev 170806) @@ -3,7 +3,7 @@ pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') -pkgver=0.5.1 +pkgver=0.6.0 pkgrel=1 pkgdesc="A VCR imitation for python-requests" arch=('any') @@ -22,10 +22,10 @@ # Failure about isinstance urllib3.response.HTTPResponse affects only tests. # We need to investigate it more. - cd "$srcdir/betamax" + cd "$srcdir"/betamax python setup.py ptr || warning "Tests failed" - cd "$srcdir/betamax-py2" + cd "$srcdir"/betamax-py2 python2 setup.py ptr || warning "Tests failed" } @@ -32,15 +32,15 @@ package_python-betamax() { depends=('python-requests') - cd "${srcdir}/betamax" - python setup.py install --root="${pkgdir}" --optimize=1 - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + cd betamax + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } package_python2-betamax() { depends=('python2-requests') - cd "${srcdir}/betamax-py2" - python2 setup.py install --root="${pkgdir}" --optimize=1 - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + cd betamax-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Sunday, October 25, 2015 @ 03:34:40 Author: fyan Revision: 144949 upgpkg: python-betamax 0.5.1-1 Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-10-25 01:29:07 UTC (rev 144948) +++ PKGBUILD2015-10-25 02:34:40 UTC (rev 144949) @@ -3,8 +3,8 @@ pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') -pkgver=0.5.0 -pkgrel=2 +pkgver=0.5.1 +pkgrel=1 pkgdesc="A VCR imitation for python-requests" arch=('any') license=('GPL') @@ -19,11 +19,14 @@ } check() { + # Failure about isinstance urllib3.response.HTTPResponse affects only tests. + # We need to investigate it more. + cd "$srcdir/betamax" - python setup.py ptr + python setup.py ptr || warning "Tests failed" cd "$srcdir/betamax-py2" - python2 setup.py ptr + python2 setup.py ptr || warning "Tests failed" } package_python-betamax() {
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Saturday, September 19, 2015 @ 14:48:24 Author: fyan Revision: 140780 upgpkg: python-betamax 0.5.0-2 rebuild for python 3.5 Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-09-19 12:48:00 UTC (rev 140779) +++ PKGBUILD2015-09-19 12:48:24 UTC (rev 140780) @@ -1,10 +1,10 @@ # $Id$ -# Maintainer: Felix Yan +# Maintainer: Felix Yan pkgbase=python-betamax pkgname=('python-betamax' 'python2-betamax') pkgver=0.5.0 -pkgrel=1 +pkgrel=2 pkgdesc="A VCR imitation for python-requests" arch=('any') license=('GPL')
[arch-commits] Commit in python-betamax/trunk (PKGBUILD)
Date: Tuesday, August 11, 2015 @ 08:00:14 Author: fyan Revision: 138197 fix wrong pkgdesc Modified: python-betamax/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-08-11 05:55:02 UTC (rev 138196) +++ PKGBUILD2015-08-11 06:00:14 UTC (rev 138197) @@ -5,7 +5,7 @@ pkgname=('python-betamax' 'python2-betamax') pkgver=0.5.0 pkgrel=1 -pkgdesc="Python Reddit API Wrapper that allows for simple access to reddit's API"z +pkgdesc="A VCR imitation for python-requests" arch=('any') license=('GPL') url='https://github.com/sigmavirus24/betamax'