python-enum34
Port variant py27
Summary Python 3.4 Enum backported to 2.7 (PY 27)
Package version 1.1.10
Homepage https://bitbucket.org/stoneleaf/enum34
Keywords python, devel
Maintainer Python Automaton
License Not yet specified
Other variants There are no other variants.
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 17 MAY 2020, 05:28:22 UTC
Port created 17 JUL 2017, 16:13:54 UTC
Subpackage Descriptions
single enum --- support for enumerations ======================================== 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. from enum import Enum class Fruit(Enum): apple = 1 banana = 2 orange = 3 list(Fruit) # [, , ] len(Fruit) # 3 Fruit.banana # Fruit['banana'] # Fruit(2) # Fruit.banana is Fruit['banana'] is Fruit(2) # True Fruit.banana.name # 'banana' Fruit.banana.value # 2 Repository and Issue Tracker at https://bitbucket.org/stoneleaf/enum34.
Configuration Switches (platform-specific settings discarded)
PY27 ON Build using Python 2.7
Package Dependencies by Type
Build and Runtime python27:single:standard
python-setuptools:single:py27
Download groups
main mirror://PYPI/e/enum34
Distribution File Information
cce6a7477ed816bd2542d03d53db9f0db935dd013b70f336a95c73979289f248 28187 enum34-1.1.10.tar.gz
Ports that require python-enum34:py27
langkit:standard Syntactic and semantic language analysis compiler