pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-aenum
Module Name: pkgsrc
Committed By: wiz
Date: Wed Nov 24 09:39:08 UTC 2021
Added Files:
pkgsrc/devel/py-aenum: DESCR Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-aenum/DESCR \
pkgsrc/devel/py-aenum/Makefile pkgsrc/devel/py-aenum/PLIST \
pkgsrc/devel/py-aenum/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/py-aenum/DESCR
diff -u /dev/null pkgsrc/devel/py-aenum/DESCR:1.1
--- /dev/null Wed Nov 24 09:39:08 2021
+++ pkgsrc/devel/py-aenum/DESCR Wed Nov 24 09:39:08 2021
@@ -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.
Index: pkgsrc/devel/py-aenum/Makefile
diff -u /dev/null pkgsrc/devel/py-aenum/Makefile:1.1
--- /dev/null Wed Nov 24 09:39:08 2021
+++ pkgsrc/devel/py-aenum/Makefile Wed Nov 24 09:39:08 2021
@@ -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"
Index: pkgsrc/devel/py-aenum/PLIST
diff -u /dev/null pkgsrc/devel/py-aenum/PLIST:1.1
--- /dev/null Wed Nov 24 09:39:08 2021
+++ pkgsrc/devel/py-aenum/PLIST Wed Nov 24 09:39:08 2021
@@ -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
Index: pkgsrc/devel/py-aenum/distinfo
diff -u /dev/null pkgsrc/devel/py-aenum/distinfo:1.1
--- /dev/null Wed Nov 24 09:39:08 2021
+++ pkgsrc/devel/py-aenum/distinfo Wed Nov 24 09:39:08 2021
@@ -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