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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 16:48:38 UTC 2020


    Date: Monday, November 9, 2020 @ 16:48:38
  Author: felixonmars
Revision: 747554

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pyface/repos/community-staging-any/PKGBUILD (from rev 747553, python-pyface/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:48:38 UTC (rev 747554)
@@ -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.0.0
+pkgrel=2
+pkgdesc="Traits-capable windowing framework"
+arch=('any')
+url="https://github.com/enthought/pyface"
+license=('BSD')
+depends=('python-traits')
+makedepends=('python-setuptools')
+optdepends=('python-pyqt5: for Qt backend (or pyside2)'
+            'python-pyqtwebengine: 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=('594c24d58fd65c3981a095ea256912cfab1f15d314bc58f3d2e88da9ca7cb3d4')
+
+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