Date: Monday, April 17, 2023 @ 18:27:04
Author: arojas
Revision: 1447023
archrelease: copy trunk to community-any
Added:
python-qtconsole/repos/community-any/PKGBUILD
(from rev 1447022, python-qtconsole/trunk/PKGBUILD)
Deleted:
python-qtconsole/repos/community-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-17 18:26:52 UTC (rev 1447022)
+++ PKGBUILD 2023-04-17 18:27:04 UTC (rev 1447023)
@@ -1,49 +0,0 @@
-# Maintainer: Kyle Keen <[email protected]>
-# Maintainer: Bruno Pagani <[email protected]>
-
-_pkgname=qtconsole
-pkgname=python-qtconsole
-pkgver=5.4.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-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=('a73c0f328e7606fdce9e2afb57a3314231ce835a39a04dfefe12bcc59c8647d5')
-
-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/
-}
Copied: python-qtconsole/repos/community-any/PKGBUILD (from rev 1447022,
python-qtconsole/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-17 18:27:04 UTC (rev 1447023)
@@ -0,0 +1,49 @@
+# Maintainer: Kyle Keen <[email protected]>
+# Maintainer: Bruno Pagani <[email protected]>
+
+_pkgname=qtconsole
+pkgname=python-qtconsole
+pkgver=5.4.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-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=('4ecf1c1aebd78fcc252f039e9e7e93b1a21efc5d38bb9dc3474622b4d064cb4f')
+
+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/
+}