upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-zope-configuration / trunk / PKGBUILD
blobcbc022bb060658bbd84d47da53f0c89289b012b2
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=python-zope-configuration
4 pkgver=5.0
5 pkgrel=1
6 pkgdesc="Zope Configuration Markup Language (ZCML)"
7 arch=('any')
8 url="https://github.com/zopefoundation/zope.configuration"
9 license=('ZPL')
10 depends=('python-setuptools' 'python-zope-interface' 'python-zope-schema' 'python-zope-i18nmessageid')
11 checkdepends=('python-manuel' 'python-zope-testing' 'python-zope-testrunner')
12 source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.configuration/archive/$pkgver.tar.gz")
13 sha512sums=('5d227f16fbded58655f1dcfb025242d8e5828b150cf974b1f9af402b6a82437f1b91988aac01aa449c237b79cc6f56882e2a02dd7acde7ee2d7b93736a0ea326')
15 build() {
16   cd zope.configuration-$pkgver
17   python setup.py build
20 check() {
21   cd zope.configuration-$pkgver
22   PYTHONPATH="$PWD/build/lib" python -m zope.testrunner --test-path=src
25 package() {
26   cd zope.configuration-$pkgver
27   python setup.py install --root="$pkgdir" --optimize=1
30 # vim:set ts=2 sw=2 et: