Compare commits
	
		
			12 Commits
		
	
	
		
	
	| Author | SHA256 | Date | |
|---|---|---|---|
| c102c6d86f | |||
| 563f41a6af | |||
| 23a3adf9ab | |||
| 50e52535c9 | |||
| b970b7828f | |||
| f847df7640 | |||
| 22358925c1 | |||
| 29c555f7de | |||
| c66ad3a149 | |||
| 3a9b16332d | |||
| d8b30f113a | |||
| aa7c192ece | 
							
								
								
									
										
											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.
										
									
								
							
							
								
								
									
										3
									
								
								automat-25.4.16.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								automat-25.4.16.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | version https://git-lfs.github.com/spec/v1 | ||||||
|  | oid sha256:0017591a5477066e90d26b0e696ddc143baafd87b588cfac8100bc6be9634de0 | ||||||
|  | size 129977 | ||||||
| @@ -1,7 +1,41 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Mon Aug 11 13:37:41 UTC 2025 - Markéta Machová <mmachova@suse.com> | ||||||
|  |  | ||||||
|  | - Make the libalternatives transition conditional | ||||||
|  |  | ||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Sat Jul 12 11:39:20 UTC 2025 - Dirk Müller <dmueller@suse.com> | ||||||
|  |  | ||||||
|  | - update to 25.4.16: | ||||||
|  |   * documentation update | ||||||
|  |   * allow python 3.13 | ||||||
|  |  | ||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Mon Jun 16 14:24:41 UTC 2025 - Markéta Machová <mmachova@suse.com> | ||||||
|  |  | ||||||
|  | - Convert to libalternatives | ||||||
|  |  | ||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Sun Mar 30 08:26:56 UTC 2025 - Dirk Müller <dmueller@suse.com> | ||||||
|  |  | ||||||
|  | - make it compatible with older setuptools again | ||||||
|  |  | ||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Mon Mar 24 18:00:52 UTC 2025 - Markéta Machová <mmachova@suse.com> | ||||||
|  |  | ||||||
|  | - adapt to setuptools 77 | ||||||
|  |  | ||||||
|  | ------------------------------------------------------------------- | ||||||
|  | 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> | ||||||
|  |  | ||||||
| - 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> | 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) 2025 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 | ||||||
| @@ -24,24 +24,33 @@ | |||||||
| %define psuffix %{nil} | %define psuffix %{nil} | ||||||
| %bcond_with test | %bcond_with test | ||||||
| %endif | %endif | ||||||
|  | %if 0%{?suse_version} > 1500 | ||||||
| %bcond_without python2 | %bcond_without libalternatives | ||||||
|  | %else | ||||||
|  | %bcond_with libalternatives | ||||||
|  | %endif | ||||||
| %{?sle15_python_module_pythons} | %{?sle15_python_module_pythons} | ||||||
| Name:           python-Automat%{psuffix} | Name:           python-Automat%{psuffix} | ||||||
| Version:        22.10.0 | Version:        25.4.16 | ||||||
| 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} | ||||||
| BuildRequires:  fdupes | BuildRequires:  fdupes | ||||||
| BuildRequires:  python-rpm-macros | BuildRequires:  python-rpm-macros | ||||||
| Requires:       python-attrs >= 19.2.0 | %if %{with libalternatives} | ||||||
|  | BuildRequires:  alts | ||||||
|  | Requires:       alts | ||||||
|  | %else | ||||||
| Requires(post): update-alternatives | Requires(post): update-alternatives | ||||||
| Requires(preun):update-alternatives | Requires(postun): update-alternatives | ||||||
|  | %endif | ||||||
|  | Requires:       python-attrs >= 19.2.0 | ||||||
| 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,9 +59,6 @@ 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 | ||||||
|  |  | ||||||
| @@ -61,25 +67,27 @@ 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 | ||||||
| %setup -q -n Automat-%{version} | %autosetup -p1 -n automat-%{version} | ||||||
| sed -i "/six/d" setup.py |  | ||||||
|  |  | ||||||
| %build | %build | ||||||
| %python_build | %pyproject_wheel | ||||||
|  |  | ||||||
| %install | %install | ||||||
| %if !%{with test} | %if !%{with test} | ||||||
| %python_install | %pyproject_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 automat/_test | %pytest src/automat/_test | ||||||
| %endif | %endif | ||||||
|  |  | ||||||
| %if !%{with test} | %if !%{with test} | ||||||
|  | %pre | ||||||
|  | %python_libalternatives_reset_alternative automat-visualize | ||||||
|  |  | ||||||
| %post | %post | ||||||
| %python_install_alternative automat-visualize | %python_install_alternative automat-visualize | ||||||
|  |  | ||||||
| @@ -91,7 +99,7 @@ sed -i "/six/d" setup.py | |||||||
| %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}*-info | %{python_sitelib}/?utomat-%{version}.dist-info | ||||||
| %endif | %endif | ||||||
|  |  | ||||||
| %changelog | %changelog | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user