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