Port details |
- py-aenum Advanced Enumerations compatible with stdlib Enum
- 2.2.4 devel
=0 Version 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-01-11 15:58:34
- Commit Hash: 77d6847
- Also Listed In: python
- License: BSD3CLAUSE
- 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.
¦ ¦ ¦ ¦ 
- 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:3.4+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Notes from UPDATING |
- These upgrade notes are taken from /usr/ports/UPDATING
- 2017-11-30
Affects: */py* Author: mat@FreeBSD.org Reason:
Ports using Python via USES=python are now flavored. All the py3-* ports
have been removed and folded into their py-* master ports.
People using Poudriere 3.2+ and binary packages do not have to do anything.
For other people, to build the Python 3.6 version of, for example,
databases/py-gdbm, you need to run:
# make FLAVOR=py36 install
|
Number of commits found: 7
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.2.4 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.2.4 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.2.4 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
2.2.4 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
2.2.4 08 Nov 2020 17:49:44
  |
sunpoet  |
Update to 2.2.4
- Add NO_ARCH
PR: 250255
Submitted by: sunpoet (myself)
Approved by: maintainer (timeout, 29 days) |
2.1.2 17 Jan 2019 12:13:39
  |
swills  |
devel/py-aenum: create port
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.
(Only the first 15 lines of the commit message are shown above ) |
Number of commits found: 7
|