Date: Tuesday, November 3, 2015 @ 10:15:12 Author: fyan Revision: 145770
addpkg: python-zope-security 4.0.3-1 Added: python-zope-security/ python-zope-security/repos/ python-zope-security/trunk/ python-zope-security/trunk/PKGBUILD ----------+ PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) Added: python-zope-security/trunk/PKGBUILD =================================================================== --- python-zope-security/trunk/PKGBUILD (rev 0) +++ python-zope-security/trunk/PKGBUILD 2015-11-03 09:15:12 UTC (rev 145770) @@ -0,0 +1,56 @@ +# $Id$ +# Maintainer: Felix Yan <[email protected]> + +pkgname=('python-zope-security' 'python2-zope-security') +pkgver=4.0.3 +pkgrel=1 +pkgdesc="Zope Security Framework" +arch=('i686' 'x86_64') +url="https://github.com/zopefoundation/zope.security" +license=('ZPL') +makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface' + 'python2-zope-interface' 'python-zope-component' 'python2-zope-component' + 'python-zope-i18nmessageid' 'python2-zope-i18nmessageid' 'python-zope-location' + 'python2-zope-location' 'python-zope-proxy' 'python2-zope-proxy' + 'python-zope-schema' 'python2-zope-schema' 'git') +checkdepends=('python-nose' 'python2-nose' 'python-zope-configuration' 'python2-zope-configuration' + 'python-zope-testing' 'python2-zope-testing' 'python-zope-testrunner' + 'python2-zope-testrunner') +source=("git+https://github.com/zopefoundation/zope.security.git#tag=$pkgver") +sha256sums=('SKIP') + +prepare() { + cp -a zope.security{,-py2} +} + +build() { + cd "$srcdir/zope.security" + python setup.py build + + cd "$srcdir/zope.security-py2" + python2 setup.py build +} + +check() { + cd "$srcdir/zope.security" + python setup.py test + + cd "$srcdir/zope.security-py2" + python2 setup.py test +} + +package_python-zope-security() { + depends=('python-setuptools') + + cd "$srcdir/zope.security" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +package_python2-zope-security() { + depends=('python2-setuptools') + + cd "$srcdir/zope.security-py2" + python2 setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: Property changes on: python-zope-security/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
