Port details on branch 2022Q2 |
- py-aenum Advanced Enumerations compatible with stdlib Enum
- 2.2.4 devel =0 2.2.4Version of this port present on the latest quarterly branch.
- Maintainer: a.wolk@fudosecurity.com
- Port Added: 2019-01-17 12:13:55
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://bitbucket.org/stoneleaf/aenum
- Description:
- Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and
NamedConstants
aenum includes a Python stdlib Enum-compatible data type, as well as a
metaclass-based NamedTuple implementation and a NamedConstant class.
An Enum 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. If using Python 3 there is built-in
support for unique values, multiple values, auto-numbering, and suspension of
aliasing (members with the same value are not identical), plus the ability to
have values automatically bound to attributes.
A NamedTuple is a class-based, fixed-length tuple with a name for each possible
position accessible using attribute-access notation as well as the standard
index notation.
A NamedConstant is a class whose members cannot be rebound; it lacks all other
Enum capabilities, however; consequently, it can have duplicate values.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}aenum>0:devel/py-aenum@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-aenum/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-aenum
- pkg install py39-aenum
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-aenum listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-aenum
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1602267908
SHA256 (aenum-2.2.4.tar.gz) = 81828d1fbe20b6b188d75b21a0fa936d7d929d839ef843ef385d9c2a97082864
SIZE (aenum-2.2.4.tar.gz) = 108009
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- security/py-onlykey
- www/py-sentinelhub
Configuration Options:
- No options to configure
- Options name:
- devel_py-aenum
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|