Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
23e7786b64 |
BIN
Automat-22.10.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
Automat-22.10.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
automat-24.8.1.tar.gz
(Stored with Git LFS)
BIN
automat-24.8.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,10 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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>
|
Tue Sep 19 11:48:17 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Automat
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -25,15 +25,15 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%bcond_without python2
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-Automat%{psuffix}
|
Name: python-Automat%{psuffix}
|
||||||
Version: 24.8.1
|
Version: 22.10.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Self-service finite-state machines for the programmer on the go
|
Summary: Self-service finite-state machines for the programmer on the go
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/glyph/automat
|
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_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
@@ -41,7 +41,7 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-attrs >= 19.2.0
|
Requires: python-attrs >= 19.2.0
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(preun): update-alternatives
|
Requires(preun):update-alternatives
|
||||||
Suggests: python-Twisted >= 16.1.1
|
Suggests: python-Twisted >= 16.1.1
|
||||||
Suggests: python-graphviz > 0.5.1
|
Suggests: python-graphviz > 0.5.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -50,6 +50,9 @@ BuildRequires: %{python_module Twisted >= 16.1.1}
|
|||||||
BuildRequires: %{python_module attrs >= 19.2.0}
|
BuildRequires: %{python_module attrs >= 19.2.0}
|
||||||
BuildRequires: %{python_module graphviz >= 0.5.1}
|
BuildRequires: %{python_module graphviz >= 0.5.1}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
%if %{with python2}
|
||||||
|
BuildRequires: python2-xml
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -58,21 +61,22 @@ Automat is a library for concise, idiomatic Python expression of finite-state
|
|||||||
automata (particularly deterministic finite-state transducers).
|
automata (particularly deterministic finite-state transducers).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n automat-%{version}
|
%setup -q -n Automat-%{version}
|
||||||
|
sed -i "/six/d" setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/automat-visualize
|
%python_clone -a %{buildroot}%{_bindir}/automat-visualize
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%pytest src/automat/_test
|
%pytest automat/_test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
@@ -87,7 +91,7 @@ automata (particularly deterministic finite-state transducers).
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%python_alternative %{_bindir}/automat-visualize
|
%python_alternative %{_bindir}/automat-visualize
|
||||||
%{python_sitelib}/automat
|
%{python_sitelib}/automat
|
||||||
%{python_sitelib}/Automat-%{version}.dist-info
|
%{python_sitelib}/Automat-%{version}*-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user