[arch-commits] Commit in (5 files)

Bruno Pagani archange at archlinux.org
Sun Oct 21 16:36:20 UTC 2018


    Date: Sunday, October 21, 2018 @ 16:36:19
  Author: archange
Revision: 398270

Initial addition of pyzo to [community]

Added:
  pyzo/
  pyzo/repos/
  pyzo/trunk/
  pyzo/trunk/PKGBUILD
  pyzo/trunk/pyzo.sh

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

Added: pyzo/trunk/PKGBUILD
===================================================================
--- pyzo/trunk/PKGBUILD	                        (rev 0)
+++ pyzo/trunk/PKGBUILD	2018-10-21 16:36:19 UTC (rev 398270)
@@ -0,0 +1,36 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Hector Mtz-Seara <hseara.#at#.gmail*.*com>
+
+pkgname=pyzo
+pkgver=4.6.0
+pkgrel=3
+pkgdesc="Cross-platform Python IDE focused on interactivity and introspection, very suitable for scientific computing."
+url="https://pyzo.org"
+license=('BSD')
+arch=('any')
+depends=('python' 'pyside2')
+makedepends=('python-setuptools')
+optdepends=('python-pyqt5: to use PyQt5 as backend instead of PySide')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/pyzo/pyzo/archive/v${pkgver}.tar.gz"
+        'pyzo.sh')
+sha256sums=('40ee770ff2711669b49a781a2159daf60d0677b7e30ed5e79ceb4cf948912dc9'
+            '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}
+}

Added: pyzo/trunk/pyzo.sh
===================================================================
--- pyzo/trunk/pyzo.sh	                        (rev 0)
+++ pyzo/trunk/pyzo.sh	2018-10-21 16:36:19 UTC (rev 398270)
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+import pyzo
+pyzo.start()



More information about the arch-commits mailing list