[arch-commits] Commit in python-qtconsole/repos/community-any (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Tue May 24 12:44:01 UTC 2022
Date: Tuesday, May 24, 2022 @ 12:44:01
Author: archange
Revision: 1210192
archrelease: copy trunk to community-any
Added:
python-qtconsole/repos/community-any/PKGBUILD
(from rev 1210191, python-qtconsole/trunk/PKGBUILD)
Deleted:
python-qtconsole/repos/community-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-24 12:43:32 UTC (rev 1210191)
+++ PKGBUILD 2022-05-24 12:44:01 UTC (rev 1210192)
@@ -1,49 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkgname=qtconsole
-pkgname=python-qtconsole
-pkgver=5.3.0
-pkgrel=1
-pkgdesc="Qt-based console for Jupyter with support for rich media output"
-arch=(any)
-url="https://qtconsole.readthedocs.io/"
-license=(BSD)
-depends=(
- python-ipykernel
- python-jupyter_core
- python-jupyter_client
- python-traitlets
- python-pygments
- python-pyqt5
- python-pyzmq
- python-qtpy
- qt5-svg
-)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest python-pytest-qt python-flaky xorg-server-xvfb)
-source=(https://github.com/jupyter/${_pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('d443da3ce2954322b65956ec674ad83161cbaac819bd8928083ca2f2997c8e25')
-
-build() {
- cd ${_pkgname}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${_pkgname}-${pkgver}
- # Tests passes but then xvfb-run segfaults
- xvfb-run -s '-nolisten local' pytest -x -vv --color=yes qtconsole || echo "Tests segfaulted"
-}
-
-package() {
- cd ${_pkgname}-${pkgver}
- python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
-
- install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-
- cd examples
- local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
- sed -i "s|^Icon=.*$|Icon=${site_packages}/qtconsole/resources/icon/JupyterConsole.svg|" jupyter-qtconsole.desktop
- install -Dm644 jupyter-qtconsole.desktop -t "${pkgdir}"/usr/share/applications/
-}
Copied: python-qtconsole/repos/community-any/PKGBUILD (from rev 1210191, python-qtconsole/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-24 12:44:01 UTC (rev 1210192)
@@ -0,0 +1,49 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkgname=qtconsole
+pkgname=python-qtconsole
+pkgver=5.3.0
+pkgrel=2
+pkgdesc="Qt-based console for Jupyter with support for rich media output"
+arch=(any)
+url="https://qtconsole.readthedocs.io/"
+license=(BSD)
+depends=(
+ python-ipykernel
+ python-ipython-genutils
+ python-jupyter_core
+ python-jupyter_client
+ python-traitlets
+ python-pygments
+ python-pyqt5
+ python-pyzmq
+ python-qtpy
+ qt5-svg
+)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest python-pytest-qt python-flaky xorg-server-xvfb)
+source=(https://github.com/jupyter/${_pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('d443da3ce2954322b65956ec674ad83161cbaac819bd8928083ca2f2997c8e25')
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkgname}-${pkgver}
+ xvfb-run -s '-nolisten local' pytest -x -vv --color=yes qtconsole
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+
+ cd examples
+ local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+ sed -i "s|^Icon=.*$|Icon=${site_packages}/qtconsole/resources/icon/JupyterConsole.svg|" jupyter-qtconsole.desktop
+ install -Dm644 jupyter-qtconsole.desktop -t "${pkgdir}"/usr/share/applications/
+}
More information about the arch-commits
mailing list