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

Bruno Pagani archange at gemini.archlinux.org
Fri Mar 18 15:18:12 UTC 2022


    Date: Friday, March 18, 2022 @ 15:18:12
  Author: archange
Revision: 1158532

archrelease: copy trunk to community-any

Added:
  pyzo/repos/community-any/PKGBUILD
    (from rev 1158531, pyzo/trunk/PKGBUILD)
Deleted:
  pyzo/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-18 15:17:43 UTC (rev 1158531)
+++ PKGBUILD	2022-03-18 15:18:12 UTC (rev 1158532)
@@ -1,51 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Hector Mtz-Seara <hseara.#at#.gmail*.*com>
-
-pkgname=pyzo
-pkgver=4.12.0
-pkgrel=1
-pkgdesc="Cross-platform Python IDE focused on interactivity and introspection, very suitable for scientific computing."
-arch=(any)
-url="https://pyzo.org"
-license=(BSD)
-depends=(python-packaging)
-makedepends=(python-setuptools)
-optdepends=(
-    'pyside2: Qt5 backend'
-    'pyside6: Qt6 backend'
-    'python-pyqt5: alternative Qt5 backend'
-    'python-pyqt6: alternative Qt6 backend'
-)
-checkdepends=(python-pytest pyside2 pyside6 python-pyqt5 python-pyqt6 xorg-server-xvfb)
-source=(https://github.com/pyzo/pyzo/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('55bc7955e391573a9c82272fc296816ff6f9b9caa992f4a610037b546f91c5df')
-
-build() {
-    cd ${pkgname}-${pkgver}
-    python setup.py build
-}
-
-check() {
-    cd ${pkgname}-${pkgver}
-    python -m venv --system-site-packages test-env
-    test-env/bin/python setup.py install --skip-build
-    test-env/bin/python -m pytest -v --color=yes tests
-    xvfb-run --auto-servernum test-env/bin/python pyzolauncher.py --test
-    test-env/bin/python tests/check_log.py
-}
-
-package() {
-    cd ${pkgname}-${pkgver}
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-
-    # Clean
-    rm "${pkgdir}"/usr/{LICENSE.md,README.md,pyzo.appdata.xml,pyzolauncher.py}
-    install -Dm644 LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-    install -Dm644 pyzo.appdata.xml -t "${pkgdir}"/usr/share/metainfo/
-    install pyzolauncher.py "${pkgdir}"/usr/bin/pyzo
-
-    install -Dm644 pyzo/resources/pyzo.desktop -t "${pkgdir}"/usr/share/applications/
-    for i in 16 32 48 64 128 256 ; do
-        install -Dm644 pyzo/resources/appicons/pyzologo${i}.png "${pkgdir}"/usr/share/icons/hicolor/${i}x${i}/apps/pyzologo.png
-    done
-}

Copied: pyzo/repos/community-any/PKGBUILD (from rev 1158531, pyzo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-18 15:18:12 UTC (rev 1158532)
@@ -0,0 +1,51 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Hector Mtz-Seara <hseara.#at#.gmail*.*com>
+
+pkgname=pyzo
+pkgver=4.12.3
+pkgrel=1
+pkgdesc="Cross-platform Python IDE focused on interactivity and introspection, very suitable for scientific computing."
+arch=(any)
+url="https://pyzo.org"
+license=(BSD)
+depends=(python-packaging)
+makedepends=(python-setuptools)
+optdepends=(
+    'pyside2: Qt5 backend'
+    'pyside6: Qt6 backend'
+    'python-pyqt5: alternative Qt5 backend'
+    'python-pyqt6: alternative Qt6 backend'
+)
+checkdepends=(python-pytest pyside2 pyside6 python-pyqt5 python-pyqt6 xorg-server-xvfb)
+source=(https://github.com/pyzo/pyzo/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('2c2e4bd5206cc26901d58de68ef7daa3923734c3dc6a78755b5930371e47807c')
+
+build() {
+    cd ${pkgname}-${pkgver}
+    python setup.py build
+}
+
+check() {
+    cd ${pkgname}-${pkgver}
+    python -m venv --system-site-packages test-env
+    test-env/bin/python setup.py install --skip-build
+    test-env/bin/python -m pytest -v --color=yes tests
+    xvfb-run --auto-servernum test-env/bin/python pyzolauncher.py --test
+    test-env/bin/python tests/check_log.py
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+
+    # Clean
+    rm "${pkgdir}"/usr/{LICENSE.md,README.md,pyzo.appdata.xml,pyzolauncher.py}
+    install -Dm644 LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+    install -Dm644 pyzo.appdata.xml -t "${pkgdir}"/usr/share/metainfo/
+    install pyzolauncher.py "${pkgdir}"/usr/bin/pyzo
+
+    install -Dm644 pyzo/resources/pyzo.desktop -t "${pkgdir}"/usr/share/applications/
+    for i in 16 32 48 64 128 256 ; do
+        install -Dm644 pyzo/resources/appicons/pyzologo${i}.png "${pkgdir}"/usr/share/icons/hicolor/${i}x${i}/apps/pyzologo.png
+    done
+}



More information about the arch-commits mailing list