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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 20:38:47 UTC 2020


    Date: Monday, November 9, 2020 @ 20:38:47
  Author: felixonmars
Revision: 748221

archrelease: copy trunk to community-staging-any

Added:
  python-zope-component/repos/community-staging-any/
  python-zope-component/repos/community-staging-any/PKGBUILD
    (from rev 748220, python-zope-component/trunk/PKGBUILD)

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

Copied: python-zope-component/repos/community-staging-any/PKGBUILD (from rev 748220, python-zope-component/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 20:38:47 UTC (rev 748221)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Hanna <simon dot hanna AT serve-me DOT info>
+
+pkgname=python-zope-component
+pkgver=4.6.2
+pkgrel=2
+pkgdesc="Represents the core of the Zope Component Architecture"
+arch=('any')
+url="https://github.com/zopefoundation/zope.component"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-deferredimport' 'python-zope-deprecation'
+         'python-zope-event' 'python-zope-hookable' 'python-zope-interface')
+checkdepends=('python-zope-testrunner' 'python-persistent' 'python-zope-location'
+              'python-zope-proxy' 'python-zope-security' 'python-zope-configuration' 'python-zope-i18nmessageid')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.component/archive/$pkgver.tar.gz")
+sha512sums=('ce018928c5fe86b8e32c6ebd7e925ce302b7ed09655f2811277fe9d45b057e6a1a88508678d56bdf8ed44e5b5cffd0d287855f35fa8380b5763c42efd8e7400d')
+
+build() {
+  cd "$srcdir"/zope.component-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/zope.component-$pkgver
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner --test-path=src
+}
+
+package() {
+  cd zope.component-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list