python-zope-event: add python-zope-event

https://pypi.org/project/zope.event/

source code

https://github.com/zopefoundation/zope.event
Signed-off-by: Andy Syam <privasisource@gmail.com>
This commit is contained in:
Andy Syam 2023-12-23 12:16:41 +08:00 committed by Rosen Penev
parent 81a5b89c96
commit 8b457dfc17
1 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,35 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-zope-event
PKG_VERSION:=5.0
PKG_RELEASE:=1
PYPI_NAME:=zope.event
PKG_HASH:=bac440d8d9891b4068e2b5a2c5e2c9765a9df762944bda6955f96bb9b91e67cd
PKG_LICENSE:=ZPL-2.1
PKG_LICENSE_FILES:=LICENSE.txt
PKG_MAINTAINER:=Andy Syam <privasisource@gmail.com>
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-zope-event
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Very basic event publishing system
URL:=https://github.com/zopefoundation/zope.event
DEPENDS:=+python3-light +python3-logging
endef
define Package/python3-zope-event/description
The zope.event package provides a simple event system, including:
An event publishing API, intended for use by applications which are unaware of any subscribers to their events.
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.
endef
$(eval $(call Py3Package,python3-zope-event))
$(eval $(call BuildPackage,python3-zope-event))
$(eval $(call BuildPackage,python3-zope-event-src))