[arch-commits] Commit in python-qtconsole/trunk (PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Sun Dec 1 00:52:41 UTC 2019
Date: Sunday, December 1, 2019 @ 00:52:40
Author: kkeen
Revision: 534613
upgpkg: python-qtconsole 4.6.0-1 FS#64628
Modified:
python-qtconsole/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-01 00:13:09 UTC (rev 534612)
+++ PKGBUILD 2019-12-01 00:52:40 UTC (rev 534613)
@@ -1,8 +1,8 @@
# Maintainer: Kyle Keen <keenerd at gmail.com>
pkgname=python-qtconsole
-pkgver=4.5.5
-pkgrel=3
+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/"
@@ -11,9 +11,9 @@
'python-traitlets' 'python-pygments' 'python-pyzmq'
'qt5-svg' 'python-pyqt5' 'python-sip')
makedepends=('python-setuptools')
-checkdepends=('python-nose' 'python-pytest')
+#checkdepends=('python-nose' 'python-pytest')
source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/qtconsole/archive/$pkgver.tar.gz")
-md5sums=('b6e58c890712d9522f2bb2d28b5ace39')
+md5sums=('dc92e6d4ad29cfd1726d75f26e9e8f5f')
build() {
cd "$srcdir/qtconsole-$pkgver"
@@ -22,20 +22,20 @@
check() {
# tests require an active X session
+ true
return
cd "$srcdir/qtconsole-$pkgver"
nosetests qtconsole
}
-package_python-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 fix .desktop icon
- # FS#57556 fix .desktop icon again
- sed -i 's|^Icon=.*$|Icon=/usr/lib/python3.8/site-packages/qtconsole/resources/icon/JupyterConsole|' \
+ # 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