diff --git a/aenum-2.1.2.tar.gz b/aenum-2.1.2.tar.gz deleted file mode 100644 index 6828688..0000000 --- a/aenum-2.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a3208e4b28db3a7b232ff69b934aef2ea1bf27286d9978e1e597d46f490e4687 -size 98823 diff --git a/aenum-2.2.1.tar.gz b/aenum-2.2.1.tar.gz new file mode 100644 index 0000000..3a60d63 --- /dev/null +++ b/aenum-2.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b12a7be3d89b270f266f8643aaa126404e5cdc0929bd6f09548b8eaed85e2aa1 +size 105129 diff --git a/python-aenum.changes b/python-aenum.changes index 3dd049d..eec7f85 100644 --- a/python-aenum.changes +++ b/python-aenum.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Mon Jul 29 14:51:06 UTC 2019 - pgajdos@suse.com + +- version update to 2.2.1 + 2.2.1 + ===== + . allow Enums to be called without a value + . allow Enum name use while constructing Enum (Python 3.4+ only) + 2.2.0 + ===== + BREAKING CHANGE + --------------- + . In Python 3+ classes defined inside an Enum no longer become members by + default; in Python 2 they still become members, but see below. + For cross-compatibility and full control two decorators are provided: + - @member --> forces item to become a member + - @nonmember --> excludes item from becoming a member + dark = 3 + 2.1.4 + ===== + EnumMeta: + - change __member_new__ to __new_member__ (as the stdlib enum does) + - assign member name to enum() instances (an Enum helper for defining members) + - handle empty iterables when using functional API + - make auto() work with previous enum members + - keep searching mixins until base class is found + Enum: + - fix bug in Flag checks (ensure it is a Flag before checking the name) + - add multiple mixin support + - do not allow blank names (functional API) + - raise TypeError if _missing_* returns wrong type + - fix __format__ to honor custom __str__ + extend_enum: + - support stdlib Enums + - use _generate_next_value_ if value not provided + general: + - standardize exception formatting + - use getfullargspec() in Python 3 (avoids deprecation warnings) + ------------------------------------------------------------------- Tue Dec 4 12:45:29 UTC 2018 - Matej Cepl diff --git a/python-aenum.spec b/python-aenum.spec index 0f3e934..040e513 100644 --- a/python-aenum.spec +++ b/python-aenum.spec @@ -1,7 +1,7 @@ # # spec file for package python-aenum # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-aenum -Version: 2.1.2 +Version: 2.2.1 Release: 0 Summary: Advanced Enumerations, NamedTuples, and NamedConstants License: BSD-3-Clause