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>
This commit is contained in:
Peter Korsgaard
2014-12-15 15:32:12 +01:00
committed by Thomas Petazzoni
parent bef6d517fb
commit 857cba8110
4 changed files with 30 additions and 0 deletions

View File

@@ -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