You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2006-2011, 2015-2018 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-zope-interface
  9. PKG_VERSION:=5.1.2
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=zope.interface
  12. PKG_HASH:=c9c8e53a5472b77f6a391b515c771105011f4b40740ce53af8428d1c8ca20004
  13. PKG_LICENSE:=ZPL-2.1
  14. PKG_LICENSE_FILES:=LICENSE.txt
  15. PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. define Package/python3-zope-interface
  20. SECTION:=lang
  21. CATEGORY:=Languages
  22. SUBMENU:=Python
  23. TITLE:=Interfaces for Python
  24. URL:=https://github.com/zopefoundation/zope.interface
  25. DEPENDS:=+python3-light
  26. endef
  27. define Package/python3-zope-interface/description
  28. This package provides an implementation of "object interfaces" for
  29. Python. Interfaces are a mechanism for labeling objects as conforming to
  30. a given API or contract. So, this package can be considered as
  31. implementation of the Design By Contract methodology support in Python.
  32. endef
  33. $(eval $(call Py3Package,python3-zope-interface))
  34. $(eval $(call BuildPackage,python3-zope-interface))
  35. $(eval $(call BuildPackage,python3-zope-interface-src))