forked from pool/python-pygraphviz
Accepting request 209989 from home:TheBlackCat:branches:devel:languages:python
Update to 1.2 OBS-URL: https://build.opensuse.org/request/show/209989 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygraphviz?expand=0&rev=5
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2179434df2228bc1b452039dae841700c1733e25011af075383fbded2984db96
|
||||
size 90750
|
3
pygraphviz-1.2.tar.gz
Normal file
3
pygraphviz-1.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2e8a82a07dcf006b9558d22c5a6357c012193d4cc681776845e515fffeccc6b3
|
||||
size 90913
|
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 6 13:44:13 UTC 2013 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 1.2
|
||||
* Quote Graphviz program names to work with space (Windows fix)
|
||||
* Keep name in reverse()
|
||||
- Require graphviz-python
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 23 11:06:26 UTC 2012 - toddrme2178@gmail.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pygraphviz
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,21 +15,21 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define modname pygraphviz
|
||||
Name: python-%{modname}
|
||||
Version: 1.1
|
||||
Name: python-pygraphviz
|
||||
Version: 1.2
|
||||
Release: 0
|
||||
Url: http://networkx.lanl.gov/pygraphviz
|
||||
Summary: Python interface to Graphviz
|
||||
License: BSD
|
||||
Group: Development/Languages/Python
|
||||
Source: http://networkx.lanl.gov/download/%{modname}/%{modname}-%{version}.tar.gz
|
||||
Source: https://pypi.python.org/packages/source/p/pygraphviz/pygraphviz-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM docdir.patch
|
||||
Patch: docdir.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: graphviz-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python-devel
|
||||
Requires: graphviz-python
|
||||
%if 0%{?suse_version} <= 1110
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
%else
|
||||
@@ -41,7 +41,7 @@ A Python wrapper for the Graphviz Agraph data structure.
|
||||
PyGraphviz can be used to create and draw networks and graphs with Graphviz.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%setup -q -n pygraphviz-%{version}
|
||||
%patch
|
||||
|
||||
%build
|
||||
@@ -50,7 +50,7 @@ python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
chmod +x %{buildroot}%{python_sitearch}/%{modname}/tests/test.py
|
||||
chmod +x %{buildroot}%{python_sitearch}/pygraphviz/tests/test.py
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@@ -58,8 +58,8 @@ rm -rf %{buildroot}
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc
|
||||
%{_docdir}/%{modname}-%{version}
|
||||
%{python_sitearch}/%{modname}/
|
||||
%{python_sitearch}/%{modname}-%{version}-py%{py_ver}.egg-info
|
||||
%{_docdir}/pygraphviz-%{version}
|
||||
%{python_sitearch}/pygraphviz/
|
||||
%{python_sitearch}/pygraphviz-%{version}-py*.egg-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user