[arch-commits] Commit in python-envisage/repos/community-any (PKGBUILD PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Thu Mar 14 08:57:52 UTC 2019
Date: Thursday, March 14, 2019 @ 08:57:52
Author: aginiewicz
Revision: 440964
archrelease: copy trunk to community-any
Added:
python-envisage/repos/community-any/PKGBUILD
(from rev 440963, python-envisage/trunk/PKGBUILD)
Deleted:
python-envisage/repos/community-any/PKGBUILD
----------+
PKGBUILD | 95 +++++++++++++++++++++++--------------------------------------
1 file changed, 36 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-14 08:57:45 UTC (rev 440963)
+++ PKGBUILD 2019-03-14 08:57:52 UTC (rev 440964)
@@ -1,59 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgbase=python-envisage
-pkgname=('python2-envisage' 'python-envisage')
-pkgver=4.7.1
-pkgrel=1
-pkgdesc="Extensible Application Framework"
-arch=('any')
-url="https://github.com/enthought/envisage"
-license=('BSD')
-makedepends=('python-setuptools' 'python-apptools' 'python2-setuptools' 'python2-apptools')
-checkdepends=('python-nose' 'python-configobj' 'python2-nose' 'python2-configobj')
-source=("envisage-$pkgver.tar.gz::https://github.com/enthought/envisage/archive/${pkgver}.tar.gz")
-sha1sums=('63c5bdad560bae33d9200e1b8202e1a6363d48df')
-
-prepare() {
- cd "$srcdir"
- cp -a envisage-${pkgver} envisage-py2-${pkgver}
-}
-
-build() {
- cd "$srcdir"/envisage-py2-$pkgver
-
- # "Building Python2"
- python2 setup.py build
-
- cd "$srcdir"/envisage-$pkgver
-
- # "Building Python3"
- python setup.py build
-}
-
-check() {
- cd "$srcdir"/envisage-py2-$pkgver
- nosetests2 envisage
-
- cd "$srcdir"/envisage-$pkgver
- nosetests envisage || warning "tests failed"
-}
-
-package_python2-envisage() {
- depends=('python2-apptools')
- optdepends=('ipython2: for IPython shell plugin')
- cd "$srcdir"/envisage-py2-$pkgver
-
- python2 setup.py install --root="$pkgdir"/ --optimize=1
-
- install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-envisage() {
- depends=('python-apptools')
- optdepends=('ipython: for IPython shell plugin')
- cd "$srcdir"/envisage-$pkgver
-
- python setup.py install --root="$pkgdir"/ --optimize=1
-
- install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-envisage/repos/community-any/PKGBUILD (from rev 440963, python-envisage/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-14 08:57:52 UTC (rev 440964)
@@ -0,0 +1,36 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname='python-envisage'
+pkgver=4.7.1
+pkgrel=2
+pkgdesc="Extensible Application Framework"
+arch=('any')
+url="https://github.com/enthought/envisage"
+license=('BSD')
+depends=('python-apptools')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-configobj')
+optdepends=('ipython: for IPython shell plugin')
+source=("envisage-$pkgver.tar.gz::https://github.com/enthought/envisage/archive/${pkgver}.tar.gz")
+sha256sums=('0b8bd997a32aa060237ae82ff86183e1cbc5c8a7fd3d8a68dec9f3e30e84fd66')
+
+build() {
+ cd "$srcdir"/envisage-$pkgver
+
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/envisage-$pkgver
+
+ # eggs tests are harmless (see https://github.com/enthought/envisage/issues/135)
+ nosetests envisage || warning "tests failed"
+}
+
+package_python-envisage() {
+ cd "$srcdir"/envisage-$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