Date: Monday, April 3, 2017 @ 13:56:30
  Author: anthraxx
Revision: 220385

upgpkg: python-tblib 1.3.1-1

Modified:
  python-tblib/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-04-03 13:49:22 UTC (rev 220384)
+++ PKGBUILD    2017-04-03 13:56:30 UTC (rev 220385)
@@ -3,25 +3,25 @@
 pkgbase=python-tblib
 pkgname=('python-tblib' 'python2-tblib')
 _pyname=tblib
-pkgver=1.3.0
-pkgrel=2
-pkgdesc="Python traceback fiddling library"
-url="https://github.com/ionelmc/python-tblib";
+pkgver=1.3.1
+pkgrel=1
+pkgdesc='Python traceback fiddling library'
+url='https://github.com/ionelmc/python-tblib'
 arch=('any')
 license=('BSD')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 
'python2-six')
-source=(${pkgbase}-${pkgver}.tar.gz::https://pypi.python.org/packages/source/t/${_pyname}/${_pyname}-${pkgver}.tar.gz)
-sha512sums=('2bead497b7a2ff2a23e164935efe5ca242cb6d6063a7d5e1cf88d7d3af6475255435507855f5f359738285d315f0c8c0274c539f33cf5017fcb743c49b8f58a3')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/ionelmc/python-tblib/archive/v${pkgver}.tar.gz)
+sha512sums=('6543e0dae3dd053f62c38aad0e8a2fce23cfc986148c9022b57f79f475c03b2a719e5a7c34edcca34c8a276f33ee020d1099fdb1f17352625c9b92bd11ab464d')
 
 prepare() {
-  cp -ra ${_pyname}-${pkgver}{,-py2}
+  cp -ra ${pkgbase}-${pkgver}{,-py2}
 }
 
 check() {
-  (cd ${_pyname}-${pkgver}
+  (cd ${pkgbase}-${pkgver}
     python setup.py test
   )
-  (cd ${_pyname}-${pkgver}-py2
+  (cd ${pkgbase}-${pkgver}-py2
     python2 setup.py test
   )
 }
@@ -28,7 +28,7 @@
 
 package_python-tblib() {
   depends=('python-six')
-  cd ${_pyname}-${pkgver}
+  cd ${pkgbase}-${pkgver}
   python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
   install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
   install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
@@ -36,7 +36,7 @@
 
 package_python2-tblib() {
   depends=('python2-six')
-  cd ${_pyname}-${pkgver}-py2
+  cd ${pkgbase}-${pkgver}-py2
   python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr
   install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
   install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

Reply via email to