[arch-commits] Commit in python-qtconsole/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 13:43:40 UTC 2020
Date: Thursday, November 12, 2020 @ 13:43:40
Author: foutrelis
Revision: 751849
archrelease: copy trunk to community-staging-any
Added:
python-qtconsole/repos/community-staging-any/PKGBUILD
(from rev 751848, python-qtconsole/trunk/PKGBUILD)
Deleted:
python-qtconsole/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 13:43:37 UTC (rev 751848)
+++ PKGBUILD 2020-11-12 13:43:40 UTC (rev 751849)
@@ -1,42 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-
-pkgname=python-qtconsole
-pkgver=4.7.3
-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-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=('c65c682637b2a8e470df0fd37a5e5c67')
-
-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-staging-any/PKGBUILD (from rev 751848, python-qtconsole/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 13:43:40 UTC (rev 751849)
@@ -0,0 +1,42 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-qtconsole
+pkgver=4.7.3
+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' 'python-qtpy')
+makedepends=('python-setuptools')
+#checkdepends=('python-nose' 'python-pytest')
+source=("$pkgname-$pkgver.tgz::https://github.com/jupyter/qtconsole/archive/$pkgver.tar.gz")
+md5sums=('c65c682637b2a8e470df0fd37a5e5c67')
+
+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