mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to 0.99.1
PR: ports/131509 Submitted by: Yi-Jheng Lin <yzlin at cs.nctu.edu.tw>
This commit is contained in:
parent
14c6afdb69
commit
ba553c4197
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228171
4 changed files with 42 additions and 23 deletions
|
@ -5,10 +5,10 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= graphviz
|
PORTNAME= graphviz
|
||||||
PORTVERSION= 0.33
|
PORTVERSION= 0.99.1
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= graphics python
|
CATEGORIES= graphics python
|
||||||
MASTER_SITES= http://networkx.lanl.gov/download/pygraphviz/
|
MASTER_SITES= CHEESESHOP \
|
||||||
|
http://networkx.lanl.gov/download/pygraphviz/
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
DISTNAME= pygraphviz-${PORTVERSION}
|
DISTNAME= pygraphviz-${PORTVERSION}
|
||||||
|
|
||||||
|
@ -21,7 +21,8 @@ RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
|
||||||
USE_PYTHON= yes
|
USE_PYTHON= yes
|
||||||
USE_PYDISTUTILS=yes
|
USE_PYDISTUTILS=yes
|
||||||
PYDISTUTILS_PKGNAME= pygraphviz
|
PYDISTUTILS_PKGNAME= pygraphviz
|
||||||
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g}
|
|
||||||
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+; \
|
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+; \
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (pygraphviz-0.33.tar.gz) = 2e89b8ec52be5f91b47f2b904c590f7a
|
MD5 (pygraphviz-0.99.1.tar.gz) = 5381633f9538804b24046eb96474668d
|
||||||
SHA256 (pygraphviz-0.33.tar.gz) = bbc277fa4c2b49d4ea836163a7482a3e8fa55537c7c18e79325e5face31c64ea
|
SHA256 (pygraphviz-0.99.1.tar.gz) = 7c4218a8fae6f8b7627c322b328940e90b6afc6c10a5efc4f63ad7c5b4964002
|
||||||
SIZE (pygraphviz-0.33.tar.gz) = 66998
|
SIZE (pygraphviz-0.99.1.tar.gz) = 85220
|
||||||
|
|
|
@ -1,11 +1,24 @@
|
||||||
--- setup.py.orig Sun Mar 12 23:09:05 2006
|
--- setup.py.orig
|
||||||
+++ setup.py Sun Sep 24 15:05:50 2006
|
+++ setup.py
|
||||||
@@ -25,7 +19,7 @@
|
@@ -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:
|
-library_path=None
|
||||||
# prefix="/usr" # unix, Linux
|
-include_path=None
|
||||||
-# prefix="/usr/local" # unix, alternate
|
+#library_path=None
|
||||||
+prefix="%%LOCALBASE%%" # unix, alternate
|
+#include_path=None
|
||||||
# prefix="/sw" # OSX, fink
|
|
||||||
# prefix="/opt/local" # OSX, darwin-ports?
|
|
||||||
|
|
||||||
|
|
||||||
|
# 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'
|
||||||
|
|
|
@ -8,22 +8,27 @@
|
||||||
%%PYTHON_SITELIBDIR%%/pygraphviz/graphviz.py
|
%%PYTHON_SITELIBDIR%%/pygraphviz/graphviz.py
|
||||||
%%PYTHON_SITELIBDIR%%/pygraphviz/graphviz.pyc
|
%%PYTHON_SITELIBDIR%%/pygraphviz/graphviz.pyc
|
||||||
%%PYTHON_SITELIBDIR%%/pygraphviz/graphviz.pyo
|
%%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__.py
|
||||||
%%PYTHON_SITELIBDIR%%/pygraphviz/tests/__init__.pyc
|
%%PYTHON_SITELIBDIR%%/pygraphviz/tests/__init__.pyc
|
||||||
%%PYTHON_SITELIBDIR%%/pygraphviz/tests/__init__.pyo
|
%%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.py
|
||||||
%%PYTHON_SITELIBDIR%%/pygraphviz/tests/test.pyc
|
%%PYTHON_SITELIBDIR%%/pygraphviz/tests/test.pyc
|
||||||
%%PYTHON_SITELIBDIR%%/pygraphviz/tests/test.pyo
|
%%PYTHON_SITELIBDIR%%/pygraphviz/tests/test.pyo
|
||||||
%%DOCSDIR%%/API.txt
|
%%DOCSDIR%%/INSTALL.txt
|
||||||
%%DOCSDIR%%/Examples.txt
|
%%DOCSDIR%%/README.txt
|
||||||
%%DOCSDIR%%/FAQ.txt
|
%%DOCSDIR%%/examples/attributes.py
|
||||||
%%DOCSDIR%%/License.txt
|
%%DOCSDIR%%/examples/django_simple.py
|
||||||
%%DOCSDIR%%/Readme.txt
|
|
||||||
%%DOCSDIR%%/Tutorial.txt
|
|
||||||
%%DOCSDIR%%/examples/miles.py
|
%%DOCSDIR%%/examples/miles.py
|
||||||
%%DOCSDIR%%/examples/simple.py
|
%%DOCSDIR%%/examples/simple.py
|
||||||
%%DOCSDIR%%/examples/star.py
|
%%DOCSDIR%%/examples/star.py
|
||||||
%%DOCSDIR%%/examples/miles.dat
|
%%DOCSDIR%%/examples/subgraph.py
|
||||||
@dirrm %%PYTHON_SITELIBDIR%%/pygraphviz/tests
|
@dirrm %%PYTHON_SITELIBDIR%%/pygraphviz/tests
|
||||||
@dirrm %%PYTHON_SITELIBDIR%%/pygraphviz
|
@dirrm %%PYTHON_SITELIBDIR%%/pygraphviz
|
||||||
@dirrm %%DOCSDIR%%/examples
|
@dirrm %%DOCSDIR%%/examples
|
||||||
|
|
Loading…
Add table
Reference in a new issue