14
0
2018-12-04 17:19:15 +00:00
committed by Git OBS Bridge
parent f294948870
commit f48130df8b

View File

@@ -16,28 +16,26 @@
#
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without tests
Name: python-pydotplus
Version: 2.0.2
Release: 0
Summary: Python interface to Graphviz's Dot language
License: MIT
Group: Development/Languages/Python
Url: http://pydotplus.readthedocs.org/
URL: http://pydotplus.readthedocs.org/
Source: https://files.pythonhosted.org/packages/source/p/pydotplus/pydotplus-%{version}.tar.gz
BuildRequires: %{python_module pyparsing >= 2.0.1}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: graphviz
Requires: python-pyparsing >= 2.0.1
BuildArch: noarch
%if %{with tests}
BuildRequires: graphviz
%endif
Requires: graphviz
Requires: python-pyparsing >= 2.0.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
@@ -62,8 +60,8 @@ $python test/pydot_unittest.py
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst LICENSE
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%changelog