Date: Tuesday, November 3, 2015 @ 07:50:47 Author: fyan Revision: 145741
archrelease: copy trunk to community-any Added: python-zope-location/repos/community-any/PKGBUILD (from rev 145740, python-zope-location/trunk/PKGBUILD) Deleted: python-zope-location/repos/community-any/PKGBUILD ----------+ PKGBUILD | 109 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-11-03 06:50:27 UTC (rev 145740) +++ PKGBUILD 2015-11-03 06:50:47 UTC (rev 145741) @@ -1,54 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=('python-zope-location' 'python2-zope-location') -pkgver=4.0.3 -pkgrel=1 -pkgdesc="Special objects that have a structural location" -arch=('any') -url="https://github.com/zopefoundation/zope.location" -license=('ZPL') -makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface' - 'python2-zope-interface' 'python-zope-schema' 'python2-zope-schema' - 'python-zope-proxy' 'python2-zope-proxy' 'git') -checkdepends=('python-nose' 'python2-nose') -source=("git+https://github.com/zopefoundation/zope.location.git#tag=$pkgver") -sha256sums=('SKIP') - -prepare() { - cp -a zope.location{,-py2} -} - -build() { - cd "$srcdir/zope.location" - python setup.py build - - cd "$srcdir/zope.location-py2" - python2 setup.py build -} - -check() { - cd "$srcdir/zope.location" - nosetests3 - - cd "$srcdir/zope.location-py2" - nosetests2 -} - -package_python-zope-location() { - depends=('python-setuptools' 'python-zope-interface' 'python-zope-schema' - 'python-zope-proxy') - - cd "$srcdir/zope.location" - python setup.py install --root="$pkgdir/" --optimize=1 -} - -package_python2-zope-location() { - depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-schema' - 'python2-zope-proxy') - - cd "$srcdir/zope.location" - python2 setup.py install --root="$pkgdir/" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-zope-location/repos/community-any/PKGBUILD (from rev 145740, python-zope-location/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-11-03 06:50:47 UTC (rev 145741) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=('python-zope-location' 'python2-zope-location') +pkgver=4.0.3 +pkgrel=1 +pkgdesc="Special objects that have a structural location" +arch=('any') +url="https://github.com/zopefoundation/zope.location" +license=('ZPL') +makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface' + 'python2-zope-interface' 'python-zope-schema' 'python2-zope-schema' + 'python-zope-proxy' 'python2-zope-proxy' 'git') +checkdepends=('python-nose' 'python2-nose' 'python-zope-copy' 'python2-zope-copy' + 'python-zope-configuration' 'python2-zope-configuration') +source=("git+https://github.com/zopefoundation/zope.location.git#tag=$pkgver") +sha256sums=('SKIP') + +prepare() { + cp -a zope.location{,-py2} +} + +build() { + cd "$srcdir/zope.location" + python setup.py build + + cd "$srcdir/zope.location-py2" + python2 setup.py build +} + +check() { + cd "$srcdir/zope.location" + nosetests3 + + cd "$srcdir/zope.location-py2" + nosetests2 +} + +package_python-zope-location() { + depends=('python-setuptools' 'python-zope-interface' 'python-zope-schema' + 'python-zope-proxy') + + cd "$srcdir/zope.location" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +package_python2-zope-location() { + depends=('python2-setuptools' 'python2-zope-interface' 'python2-zope-schema' + 'python2-zope-proxy') + + cd "$srcdir/zope.location-py2" + python2 setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: