[arch-commits] Commit in python-qtconsole/repos/community-any (PKGBUILD PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Sat Apr 2 16:10:40 UTC 2022


    Date: Saturday, April 2, 2022 @ 16:10:39
  Author: archange
Revision: 1180844

archrelease: copy trunk to community-any

Added:
  python-qtconsole/repos/community-any/PKGBUILD
    (from rev 1180843, python-qtconsole/trunk/PKGBUILD)
Deleted:
  python-qtconsole/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-02 16:10:13 UTC (rev 1180843)
+++ PKGBUILD	2022-04-02 16:10:39 UTC (rev 1180844)
@@ -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.2.2
-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=('d5cfb4bb2f812301ae75bd856c2bd0adcc52a935567ea72cc8037c7e1972a58a')
-
-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 1180843, python-qtconsole/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-02 16:10:39 UTC (rev 1180844)
@@ -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=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/
+}



More information about the arch-commits mailing list