Date: Friday, August 9, 2013 @ 17:47:35 Author: kkeen Revision: 95326
archrelease: copy trunk to community-any Added: ipython2/repos/community-any/PKGBUILD (from rev 95325, ipython2/trunk/PKGBUILD) Deleted: ipython2/repos/community-any/PKGBUILD ----------+ PKGBUILD | 165 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 88 insertions(+), 77 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-08-09 15:47:11 UTC (rev 95325) +++ PKGBUILD 2013-08-09 15:47:35 UTC (rev 95326) @@ -1,77 +0,0 @@ -# $Id$ -# Maintainer: Kyle Keen <keen...@gmail.com> -# Contributor: Chris Brannon <ch...@the-brannons.com> -# Contributor : Douglas Soares de Andrade <d...@aur.archlinux.org> - -pkgbase=ipython2 -_pkgbase=ipython -pkgname=(ipython2 ipython2-docs) -pkgver=0.13.2 -pkgrel=2 -arch=('any') -url="http://ipython.org" -license=('Modified BSD') -makedepends=('python2') # for setup.py -source=("http://archive.ipython.org/release/$pkgver/ipython-$pkgver.tar.gz") -md5sums=('ead3b7eb70c653b537fb9d96d71b8b2a') - -package_ipython2() { - pkgdesc="An enhanced Interactive Python2 shell." - depends=('python2') - optdepends=("wxpython: needed for ipythonx and ipython-wx" - "twisted: networking-related tasks" - "python2-foolscap: for IPython's parallel computing features" - "python2-pexpect: for irunner" - "python2-nose: if you want to run IPython's test suite" - "python2-pyqt: for ipython-qtconsole" - "python2-sip: for ipython-qtconsole" - "python2-pygments: for ipython-qtconsole" - "python2-pyzmq: for ipython-qtconsole" - "python2-tornado: for ipython notebook") - - cd "$srcdir/$_pkgbase-$pkgver" - - python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0 - rm -rf "$pkgdir/usr/share/doc" - find "$pkgdir" -name '*.py' -print0 |xargs -0 \ - sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \ - -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,' - find "$pkgdir/" -name '*.pyc' -delete - - # hack to get around ipython collision - cd "$pkgdir/usr/share/man/man1/" - mv ipcluster.1 ipcluster2.1 - mv ipcontroller.1 ipcontroller2.1 - mv ipengine.1 ipengine2.1 - mv iplogger.1 iplogger2.1 - mv ipython.1 ipython2.1 - mv irunner.1 irunner2.1 - mv pycolor.1 pycolor2.1 - cd "$pkgdir/usr/bin/" - mv ipcluster ipcluster2 - mv ipcontroller ipcontroller2 - mv ipengine ipengine2 - mv iplogger iplogger2 - mv iptest iptest2 - mv ipython ipython2 - mv irunner irunner2 - mv pycolor pycolor2 -} - -package_ipython2-docs() { - pkgdesc='Documentation and examples for IPython2' - - cd "$srcdir/$_pkgbase-$pkgver" - - python2 setup.py install --prefix=/usr --root="$pkgdir" - rm -rf "$pkgdir/usr/lib" "$pkgdir/usr/bin" "$pkgdir/usr/share/man" - - find "$pkgdir" -name '*.py' -print0 |xargs -0 \ - sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \ - -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,' - - # This seems wrong. We're running setup.py for both - # packages, and removing different things in each. - mv "$pkgdir/usr/share/doc/ipython/" "$pkgdir/usr/share/doc/ipython2/" -} - Copied: ipython2/repos/community-any/PKGBUILD (from rev 95325, ipython2/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-08-09 15:47:35 UTC (rev 95326) @@ -0,0 +1,88 @@ +# $Id$ +# Maintainer: Kyle Keen <keen...@gmail.com> +# Contributor: Chris Brannon <ch...@the-brannons.com> +# Contributor : Douglas Soares de Andrade <d...@aur.archlinux.org> + +# removing the docs split while I figure out what they did to the docs + +#pkgbase=ipython2 +#_pkgbase=ipython +#pkgname=(ipython2 ipython2-docs) +pkgname='ipython2' +pkgver=1.0.0 +pkgrel=1 +arch=('any') +url="http://ipython.org" +license=('Modified BSD') +makedepends=('python2' 'python2-sphinx') +#source=("http://archive.ipython.org/release/$pkgver/ipython-$pkgver.tar.gz") +source=("https://pypi.python.org/packages/source/i/ipython/ipython-$pkgver.tar.gz") +md5sums=('2268fa83f257d14943eb04e3333a6fac') + +#package_ipython2() { +package() { + pkgdesc="An enhanced Interactive Python2 shell." + depends=('python2') + optdepends=("wxpython: needed for ipythonx and ipython-wx" + "twisted: networking-related tasks" + "python2-foolscap: for IPython's parallel computing features" + "python2-pexpect: for irunner" + "python2-nose: if you want to run IPython's test suite" + "python2-pyqt: for ipython-qtconsole" + "python2-sip: for ipython-qtconsole" + "python2-pygments: for ipython-qtconsole" + "python2-pyzmq: for ipython-qtconsole" + "python2-tornado: for ipython notebook") + + #cd "$srcdir/$_pkgbase-$pkgver" + cd "$srcdir/ipython-$pkgver" + + python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0 + rm -rf "$pkgdir/usr/share/doc" + find "$pkgdir" -name '*.py' -print0 |xargs -0 \ + sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \ + -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,' + find "$pkgdir/" -name '*.pyc' -delete + + # hack to get around ipython collision + cd "$pkgdir/usr/share/man/man1/" + mv ipcluster.1 ipcluster2.1 + mv ipcontroller.1 ipcontroller2.1 + mv ipengine.1 ipengine2.1 + mv iplogger.1 iplogger2.1 + mv ipython.1 ipython2.1 + mv irunner.1 irunner2.1 + mv pycolor.1 pycolor2.1 + cd "$pkgdir/usr/bin/" + mv ipcluster ipcluster2 + mv ipcontroller ipcontroller2 + mv ipengine ipengine2 + mv iplogger iplogger2 + mv iptest iptest2 + mv ipython ipython2 + mv irunner irunner2 + mv pycolor pycolor2 +} + +# So this is weird. The old docs are gone. New docs use sphinx? +# Does not seem to build though. Will fix later. + +#package_ipython2-docs() { +# pkgdesc='Documentation and examples for IPython2' + +# cd "$srcdir/$_pkgbase-$pkgver/docs" +# make PREFIX="/usr" +# make DESTDIR="$pkgdir" install + + #python2 setup.py install --prefix=/usr --root="$pkgdir" + #rm -rf "$pkgdir/usr/lib" "$pkgdir/usr/bin" "$pkgdir/usr/share/man" + + #find "$pkgdir" -name '*.py' -print0 |xargs -0 \ + # sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \ + # -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,' + + # This seems wrong. We're running setup.py for both + # packages, and removing different things in each. + #mv "$pkgdir/usr/share/doc/ipython/" "$pkgdir/usr/share/doc/ipython2/" +#} +