summaryrefslogtreecommitdiff
path: root/python2-qtconsole/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-15 20:59:33 +0100
committerErich Eckner <git@eckner.net>2019-11-15 20:59:33 +0100
commitb395a19b2b6fee8a5e98fc81f3a719fdc5c01e2b (patch)
tree6755befb3fdcfb8fe1701ddd9c81c776bd1d7f1f /python2-qtconsole/PKGBUILD
parentac8670146dc6c10156ea1c1b41db383ccb80838a (diff)
downloadarchlinuxewe-b395a19b2b6fee8a5e98fc81f3a719fdc5c01e2b.tar.xz
python2-qtconsole new
Diffstat (limited to 'python2-qtconsole/PKGBUILD')
-rw-r--r--python2-qtconsole/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/python2-qtconsole/PKGBUILD b/python2-qtconsole/PKGBUILD
new file mode 100644
index 000000000..367e0f203
--- /dev/null
+++ b/python2-qtconsole/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+
+pkgname=python2-qtconsole
+pkgver=4.5.5
+pkgrel=3
+pkgdesc="Qt-based console for Jupyter with support for rich media output"
+arch=('any')
+url="https://pypi.org/project/qtconsole/"
+license=('BSD')
+makedepends=('python2-setuptools' 'qt5-svg')
+source=("$pkgbase-$pkgver.tgz::https://github.com/jupyter/qtconsole/archive/$pkgver.tar.gz")
+md5sums=('b6e58c890712d9522f2bb2d28b5ace39')
+depends=('python2-ipykernel' 'python2-jupyter_core' 'python2-jupyter_client'
+ 'python2-traitlets' 'python2-pygments' 'python2-pyzmq'
+ 'qt5-svg' 'python2-pyqt5' 'python2-sip')
+
+build() {
+ cd "$srcdir/qtconsole-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/qtconsole-$pkgver"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ cd "$pkgdir/usr/bin"
+ mv jupyter-qtconsole jupyter-qtconsole-py2
+}