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'
12 depends=('python-setuptools')
13 checkdepends=('python-zope-event' 'python-zope-testing')
14 source=("https://pypi.io/packages/source/z/zope.interface/zope.interface-$pkgver.tar.gz")
15 sha512sums=('ed6bc98a61c91c34cfd8e24a8545e462fdffab13bc77a8144714a9cdd3bc7f4b873a50597a64f50b3c811f57218e1f2c78ceb267e52ae0ab5c136f082caa0612')
18 cd zope.interface-$pkgver
19 sed -i '/coverage/d' setup.py
23 cd zope.interface-$pkgver
28 cd zope.interface-$pkgver
29 PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-311" python setup.py test
33 cd zope.interface-$pkgver
34 python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1