py-graph-tool: Python module for manipulation and statistical analysis of graphs

This commit is contained in:
Jason Bacon 2018-12-19 22:19:33 -06:00
parent c552cd3e7f
commit 392afa124e
6 changed files with 3303 additions and 0 deletions

View File

@ -3354,6 +3354,7 @@ SUBDIR+= py-gpaw
SUBDIR+= py-gpkit
SUBDIR+= py-gpy
SUBDIR+= py-grab
SUBDIR+= py-graph-tool
SUBDIR+= py-graphmin
SUBDIR+= py-graphpath
SUBDIR+= py-graphs

7
py-graph-tool/DESCR Normal file
View File

@ -0,0 +1,7 @@
Graph-tool is an efficient Python module for manipulation and statistical
analysis of graphs (a.k.a. networks). Contrary to most other python modules
with similar functionality, the core data structures and algorithms are
implemented in C++, making extensive use of template metaprogramming, based
heavily on the Boost Graph Library. This confers it a level of performance that
is comparable (both in memory usage and computation time) to that of a pure
C/C++ library.

60
py-graph-tool/Makefile Normal file
View File

@ -0,0 +1,60 @@
# $NetBSD$
#
###########################################################
# Generated by fbsd2pkg #
# Fri Nov 30 10:18:37 CST 2018 #
###########################################################
## https://git.skewed.de/count0/graph-tool/wikis/installation-instructions#manual-compilation
## The sparsehash template library (optional, but recommended).
## The GTK+ 3, cairomm, pycairo and matplotlib libraries, used for graph drawing (optional).
# RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=0.7.0:science/py-scipy@${PY_FLAVOR} \
# ${PYPKGPREFIX}-numpy>=0.7.0:math/py-numpy@${PY_FLAVOR}
DISTNAME= graph-tool-${PV}
PKGNAME= ${PYPKGPREFIX}-graph-tool-${PV}
CATEGORIES= graphics
MASTER_SITES= https://downloads.skewed.de/graph-tool/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= bacon@NetBSD.org
HOMEPAGE= https://graph-tool.skewed.de/
COMMENT= Python module for manipulation and statistical analysis of graphs
LICENSE= gnu-gpl-v3
# Test and change if necessary.
# MAKE_JOBS_SAFE= no
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-boost-python=boost_python27
CONFIGURE_ARGS= --with-boost-libdir=${PREFIX}/lib
CONFIGURE_ARGS+= --with-expat=${PREFIX}
CONFIGURE_ARGS+= --with-numpy=${PREFIX}
CONFIGURE_ARGS+= --disable-silent-rules
# Why is this necessary?
CXXFLAGS+= -I${PREFIX}/lib/python2.7/site-packages/numpy/core/include
CXXFLAGS+= -Wno-unknown-pragmas
CXXFLAGS+= -Wno-maybe-uninitialized
CXXFLAGS+= -std=c++14
# LDFLAGS+= -L${PREFIX}/lib
PV= 2.27
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../wip/cgal/buildlink3.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../devel/py-boost/buildlink3.mk"
.include "../../devel/sparsehash/buildlink3.mk"
# Flagged as dep for cairo - maybe need to update cairo bl3?
.include "../../devel/libsigc++/buildlink3.mk"
.include "../../graphics/cairomm/buildlink3.mk"
.include "../../graphics/py-cairo/buildlink3.mk"
.include "../../lang/python/application.mk"
# CentOS doesn't have zlib in the base, so uncomment if needed.
# .include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

1
py-graph-tool/PLIST Normal file
View File

@ -0,0 +1 @@
@comment $NetBSD$

6
py-graph-tool/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (graph-tool-2.27.tar.bz2) = a9a5b8c885eb6e2528c89a039f86ce4928f64587
RMD160 (graph-tool-2.27.tar.bz2) = 3da208242310af40b795974a6cf3d50af7edf631
SHA512 (graph-tool-2.27.tar.bz2) = 39ea5e76a91f03bc2475d80df6001c87fc47517d279e27fdab413aec8982146993d3c4a370f85cb28a53e5c974b0e90b0fb22538f3d66ef9cb635abf6188d434
Size (graph-tool-2.27.tar.bz2) = 14989318 bytes

3228
py-graph-tool/log Normal file

File diff suppressed because it is too large Load Diff