mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Changelog since 8.0.1: - v8.0.1: Improve test robustness; eliminate runtime dependency on setuptools - v8.1: Drop Python 3.9 support; add Python 3.14 support - v8.2: Consolidate package metadata into pyproject.toml; add handling for Python 3.14's new __annotate_func__ attribute Full changelog: https://github.com/zopefoundation/zope.interface/releases Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
50 lines
1.4 KiB
Makefile
50 lines
1.4 KiB
Makefile
#
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
# Copyright (C) 2015-2016, 2018-2021, 2023 Jeffery To
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-zope-interface
|
|
PKG_VERSION:=8.2
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=zope.interface
|
|
PYPI_SOURCE_NAME:=zope_interface
|
|
PKG_HASH:=afb20c371a601d261b4f6edb53c3c418c249db1a9717b0baafc9a9bb39ba1224
|
|
|
|
PKG_LICENSE:=ZPL-2.1
|
|
PKG_LICENSE_FILES:=LICENSE.txt
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
|
|
PKG_BUILD_DEPENDS:= \
|
|
python3/host \
|
|
python-setuptools/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-zope-interface
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Interfaces for Python
|
|
URL:=https://github.com/zopefoundation/zope.interface
|
|
DEPENDS:=+python3-light +python3-logging
|
|
endef
|
|
|
|
define Package/python3-zope-interface/description
|
|
This package provides an implementation of "object interfaces" for
|
|
Python. Interfaces are a mechanism for labeling objects as conforming to
|
|
a given API or contract. So, this package can be considered as
|
|
implementation of the Design By Contract methodology support in Python.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-zope-interface))
|
|
$(eval $(call BuildPackage,python3-zope-interface))
|
|
$(eval $(call BuildPackage,python3-zope-interface-src))
|