Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | python3-aenum: Upgrade 3.0.0 -> 3.1.0 | Leon Anavi | 2021-05-28 | 1 | -10/+0 |
| | | | | | | | | | | | | | Upgrade to release 3.1.0: - AddValue is similar to the old AutoNumber: it will always activate, but uses _generate_next_value_ to get the next value (so the user has some control over the return data type instead of always getting an int). Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> | ||||
* | python3-aenum: Upgrade 2.2.6 -> 3.0.0 | Leon Anavi | 2021-01-28 | 1 | -0/+10 |
Upgrade to release 3.0.0: - Flags only list single bit names, multi-bit are aliases - error checking to go with that - getattr magic is off for AutoValue - Member creation has been redone to match Python 3.10's methods. This also allows all supported Pythons (2.7, 3.3+) to use the __set_name__ and __init_subclass__ protocols (more robustly than in aenum 2.2.5) - enum_property() has been renamed to property() (old name still available, but deprecated) - bin() replacement shows negative integers in twos-complement Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> |