[arch-commits] Commit in python-qtconsole/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Jan 5 18:05:29 UTC 2021
Date: Tuesday, January 5, 2021 @ 18:05:28
Author: arojas
Revision: 809677
archrelease: copy trunk to community-any
Added:
python-qtconsole/repos/community-any/PKGBUILD
(from rev 809676, python-qtconsole/trunk/PKGBUILD)
Deleted:
python-qtconsole/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-05 18:05:20 UTC (rev 809676)
+++ PKGBUILD 2021-01-05 18:05:28 UTC (rev 809677)
@@ -1,42 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=python-qtconsole
-pkgver=5.0.1
-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' 'python-qtpy')
-makedepends=('python-setuptools')
-#checkdepends=('python-nose' 'python-pytest')
-source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/qtconsole/archive/$pkgver.tar.gz")
-md5sums=('34056a772ab327f8233776e3bb398ac9')
-
-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.9/site-packages/qtconsole/resources/icon/JupyterConsole.svg|' \
- jupyter-qtconsole.desktop
- install -Dm644 jupyter-qtconsole.desktop \
- "$pkgdir/usr/share/applications/jupyter-qtconsole.desktop"
-}
Copied: python-qtconsole/repos/community-any/PKGBUILD (from rev 809676, python-qtconsole/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-05 18:05:28 UTC (rev 809677)
@@ -0,0 +1,42 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-qtconsole
+pkgver=5.0.1
+pkgrel=2
+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-qtpy')
+makedepends=('python-setuptools')
+#checkdepends=('python-nose' 'python-pytest')
+source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/qtconsole/archive/$pkgver.tar.gz")
+md5sums=('34056a772ab327f8233776e3bb398ac9')
+
+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.9/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