Date: Saturday, December 24, 2016 @ 10:52:11 Author: felixonmars Revision: 284576
archrelease: copy trunk to staging-i686, staging-x86_64 Added: python-zope-interface/repos/staging-i686/ python-zope-interface/repos/staging-i686/PKGBUILD (from rev 284575, python-zope-interface/trunk/PKGBUILD) python-zope-interface/repos/staging-i686/__init__.py (from rev 284575, python-zope-interface/trunk/__init__.py) python-zope-interface/repos/staging-x86_64/ python-zope-interface/repos/staging-x86_64/PKGBUILD (from rev 284575, python-zope-interface/trunk/PKGBUILD) python-zope-interface/repos/staging-x86_64/__init__.py (from rev 284575, python-zope-interface/trunk/__init__.py) ----------------------------+ staging-i686/PKGBUILD | 58 +++++++++++++++++++++++++++++++++++++++++++ staging-i686/__init__.py | 2 + staging-x86_64/PKGBUILD | 58 +++++++++++++++++++++++++++++++++++++++++++ staging-x86_64/__init__.py | 2 + 4 files changed, 120 insertions(+) Copied: python-zope-interface/repos/staging-i686/PKGBUILD (from rev 284575, python-zope-interface/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2016-12-24 10:52:11 UTC (rev 284576) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer : Felix Yan <felixonm...@archlinux.org> +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> + +pkgbase=python-zope-interface +pkgname=('python-zope-interface' 'python2-zope-interface') +pkgver=4.3.3 +pkgrel=2 +license=('ZPL') +arch=('i686' 'x86_64') +url="http://pypi.python.org/pypi/zope.interface" +makedepends=('python-setuptools' 'python2-setuptools') +checkdepends=('python-zope-event' 'python2-zope-event') +source=("https://pypi.io/packages/source/z/zope.interface/zope.interface-${pkgver}.tar.gz" + __init__.py) +md5sums=('ba3f32eacaea66094b7e2ae2788cec89' + '1cdca3de4f8849a3d0d82b678710e112') + +prepare() { + cp -a zope.interface-${pkgver}{,-py2} +} + +build() { + cd "${srcdir}/zope.interface-${pkgver}" + python setup.py build + + cd "${srcdir}/zope.interface-${pkgver}-py2" + python2 setup.py build +} + +check() { + cd "${srcdir}/zope.interface-${pkgver}" + python setup.py test + + cd "${srcdir}/zope.interface-${pkgver}-py2" + python2 setup.py test +} + +package_python-zope-interface() { + pkgdesc='Zope Interfaces for Python 3.x' + depends=('python') + + cd "${srcdir}/zope.interface-${pkgver}" + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + install -Dm644 ../__init__.py "$pkgdir"/usr/lib/python3.5/site-packages/zope/__init__.py +} + +package_python2-zope-interface(){ + pkgdesc='Zope Interfaces for Python 2.x' + depends=('python2') + replaces=('zope-interface') + provides=('zope-interface') + + cd "${srcdir}/zope.interface-${pkgver}-py2" + python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + install -Dm644 ../__init__.py "$pkgdir"/usr/lib/python2.7/site-packages/zope/__init__.py +} Copied: python-zope-interface/repos/staging-i686/__init__.py (from rev 284575, python-zope-interface/trunk/__init__.py) =================================================================== --- staging-i686/__init__.py (rev 0) +++ staging-i686/__init__.py 2016-12-24 10:52:11 UTC (rev 284576) @@ -0,0 +1,2 @@ +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) Copied: python-zope-interface/repos/staging-x86_64/PKGBUILD (from rev 284575, python-zope-interface/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2016-12-24 10:52:11 UTC (rev 284576) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer : Felix Yan <felixonm...@archlinux.org> +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: Douglas Soares de Andrade <doug...@archlinux.org> + +pkgbase=python-zope-interface +pkgname=('python-zope-interface' 'python2-zope-interface') +pkgver=4.3.3 +pkgrel=2 +license=('ZPL') +arch=('i686' 'x86_64') +url="http://pypi.python.org/pypi/zope.interface" +makedepends=('python-setuptools' 'python2-setuptools') +checkdepends=('python-zope-event' 'python2-zope-event') +source=("https://pypi.io/packages/source/z/zope.interface/zope.interface-${pkgver}.tar.gz" + __init__.py) +md5sums=('ba3f32eacaea66094b7e2ae2788cec89' + '1cdca3de4f8849a3d0d82b678710e112') + +prepare() { + cp -a zope.interface-${pkgver}{,-py2} +} + +build() { + cd "${srcdir}/zope.interface-${pkgver}" + python setup.py build + + cd "${srcdir}/zope.interface-${pkgver}-py2" + python2 setup.py build +} + +check() { + cd "${srcdir}/zope.interface-${pkgver}" + python setup.py test + + cd "${srcdir}/zope.interface-${pkgver}-py2" + python2 setup.py test +} + +package_python-zope-interface() { + pkgdesc='Zope Interfaces for Python 3.x' + depends=('python') + + cd "${srcdir}/zope.interface-${pkgver}" + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + install -Dm644 ../__init__.py "$pkgdir"/usr/lib/python3.5/site-packages/zope/__init__.py +} + +package_python2-zope-interface(){ + pkgdesc='Zope Interfaces for Python 2.x' + depends=('python2') + replaces=('zope-interface') + provides=('zope-interface') + + cd "${srcdir}/zope.interface-${pkgver}-py2" + python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + install -Dm644 ../__init__.py "$pkgdir"/usr/lib/python2.7/site-packages/zope/__init__.py +} Copied: python-zope-interface/repos/staging-x86_64/__init__.py (from rev 284575, python-zope-interface/trunk/__init__.py) =================================================================== --- staging-x86_64/__init__.py (rev 0) +++ staging-x86_64/__init__.py 2016-12-24 10:52:11 UTC (rev 284576) @@ -0,0 +1,2 @@ +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__)