[arch-commits] Commit in ipython/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Wed Mar 11 02:48:26 UTC 2015
Date: Wednesday, March 11, 2015 @ 03:48:26
Author: kkeen
Revision: 129044
upgpkg: ipython 3.0.0-3
Modified:
ipython/trunk/PKGBUILD
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++------------
1 file changed, 28 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-11 02:16:27 UTC (rev 129043)
+++ PKGBUILD 2015-03-11 02:48:26 UTC (rev 129044)
@@ -6,9 +6,9 @@
# Contributor : Douglas Soares de Andrade <dsa at aur.archlinux.org>
pkgbase=ipython
-pkgname=(ipython ipython2)
+pkgname=(ipython ipython2 ipython-notebook ipython2-notebook)
pkgver=3.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="An enhanced Interactive Python shell."
arch=('any')
url="http://ipython.org"
@@ -19,15 +19,13 @@
"python-pyqt4: for ipython qtconsole"
"python-sip: for ipython qtconsole"
"python-pygments: for ipython qtconsole"
- "python-pyzmq: ipython notebook and ipython qtconsole"
- "python-tornado: for ipython notebook"
- "python-jinja: for ipython notebook"
- "python-jsonschema: for ipython notebook"
- "haskell-pandoc: ipython notebook conversion")
+ "python-pyzmq: ipython qtconsole")
#source=("http://archive.ipython.org/release/$pkgver/ipython-$pkgver.tar.gz")
source=("https://pypi.python.org/packages/source/i/ipython/$pkgbase-$pkgver.tar.gz")
md5sums=('b3f00f3c0be036fafef3b0b9d663f27e')
+# python-mistune?
+
build() {
cd "$srcdir"
cp -r ipython-$pkgver ipython2-$pkgver
@@ -59,11 +57,7 @@
"python2-pyqt4: for ipython qtconsole"
"python2-sip: for ipython qtconsole"
"python2-pygments: for ipython qtconsole"
- "python2-pyzmq: ipython notebook and ipython qtconsole"
- "python2-tornado: for ipython notebook"
- "python2-jinja: for ipython notebook"
- "python2-jsonschema: for ipython notebook"
- "haskell-pandoc: ipython notebook conversion")
+ "python2-pyzmq: ipython qtconsole")
cd "$srcdir/ipython2-$pkgver"
@@ -89,3 +83,25 @@
install -Dm644 ipython-qtconsole.desktop "$pkgdir/usr/share/applications/ipython2-qtconsole.desktop"
}
+# Nothing in these packages except dependencies because five optdeps is too many
+
+package_ipython-notebook() {
+ pkgdesc="Web-based environment where you can combine code, text, math, plots and media into a single document"
+ depends=('python-pyzmq' 'python-tornado' 'python-terminado'
+ 'python-jinja' 'python-jsonschema')
+ optdepends=("haskell-pandoc: ipython notebook conversion")
+ cd "$srcdir/ipython-$pkgver"
+ install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython-notebook/LICENSE"
+}
+
+package_ipython2-notebook() {
+ pkgdesc="Web-based environment where you can combine code, text, math, plots and media into a single document"
+ depends=('python2-pyzmq' 'python2-tornado' 'python2-terminado'
+ 'python2-jinja' 'python2-jsonschema')
+ optdepends=("haskell-pandoc: ipython notebook conversion")
+ cd "$srcdir/ipython2-$pkgver"
+ install -Dm644 docs/source/about/license_and_copyright.rst "$pkgdir/usr/share/licenses/ipython2-notebook/LICENSE"
+}
+
+
+
More information about the arch-commits
mailing list