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

Felix Yan felixonmars at archlinux.org
Sat Apr 22 17:34:57 UTC 2017


    Date: Saturday, April 22, 2017 @ 17:34:56
  Author: felixonmars
Revision: 224395

upgpkg: python-ipdb 0.10.3-1

Modified:
  python-ipdb/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-22 17:34:53 UTC (rev 224394)
+++ PKGBUILD	2017-04-22 17:34:56 UTC (rev 224395)
@@ -5,33 +5,33 @@
 
 pkgbase=python-ipdb
 pkgname=(python-ipdb python2-ipdb)
-pkgver=0.10.2
+pkgver=0.10.3
 pkgrel=1
 pkgdesc="IPython-enabled pdb"
 url="http://pypi.python.org/pypi/ipdb"
-makedepends=('python-setuptools' 'python2-setuptools' 'ipython' 'ipython2' 'git')
+makedepends=('python-setuptools' 'python2-setuptools' 'ipython' 'ipython2')
 arch=("any")
 license=("BSD")
-source=("git+https://github.com/gotcha/ipdb.git#tag=$pkgver")
-md5sums=('SKIP')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/gotcha/ipdb/archive/$pkgver.tar.gz")
+sha512sums=('2d03f36d174d30d40f41a68d96874d1b44dc8622d325b53294a1aaf28b5e3ccaf6ae3875067bef3509c537cfea03fb5364f7bfc3dee2d7df072ea73cab60284a')
 
 prepare() {
-  cp -a ipdb{,-py2}
+  cp -a ipdb-$pkgver{,-py2}
 }
 
 build() {
-  cd "$srcdir"/ipdb
+  cd "$srcdir"/ipdb-$pkgver
   python setup.py build
 
-  cd "$srcdir"/ipdb-py2
+  cd "$srcdir"/ipdb-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir"/ipdb
+  cd "$srcdir"/ipdb-$pkgver
   python setup.py test
 
-  cd "$srcdir"/ipdb-py2
+  cd "$srcdir"/ipdb-$pkgver-py2
   python2 setup.py test
 }
 
@@ -38,7 +38,7 @@
 package_python-ipdb() {
   depends=("ipython")
 
-  cd "$srcdir"/ipdb
+  cd ipdb-$pkgver
   python setup.py install -O1 --root="$pkgdir"
 
   ln -s ipdb3 "$pkgdir"/usr/bin/ipdb
@@ -48,7 +48,7 @@
 package_python2-ipdb() {
   depends=("ipython2")
 
-  cd "$srcdir"/ipdb-py2
+  cd ipdb-$pkgver-py2
   python2 setup.py install -O1 --root="$pkgdir"
 
   mv "$pkgdir"/usr/bin/ipdb{,2}



More information about the arch-commits mailing list