[arch-commits] Commit in python-pyface/repos/community-any (PKGBUILD PKGBUILD)

Andrzej Giniewicz aginiewicz at archlinux.org
Thu Mar 14 09:07:56 UTC 2019


    Date: Thursday, March 14, 2019 @ 09:07:56
  Author: aginiewicz
Revision: 440970

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-14 09:07:52 UTC (rev 440969)
+++ PKGBUILD	2019-03-14 09:07:56 UTC (rev 440970)
@@ -1,68 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-# TODO: python-scimath: for unit parser in pyface.wx.spreadsheet
-# TODO: look for more hidden dependencies
-
-pkgbase=python-pyface
-pkgname=('python2-pyface' 'python-pyface')
-pkgver=6.0.0
-pkgrel=4
-pkgdesc="Traits-capable windowing framework"
-arch=('any')
-url="https://github.com/enthought/pyface"
-license=('BSD')
-makedepends=('python-setuptools' 'python-traits' 'python2-setuptools' 'python2-traits')
-options=(!emptydirs)
-
-source=("pyface-${pkgver}.tar.gz::https://github.com/enthought/pyface/archive/${pkgver}.tar.gz")
-sha1sums=('3f260f9c52044419bb670ee2e9b564d3d4bfeb41')
-
-prepare() {
-  cd "$srcdir"
-  cp -a pyface-${pkgver} pyface-py2-${pkgver}
-}
-
-build() {
-  cd "$srcdir"/pyface-py2-$pkgver
-
-  # "Building Python2"
-  python2 setup.py build
-
-  cd "$srcdir"/pyface-$pkgver
-
-  # "Building Python3"
-  python setup.py build
-}
-
-package_python2-pyface() {
-  depends=('python2-traits')
-  optdepends=('python2-pyqt5: for Qt backend'
-              'python2-pyqtwebengine: for Qt backend'
-              'python2-pygments: for syntax coloring in Qt backend'
-              'python2-setuptools: to locate resources inside zip and egg files'
-              'ipython2: for IPython widget'
-              'python2-wxpython3: for wx backend')
-
-  cd "$srcdir"/pyface-py2-$pkgver
-
-  python2 setup.py install --root="$pkgdir"/ --optimize=1
-
-  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-pyface() {
-  depends=('python-traits')
-  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')
-
-  cd "$srcdir"/pyface-$pkgver
-
-  python setup.py install --root="$pkgdir"/ --optimize=1
-
-  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pyface/repos/community-any/PKGBUILD (from rev 440969, python-pyface/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-14 09:07:56 UTC (rev 440970)
@@ -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=6.0.0
+pkgrel=5
+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=('3dd49ae2d289cc9655cb74296092933113a5ebb92a3f83837cde26eead572b4a')
+
+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