Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python310-aenum-3.1.15-2.2 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python310-aenum Distribution: openSUSE Tumbleweed
Version: 3.1.15 Vendor: openSUSE
Release: 2.2 Build date: Tue Feb 6 09:42:07 2024
Group: Unspecified Build host: reproducible
Size: 1128509 Source RPM: python-aenum-3.1.15-2.2.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/ethanfurman/aenum
Summary: Advanced Enumerations, NamedTuples, and NamedConstants
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.

Provides

Requires

License

BSD-3-Clause

Changelog

* Tue Feb 06 2024 Daniel Garcia <daniel.garcia@suse.com>
  - Add fix-python312-tests.patch to skip failing tests with python 3.12
    gh#ethanfurman/aenum#36
* Thu Dec 14 2023 Petr Gajdos <pgajdos@suse.com>
  - update to 3.1.15
    * remove Python 2.6 code
    * add Python 3.12 enhancements
    * split source code into separate files
    * Enum and Flag inherit from stdlib versions
    * support inheriting from empty NamedTuples
    * prevent test_v3.py from being run as main
    * Move Py2/3 specific code to dedicated files
* Mon Nov 13 2023 Dirk Müller <dmueller@suse.com>
  - add sle15_python_module_pythons for SLE15 build
* Tue Jun 20 2023 Dirk Müller <dmueller@suse.com>
  - update to 3.1.12:
    * no changelog available
* Thu Jan 19 2023 Daniel Garcia <daniel.garcia@suse.com>
  - Update to 3.1.11:
    * update MANIFEST file
  - 3.1.10
    * improve tests
  - 3.1.9
    * fail gracefully for badly written EnumType
  - 3.1.8
    * recalculate bits used after all flags created (sometimes needed when a
      custom `__new__` is in place.
  - 3.1.7
    * update flag creation to (possibly) add bitwise operator methods to newly
      created flags
    * update extend_enum() to work with 3.11 flags
  - 3.1.6
    * Update `dir()` on mixed enums to include mixed data type methods and
      attributes.
    * Rename `enum_property` to `property` to match stdlib.  Recommended usage is
      `aenum.property` (prefix with module name).
    * Remove quadritic creation behavior.
    BREAKING CHANGE BUG FIX that won't affect most people
    Enums with a custom `__new__` that:
    - use the enum machinery to generate the values; AND
    - have keyword arguments set to a default (like `None`)
    will fail to generate a missing value.  To fix: remove the default value and
    instead specify it on the member creation line.
    BREAKING CHANGE
    In Python 3.11 the `str()` of mixed enums will now match its `format()` which
    will be the normal `str()` of the data type -- so for an IntEnum you'll see
    `5` instead of `Perm.R|X`.  This affects IntEnum, StrEnum, and IntFlag.
* Mon Jan 10 2022 Dirk Müller <dmueller@suse.com>
  - update to 3.1.5:
    * fix support of `auto()` kwds
    * rename `aenum.property` to `aenum.enum_property`
    * fix `extend_enum()` for unhashable values
    * fix `extend_enum()` for most cases
* Sat Aug 28 2021 Matej Cepl <mcepl@suse.com>
  - Convert test script into proper unittest module and then skip
    failing tests (gh#ethanfurman/aenum#12):
    - tempdir_missing.patch
    - skip_failing_testcases.patch
* Tue Aug 24 2021 John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
  - Update to 3.1.0:
    * redo EnumConstants
    * add `__set_name__` to `constant`
    * add new test; make re strings raw
* Tue Apr 13 2021 Steve Kowalik <steven.kowalik@suse.com>
  - Update to 3.0.0:
    * The more esoteric method of creating Enums have been modified or removed
    * Member creation has been redone to match Python 3.10's methods.
    * enum_property() has been renamed to property() (old name still available,
      but deprecated).
    * bin() replacement shows negative integers in twos-complement
    * call __init_subclass__ after members have been added, and in Pythons < 3.6
    * call __set_name__ in Pythons < 3.6
    * do not convert/disallow private names
    * add iteration/len support to NamedConstant
    * add support to Constant to retrieve members by value
    * add pickle/deepcopy support to Constant
    * add support for Constant to use other Constant values
    * AutoNumber and auto() now work together
  - Update URL now that bitbucket is dead.
* Wed Dec 11 2019 Tomáš Chvátal <tchvatal@suse.com>
  - Update to 2.2.3:
    * Various minor fixes

Files

/usr/lib/python3.10/site-packages/aenum
/usr/lib/python3.10/site-packages/aenum-3.1.15-py3.10.egg-info
/usr/lib/python3.10/site-packages/aenum-3.1.15-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/aenum-3.1.15-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/aenum-3.1.15-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/aenum-3.1.15-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/aenum/CHANGES
/usr/lib/python3.10/site-packages/aenum/LICENSE
/usr/lib/python3.10/site-packages/aenum/__init__.py
/usr/lib/python3.10/site-packages/aenum/__pycache__
/usr/lib/python3.10/site-packages/aenum/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/_common.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/_common.cpython-310.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/_constant.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/_constant.cpython-310.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/_enum.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/_enum.cpython-310.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/_py3.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/_py3.cpython-310.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/_tuple.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/_tuple.cpython-310.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/test.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/test.cpython-310.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/test_v3.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/test_v3.cpython-310.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/test_v37.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/aenum/__pycache__/test_v37.cpython-310.pyc
/usr/lib/python3.10/site-packages/aenum/_common.py
/usr/lib/python3.10/site-packages/aenum/_constant.py
/usr/lib/python3.10/site-packages/aenum/_enum.py
/usr/lib/python3.10/site-packages/aenum/_py2.py
/usr/lib/python3.10/site-packages/aenum/_py3.py
/usr/lib/python3.10/site-packages/aenum/_tuple.py
/usr/lib/python3.10/site-packages/aenum/doc
/usr/lib/python3.10/site-packages/aenum/doc/aenum.rst
/usr/lib/python3.10/site-packages/aenum/test.py
/usr/lib/python3.10/site-packages/aenum/test_v3.py
/usr/lib/python3.10/site-packages/aenum/test_v37.py
/usr/share/doc/packages/python310-aenum
/usr/share/doc/packages/python310-aenum/CHANGES
/usr/share/doc/packages/python310-aenum/README.md
/usr/share/doc/packages/python310-aenum/aenum.rst
/usr/share/licenses/python310-aenum
/usr/share/licenses/python310-aenum/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed May 1 23:23:10 2024