diff --git a/aenum-2.2.3.tar.gz b/aenum-2.2.3.tar.gz deleted file mode 100644 index a289a75..0000000 --- a/aenum-2.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4334cabf47c167d44ab5a6198837b80deec5d5bad1b5cf70c966c3a330260e8 -size 106574 diff --git a/aenum-3.0.0.tar.gz b/aenum-3.0.0.tar.gz new file mode 100644 index 0000000..ef8d3f9 --- /dev/null +++ b/aenum-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17cd8cfed1ee4b617198c9fabbabd70ebd8f01e54ac29cd6c3a92df14bd86656 +size 118529 diff --git a/python-aenum.changes b/python-aenum.changes index f141933..4499a65 100644 --- a/python-aenum.changes +++ b/python-aenum.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Apr 13 04:55:38 UTC 2021 - Steve Kowalik + +- 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 11:56:29 UTC 2019 - Tomáš Chvátal diff --git a/python-aenum.spec b/python-aenum.spec index 7f0e7fc..7b8f0f2 100644 --- a/python-aenum.spec +++ b/python-aenum.spec @@ -1,7 +1,7 @@ # # spec file for package python-aenum # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,11 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-aenum -Version: 2.2.3 +Version: 3.0.0 Release: 0 Summary: Advanced Enumerations, NamedTuples, and NamedConstants License: BSD-3-Clause -Group: Development/Languages/Python -URL: https://bitbucket.org/stoneleaf/aenum +URL: https://github.com/ethanfurman/aenum Source: https://files.pythonhosted.org/packages/source/a/aenum/aenum-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -56,7 +55,6 @@ A NamedConstant is a class whose members cannot be rebound; it lacks all other Enum capabilities, however; consequently, it can have duplicate values. - %prep %setup -q -n aenum-%{version}