Date: Sunday, December 13, 2020 @ 01:01:38 Author: kkeen Revision: 773775
archrelease: copy trunk to community-any Added: python-qtconsole/repos/community-any/PKGBUILD (from rev 773774, python-qtconsole/trunk/PKGBUILD) Deleted: python-qtconsole/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-13 00:59:29 UTC (rev 773774) +++ PKGBUILD 2020-12-13 01:01:38 UTC (rev 773775) @@ -1,42 +0,0 @@ -# Maintainer: Kyle Keen <keen...@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" -} Copied: python-qtconsole/repos/community-any/PKGBUILD (from rev 773774, python-qtconsole/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-13 01:01:38 UTC (rev 773775) @@ -0,0 +1,42 @@ +# Maintainer: Kyle Keen <keen...@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" +}