You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
960 B
30 lines
960 B
# Maintainer: Felix Yan <felixonmars@archlinux.org> |
|
|
|
pkgname=python-zope-copy |
|
pkgver=4.2 |
|
pkgrel=7 |
|
pkgdesc="Pluggable object copying mechanism" |
|
arch=('any') |
|
url="https://github.com/zopefoundation/zope.copy" |
|
license=('ZPL') |
|
depends=('python-setuptools' 'python-zope-interface') |
|
checkdepends=('python-zope-testrunner' 'python-zope-testing' 'python-zope-location') |
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.copy/archive/$pkgver.tar.gz") |
|
sha512sums=('99c1062bdad919c0aa8f1daf1f7a2af1e42227a2a22e4a983eb848edf6be144fec97b9f7dd43d592121c8e72c3525b316e7367e226a33e97272061b666fb466b') |
|
|
|
build() { |
|
cd "$srcdir"/zope.copy-$pkgver |
|
python setup.py build |
|
} |
|
|
|
check() { |
|
cd "$srcdir"/zope.copy-$pkgver |
|
PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src || echo "Tests failed" |
|
} |
|
|
|
package() { |
|
cd "$srcdir"/zope.copy-$pkgver |
|
python setup.py install --root="$pkgdir" --optimize=1 |
|
} |
|
|
|
# vim:set ts=2 sw=2 et:
|
|
|