Date: Tuesday, March 6, 2018 @ 20:58:15
  Author: felixonmars
Revision: 303267

upgpkg: python-ddt 1.1.2-1

Modified:
  python-ddt/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-06 20:57:55 UTC (rev 303266)
+++ PKGBUILD    2018-03-06 20:58:15 UTC (rev 303267)
@@ -3,34 +3,34 @@
 
 pkgbase=python-ddt
 pkgname=('python-ddt' 'python2-ddt')
-pkgver=1.1.1
-pkgrel=2
+pkgver=1.1.2
+pkgrel=1
 pkgdesc="Data-Driven/Decorated Tests"
 arch=('any')
 license=('MIT')
 url="https://github.com/txels/ddt";
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
+makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 
'python-yaml' 'python2-yaml')
-source=("git+https://github.com/txels/ddt.git#tag=$pkgver";)
-sha512sums=('SKIP')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/txels/ddt/archive/$pkgver.tar.gz";)
+sha512sums=('1965e877ff907d3fbabae7ccb51f45d63fdd82f4f9811982000f97134afb89a7291ac6b5b1d9c16ea4a1b736e06e1b7f948e1b4a265d4e06325773244f24f83f')
 
 prepare() {
-  cp -a ddt{,-py2}
+  cp -a ddt-$pkgver{,-py2}
 }
 
 build() {
-  cd "$srcdir"/ddt
+  cd "$srcdir"/ddt-$pkgver
   python setup.py build
 
-  cd "$srcdir"/ddt-py2
+  cd "$srcdir"/ddt-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir"/ddt
+  cd "$srcdir"/ddt-$pkgver
   nosetests3
 
-  cd "$srcdir"/ddt-py2
+  cd "$srcdir"/ddt-$pkgver-py2
   nosetests2
 }
 
@@ -37,7 +37,7 @@
 package_python-ddt() {
   depends=('python')
 
-  cd ddt
+  cd ddt-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
   install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
 }
@@ -45,7 +45,7 @@
 package_python2-ddt() {
   depends=('python2')
 
-  cd ddt-py2
+  cd ddt-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1
   install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
 }

Reply via email to