1
0
forked from pool/python-pydot3
Jan Matejek 2017-06-29 15:17:09 +00:00 committed by Git OBS Bridge
parent 467854027e
commit 36f8a1620b

View File

@ -1,5 +1,5 @@
# #
# spec file for package python3-pydot3 # spec file for package python-pydot3
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 Dr. Axel Braun # Copyright (c) 2017 Dr. Axel Braun
@ -16,6 +16,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname pydot3 %define modname pydot3
@ -29,13 +30,12 @@ Url: https://pypi.python.org/pypi/pydot3
Source: https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
Source1: example-demo.py Source1: example-demo.py
Source2: example-rank.py Source2: example-rank.py
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: graphviz Requires: graphviz
Requires: python-pyparsing Requires: python-pyparsing
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%undefine have_python2
%description %description
pydot allows to easily create both directed and non directed graphs from Python. pydot allows to easily create both directed and non directed graphs from Python.
@ -47,7 +47,7 @@ Currently all attributes implemented in the Dot language are supported (up to Gr
mkdir examples && cp %{SOURCE1} %{SOURCE2} examples mkdir examples && cp %{SOURCE1} %{SOURCE2} examples
%build %build
%python_build %python_build
%install %install
%python_install %python_install