1 changed files with 0 additions and 30 deletions
@ -1,30 +0,0 @@
|
||||
# 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: |
Loading…
Reference in new issue