aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2013-06-21 18:51:35 +0800
committerkoobs <koobs@FreeBSD.org>2013-06-21 18:51:35 +0800
commit546e9c31ae1354a637628252d1268e70a5e16ed4 (patch)
tree9c5227075d8284a8cf96d778a009d38e6fe66b47
parentc1f691f60a0cafaa0f53d0addc89516d03a9b398 (diff)
downloadfreebsd-ports-gnome-546e9c31ae1354a637628252d1268e70a5e16ed4.tar.gz
freebsd-ports-gnome-546e9c31ae1354a637628252d1268e70a5e16ed4.tar.zst
freebsd-ports-gnome-546e9c31ae1354a637628252d1268e70a5e16ed4.zip
graphics/py-graphillion: [NEW PORT] Fast, lightweight Python library for huge graphsets
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 enumeration for 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/
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/py-graphillion/Makefile26
-rw-r--r--graphics/py-graphillion/distinfo2
-rw-r--r--graphics/py-graphillion/files/patch-setup.py8
-rw-r--r--graphics/py-graphillion/pkg-descr12
-rw-r--r--graphics/py-graphillion/pkg-plist28
6 files changed, 77 insertions, 0 deletions
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 <koobs@FreeBSD.org>
+# $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 <bsd.port.mk>
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%%