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

Bruno Pagani archange at archlinux.org
Sat Feb 1 18:20:20 UTC 2020


    Date: Saturday, February 1, 2020 @ 18:20:20
  Author: archange
Revision: 561078

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 pyzo.sh  |    3 --
 2 files changed, 36 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-01 18:20:14 UTC (rev 561077)
+++ PKGBUILD	2020-02-01 18:20:20 UTC (rev 561078)
@@ -1,36 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Hector Mtz-Seara <hseara.#at#.gmail*.*com>
-
-pkgname=pyzo
-pkgver=4.9.0
-pkgrel=2
-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 pyside2)
-makedepends=(python-setuptools)
-optdepends=('python-pyqt5: to use PyQt5 as backend instead of PySide')
-source=("https://github.com/pyzo/pyzo/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
-        'pyzo.sh')
-sha256sums=('f0e4464013b1c484fd4f0604c3b53cb7945288ae4d59fb755c8bc9d2fe61e119'
-            'ad318a4669f37819b99f273d3a770f9fe0f1732a6cf39ca69e8fe79f878586f4')
-
-build(){
-    cd ${pkgname}-${pkgver}
-    python setup.py build
-}
-
-package(){
-    cd ${pkgname}-${pkgver}
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm444 ${pkgname}/license.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-
-    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
-
-    install -Dm755 ../${pkgname}.sh "${pkgdir}"/usr/bin/${pkgname}
-}

Copied: pyzo/repos/community-any/PKGBUILD (from rev 561077, pyzo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-01 18:20:20 UTC (rev 561078)
@@ -0,0 +1,36 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Hector Mtz-Seara <hseara.#at#.gmail*.*com>
+
+pkgname=pyzo
+pkgver=4.10.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 pyside2)
+makedepends=(python-setuptools)
+optdepends=('python-pyqt5: to use PyQt5 as backend instead of PySide')
+source=(https://github.com/pyzo/pyzo/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('099567667897680d740903b1392fe2b1d54550fae454cdcfdc66c10d1ac92d99')
+
+build(){
+    cd ${pkgname}-${pkgver}
+    python setup.py build
+}
+
+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
+}

Deleted: pyzo.sh
===================================================================
--- pyzo.sh	2020-02-01 18:20:14 UTC (rev 561077)
+++ pyzo.sh	2020-02-01 18:20:20 UTC (rev 561078)
@@ -1,3 +0,0 @@
-#!/usr/bin/env python
-import pyzo
-pyzo.start()



More information about the arch-commits mailing list