python-zope-event: add python-zope-event
authorAndy Syam <privasisource@gmail.com>
Sat, 23 Dec 2023 04:16:41 +0000 (12:16 +0800)
committerRosen Penev <rosenp@gmail.com>
Tue, 2 Jan 2024 23:19:40 +0000 (15:19 -0800)
https://pypi.org/project/zope.event/

source code

https://github.com/zopefoundation/zope.event
Signed-off-by: Andy Syam <privasisource@gmail.com>
lang/python/python-zope-event/Makefile [new file with mode: 0644]

diff --git a/lang/python/python-zope-event/Makefile b/lang/python/python-zope-event/Makefile
new file mode 100644 (file)
index 0000000..4b4c0fd
--- /dev/null
@@ -0,0 +1,35 @@
+include $(TOPDIR)/rules.mk\r
+\r
+PKG_NAME:=python-zope-event\r
+PKG_VERSION:=5.0\r
+PKG_RELEASE:=1\r
+\r
+PYPI_NAME:=zope.event\r
+PKG_HASH:=bac440d8d9891b4068e2b5a2c5e2c9765a9df762944bda6955f96bb9b91e67cd\r
+\r
+PKG_LICENSE:=ZPL-2.1\r
+PKG_LICENSE_FILES:=LICENSE.txt\r
+PKG_MAINTAINER:=Andy Syam <privasisource@gmail.com>\r
+\r
+include ../pypi.mk\r
+include $(INCLUDE_DIR)/package.mk\r
+include ../python3-package.mk\r
+\r
+define Package/python3-zope-event\r
+  SECTION:=lang\r
+  CATEGORY:=Languages\r
+  SUBMENU:=Python\r
+  TITLE:=Very basic event publishing system\r
+  URL:=https://github.com/zopefoundation/zope.event\r
+  DEPENDS:=+python3-light +python3-logging\r
+endef\r
+\r
+define Package/python3-zope-event/description\r
+The zope.event package provides a simple event system, including:\r
+An event publishing API, intended for use by applications which are unaware of any subscribers to their events.\r
+A very simple synchronous event-dispatching system, on which more sophisticated event dispatching systems can be built. For example, a type-based event dispatching system that builds on zope.event can be found in zope.component.\r
+endef\r
+\r
+$(eval $(call Py3Package,python3-zope-event))\r
+$(eval $(call BuildPackage,python3-zope-event))\r
+$(eval $(call BuildPackage,python3-zope-event-src))\r