python-enum: new package
PATCH 1/1 python-enum: new package
This is an alternative to python-enum34 with a somewhat different API.
Signed-off-by Peter Korsgaard <[email protected]>
--- package/Config.in | 1 + package/python-enum/Config.in | 12 ++++++++++++ package/python-enum/python-enum.hash | 3 +++ package/python-enum/python-enum.mk | 14 ++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 package/python-enum/Config.in create mode 100644 package/python-enum/python-enum.hash create mode 100644 package/python-enum/python-enum.mk
package/Config.in +1 -0
@@ -496,6 +496,7 @@ menu "external python modules" source "package/python-dialog/Config.in" source "package/python-docopt/Config.in" source "package/python-dpkt/Config.in" + source "package/python-enum/Config.in" source "package/python-enum34/Config.in" source "package/python-flask/Config.in" source "package/python-flup/Config.in"
package/python-enum/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_ENUM + bool "python-enum" + depends on BR2_PACKAGE_PYTHON + help + Robust enumerated type support in Python + + An enumeration object is an immutable sequence object built + from a sequence of strings. Each value is also available as + an attribute. Such values are constant. Comparisons and + enumeration are supported. + + https://pypi.python.org/pypi/enum
package/python-enum/python-enum.hash new file +3 -0
@@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=ce75c7c3c86741175a84456cc5bd531e, sha256 locally computed +md5 ce75c7c3c86741175a84456cc5bd531e enum-0.4.4.tar.gz +sha256 9bdfacf543baf2350df7613eb37f598a802f346985ca0dc1548be6494140fdff enum-0.4.4.tar.gz
package/python-enum/python-enum.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-enum +# +################################################################################ + +PYTHON_ENUM_VERSION = 0.4.4 +PYTHON_ENUM_SOURCE = enum-$(PYTHON_ENUM_VERSION).tar.gz +PYTHON_ENUM_SITE = http://pypi.python.org/packages/source/e/enum +PYTHON_ENUM_SETUP_TYPE = setuptools +PYTHON_ENUM_LICENSE = GPLv2+ or Python software foundation license v2 +PYTHON_ENUM_LICENSE_FILES = LICENSE.GPL LICENSE.PSF + +$(eval $(python-package))
Signature · 1 line
2.1.3
Thomas Petazzoni
AppliedPATCH 1/1 python-enum: new package
Dear Peter Korsgaard,
Quoted 12 lines · Peter Korsgaard
This is an alternative to python-enum34 with a somewhat different API.
Signed-off-by Peter Korsgaard <[email protected]>--- package/Config.in | 1 + package/python-enum/Config.in | 12 ++++++++++++ package/python-enum/python-enum.hash | 3 +++ package/python-enum/python-enum.mk | 14 ++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 package/python-enum/Config.in create mode 100644 package/python-enum/python-enum.hash create mode 100644 package/python-enum/python-enum.mk
Applied, thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com