Sync from SUSE:SLFO:Main python-Automat revision 3f9b7c1dc577bec83ecf97a9624d0172
This commit is contained in:
BIN
Automat-22.10.0.tar.gz
(Stored with Git LFS)
BIN
Automat-22.10.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
automat-24.8.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
automat-24.8.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,7 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 29 21:04:41 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <mimi.vx@gmail.com>
|
||||
|
||||
- remove unneded six from setup.py
|
||||
- remove unneded six from setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:19:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
@@ -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,22 +58,21 @@ 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
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
%pytest automat/_test
|
||||
%pytest src/automat/_test
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
@@ -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
|
||||
|
Reference in New Issue
Block a user