[arch-commits] Commit in pyzo/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 19:53:01 UTC 2020
Date: Thursday, November 12, 2020 @ 19:53:01
Author: foutrelis
Revision: 753668
archrelease: copy trunk to community-staging-any
Added:
pyzo/repos/community-staging-any/
pyzo/repos/community-staging-any/PKGBUILD
(from rev 753667, pyzo/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: pyzo/repos/community-staging-any/PKGBUILD (from rev 753667, pyzo/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 19:53:01 UTC (rev 753668)
@@ -0,0 +1,36 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Hector Mtz-Seara <hseara.#at#.gmail*.*com>
+
+pkgname=pyzo
+pkgver=4.11.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 PySide2')
+source=(https://github.com/pyzo/pyzo/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('86a0598599affe116dccedc2663d16bcbc52bd262b365ecbc2c2459ab7377987')
+
+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
+}
More information about the arch-commits
mailing list