diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2014-12-15 15:32:12 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-12-20 21:56:48 +0100 |
commit | 857cba81104693f6d0114107d22eaf8b88d236e4 (patch) | |
tree | 2b1c8d52f4f66695b4c1c8034bd0281856d83a41 /package/python-enum | |
parent | bef6d517fb0a87d2564a94273815f7b3862feaf9 (diff) | |
download | buildroot-857cba81104693f6d0114107d22eaf8b88d236e4.tar.gz buildroot-857cba81104693f6d0114107d22eaf8b88d236e4.zip |
python-enum: new package
This is an alternative to python-enum34 with a somewhat different API.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-enum')
-rw-r--r-- | package/python-enum/Config.in | 12 | ||||
-rw-r--r-- | package/python-enum/python-enum.hash | 3 | ||||
-rw-r--r-- | package/python-enum/python-enum.mk | 14 |
3 files changed, 29 insertions, 0 deletions
diff --git a/package/python-enum/Config.in b/package/python-enum/Config.in new file mode 100644 index 0000000000..e26ae8bf97 --- /dev/null +++ b/package/python-enum/Config.in @@ -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 diff --git a/package/python-enum/python-enum.hash b/package/python-enum/python-enum.hash new file mode 100644 index 0000000000..c7c1924abe --- /dev/null +++ b/package/python-enum/python-enum.hash @@ -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 diff --git a/package/python-enum/python-enum.mk b/package/python-enum/python-enum.mk new file mode 100644 index 0000000000..0131be3f9f --- /dev/null +++ b/package/python-enum/python-enum.mk @@ -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)) |