mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
A library for working with graphs in Python.
It provides a suitable data structure for representing graphs and a whole set of important algorithms. WWW: http://code.google.com/p/python-graph/ PR: ports/126957 Submitted by: Yi-Jheng Lin <yzlin at cs.nctu.edu.tw>
This commit is contained in:
parent
d6dc2addd2
commit
e5deafa8f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219922
13 changed files with 292 additions and 0 deletions
|
@ -654,6 +654,7 @@
|
|||
SUBDIR += py-gimp
|
||||
SUBDIR += py-glewpy
|
||||
SUBDIR += py-goocanvas
|
||||
SUBDIR += py-graph
|
||||
SUBDIR += py-graphviz
|
||||
SUBDIR += py-gvgen
|
||||
SUBDIR += py-imaging
|
||||
|
|
43
graphics/py-graph-core/Makefile
Normal file
43
graphics/py-graph-core/Makefile
Normal file
|
@ -0,0 +1,43 @@
|
|||
# New ports collection makefile for: py-graph
|
||||
# Date created: 2008-08-29
|
||||
# Whom: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= graph
|
||||
PORTVERSION= 1.0.0
|
||||
CATEGORIES= graphics python
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= python-graph-${PORTVERSION}
|
||||
|
||||
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
|
||||
|
||||
PROJECTHOST= python-graph
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_PKGNAME= python-graph
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PYDISTUTILS_PKGNAME}
|
||||
|
||||
USE_BZIP2= yes
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/* ${DOCSDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/py-graph-core/distinfo
Normal file
3
graphics/py-graph-core/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (python-graph-1.0.0.tar.bz2) = a9e4113446225a473f95f02779628de8
|
||||
SHA256 (python-graph-1.0.0.tar.bz2) = fde61fe2e6d9ec7e5dc36324eb80c718e01eaf8e7f2cc1f6f802dde6b0ec2e7d
|
||||
SIZE (python-graph-1.0.0.tar.bz2) = 29737
|
5
graphics/py-graph-core/pkg-descr
Normal file
5
graphics/py-graph-core/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
A library for working with graphs in Python.
|
||||
It provides a suitable data structure for representing graphs
|
||||
and a whole set of important algorithms.
|
||||
|
||||
WWW: http://code.google.com/p/python-graph/
|
46
graphics/py-graph-core/pkg-plist
Normal file
46
graphics/py-graph-core/pkg-plist
Normal file
|
@ -0,0 +1,46 @@
|
|||
%%PYTHON_SITELIBDIR%%/graph/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/accessibility.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/accessibility.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/accessibility.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/generators.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/generators.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/generators.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/minmax.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/minmax.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/minmax.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/readwrite.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/readwrite.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/readwrite.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/searching.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/searching.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/searching.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/sorting.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/sorting.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/sorting.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/graph
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api-objects.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/class-tree.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/crarr.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/epydoc.css
|
||||
%%PORTDOCS%%%%DOCSDIR%%/epydoc.js
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.accessibility-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.generators-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.graph-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.minmax-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.readwrite-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.searching-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.sorting-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/help.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/identifier-index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/module-tree.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/redirect.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/draw.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/graph.xml
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/read.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/write.py
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
43
graphics/py-graph-dot/Makefile
Normal file
43
graphics/py-graph-dot/Makefile
Normal file
|
@ -0,0 +1,43 @@
|
|||
# New ports collection makefile for: py-graph
|
||||
# Date created: 2008-08-29
|
||||
# Whom: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= graph
|
||||
PORTVERSION= 1.0.0
|
||||
CATEGORIES= graphics python
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= python-graph-${PORTVERSION}
|
||||
|
||||
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
|
||||
|
||||
PROJECTHOST= python-graph
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_PKGNAME= python-graph
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PYDISTUTILS_PKGNAME}
|
||||
|
||||
USE_BZIP2= yes
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/* ${DOCSDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/py-graph-dot/distinfo
Normal file
3
graphics/py-graph-dot/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (python-graph-1.0.0.tar.bz2) = a9e4113446225a473f95f02779628de8
|
||||
SHA256 (python-graph-1.0.0.tar.bz2) = fde61fe2e6d9ec7e5dc36324eb80c718e01eaf8e7f2cc1f6f802dde6b0ec2e7d
|
||||
SIZE (python-graph-1.0.0.tar.bz2) = 29737
|
5
graphics/py-graph-dot/pkg-descr
Normal file
5
graphics/py-graph-dot/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
A library for working with graphs in Python.
|
||||
It provides a suitable data structure for representing graphs
|
||||
and a whole set of important algorithms.
|
||||
|
||||
WWW: http://code.google.com/p/python-graph/
|
46
graphics/py-graph-dot/pkg-plist
Normal file
46
graphics/py-graph-dot/pkg-plist
Normal file
|
@ -0,0 +1,46 @@
|
|||
%%PYTHON_SITELIBDIR%%/graph/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/accessibility.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/accessibility.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/accessibility.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/generators.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/generators.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/generators.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/minmax.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/minmax.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/minmax.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/readwrite.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/readwrite.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/readwrite.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/searching.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/searching.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/searching.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/sorting.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/sorting.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/sorting.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/graph
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api-objects.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/class-tree.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/crarr.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/epydoc.css
|
||||
%%PORTDOCS%%%%DOCSDIR%%/epydoc.js
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.accessibility-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.generators-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.graph-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.minmax-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.readwrite-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.searching-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.sorting-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/help.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/identifier-index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/module-tree.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/redirect.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/draw.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/graph.xml
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/read.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/write.py
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
43
graphics/py-graph/Makefile
Normal file
43
graphics/py-graph/Makefile
Normal file
|
@ -0,0 +1,43 @@
|
|||
# New ports collection makefile for: py-graph
|
||||
# Date created: 2008-08-29
|
||||
# Whom: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= graph
|
||||
PORTVERSION= 1.0.0
|
||||
CATEGORIES= graphics python
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= python-graph-${PORTVERSION}
|
||||
|
||||
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
|
||||
|
||||
PROJECTHOST= python-graph
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_PKGNAME= python-graph
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PYDISTUTILS_PKGNAME}
|
||||
|
||||
USE_BZIP2= yes
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/* ${DOCSDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/py-graph/distinfo
Normal file
3
graphics/py-graph/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (python-graph-1.0.0.tar.bz2) = a9e4113446225a473f95f02779628de8
|
||||
SHA256 (python-graph-1.0.0.tar.bz2) = fde61fe2e6d9ec7e5dc36324eb80c718e01eaf8e7f2cc1f6f802dde6b0ec2e7d
|
||||
SIZE (python-graph-1.0.0.tar.bz2) = 29737
|
5
graphics/py-graph/pkg-descr
Normal file
5
graphics/py-graph/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
A library for working with graphs in Python.
|
||||
It provides a suitable data structure for representing graphs
|
||||
and a whole set of important algorithms.
|
||||
|
||||
WWW: http://code.google.com/p/python-graph/
|
46
graphics/py-graph/pkg-plist
Normal file
46
graphics/py-graph/pkg-plist
Normal file
|
@ -0,0 +1,46 @@
|
|||
%%PYTHON_SITELIBDIR%%/graph/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/accessibility.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/accessibility.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/accessibility.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/generators.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/generators.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/generators.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/minmax.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/minmax.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/minmax.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/readwrite.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/readwrite.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/readwrite.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/searching.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/searching.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/searching.pyo
|
||||
%%PYTHON_SITELIBDIR%%/graph/sorting.py
|
||||
%%PYTHON_SITELIBDIR%%/graph/sorting.pyc
|
||||
%%PYTHON_SITELIBDIR%%/graph/sorting.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/graph
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api-objects.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/class-tree.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/crarr.png
|
||||
%%PORTDOCS%%%%DOCSDIR%%/epydoc.css
|
||||
%%PORTDOCS%%%%DOCSDIR%%/epydoc.js
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.accessibility-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.generators-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.graph-class.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.minmax-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.readwrite-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.searching-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/graph.sorting-module.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/help.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/identifier-index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/module-tree.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/redirect.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/draw.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/graph.xml
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/read.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/write.py
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
Loading…
Add table
Reference in a new issue