python-enum34: new package
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 2 Dec 2014 14:57:32 +0000 (15:57 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 Dec 2014 22:10:59 +0000 (23:10 +0100)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-enum34/Config.in [new file with mode: 0644]
package/python-enum34/python-enum34.hash [new file with mode: 0644]
package/python-enum34/python-enum34.mk [new file with mode: 0644]

index 40eba6d75a64aab1aa985eef6d27e2724a1dd434..4f0c1eea79e94665c0a9f714268e708330591190 100644 (file)
@@ -492,6 +492,7 @@ menu "external python modules"
        source "package/python-daemon/Config.in"
        source "package/python-dialog/Config.in"
        source "package/python-dpkt/Config.in"
+       source "package/python-enum34/Config.in"
        source "package/python-flask/Config.in"
        source "package/python-flup/Config.in"
        source "package/python-gobject/Config.in"
diff --git a/package/python-enum34/Config.in b/package/python-enum34/Config.in
new file mode 100644 (file)
index 0000000..2511a35
--- /dev/null
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_PYTHON_ENUM34
+       bool "python-enum34"
+       depends on BR2_PACKAGE_PYTHON
+       help
+         Python 3.4 Enum backported to 2.x.
+
+         An enumeration is a set of symbolic names (members) bound to
+         unique, constant values. Within an enumeration, the members
+         can be compared by identity, and the enumeration itself can
+         be iterated over.
+
+         https://pypi.python.org/pypi/enum34
diff --git a/package/python-enum34/python-enum34.hash b/package/python-enum34/python-enum34.hash
new file mode 100644 (file)
index 0000000..dd6ce34
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=ac80f432ac9373e7d162834b264034b6, sha256 locally computed
+md5    ac80f432ac9373e7d162834b264034b6  enum34-1.0.4.tar.gz
+sha256 d3c19f26a6a34629c18c775f59dfc5dd595764c722b57a2da56ebfb69b94e447  enum34-1.0.4.tar.gz
diff --git a/package/python-enum34/python-enum34.mk b/package/python-enum34/python-enum34.mk
new file mode 100644 (file)
index 0000000..9d50e95
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-enum34
+#
+################################################################################
+
+PYTHON_ENUM34_VERSION = 1.0.4
+PYTHON_ENUM34_SOURCE =enum34-$(PYTHON_ENUM34_VERSION).tar.gz
+PYTHON_ENUM34_SITE = http://pypi.python.org/packages/source/e/enum34
+PYTHON_ENUM34_SETUP_TYPE = distutils
+PYTHON_ENUM34_LICENSE = BSD-3c
+PYTHON_ENUM34_LICENSE_FILES = enum/LICENSE
+
+$(eval $(python-package))