diff --git a/Automat-22.10.0.tar.gz b/Automat-22.10.0.tar.gz deleted file mode 100644 index 5fb463a..0000000 --- a/Automat-22.10.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e56beb84edad19dcc11d30e8d9b895f75deeb5ef5e96b84a467066b3b84bb04e -size 59099 diff --git a/automat-24.8.1.tar.gz b/automat-24.8.1.tar.gz new file mode 100644 index 0000000..6263514 --- /dev/null +++ b/automat-24.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b34227cf63f6325b8ad2399ede780675083e439b20c323d376373d8ee6306d88 +size 128679 diff --git a/python-Automat.changes b/python-Automat.changes index 678a857..e263243 100644 --- a/python-Automat.changes +++ b/python-Automat.changes @@ -1,7 +1,14 @@ +------------------------------------------------------------------- +Tue Oct 29 21:04:41 UTC 2024 - Dirk Müller + +- update to 24.8.1: + * major new api + * python 3.12/3.13 + ------------------------------------------------------------------- Tue Sep 19 11:48:17 UTC 2023 - Ondřej Súkup -- remove unneded six from setup.py +- remove unneded six from setup.py ------------------------------------------------------------------- Fri Apr 21 12:19:11 UTC 2023 - Dirk Müller diff --git a/python-Automat.spec b/python-Automat.spec index f989a78..7aa68df 100644 --- a/python-Automat.spec +++ b/python-Automat.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-Automat # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,15 +25,15 @@ %bcond_with test %endif -%bcond_without python2 %{?sle15_python_module_pythons} Name: python-Automat%{psuffix} -Version: 22.10.0 +Version: 24.8.1 Release: 0 Summary: Self-service finite-state machines for the programmer on the go License: MIT URL: https://github.com/glyph/automat -Source: https://files.pythonhosted.org/packages/source/A/Automat/Automat-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/A/Automat/automat-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -41,7 +41,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-attrs >= 19.2.0 Requires(post): update-alternatives -Requires(preun):update-alternatives +Requires(preun): update-alternatives Suggests: python-Twisted >= 16.1.1 Suggests: python-graphviz > 0.5.1 BuildArch: noarch @@ -50,9 +50,6 @@ BuildRequires: %{python_module Twisted >= 16.1.1} BuildRequires: %{python_module attrs >= 19.2.0} BuildRequires: %{python_module graphviz >= 0.5.1} BuildRequires: %{python_module pytest} -%if %{with python2} -BuildRequires: python2-xml -%endif %endif %python_subpackages @@ -61,15 +58,14 @@ Automat is a library for concise, idiomatic Python expression of finite-state automata (particularly deterministic finite-state transducers). %prep -%setup -q -n Automat-%{version} -sed -i "/six/d" setup.py +%autosetup -p1 -n automat-%{version} %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/automat-visualize %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -91,7 +87,7 @@ sed -i "/six/d" setup.py %doc README.md %python_alternative %{_bindir}/automat-visualize %{python_sitelib}/automat -%{python_sitelib}/Automat-%{version}*-info +%{python_sitelib}/Automat-%{version}.dist-info %endif %changelog