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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:20:36 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:20:36
  Author: felixonmars
Revision: 1058050

archrelease: copy trunk to community-staging-any

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

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

Copied: python-zope-event/repos/community-staging-any/PKGBUILD (from rev 1058048, python-zope-event/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:20:36 UTC (rev 1058050)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Hanna <simon dot hanna AT serve-me DOT info>
+
+pkgname=python-zope-event
+pkgver=4.5.0
+pkgrel=5
+pkgdesc="Provides a simple event system"
+arch=(any)
+license=('ZPL')
+url="https://github.com/zopefoundation/zope.event"
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/zopefoundation/zope.event/archive/${pkgver}.tar.gz")
+sha512sums=('2414a283988dc646e48153e389688b8eec4db528f7ac9ff45f982ce42295d390985825ac0f9db566fc5600fe4c96a8297a9c5718a16abc6d1831c72ee42c163d')
+makedepends=('python-setuptools')
+
+build() {
+  cd "${srcdir}/zope.event-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${srcdir}/zope.event-${pkgver}"
+  python setup.py test
+}
+
+package() {
+  cd "$srcdir/zope.event-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list