ports/131509: [PATCH] graphics/py-graphviz: update to 0.99.1
Yi-Jheng Lin
yzlin at cs.nctu.edu.tw
Sun Feb 8 18:50:03 UTC 2009
>Number: 131509
>Category: ports
>Synopsis: [PATCH] graphics/py-graphviz: update to 0.99.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 08 18:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Yi-Jheng Lin
>Release: FreeBSD 7.1-RELEASE amd64
>Organization:
NCTU CS
>Environment:
System: FreeBSD stucgi 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Tue Jan 6 18:29:34 CST
>Description:
- Update to 0.99.1
Port maintainer (rafan at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- py-graphviz-0.99.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/py-graphviz/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile 1 Feb 2009 19:09:07 -0000 1.19
+++ Makefile 8 Feb 2009 18:43:21 -0000
@@ -5,10 +5,10 @@
# $FreeBSD: ports/graphics/py-graphviz/Makefile,v 1.19 2009/02/01 19:09:07 lwhsu Exp $
PORTNAME= graphviz
-PORTVERSION= 0.33
-PORTREVISION= 2
+PORTVERSION= 0.99.1
CATEGORIES= graphics python
-MASTER_SITES= http://networkx.lanl.gov/download/pygraphviz/
+MASTER_SITES= CHEESESHOP \
+ http://networkx.lanl.gov/download/pygraphviz/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pygraphviz-${PORTVERSION}
@@ -21,7 +21,8 @@
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= pygraphviz
-PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g}
+
+DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+; \
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/graphics/py-graphviz/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo 5 Mar 2007 14:10:58 -0000 1.7
+++ distinfo 8 Feb 2009 18:43:21 -0000
@@ -1,3 +1,3 @@
-MD5 (pygraphviz-0.33.tar.gz) = 2e89b8ec52be5f91b47f2b904c590f7a
-SHA256 (pygraphviz-0.33.tar.gz) = bbc277fa4c2b49d4ea836163a7482a3e8fa55537c7c18e79325e5face31c64ea
-SIZE (pygraphviz-0.33.tar.gz) = 66998
+MD5 (pygraphviz-0.99.1.tar.gz) = 5381633f9538804b24046eb96474668d
+SHA256 (pygraphviz-0.99.1.tar.gz) = 7c4218a8fae6f8b7627c322b328940e90b6afc6c10a5efc4f63ad7c5b4964002
+SIZE (pygraphviz-0.99.1.tar.gz) = 85220
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/graphics/py-graphviz/pkg-plist,v
retrieving revision 1.5
diff -u -r1.5 pkg-plist
--- pkg-plist 5 Mar 2007 14:10:58 -0000 1.5
+++ pkg-plist 8 Feb 2009 18:43:21 -0000
@@ -8,22 +8,27 @@
%%PYTHON_SITELIBDIR%%/pygraphviz/graphviz.py
%%PYTHON_SITELIBDIR%%/pygraphviz/graphviz.pyc
%%PYTHON_SITELIBDIR%%/pygraphviz/graphviz.pyo
+%%PYTHON_SITELIBDIR%%/pygraphviz/release.py
+%%PYTHON_SITELIBDIR%%/pygraphviz/release.pyc
+%%PYTHON_SITELIBDIR%%/pygraphviz/release.pyo
%%PYTHON_SITELIBDIR%%/pygraphviz/tests/__init__.py
%%PYTHON_SITELIBDIR%%/pygraphviz/tests/__init__.pyc
%%PYTHON_SITELIBDIR%%/pygraphviz/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pygraphviz/tests/attributes.txt
+%%PYTHON_SITELIBDIR%%/pygraphviz/tests/graph.txt
+%%PYTHON_SITELIBDIR%%/pygraphviz/tests/layout_draw.txt
+%%PYTHON_SITELIBDIR%%/pygraphviz/tests/subgraph.txt
%%PYTHON_SITELIBDIR%%/pygraphviz/tests/test.py
%%PYTHON_SITELIBDIR%%/pygraphviz/tests/test.pyc
%%PYTHON_SITELIBDIR%%/pygraphviz/tests/test.pyo
-%%DOCSDIR%%/API.txt
-%%DOCSDIR%%/Examples.txt
-%%DOCSDIR%%/FAQ.txt
-%%DOCSDIR%%/License.txt
-%%DOCSDIR%%/Readme.txt
-%%DOCSDIR%%/Tutorial.txt
+%%DOCSDIR%%/INSTALL.txt
+%%DOCSDIR%%/README.txt
+%%DOCSDIR%%/examples/attributes.py
+%%DOCSDIR%%/examples/django_simple.py
%%DOCSDIR%%/examples/miles.py
%%DOCSDIR%%/examples/simple.py
%%DOCSDIR%%/examples/star.py
-%%DOCSDIR%%/examples/miles.dat
+%%DOCSDIR%%/examples/subgraph.py
@dirrm %%PYTHON_SITELIBDIR%%/pygraphviz/tests
@dirrm %%PYTHON_SITELIBDIR%%/pygraphviz
@dirrm %%DOCSDIR%%/examples
Index: files/patch-setup.py
===================================================================
RCS file: /home/ncvs/ports/graphics/py-graphviz/files/patch-setup.py,v
retrieving revision 1.3
diff -u -r1.3 patch-setup.py
--- files/patch-setup.py 5 Mar 2007 14:10:58 -0000 1.3
+++ files/patch-setup.py 8 Feb 2009 18:43:21 -0000
@@ -1,11 +1,24 @@
---- setup.py.orig Sun Mar 12 23:09:05 2006
-+++ setup.py Sun Sep 24 15:05:50 2006
-@@ -25,7 +19,7 @@
+--- setup.py.orig
++++ setup.py
+@@ -20,8 +20,8 @@
+ print "To install, run 'python setup.py install'"
+ print
- # If setting the prefix failed you should attempt to set the prefix here:
- # prefix="/usr" # unix, Linux
--# prefix="/usr/local" # unix, alternate
-+prefix="%%LOCALBASE%%" # unix, alternate
- # prefix="/sw" # OSX, fink
- # prefix="/opt/local" # OSX, darwin-ports?
+-library_path=None
+-include_path=None
++#library_path=None
++#include_path=None
+
+ # If the setup script couldn't find your graphviz installation you can
+@@ -33,8 +33,8 @@
+ #include_path='/usr/include/graphviz'
+
+ # UNIX, Linux alternate
+-#library_path='/usr/local/lib/graphviz'
+-#include_path='/usr/local/include/graphviz'
++library_path='%%LOCALBASE%%/lib/graphviz'
++include_path='%%LOCALBASE%%/include/graphviz'
+
+ # Mac OS X (Fink)
+ #library_path='/sw/lib/graphviz'
--- py-graphviz-0.99.1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list