FreeBSD Bugzilla – Attachment 95797 Details for
Bug 134269
[MAINTAINER] graphics/py-graph: update to 1.5.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-graph-1.5.0.patch
py-graph-1.5.0.patch (text/plain), 4.66 KB, created by
Yi-Jheng Lin
on 2009-05-06 15:40:01 UTC
(
hide
)
Description:
py-graph-1.5.0.patch
Filename:
MIME Type:
Creator:
Yi-Jheng Lin
Created:
2009-05-06 15:40:01 UTC
Size:
4.66 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/graphics/py-graph/Makefile,v >retrieving revision 1.3 >diff -u -r1.3 Makefile >--- Makefile 12 Mar 2009 19:24:03 -0000 1.3 >+++ Makefile 6 May 2009 14:31:34 -0000 >@@ -6,7 +6,7 @@ > # > > PORTNAME= graph >-PORTVERSION= 1.4.2 >+PORTVERSION= 1.5.0 > CATEGORIES= graphics python > MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -15,8 +15,7 @@ > MAINTAINER= yzlin@cs.nctu.edu.tw > COMMENT= A library for working with graphs in Python > >-BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz >-RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydot>=0:${PORTSDIR}/graphics/py-pydot > > PROJECTHOST= python-graph > USE_PYTHON= yes >@@ -30,17 +29,37 @@ > DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} > EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} > >+TESTFILES= unittests-accessibility.py \ >+ unittests-cycles.py \ >+ unittests-digraph.py \ >+ unittests-filters.py \ >+ unittests-graph.py \ >+ unittests-heuristics.py \ >+ unittests-readwrite.py \ >+ unittests-searching.py \ >+ unittests-sorting.py \ >+ > post-install: > .if !defined(NOPORTDOCS) > @${MKDIR} ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/Changelog ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR} >- ${INSTALL_MAN} ${WRKSRC}/docs/* ${DOCSDIR} >+.for f in COPYING Changelog README >+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} >+.endfor >+ ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR} > .endif > .if !defined(NOPORTEXAMPLES) > @${MKDIR} ${EXAMPLESDIR} > ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} > .endif > >+# This target is only meant to be used by the port maintainer. >+x-regression-test: install >+.for f in ${TESTFILES} >+ @${ECHO} "" >> ${WRKSRC}/tests/${f} >+ @${ECHO} "if __name__ == '__main__':" >> ${WRKSRC}/tests/${f} >+ @${ECHO} " unittest.main()" >> ${WRKSRC}/tests/${f} >+ @${ECHO} "Unit-testing ${f}..." >+ @(cd ${WRKSRC}/tests && ${PYTHON_CMD} ${f}) >+.endfor >+ > .include <bsd.port.mk> >Index: distinfo >=================================================================== >RCS file: /home/ncvs/ports/graphics/py-graph/distinfo,v >retrieving revision 1.3 >diff -u -r1.3 distinfo >--- distinfo 12 Mar 2009 19:24:03 -0000 1.3 >+++ distinfo 6 May 2009 14:31:34 -0000 >@@ -1,3 +1,3 @@ >-MD5 (python-graph-1.4.2.tar.bz2) = 142807b1d3865c915bee8b5346790e7b >-SHA256 (python-graph-1.4.2.tar.bz2) = 91225ee818272debc17af7df4b0f4acb638fc772b796397689464a26c8bf0ee6 >-SIZE (python-graph-1.4.2.tar.bz2) = 49957 >+MD5 (python-graph-1.5.0.tar.bz2) = fc349565a013286a4cb20297cd00364b >+SHA256 (python-graph-1.5.0.tar.bz2) = f7bf5d9e7233d75b72defc724c9678abed54a54633dab0e700c7aec47a390532 >+SIZE (python-graph-1.5.0.tar.bz2) = 53892 >Index: pkg-plist >=================================================================== >RCS file: /home/ncvs/ports/graphics/py-graph/pkg-plist,v >retrieving revision 1.3 >diff -u -r1.3 pkg-plist >--- pkg-plist 12 Mar 2009 19:24:03 -0000 1.3 >+++ pkg-plist 6 May 2009 14:31:34 -0000 >@@ -1,5 +1,5 @@ > %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% >-@dirrm %%PYTHON_SITELIBDIR%%/graph >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/critical.py > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/draw.py > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/drawhyper.py > %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex1.py >@@ -20,6 +20,7 @@ > %%PORTDOCS%%%%DOCSDIR%%/graph-module.html > %%PORTDOCS%%%%DOCSDIR%%/graph.algorithms-module.html > %%PORTDOCS%%%%DOCSDIR%%/graph.algorithms.accessibility-module.html >+%%PORTDOCS%%%%DOCSDIR%%/graph.algorithms.critical-module.html > %%PORTDOCS%%%%DOCSDIR%%/graph.algorithms.cycles-module.html > %%PORTDOCS%%%%DOCSDIR%%/graph.algorithms.exceptions-module.html > %%PORTDOCS%%%%DOCSDIR%%/graph.algorithms.exceptions.python_graph_exception-class.html >Index: files/patch-setup.py >=================================================================== >RCS file: /home/ncvs/ports/graphics/py-graph/files/patch-setup.py,v >retrieving revision 1.2 >diff -u -r1.2 patch-setup.py >--- files/patch-setup.py 12 Mar 2009 19:24:03 -0000 1.2 >+++ files/patch-setup.py 6 May 2009 14:31:34 -0000 >@@ -1,6 +1,19 @@ >---- setup.py.orig 2009-02-23 22:14:56.000000000 +0800 >-+++ setup.py 2009-02-23 22:14:38.000000000 +0800 >-@@ -37,8 +37,8 @@ >+--- setup.py.orig >++++ setup.py >+@@ -4,11 +4,7 @@ >+ import os >+ import logging >+ >+-try: >+- from setuptools import setup, find_packages >+-except ImportError, ie: >+- import ez_setup >+- ez_setup.use_setuptools() >++from setuptools import setup, find_packages >+ >+ # Startup >+ appname = "python-graph" >+@@ -37,8 +33,8 @@ > name = appname, > version = appversion, > packages = ['graph', 'graph.algorithms', 'graph.algorithms.filters', 'graph.algorithms.heuristics', 'graph.classes'],
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 134269
: 95797