[arch-commits] Commit in python-qtconsole/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Tue Feb 20 23:30:18 UTC 2018
Date: Tuesday, February 20, 2018 @ 23:30:16
Author: kkeen
Revision: 296637
archrelease: copy trunk to community-any
Added:
python-qtconsole/repos/community-any/PKGBUILD
(from rev 296636, python-qtconsole/trunk/PKGBUILD)
Deleted:
python-qtconsole/repos/community-any/PKGBUILD
----------+
PKGBUILD | 109 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-20 23:29:54 UTC (rev 296636)
+++ PKGBUILD 2018-02-20 23:30:16 UTC (rev 296637)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-qtconsole
-pkgname=(python-qtconsole python2-qtconsole)
-pkgver=4.3.1
-pkgrel=1
-pkgdesc="Qt-based console for Jupyter with support for rich media output"
-arch=('any')
-url="https://pypi.python.org/pypi/qtconsole"
-license=('BSD')
-depends=('python-ipykernel' 'python-jupyter_core' 'python-jupyter_client'
- 'python-traitlets' 'python-pygments' 'python-pyzmq'
- 'qt5-svg' 'python-pyqt5' 'python-sip')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("$pkgbase-$pkgver.tgz::https://github.com/jupyter/qtconsole/archive/$pkgver.tar.gz")
-md5sums=('45f15be486ea24522ac97f39a0cbcedc')
-
-prepare() {
- cd "$srcdir"
- cp -r qtconsole-$pkgver python2-qtconsole-$pkgver
-}
-
-build() {
- cd "$srcdir"
-}
-
-package_python-qtconsole() {
- cd "$srcdir/qtconsole-$pkgver"
- python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
- install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- cd examples
- # FS#47046 fix .desktop icon
- sed -i 's|^Icon=.*$|Icon=/usr/lib/python3.6/site-packages/qtconsole/resources/icon/JupyterConsole.svg|' \
- jupyter-qtconsole.desktop
- install -Dm644 jupyter-qtconsole.desktop \
- "$pkgdir/usr/share/applications/jupyter-qtconsole.desktop"
-
-}
-
-package_python2-qtconsole() {
- depends=('python2-ipykernel' 'python2-jupyter_core' 'python2-jupyter_client'
- 'python2-traitlets' 'python2-pygments' 'python2-pyzmq'
- 'qt5-svg' 'python2-pyqt5' 'python2-sip')
-
- cd "$srcdir/python2-qtconsole-$pkgver"
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
- install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- cd "$pkgdir/usr/bin"
- mv jupyter-qtconsole jupyter-qtconsole-py2
-}
-
Copied: python-qtconsole/repos/community-any/PKGBUILD (from rev 296636, python-qtconsole/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-20 23:30:16 UTC (rev 296637)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-qtconsole
+pkgname=(python-qtconsole python2-qtconsole)
+pkgver=4.3.1
+pkgrel=2
+pkgdesc="Qt-based console for Jupyter with support for rich media output"
+arch=('any')
+url="https://pypi.python.org/pypi/qtconsole"
+license=('BSD')
+depends=('python-ipykernel' 'python-jupyter_core' 'python-jupyter_client'
+ 'python-traitlets' 'python-pygments' 'python-pyzmq'
+ 'qt5-svg' 'python-pyqt5' 'python-sip')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("$pkgbase-$pkgver.tgz::https://github.com/jupyter/qtconsole/archive/$pkgver.tar.gz")
+md5sums=('45f15be486ea24522ac97f39a0cbcedc')
+
+prepare() {
+ cd "$srcdir"
+ cp -r qtconsole-$pkgver python2-qtconsole-$pkgver
+}
+
+build() {
+ cd "$srcdir"
+}
+
+package_python-qtconsole() {
+ cd "$srcdir/qtconsole-$pkgver"
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ cd examples
+ # FS#47046 fix .desktop icon
+ # FS#57556 fix .desktop icon again
+ sed -i 's|^Icon=.*$|Icon=/usr/lib/python3.6/site-packages/qtconsole/resources/icon/JupyterConsole|' \
+ jupyter-qtconsole.desktop
+ install -Dm644 jupyter-qtconsole.desktop \
+ "$pkgdir/usr/share/applications/jupyter-qtconsole.desktop"
+
+}
+
+package_python2-qtconsole() {
+ depends=('python2-ipykernel' 'python2-jupyter_core' 'python2-jupyter_client'
+ 'python2-traitlets' 'python2-pygments' 'python2-pyzmq'
+ 'qt5-svg' 'python2-pyqt5' 'python2-sip')
+
+ cd "$srcdir/python2-qtconsole-$pkgver"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ cd "$pkgdir/usr/bin"
+ mv jupyter-qtconsole jupyter-qtconsole-py2
+}
+
More information about the arch-commits
mailing list