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

Felix Yan fyan at archlinux.org
Wed Apr 13 05:31:59 UTC 2016


    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
===================================================================
--- PKGBUILD	2016-04-13 04:57:08 UTC (rev 170805)
+++ PKGBUILD	2016-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
 }



More information about the arch-commits mailing list