[arch-commits] Commit in ipython/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Mon Oct 10 03:25:49 UTC 2016
Date: Monday, October 10, 2016 @ 03:25:49
Author: kkeen
Revision: 191777
upgpkg: ipython 5.1.0-1
Modified:
ipython/trunk/PKGBUILD
----------+
PKGBUILD | 51 +++++++--------------------------------------------
1 file changed, 7 insertions(+), 44 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-10 03:13:22 UTC (rev 191776)
+++ PKGBUILD 2016-10-10 03:25:49 UTC (rev 191777)
@@ -7,32 +7,24 @@
pkgbase=ipython
pkgname=(ipython ipython2)
-pkgver=5.0.0
-pkgrel=2
+pkgver=5.1.0
+pkgrel=1
pkgdesc="An enhanced Interactive Python shell."
arch=('any')
url="http://ipython.org"
license=('BSD')
-depends=('python' 'python-decorator' 'python-pexpect' 'sqlite'
- 'python-setuptools' 'python-path' 'python-prompt_toolkit')
+depends=('python' 'python-traitlets' 'python-pexpect' 'sqlite'
+ 'python-setuptools' 'python-pickleshare' 'python-prompt_toolkit')
makedepends=('python-setuptools' 'python2-setuptools')
optdepends=("python-nose: for IPython's test suite")
# some of these will update rapidly, others never
# so _vars will be phased in as new updates are released
-_traitv=4.2.2
-_psharev=0.7.3
source=("ipython-$pkgver.tgz::https://github.com/ipython/ipython/archive/$pkgver.tar.gz"
- "https://files.pythonhosted.org/packages/source/t/traitlets/traitlets-$_traitv.tar.gz"
- "https://pypi.python.org/packages/source/i/ipython_genutils/ipython_genutils-0.1.0.tar.gz"
- "https://files.pythonhosted.org/packages/source/p/pickleshare/pickleshare-$_psharev.tar.gz"
"https://pypi.python.org/packages/source/s/simplegeneric/simplegeneric-0.8.1.zip"
"http://www.packal.org/sites/default/files/public/styles/icon_large/public/workflow-files/nkeimipynbworkflow/icon/icon.png")
-md5sums=('7fc325d5872815e9efac229ffdd12037'
- 'd0725f9818bd9e112a6531da26d433b8'
- '9a8afbe0978adbcbfcb3b35b2d015a56'
- '0ccdd8e65737a92eec47888dae61ff95'
+md5sums=('44c98687e249adb08f8eb1928a5492a1'
'f9c1fab00fd981be588fc32759f474e3'
'2901d65f1b1fe354e72850085cd1c072')
@@ -41,12 +33,6 @@
# Since there are so many and they are so small, they get re-bundled here
# Break them out if any non-ipython package ends up needing these
-# traitlets (depends on python-decorator)
-# ipython_genutils
-# "Pretend this doesn’t exist. Nobody should use it."
-# "Vestigial IPython utilities: DO NOT USE"
-# (still required for now though, but drop at first chance)
-# pickleshare (depends on path.py)
# simplegeneric (so old that it only comes in .zip and still refers to the cheeseshop)
# shutil_get_terminal_size ?
@@ -55,9 +41,6 @@
prepare() {
cd "$srcdir"
cp -r ipython-$pkgver ipython2-$pkgver
- cp -r ipython_genutils-0.1.0 ipython2_genutils-0.1.0
- cp -r pickleshare-$_psharev python2-pickleshare-$_psharev
- cp -r traitlets-$_traitv python2-traitlets-$_traitv
cp -r simplegeneric-0.8.1 python2-simplegeneric-0.8.1
# python 3.5 does not need a 3.3 backport hack
@@ -76,16 +59,6 @@
#export LC_ALL=en_US.UTF-8
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
- # TEMPORARY!
- cd "$srcdir/ipython_genutils-0.1.0"
- python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
- cd "$srcdir/pickleshare-$_psharev"
- python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
- cd "$srcdir/traitlets-$_traitv"
- python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
cd "$srcdir/simplegeneric-0.8.1"
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
@@ -106,8 +79,8 @@
package_ipython2() {
pkgdesc="An enhanced Interactive Python2 shell."
- depends=('python2' 'python2-decorator' 'python2-pexpect' 'sqlite'
- 'python2-setuptools' 'python2-path' 'python2-pathlib'
+ depends=('python2' 'python2-traitlets' 'python2-pexpect' 'sqlite'
+ 'python2-setuptools' 'python2-pickleshare' 'python2-pathlib'
'python2-backports.shutil_get_terminal_size' 'python2-prompt_toolkit')
optdepends=("wxpython: needed for ipython2 --gui=wx"
"python2-nose: for IPython's test suite")
@@ -117,16 +90,6 @@
python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
- # TEMPORARY!
- cd "$srcdir/ipython2_genutils-0.1.0"
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
- cd "$srcdir/python2-pickleshare-$_psharev"
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
- cd "$srcdir/python2-traitlets-$_traitv"
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
-
cd "$srcdir/python2-simplegeneric-0.8.1"
python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
More information about the arch-commits
mailing list