[arch-commits] Commit in python-pyface/repos/community-any (PKGBUILD PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Sat Aug 11 17:21:19 UTC 2018
Date: Saturday, August 11, 2018 @ 17:21:18
Author: aginiewicz
Revision: 371164
archrelease: copy trunk to community-any
Added:
python-pyface/repos/community-any/PKGBUILD
(from rev 371163, python-pyface/trunk/PKGBUILD)
Deleted:
python-pyface/repos/community-any/PKGBUILD
----------+
PKGBUILD | 136 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 68 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-11 17:21:10 UTC (rev 371163)
+++ PKGBUILD 2018-08-11 17:21:18 UTC (rev 371164)
@@ -1,68 +0,0 @@
-# $Id$
-# 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=2
-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")
-md5sums=('d0268ef46e4229011c3b0ae738e731e1')
-
-prepare() {
- cd "$srcdir"
- #patch -p0 < ipython_widget.patch
- cp -a pyface-${pkgver} pyface-py2-${pkgver}
-}
-
-build() {
- cd "$srcdir"/pyface-py2-$pkgver
-
- msg "Building Python2"
- python2 setup.py build
-
- cd "$srcdir"/pyface-$pkgver
-
- msg "Building Python3"
- python setup.py build
-}
-
-package_python2-pyface() {
- depends=('python2-traits')
- optdepends=('python2-pyqt4: for Qt backend (or python2-pyside)'
- 'python2-pyside: for Qt backend (or python2-pyqt4)'
- 'python2-pygments: for syntax coloring in Qt backend'
- 'python2-setuptools: to locate resources inside zip and egg files'
- 'ipython2: for IPython widget'
- 'wxpython: 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-pyqt4: for Qt backend (or python2-pyside)'
- 'python-pyside: for Qt backend (or python2-pyqt4)'
- 'python-pygments: for syntax coloring in Qt backend'
- 'python-setuptools: to locate resources inside zip and egg files'
- 'ipython: for IPython widget')
-
- 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 371163, python-pyface/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-11 17:21:18 UTC (rev 371164)
@@ -0,0 +1,68 @@
+# $Id$
+# 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=3
+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")
+md5sums=('d0268ef46e4229011c3b0ae738e731e1')
+
+prepare() {
+ cd "$srcdir"
+ #patch -p0 < ipython_widget.patch
+ cp -a pyface-${pkgver} pyface-py2-${pkgver}
+}
+
+build() {
+ cd "$srcdir"/pyface-py2-$pkgver
+
+ msg "Building Python2"
+ python2 setup.py build
+
+ cd "$srcdir"/pyface-$pkgver
+
+ msg "Building Python3"
+ python setup.py build
+}
+
+package_python2-pyface() {
+ depends=('python2-traits')
+ optdepends=('python2-pyqt5: 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)'
+ '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
+}
More information about the arch-commits
mailing list