pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-aenum devel/py-aenum: import py-aenum-3.1.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d9f8c4eb01c
branches:  trunk
changeset: 770054:0d9f8c4eb01c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Nov 24 09:39:08 2021 +0000

description:
devel/py-aenum: import py-aenum-3.1.5

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.
Support exists 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.

diffstat:

 devel/py-aenum/DESCR    |  18 ++++++++++++++++++
 devel/py-aenum/Makefile |  16 ++++++++++++++++
 devel/py-aenum/PLIST    |  19 +++++++++++++++++++
 devel/py-aenum/distinfo |   5 +++++
 4 files changed, 58 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r eeba42aed77f -r 0d9f8c4eb01c devel/py-aenum/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-aenum/DESCR      Wed Nov 24 09:39:08 2021 +0000
@@ -0,0 +1,18 @@
+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.
+Support exists 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.
diff -r eeba42aed77f -r 0d9f8c4eb01c devel/py-aenum/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-aenum/Makefile   Wed Nov 24 09:39:08 2021 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2021/11/24 09:39:08 wiz Exp $
+
+DISTNAME=      aenum-3.1.5
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=a/aenum/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ethanfurman/aenum
+COMMENT=       Advanced Enumerations, NamedTuples, and NamedConstants
+LICENSE=       modified-bsd
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r eeba42aed77f -r 0d9f8c4eb01c devel/py-aenum/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-aenum/PLIST      Wed Nov 24 09:39:08 2021 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/24 09:39:08 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/aenum/CHANGES
+${PYSITELIB}/aenum/LICENSE
+${PYSITELIB}/aenum/README
+${PYSITELIB}/aenum/__init__.py
+${PYSITELIB}/aenum/__init__.pyc
+${PYSITELIB}/aenum/__init__.pyo
+${PYSITELIB}/aenum/doc/aenum.pdf
+${PYSITELIB}/aenum/doc/aenum.rst
+${PYSITELIB}/aenum/test.py
+${PYSITELIB}/aenum/test.pyc
+${PYSITELIB}/aenum/test.pyo
+${PYSITELIB}/aenum/test_v3.py
+${PYSITELIB}/aenum/test_v3.pyc
+${PYSITELIB}/aenum/test_v3.pyo
diff -r eeba42aed77f -r 0d9f8c4eb01c devel/py-aenum/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-aenum/distinfo   Wed Nov 24 09:39:08 2021 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/11/24 09:39:08 wiz Exp $
+
+BLAKE2s (aenum-3.1.5.tar.gz) = 88a2aa5a6afe808148b584161626522739be188cd09d772205caab3f25d6433d
+SHA512 (aenum-3.1.5.tar.gz) = 1122b8199c230e2b78ba1a69013ea54e713cb99425befce5e907ddfa16dbb4dade854bb8479de43f07e9c60b96d3bfb1d0a0af5dafb6db313d732101d65079d7
+Size (aenum-3.1.5.tar.gz) = 126566 bytes



Home | Main Index | Thread Index | Old Index