forked from pool/python-pygraphviz
- Initial package (0.99.1) for openSUSE.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygraphviz?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
12
fix_examples.patch
Normal file
12
fix_examples.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -Naurh ./setup.py pygraphviz-0.99.1/setup.py
|
||||
--- ./setup.py 2009-11-09 23:27:18.774229415 -0200
|
||||
+++ pygraphviz-0.99.1/setup.py 2009-11-09 23:29:06.699354414 -0200
|
||||
@@ -165,7 +165,7 @@
|
||||
url = url,
|
||||
download_url = download_url,
|
||||
packages = packages,
|
||||
- data_files = data,
|
||||
+ #data_files = data,
|
||||
classifiers = classifiers,
|
||||
ext_modules = extension,
|
||||
package_data = package_data,
|
3
pygraphviz-0.99.1.tar.gz
Normal file
3
pygraphviz-0.99.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7c4218a8fae6f8b7627c322b328940e90b6afc6c10a5efc4f63ad7c5b4964002
|
||||
size 85220
|
4
python-pygraphviz.changes
Normal file
4
python-pygraphviz.changes
Normal file
@@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 9 01:03:40 UTC 2009 - alexandre@exatati.com.br
|
||||
|
||||
- Initial package (0.99.1) for openSUSE.
|
44
python-pygraphviz.spec
Normal file
44
python-pygraphviz.spec
Normal file
@@ -0,0 +1,44 @@
|
||||
# norootforbuild
|
||||
|
||||
Name: python-pygraphviz
|
||||
Version: 0.99.1
|
||||
Release: 1
|
||||
Summary: Python interface to Graphviz
|
||||
License: BSD License
|
||||
Group: Development/Libraries/Python
|
||||
Source: pygraphviz-%{version}.tar.gz
|
||||
Patch: fix_examples.patch
|
||||
URL: http://networkx.lanl.gov/pygraphviz
|
||||
BuildRequires: python-devel, python-setuptools, pkg-config, graphviz-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{py_requires}
|
||||
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
A Python wrapper for the Graphviz Agraph data structure.
|
||||
pygraphviz can be used to create and draw networks and graphs with Graphviz.
|
||||
|
||||
Author:
|
||||
--------
|
||||
Aric Hagberg <hagberg@lanl.gov>
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n pygraphviz-%{version}
|
||||
%patch
|
||||
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
||||
|
||||
%install
|
||||
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
|
||||
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
||||
%doc doc examples
|
Reference in New Issue
Block a user