[arch-commits] Commit in python-qtconsole/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Sun Dec 1 00:53:10 UTC 2019
Date: Sunday, December 1, 2019 @ 00:53:10
Author: kkeen
Revision: 534614
archrelease: copy trunk to community-any
Added:
python-qtconsole/repos/community-any/PKGBUILD
(from rev 534613, python-qtconsole/trunk/PKGBUILD)
Deleted:
python-qtconsole/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-01 00:52:40 UTC (rev 534613)
+++ PKGBUILD 2019-12-01 00:53:10 UTC (rev 534614)
@@ -1,42 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=python-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')
-depends=('python-ipykernel' 'python-jupyter_core' 'python-jupyter_client'
- 'python-traitlets' 'python-pygments' 'python-pyzmq'
- 'qt5-svg' 'python-pyqt5' 'python-sip')
-makedepends=('python-setuptools')
-checkdepends=('python-nose' 'python-pytest')
-source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/qtconsole/archive/$pkgver.tar.gz")
-md5sums=('b6e58c890712d9522f2bb2d28b5ace39')
-
-build() {
- cd "$srcdir/qtconsole-$pkgver"
- python setup.py build
-}
-
-check() {
- # tests require an active X session
- return
- cd "$srcdir/qtconsole-$pkgver"
- nosetests qtconsole
-}
-
-package_python-qtconsole() {
- cd "$srcdir/qtconsole-$pkgver"
- python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
- install -Dm644 LICENSE "$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.8/site-packages/qtconsole/resources/icon/JupyterConsole|' \
- jupyter-qtconsole.desktop
- install -Dm644 jupyter-qtconsole.desktop \
- "$pkgdir/usr/share/applications/jupyter-qtconsole.desktop"
-}
Copied: python-qtconsole/repos/community-any/PKGBUILD (from rev 534613, python-qtconsole/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-01 00:53:10 UTC (rev 534614)
@@ -0,0 +1,42 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-qtconsole
+pkgver=4.6.0
+pkgrel=1
+pkgdesc="Qt-based console for Jupyter with support for rich media output"
+arch=('any')
+url="https://pypi.org/project/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')
+#checkdepends=('python-nose' 'python-pytest')
+source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/qtconsole/archive/$pkgver.tar.gz")
+md5sums=('dc92e6d4ad29cfd1726d75f26e9e8f5f')
+
+build() {
+ cd "$srcdir/qtconsole-$pkgver"
+ python setup.py build
+}
+
+check() {
+ # tests require an active X session
+ true
+ return
+ cd "$srcdir/qtconsole-$pkgver"
+ nosetests qtconsole
+}
+
+package() {
+ cd "$srcdir/qtconsole-$pkgver"
+ python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ cd examples
+ # FS#47046 FS#57556 FS#64628 fix .desktop icon
+ sed -i 's|^Icon=.*$|Icon=/usr/lib/python3.8/site-packages/qtconsole/resources/icon/JupyterConsole.svg|' \
+ jupyter-qtconsole.desktop
+ install -Dm644 jupyter-qtconsole.desktop \
+ "$pkgdir/usr/share/applications/jupyter-qtconsole.desktop"
+}
More information about the arch-commits
mailing list