1 # Maintainer : Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
5 pkgname=python-zope-interface
10 url="https://pypi.python.org/pypi/zope.interface"
11 pkgdesc='Zope Interfaces for Python 3.x'
13 makedepends=('python-pip')
14 checkdepends=('python-zope-event' 'python-zope-testing'
16 source=("https://pypi.io/packages/source/z/zope.interface/zope.interface-$pkgver.tar.gz")
17 sha512sums=('ef15d63397e05ad9fc44b2d5d786b0399b6973bb5f4866fab839ff612756f3157f2099d0f5c0469b574a5c8b5920a7c2a5c6eab8e8f84c24d5c43e816669bffe')
20 cd "$srcdir"/zope.interface-$pkgver
25 cd "$srcdir"/zope.interface-$pkgver
26 PYTHONPATH="$PWD/build/lib.linux-x86_64-3.10" python setup.py test
30 cd zope.interface-$pkgver
31 python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1