forked from pool/python-pydot3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot3?expand=0&rev=4
This commit is contained in:
parent
467854027e
commit
36f8a1620b
@ -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 Dr. Axel Braun
|
||||
@ -16,6 +16,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
|
||||
%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
|
||||
Source1: example-demo.py
|
||||
Source2: example-rank.py
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: graphviz
|
||||
Requires: python-pyparsing
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
%undefine have_python2
|
||||
|
||||
%description
|
||||
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
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
|
Loading…
x
Reference in New Issue
Block a user