2 # Copyright (C) 2006-2011, 2015-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=zope.interface
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=https
://pypi.python.org
/packages
/38/1b
/d55c39f2cf442bd9fb2c59760ed058c84b57d25c680819c25f3aff741e1f
16 PKG_HASH
:=6a0e224a052e3ce27b3a7b1300a24747513f7a507217fcc2a4cb02eb92945cee
18 PKG_BUILD_DEPENDS
:=python python-setuptools
21 PKG_LICENSE_FILES
:=LICENSE.txt
22 PKG_MAINTAINER
:=Jeffery To
<jeffery.to@gmail.com
>
24 include $(INCLUDE_DIR
)/package.mk
25 $(call include_mk
, python-package.mk
)
27 define Package
/zope-interface
32 URL
:=https
://github.com
/zopefoundation
/zope.interface
33 DEPENDS
:=+python-light
36 define Package
/zope-interface
/description
37 This package provides an implementation of
"object interfaces" for
38 Python. Interfaces are a mechanism for labeling objects
as conforming to
39 a given API or contract. So
, this package can be considered
as
40 implementation of the Design By Contract methodology support in Python.
43 define PyPackage
/zope-interface
/filespec
45 -|
$(PYTHON_PKG_DIR
)/zope
/interface
/common
/tests
46 -|
$(PYTHON_PKG_DIR
)/zope
/interface
/tests
50 $(call Build
/Compile
/PyMod
,, \
51 install --prefix="/usr" --root
="$(PKG_INSTALL_DIR)" --no-compile
, \
55 $(eval
$(call PyPackage
,zope-interface
))
56 $(eval
$(call BuildPackage
,zope-interface
))