[arch-commits] Commit in python-zope-testing/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 14:53:22 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:53:22
  Author: felixonmars
Revision: 1059469

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 1059467, python-zope-testing/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: python-zope-testing/repos/community-staging-any/PKGBUILD (from rev 1059467, python-zope-testing/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:53:22 UTC (rev 1059469)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-testing
+pkgver=4.9
+pkgrel=3
+pkgdesc="Zope testing helpers"
+arch=('any')
+url="https://github.com/zopefoundation/zope.testing"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-interface' 'python-zope-exceptions')
+makedepends=('python-setuptools' 'python-zope-interface'
+             'python-zope-exceptions')
+checkdepends=('python-nose')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.testing/archive/$pkgver.tar.gz")
+sha512sums=('5a3d22e421273a34c8123490dd52f20cb6b80247d55ff81a6bcb59b25a7a79d5d2d41d0aac52c193670f569ad045cd5114ad44aeb25d32e390c1c36ad0a2057d')
+
+build() {
+  cd "$srcdir/zope.testing-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir/zope.testing-$pkgver"
+  python setup.py test
+}
+
+package() {
+  cd "$srcdir/zope.testing-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list