Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:F
python-Automat
python-Automat.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-Automat.spec of Package python-Automat
# # spec file for package python-Automat # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_with test Name: python-Automat Version: 0.6.0 Release: 0 Summary: Self-service finite-state machines for the programmer on the go License: MIT Group: Development/Languages/Python Url: https://github.com/glyph/automat Source: https://files.pythonhosted.org/packages/source/A/Automat/Automat-%{version}.tar.gz BuildRequires: %{python_module m2r} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module Twisted} BuildRequires: %{python_module attrs} BuildRequires: %{python_module graphviz} %endif Requires: python-attrs Requires: python-six Suggests: python-graphviz > 0.5.1 Suggests: python-Twisted >= 16.1.1 Requires(post): update-alternatives Requires(preun): update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %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} %build %python_build %install %python_install %python_clone -a %{buildroot}%{_bindir}/automat-visualize %python_expand %fdupes %{buildroot}%{$python_sitelib} %if %{with test} %check %python_exec setup.py test %endif %post %python_install_alternative automat-visualize %postun %python_uninstall_alternative automat-visualize %files %{python_files} %defattr(-,root,root,-) %doc LICENSE README.md %python_alternative %{_bindir}/automat-visualize %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor