Sync from SUSE:SLFO:Main python-Automat revision 94007b6f69cb164fa4ba6dc3c683231b
This commit is contained in:
commit
361869f724
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
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.
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>test</package>
|
||||||
|
</multibuild>
|
86
python-Automat.changes
Normal file
86
python-Automat.changes
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 19 11:48:17 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- remove unneded six from setup.py
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 21 12:19:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add sle15_python_module_pythons (jsc#PED-68)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 13 22:40:10 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Make calling of %{sle15modernpython} optional.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 10 11:21:35 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Update to 22.10.0
|
||||||
|
* Fix _test_visualize.py twisted import errors
|
||||||
|
* Fix #17: Allow enter to have a default
|
||||||
|
* Use CodeType.replace() in copycode for Python > 3.8
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 9 17:40:44 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Don't buildrequire unmaintained m2r
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 18 16:58:24 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- update to 20.2.0
|
||||||
|
* Fix attrs warnings
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 25 03:40:42 UTC 2019 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.8.0:
|
||||||
|
* Retrieve the version from the installed distribution.
|
||||||
|
* Add support for Python 3.8
|
||||||
|
* Remove support for 3.4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 7 09:09:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Add mulitbuild to make sure we do not cycle
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 5 12:01:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.7.0:
|
||||||
|
* test updates
|
||||||
|
* pep fixes
|
||||||
|
- Run tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 4 04:45:19 UTC 2017 - tbechtold@suse.com
|
||||||
|
|
||||||
|
- update to version v0.6.0
|
||||||
|
* use version-specific travis environments
|
||||||
|
* tox/travis: enable tests on py3.5
|
||||||
|
* add a comment: this check doesn't catch non-None returns
|
||||||
|
* improve function-is-empty test to work on py3.6 too
|
||||||
|
* add more metadata to setup
|
||||||
|
* graphviz() -> asDigraph()
|
||||||
|
* Use inspect.getfullargspec on Py3 to avoid deprecation warnings with inspect.getargspec
|
||||||
|
* add tracing API, with docs
|
||||||
|
* Conform author metadata to `distutils.core` API
|
||||||
|
* tracer can return a callable to see Output invocations
|
||||||
|
* Make hashable classes frozen for attrs 17.1.0 (fixes #62).
|
||||||
|
* Assert that 'input' function bodies are empty, to avoid surprises.
|
||||||
|
* reject duplicate transitions (same starting state and input)
|
||||||
|
* tox/travis: enable tests on py3.6
|
||||||
|
* improve tests: more cases, make pyflakes-clean
|
||||||
|
* sigh, add more code to attain full test coverage
|
||||||
|
* make setTrace a private API, document cautions about its use
|
||||||
|
* cover the specimen functions in tests, remove ordify()
|
||||||
|
* cleanup: s/assert_no_code/assertNoCode/
|
||||||
|
- convert to singlespec
|
||||||
|
- fix Source url
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 24 23:48:39 UTC 2017 - termim@gmail.com
|
||||||
|
|
||||||
|
- Initial check in version 0.4.0
|
||||||
|
|
97
python-Automat.spec
Normal file
97
python-Automat.spec
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
#
|
||||||
|
# spec file
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%if "%{flavor}" == "test"
|
||||||
|
%define psuffix -test
|
||||||
|
%bcond_without test
|
||||||
|
%else
|
||||||
|
%define psuffix %{nil}
|
||||||
|
%bcond_with test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%bcond_without python2
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
|
Name: python-Automat%{psuffix}
|
||||||
|
Version: 22.10.0
|
||||||
|
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
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-attrs >= 19.2.0
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(preun):update-alternatives
|
||||||
|
Suggests: python-Twisted >= 16.1.1
|
||||||
|
Suggests: python-graphviz > 0.5.1
|
||||||
|
BuildArch: noarch
|
||||||
|
%if %{with test}
|
||||||
|
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
|
||||||
|
|
||||||
|
%description
|
||||||
|
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
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%if !%{with test}
|
||||||
|
%python_install
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/automat-visualize
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if %{with test}
|
||||||
|
%pytest automat/_test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if !%{with test}
|
||||||
|
%post
|
||||||
|
%python_install_alternative automat-visualize
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%python_uninstall_alternative automat-visualize
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%python_alternative %{_bindir}/automat-visualize
|
||||||
|
%{python_sitelib}/automat
|
||||||
|
%{python_sitelib}/Automat-%{version}*-info
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user