[arch-commits] Commit in pyzo/repos (3 files)
Bruno Pagani
archange at archlinux.org
Sun Oct 21 16:38:01 UTC 2018
Date: Sunday, October 21, 2018 @ 16:38:01
Author: archange
Revision: 398271
archrelease: copy trunk to community-any
Added:
pyzo/repos/community-any/
pyzo/repos/community-any/PKGBUILD
(from rev 398270, pyzo/trunk/PKGBUILD)
pyzo/repos/community-any/pyzo.sh
(from rev 398270, pyzo/trunk/pyzo.sh)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
pyzo.sh | 3 +++
2 files changed, 39 insertions(+)
Copied: pyzo/repos/community-any/PKGBUILD (from rev 398270, pyzo/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2018-10-21 16:38:01 UTC (rev 398271)
@@ -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}
+}
Copied: pyzo/repos/community-any/pyzo.sh (from rev 398270, pyzo/trunk/pyzo.sh)
===================================================================
--- community-any/pyzo.sh (rev 0)
+++ community-any/pyzo.sh 2018-10-21 16:38:01 UTC (rev 398271)
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+import pyzo
+pyzo.start()
More information about the arch-commits
mailing list