Date: Wednesday, May 4, 2016 @ 06:34:25 Author: fyan Revision: 266849
archrelease: copy trunk to testing-i686, testing-x86_64 Added: python-zope-interface/repos/testing-i686/ python-zope-interface/repos/testing-i686/PKGBUILD (from rev 266848, python-zope-interface/trunk/PKGBUILD) python-zope-interface/repos/testing-i686/__init__.py (from rev 266848, python-zope-interface/trunk/__init__.py) python-zope-interface/repos/testing-x86_64/ python-zope-interface/repos/testing-x86_64/PKGBUILD (from rev 266848, python-zope-interface/trunk/PKGBUILD) python-zope-interface/repos/testing-x86_64/__init__.py (from rev 266848, python-zope-interface/trunk/__init__.py) ----------------------------+ testing-i686/PKGBUILD | 58 +++++++++++++++++++++++++++++++++++++++++++ testing-i686/__init__.py | 2 + testing-x86_64/PKGBUILD | 58 +++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/__init__.py | 2 + 4 files changed, 120 insertions(+) Copied: python-zope-interface/repos/testing-i686/PKGBUILD (from rev 266848, python-zope-interface/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-05-04 04:34:25 UTC (rev 266849) @@ -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.1.3 +pkgrel=3 +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=("http://pypi.python.org/packages/source/z/zope.interface/zope.interface-${pkgver}.tar.gz" + __init__.py) +md5sums=('9ae3d24c0c7415deb249dd1a132f0f79' + '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/testing-i686/__init__.py (from rev 266848, python-zope-interface/trunk/__init__.py) =================================================================== --- testing-i686/__init__.py (rev 0) +++ testing-i686/__init__.py 2016-05-04 04:34:25 UTC (rev 266849) @@ -0,0 +1,2 @@ +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) Copied: python-zope-interface/repos/testing-x86_64/PKGBUILD (from rev 266848, python-zope-interface/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2016-05-04 04:34:25 UTC (rev 266849) @@ -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.1.3 +pkgrel=3 +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=("http://pypi.python.org/packages/source/z/zope.interface/zope.interface-${pkgver}.tar.gz" + __init__.py) +md5sums=('9ae3d24c0c7415deb249dd1a132f0f79' + '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/testing-x86_64/__init__.py (from rev 266848, python-zope-interface/trunk/__init__.py) =================================================================== --- testing-x86_64/__init__.py (rev 0) +++ testing-x86_64/__init__.py 2016-05-04 04:34:25 UTC (rev 266849) @@ -0,0 +1,2 @@ +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__)