diff --git a/graphics/Makefile b/graphics/Makefile index d32664765e22..ac8623854215 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -869,6 +869,7 @@ SUBDIR += py-graph SUBDIR += py-graph-core SUBDIR += py-graph-dot + SUBDIR += py-graphillion SUBDIR += py-graphviz SUBDIR += py-graphy SUBDIR += py-gvgen diff --git a/graphics/py-graphillion/Makefile b/graphics/py-graphillion/Makefile new file mode 100644 index 000000000000..0bc19d87bec1 --- /dev/null +++ b/graphics/py-graphillion/Makefile @@ -0,0 +1,26 @@ +# Created by: Kubilay Kocak +# $FreeBSD$ + +PORTNAME= graphillion +PORTVERSION= 0.93 +CATEGORIES= graphics python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs@FreeBSD.org +COMMENT= Fast, lightweight graphset operation library in Python + +USE_GITHUB= yes +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install + +GH_ACCOUNT= takemaru +GH_TAGNAME= v${PORTVERSION} +GH_COMMIT= 6465281 + +PYDISTUTILS_PKGNAME= Graphillion +PYEASYINSTALL_ARCHDEP= yes + +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test + +.include diff --git a/graphics/py-graphillion/distinfo b/graphics/py-graphillion/distinfo new file mode 100644 index 000000000000..821f2271821d --- /dev/null +++ b/graphics/py-graphillion/distinfo @@ -0,0 +1,2 @@ +SHA256 (graphillion-0.93.tar.gz) = 3d5d7ac5bdb41c17c99bbe47e7b53fafd147c906462af07123bd0cfe8265f981 +SIZE (graphillion-0.93.tar.gz) = 1576506 diff --git a/graphics/py-graphillion/files/patch-setup.py b/graphics/py-graphillion/files/patch-setup.py new file mode 100644 index 000000000000..b6eeff4fba95 --- /dev/null +++ b/graphics/py-graphillion/files/patch-setup.py @@ -0,0 +1,8 @@ +--- ./setup.py.orig 2013-06-21 19:44:04.348822813 +1000 ++++ ./setup.py 2013-06-21 19:44:14.872371187 +1000 +@@ -51,4 +51,5 @@ + ), + ], + test_suite='graphillion.test', ++ zip_safe=False, + ) diff --git a/graphics/py-graphillion/pkg-descr b/graphics/py-graphillion/pkg-descr new file mode 100644 index 000000000000..46c752a54e74 --- /dev/null +++ b/graphics/py-graphillion/pkg-descr @@ -0,0 +1,12 @@ +Graphillion is a Python software package on search, optimization, and +enumeration for a graphset, or a set of graphs. + + - Lightweight data structures for handling x-illions of graphs + - Search, optimization, and enumerate large and complex graph sets + - Efficient implementation extending Python with C/C++ + - Working with existing graph tools like NetworkX + - Open source MIT license + - Well tested: more than 600 unit tests + - Fast prototyping, easy to teach, and multi-platform + +WWW: http://graphillion.org/ diff --git a/graphics/py-graphillion/pkg-plist b/graphics/py-graphillion/pkg-plist new file mode 100644 index 000000000000..18ceb8399ef4 --- /dev/null +++ b/graphics/py-graphillion/pkg-plist @@ -0,0 +1,28 @@ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/_graphillion.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/_graphillion.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/_graphillion.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/native_libs.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/setset.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/release.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/release.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/tutorial.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/graphset.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/setset.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/tutorial.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/graphset.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/release.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/graphset.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/setset.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion/tutorial.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/_graphillion.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/graphillion +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%