upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-zope-testing / trunk / PKGBUILD
blob5b6bead75351992a81e4b78cb33e05fe20e2a46f
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-zope-testing
4 pkgver=5.0.1
5 pkgrel=2
6 pkgdesc="Zope testing helpers"
7 arch=('any')
8 url="https://github.com/zopefoundation/zope.testing"
9 license=('ZPL')
10 depends=('python-setuptools' 'python-zope-interface' 'python-zope-exceptions')
11 checkdepends=('python-nose')
12 source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.testing/archive/$pkgver.tar.gz")
13 sha512sums=('169ddd82d67f54988cac6cea719095ea7b1a0e59a1b51f63ab6bf15e785877fa060bac5c0786c26244a7630ec1b97011d0bb336c9177a8e6a911ccdb673eebba')
15 build() {
16   cd zope.testing-$pkgver
17   python setup.py build
20 check() {
21   cd zope.testing-$pkgver
22   python setup.py test
25 package() {
26   cd zope.testing-$pkgver
27   python setup.py install --root="$pkgdir" --optimize=1
30 # vim:set ts=2 sw=2 et: