Date: Thursday, August 16, 2018 @ 21:11:38 Author: aginiewicz Revision: 372018
archrelease: copy trunk to community-any Added: python-envisage/repos/community-any/PKGBUILD (from rev 372017, python-envisage/trunk/PKGBUILD) Deleted: python-envisage/repos/community-any/PKGBUILD ----------+ PKGBUILD | 120 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 60 insertions(+), 60 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-08-16 21:11:30 UTC (rev 372017) +++ PKGBUILD 2018-08-16 21:11:38 UTC (rev 372018) @@ -1,60 +0,0 @@ -# $Id$ -# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> - -pkgbase=python-envisage -pkgname=('python2-envisage' 'python-envisage') -pkgver=4.6.0 -pkgrel=2 -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") -md5sums=('186b566271b4b7125761fd6734a7e370') - -prepare() { - cd "$srcdir" - cp -a envisage-${pkgver} envisage-py2-${pkgver} -} - -build() { - cd "$srcdir"/envisage-py2-$pkgver - - msg "Building Python2" - python2 setup.py build - - cd "$srcdir"/envisage-$pkgver - - msg "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 372017, python-envisage/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-08-16 21:11:38 UTC (rev 372018) @@ -0,0 +1,60 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> + +pkgbase=python-envisage +pkgname=('python2-envisage' 'python-envisage') +pkgver=4.7.0 +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") +md5sums=('0f091eeb299464c9f6b6d77c1bd5d5c3') + +prepare() { + cd "$srcdir" + cp -a envisage-${pkgver} envisage-py2-${pkgver} +} + +build() { + cd "$srcdir"/envisage-py2-$pkgver + + msg "Building Python2" + python2 setup.py build + + cd "$srcdir"/envisage-$pkgver + + msg "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 +}