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

Kyle Keen kkeen at archlinux.org
Mon Oct 10 21:55:30 UTC 2016


    Date: Monday, October 10, 2016 @ 21:55:30
  Author: kkeen
Revision: 191899

upgpkg: bpython 0.16-1

Modified:
  bpython/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-10 21:33:04 UTC (rev 191898)
+++ PKGBUILD	2016-10-10 21:55:30 UTC (rev 191899)
@@ -5,7 +5,7 @@
 # Contributor: Anton Bazhenov <anton.bazhenov at gmail>
 
 pkgname=('bpython' 'bpython2')
-pkgver=0.15
+pkgver=0.16
 pkgrel=1
 pkgdesc='Fancy ncurses interface to the Python interpreter'
 arch=('any')
@@ -15,16 +15,19 @@
 optdepends=('python-urwid: for bpython-urwid'
             'python-jedi: multiline completion')
 makedepends=('python-distribute' 'python2-distribute')
-source=(http://bpython-interpreter.org/releases/bpython-${pkgver}.tar.gz)
-md5sums=('0e0665aee5ed020a1ca97084cbe18787')
+#source=(http://bpython-interpreter.org/releases/bpython-${pkgver}.tar.gz)  # slow
+#source=("https://github.com/bpython/bpython/archive/$pkgver-release.tar.gz")  # missing version data
+source=("https://files.pythonhosted.org/packages/source/b/bpython/bpython-$pkgver.tar.gz")
+md5sums=('303798e8f7dd64738ccbf7ef81b716f5')
 
 # python-watchdog optdep...
-# python-curtsies a required dep, use old version for now
 
-build() {
+prepare() {
   cp -r bpython-$pkgver bpython2-$pkgver
+}
 
-  cd bpython-$pkgver
+build() {
+  cd "$srcdir/bpython-$pkgver"
   python setup.py build
 
   cd "$srcdir/bpython2-$pkgver"
@@ -32,7 +35,7 @@
 }
 
 package_bpython() {
-  cd bpython-$pkgver
+  cd "$srcdir/bpython-$pkgver"
 
   python setup.py install --root="$pkgdir" --optimize=0
 
@@ -44,7 +47,7 @@
   optdepends=('python2-urwid: for bpython2-urwid'
               'python2-jedi: multiline completion')
 
-  cd bpython2-$pkgver
+  cd "$srcdir/bpython2-$pkgver"
 
   python2 setup.py install --root="$pkgdir" --optimize=0
 



More information about the arch-commits mailing list