Date: Friday, April 7, 2023 @ 07:35:26
Author: felixonmars
Revision: 1440870
archrelease: copy trunk to community-staging-any
Added:
python-zope-testing/repos/community-staging-any/
python-zope-testing/repos/community-staging-any/PKGBUILD
(from rev 1440869, python-zope-testing/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-zope-testing/repos/community-staging-any/PKGBUILD (from rev
1440869, python-zope-testing/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-07 07:35:26 UTC (rev 1440870)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-zope-testing
+pkgver=5.0.1
+pkgrel=2
+pkgdesc="Zope testing helpers"
+arch=('any')
+url="https://github.com/zopefoundation/zope.testing"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-interface' 'python-zope-exceptions')
+checkdepends=('python-nose')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.testing/archive/$pkgver.tar.gz")
+sha512sums=('169ddd82d67f54988cac6cea719095ea7b1a0e59a1b51f63ab6bf15e785877fa060bac5c0786c26244a7630ec1b97011d0bb336c9177a8e6a911ccdb673eebba')
+
+build() {
+ cd zope.testing-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd zope.testing-$pkgver
+ python setup.py test
+}
+
+package() {
+ cd zope.testing-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: