python-zope-interface: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Sat, 24 Jan 2015 20:28:58 +0000 (21:28 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 25 Jan 2015 22:46:09 +0000 (23:46 +0100)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-zope-interface/Config.in [new file with mode: 0644]
package/python-zope-interface/python-zope-interface.hash [new file with mode: 0644]
package/python-zope-interface/python-zope-interface.mk [new file with mode: 0644]

index 043a3501f3dfda74e703636c904b92126658f10e..7e22e920ff0966a49493727dd706cb93ae568201 100644 (file)
@@ -558,6 +558,7 @@ menu "external python modules"
        source "package/python-versiontools/Config.in"
        source "package/python-webpy/Config.in"
        source "package/python-werkzeug/Config.in"
+       source "package/python-zope-interface/Config.in"
 endmenu
 endif
        source "package/ruby/Config.in"
diff --git a/package/python-zope-interface/Config.in b/package/python-zope-interface/Config.in
new file mode 100644 (file)
index 0000000..01f4a94
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_ZOPE_INTERFACE
+       bool "python-zope-interface"
+       help
+         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.
+
+         http://docs.zope.org/zope.interface/
diff --git a/package/python-zope-interface/python-zope-interface.hash b/package/python-zope-interface/python-zope-interface.hash
new file mode 100644 (file)
index 0000000..bdd05d7
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256  441fefcac1fbac57c55239452557d3598571ab82395198b2565a29d45d1232f6  zope.interface-4.1.2.tar.gz
diff --git a/package/python-zope-interface/python-zope-interface.mk b/package/python-zope-interface/python-zope-interface.mk
new file mode 100644 (file)
index 0000000..a271f77
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-zope-interface
+#
+################################################################################
+
+PYTHON_ZOPE_INTERFACE_VERSION = 4.1.2
+PYTHON_ZOPE_INTERFACE_SOURCE = zope.interface-$(PYTHON_ZOPE_INTERFACE_VERSION).tar.gz
+PYTHON_ZOPE_INTERFACE_SITE = https://pypi.python.org/packages/source/z/zope.interface/
+PYTHON_ZOPE_INTERFACE_SETUP_TYPE = setuptools
+PYTHON_ZOPE_INTERFACE_LICENSE = ZPLv2.1
+PYTHON_ZOPE_INTERFACE_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))