[arch-commits] Commit in python-pyface/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 22:32:50 UTC 2021


    Date: Tuesday, November 30, 2021 @ 22:32:50
  Author: felixonmars
Revision: 1059060

archrelease: copy trunk to community-staging-any

Added:
  python-pyface/repos/community-staging-any/
  python-pyface/repos/community-staging-any/PKGBUILD
    (from rev 1059058, python-pyface/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: python-pyface/repos/community-staging-any/PKGBUILD (from rev 1059058, python-pyface/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 22:32:50 UTC (rev 1059060)
@@ -0,0 +1,38 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+# TODO: python-scimath: for unit parser in pyface.wx.spreadsheet
+# TODO: look for more hidden dependencies
+
+pkgname=python-pyface
+pkgver=7.3.0
+pkgrel=3
+pkgdesc="Traits-capable windowing framework"
+arch=('any')
+url="https://github.com/enthought/pyface"
+license=('BSD')
+depends=('python-traits' 'python-importlib_resources')
+makedepends=('python-setuptools')
+optdepends=('python-pyqt5: for Qt backend (or pyside2)'
+            'python-pyqt5-webengine: for Qt backend'
+            'pyside2: for Qt backend (or python-pyqt5)'
+            'python-pygments: for syntax coloring in Qt backend'
+            'python-setuptools: to locate resources inside zip and egg files'
+            'ipython: for IPython widget'
+            'python-wxpython: for wx backend')
+options=(!emptydirs)
+source=("pyface-${pkgver}.tar.gz::https://github.com/enthought/pyface/archive/${pkgver}.tar.gz")
+sha256sums=('434aa47f11946fa0294e451aeedc083002b7113cb69dce0f59884279ea38c19c')
+
+build() {
+  cd "$srcdir"/pyface-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir"/pyface-$pkgver
+
+  python setup.py install --root="$pkgdir"/ --optimize=1
+
+  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list