- Update to 0.33

- Take maintainership

Approved by:	xride (maintainer)
This commit is contained in:
Rong-En Fan 2007-03-05 14:10:58 +00:00
parent 6111578ad4
commit b637188afc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186579
4 changed files with 24 additions and 28 deletions

View File

@ -5,14 +5,13 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= graphviz PORTNAME= graphviz
PORTVERSION= 0.22 PORTVERSION= 0.33
CATEGORIES= graphics python CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITES= https://networkx.lanl.gov/download/
MASTER_SITE_SUBDIR= networkx
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pygraphviz-${PORTVERSION} DISTNAME= pygraphviz-${PORTVERSION}
MAINTAINER= xride@FreeBSD.org MAINTAINER= rafan@FreeBSD.org
COMMENT= Python interface to GraphViz agraph COMMENT= Python interface to GraphViz agraph
BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
@ -23,6 +22,7 @@ USE_PYDISTUTILS=yes
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g} PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g}
post-patch: post-patch:
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+' ${WRKSRC}/setup.py @${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+; \
s+^docdirbase.*=.*+docdirbase = "${DOCSDIR:S/${PREFIX}\///}"+' ${WRKSRC}/setup.py
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (pygraphviz-0.22.tar.gz) = dc5f148d2108efe45c30cf5facbc254a MD5 (pygraphviz-0.33.tar.gz) = 2e89b8ec52be5f91b47f2b904c590f7a
SHA256 (pygraphviz-0.22.tar.gz) = 6f4e38274337dc4dbc3af70f2839433aa850b08a79f6fc421c27dc8f1f07a6ed SHA256 (pygraphviz-0.33.tar.gz) = bbc277fa4c2b49d4ea836163a7482a3e8fa55537c7c18e79325e5face31c64ea
SIZE (pygraphviz-0.22.tar.gz) = 23372 SIZE (pygraphviz-0.33.tar.gz) = 66998

View File

@ -1,20 +1,5 @@
--- setup.py.orig Sun Mar 12 23:09:05 2006 --- setup.py.orig Sun Mar 12 23:09:05 2006
+++ setup.py Sun Sep 24 15:05:50 2006 +++ setup.py Sun Sep 24 15:05:50 2006
@@ -7,13 +7,7 @@
import os
import sys
-# use setuptools if we got it, else distutils
-try:
-# import ez_setup
-# ez_setup.use_setuptools()
- from setuptools import setup, Extension
-except:
- from distutils.core import setup, Extension
+from distutils.core import setup, Extension
if sys.argv[-1] == 'setup.py':
print "To install, run 'python setup.py install'"
@@ -25,7 +19,7 @@ @@ -25,7 +19,7 @@
# If setting the prefix failed you should attempt to set the prefix here: # If setting the prefix failed you should attempt to set the prefix here:

View File

@ -1,19 +1,30 @@
%%PYTHON_SITELIBDIR%%/pygraphviz/__init__.py %%PYTHON_SITELIBDIR%%/pygraphviz/__init__.py
%%PYTHON_SITELIBDIR%%/pygraphviz/__init__.pyc %%PYTHON_SITELIBDIR%%/pygraphviz/__init__.pyc
%%PYTHON_SITELIBDIR%%/pygraphviz/__init__.pyo %%PYTHON_SITELIBDIR%%/pygraphviz/__init__.pyo
%%PYTHON_SITELIBDIR%%/pygraphviz/_graphviz.so
%%PYTHON_SITELIBDIR%%/pygraphviz/agraph.py
%%PYTHON_SITELIBDIR%%/pygraphviz/agraph.pyc
%%PYTHON_SITELIBDIR%%/pygraphviz/agraph.pyo
%%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/pygraphviz.py
%%PYTHON_SITELIBDIR%%/pygraphviz/pygraphviz.pyc
%%PYTHON_SITELIBDIR%%/pygraphviz/pygraphviz.pyo
%%PYTHON_SITELIBDIR%%/pygraphviz/_graphviz.so
%%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/pygraphviz_test.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%%/Examples.txt
%%DOCSDIR%%/FAQ.txt
%%DOCSDIR%%/License.txt
%%DOCSDIR%%/Readme.txt
%%DOCSDIR%%/Tutorial.txt
%%DOCSDIR%%/examples/miles.py
%%DOCSDIR%%/examples/simple.py
%%DOCSDIR%%/examples/star.py
%%DOCSDIR%%/examples/miles.dat
@dirrm %%PYTHON_SITELIBDIR%%/pygraphviz/tests @dirrm %%PYTHON_SITELIBDIR%%/pygraphviz/tests
@dirrm %%PYTHON_SITELIBDIR%%/pygraphviz @dirrm %%PYTHON_SITELIBDIR%%/pygraphviz
@dirrm %%DOCSDIR%%/examples
@dirrm %%DOCSDIR%%