[arch-commits] Commit in pyzo/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 09:42:59 UTC 2019
Date: Monday, November 4, 2019 @ 09:42:59
Author: felixonmars
Revision: 523945
archrelease: copy trunk to community-staging-any
Added:
pyzo/repos/community-staging-any/
pyzo/repos/community-staging-any/PKGBUILD
(from rev 523944, pyzo/trunk/PKGBUILD)
pyzo/repos/community-staging-any/pyzo.sh
(from rev 523944, pyzo/trunk/pyzo.sh)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
pyzo.sh | 3 +++
2 files changed, 39 insertions(+)
Copied: pyzo/repos/community-staging-any/PKGBUILD (from rev 523944, pyzo/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 09:42:59 UTC (rev 523945)
@@ -0,0 +1,36 @@
+# 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-staging-any/pyzo.sh (from rev 523944, pyzo/trunk/pyzo.sh)
===================================================================
--- community-staging-any/pyzo.sh (rev 0)
+++ community-staging-any/pyzo.sh 2019-11-04 09:42:59 UTC (rev 523945)
@@ -0,0 +1,3 @@
+#!/usr/bin/env python
+import pyzo
+pyzo.start()
More information about the arch-commits
mailing list