archrelease: copy trunk to extra-x86_64
[arch-packages.git] / python-zope-interface / trunk / PKGBUILD
blob2402a53f93278908cbcb9fd3e459db0d72808be3
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
6 pkgver=6.0
7 pkgrel=3
8 license=('ZPL')
9 arch=('x86_64')
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')
17 prepare() {
18   cd zope.interface-$pkgver
19   sed -i '/coverage/d' setup.py
22 build() {
23   cd zope.interface-$pkgver
24   python setup.py build
27 check() {
28   cd zope.interface-$pkgver
29   PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-311" python setup.py test
32 package() {
33   cd zope.interface-$pkgver
34   python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1