archrelease: copy trunk to extra-x86_64
[arch-packages.git] / python-zope-interface / repos / extra-x86_64 / PKGBUILD
blobdf887ec8e76f1fff26f987d5129fe19a28ac5150
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=5.4.0
7 pkgrel=4
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')
13 makedepends=('python-pip')
14 checkdepends=('python-zope-event' 'python-zope-testing'
15               'python-coverage')
16 source=("https://pypi.io/packages/source/z/zope.interface/zope.interface-$pkgver.tar.gz")
17 sha512sums=('ef15d63397e05ad9fc44b2d5d786b0399b6973bb5f4866fab839ff612756f3157f2099d0f5c0469b574a5c8b5920a7c2a5c6eab8e8f84c24d5c43e816669bffe')
19 build() {
20   cd "$srcdir"/zope.interface-$pkgver
21   python setup.py build
24 check() {
25   cd "$srcdir"/zope.interface-$pkgver
26   PYTHONPATH="$PWD/build/lib.linux-x86_64-3.10" python setup.py test
29 package() {
30   cd zope.interface-$pkgver
31   python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1