summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-01-04 01:18:49 +0000
committerTim Harder <radhermit@gentoo.org>2013-01-04 01:18:49 +0000
commit1cde9e9579826753f545b7488d570da3795d5410 (patch)
treeb8053f4f8e880e077ca3ebba189877ecb15ea427 /dev-python
parentMove DISTUTILS_NO_PARALLEL_BUILD to src_test. (diff)
downloadgentoo-2-1cde9e9579826753f545b7488d570da3795d5410.tar.gz
gentoo-2-1cde9e9579826753f545b7488d570da3795d5410.tar.bz2
gentoo-2-1cde9e9579826753f545b7488d570da3795d5410.zip
Initial import, ebuild by me.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/graph-tool/ChangeLog11
-rw-r--r--dev-python/graph-tool/Manifest5
-rw-r--r--dev-python/graph-tool/graph-tool-2.2.19.ebuild81
-rw-r--r--dev-python/graph-tool/graph-tool-9999.ebuild81
-rw-r--r--dev-python/graph-tool/metadata.xml9
5 files changed, 187 insertions, 0 deletions
diff --git a/dev-python/graph-tool/ChangeLog b/dev-python/graph-tool/ChangeLog
new file mode 100644
index 000000000000..16068acb5ea8
--- /dev/null
+++ b/dev-python/graph-tool/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-python/graph-tool
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/graph-tool/ChangeLog,v 1.1 2013/01/04 01:18:49 radhermit Exp $
+
+*graph-tool-9999 (04 Jan 2013)
+*graph-tool-2.2.19 (04 Jan 2013)
+
+ 04 Jan 2013; Tim Harder <radhermit@gentoo.org> +graph-tool-2.2.19.ebuild,
+ +graph-tool-9999.ebuild, +metadata.xml:
+ Initial import, ebuild by me.
+
diff --git a/dev-python/graph-tool/Manifest b/dev-python/graph-tool/Manifest
new file mode 100644
index 000000000000..59b200f3dc9b
--- /dev/null
+++ b/dev-python/graph-tool/Manifest
@@ -0,0 +1,5 @@
+DIST graph-tool-2.2.19.tar.bz2 29546336 SHA256 7caf1d120cffe8080dcfb2d6880b47bfee05a84956ee73a5300d167864df9e7b SHA512 8adf432756b1558f68c16ef31f81f1fba9d3b51f1729315e83c295148fc3cb874ccd00da1841ea330407cc49c64a7395fa1f2b6440bb0da4d28c56b690bf4c41 WHIRLPOOL a11e9cefda1ea14a69b90da1288ce0f73bf7674de9781b650e369a70bdb8409d13aa8b1bf44555ed35f2b2d84f17152876491f031454bd9499e17a3de378283b
+EBUILD graph-tool-2.2.19.ebuild 1621 SHA256 5a0fea6f45f70cf58e4363d560f661b352c4ac244c31d49e32b7c262de045043 SHA512 a8a5ee94a0fde29f6283c4abae3ddd881f1d4b083168231903ebae8012db031bbc0d1af185c0b9514e1cab5ad5c533c262e499ae06a02bff97f2072a850fbc25 WHIRLPOOL 63adb438e6431a8cfd252fc7a605e316edb1fadd8d50ba4cb3265b5e228b2d1c5b4ca381c1bfb42c936ec18e590fa5dda6de8edfd305631ee69f754b71ff8bd9
+EBUILD graph-tool-9999.ebuild 1621 SHA256 5a0fea6f45f70cf58e4363d560f661b352c4ac244c31d49e32b7c262de045043 SHA512 a8a5ee94a0fde29f6283c4abae3ddd881f1d4b083168231903ebae8012db031bbc0d1af185c0b9514e1cab5ad5c533c262e499ae06a02bff97f2072a850fbc25 WHIRLPOOL 63adb438e6431a8cfd252fc7a605e316edb1fadd8d50ba4cb3265b5e228b2d1c5b4ca381c1bfb42c936ec18e590fa5dda6de8edfd305631ee69f754b71ff8bd9
+MISC ChangeLog 338 SHA256 3551a83501ff5caa550257e774f7a68457948c8e03df7a0bf4e40c3b62e1a714 SHA512 faba7e782da0ab36555f23eeb0f03ccb45c72ed488febf21d7f66578706e1a5829b405fea0c958a753fc34a3c605afa7248a892e623b07c6389f14f9f51b10cd WHIRLPOOL 3d41dfa597f4998d0c969ea4906aedd36691956d3adc42d78983554705843d17f01f615815791c64cb66221d440d332ae646f3c5161047848b17e0f11bb392ea
+MISC metadata.xml 253 SHA256 9f2f51fd5d49ee6b0ef785dd7256455213e0e18e37f23b498cfee07dc1efac7f SHA512 5cb93e348b913d23ba4283ee3baf4a052658e27cbfad60ae3b80e68317909342ad3ec537724886b746f3cc1ada9db3010e41d80b615919d596df11bbe7bc7fed WHIRLPOOL e98beb144d79c5c872f1709991bd5b3ad17b63c494bcd4e9b2282957b309a888788e2b1c3ed8231a108914f76e0bfd21b5bd395236c09c25caa71df3a6063a90
diff --git a/dev-python/graph-tool/graph-tool-2.2.19.ebuild b/dev-python/graph-tool/graph-tool-2.2.19.ebuild
new file mode 100644
index 000000000000..facd707ec845
--- /dev/null
+++ b/dev-python/graph-tool/graph-tool-2.2.19.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/graph-tool/graph-tool-2.2.19.ebuild,v 1.1 2013/01/04 01:18:49 radhermit Exp $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_1,3_2,3_3} )
+
+inherit eutils toolchain-funcs python-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://git.skewed.de/graph-tool"
+ inherit git-2
+ KEYWORDS=""
+else
+ SRC_URI="http://downloads.skewed.de/${PN}/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
+HOMEPAGE="http://graph-tool.skewed.de/"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="+cairo openmp"
+
+CDEPEND=">=dev-libs/boost-1.46.0[python]
+ dev-libs/expat
+ dev-python/numpy
+ sci-libs/scipy
+ sci-mathematics/cgal
+ cairo? (
+ dev-cpp/cairomm
+ dev-python/pycairo
+ )"
+RDEPEND="${CDEPEND}
+ dev-python/matplotlib
+ media-gfx/graphviz[python]"
+DEPEND="${CDEPEND}
+ dev-cpp/sparsehash
+ virtual/pkgconfig"
+
+# most machines don't have enough ram for parallel builds
+MAKEOPTS="${MAKEOPTS} -j1"
+
+pkg_pretend() {
+ if use openmp ; then
+ tc-has-openmp || die "Please switch to an openmp compatible compiler"
+ fi
+}
+
+src_prepare() {
+ >py-compile
+ python_copy_sources
+}
+
+src_configure() {
+ python_foreach_impl run_in_build_dir \
+ econf \
+ --disable-static \
+ --disable-optimization \
+ $(use_enable openmp) \
+ $(use_enable cairo)
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir default
+}
+
+src_install() {
+ python_foreach_impl run_in_build_dir default
+ prune_libtool_files --modules
+
+ # remove unwanted extra docs
+ rm -r "${ED}"/usr/usr || die
+}
+
+run_in_build_dir() {
+ pushd "${BUILD_DIR}" > /dev/null
+ "$@"
+ popd > /dev/null
+}
diff --git a/dev-python/graph-tool/graph-tool-9999.ebuild b/dev-python/graph-tool/graph-tool-9999.ebuild
new file mode 100644
index 000000000000..a4f686b3a5fa
--- /dev/null
+++ b/dev-python/graph-tool/graph-tool-9999.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/graph-tool/graph-tool-9999.ebuild,v 1.1 2013/01/04 01:18:49 radhermit Exp $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_1,3_2,3_3} )
+
+inherit eutils toolchain-funcs python-r1
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://git.skewed.de/graph-tool"
+ inherit git-2
+ KEYWORDS=""
+else
+ SRC_URI="http://downloads.skewed.de/${PN}/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
+HOMEPAGE="http://graph-tool.skewed.de/"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="+cairo openmp"
+
+CDEPEND=">=dev-libs/boost-1.46.0[python]
+ dev-libs/expat
+ dev-python/numpy
+ sci-libs/scipy
+ sci-mathematics/cgal
+ cairo? (
+ dev-cpp/cairomm
+ dev-python/pycairo
+ )"
+RDEPEND="${CDEPEND}
+ dev-python/matplotlib
+ media-gfx/graphviz[python]"
+DEPEND="${CDEPEND}
+ dev-cpp/sparsehash
+ virtual/pkgconfig"
+
+# most machines don't have enough ram for parallel builds
+MAKEOPTS="${MAKEOPTS} -j1"
+
+pkg_pretend() {
+ if use openmp ; then
+ tc-has-openmp || die "Please switch to an openmp compatible compiler"
+ fi
+}
+
+src_prepare() {
+ >py-compile
+ python_copy_sources
+}
+
+src_configure() {
+ python_foreach_impl run_in_build_dir \
+ econf \
+ --disable-static \
+ --disable-optimization \
+ $(use_enable openmp) \
+ $(use_enable cairo)
+}
+
+src_compile() {
+ python_foreach_impl run_in_build_dir default
+}
+
+src_install() {
+ python_foreach_impl run_in_build_dir default
+ prune_libtool_files --modules
+
+ # remove unwanted extra docs
+ rm -r "${ED}"/usr/usr || die
+}
+
+run_in_build_dir() {
+ pushd "${BUILD_DIR}" > /dev/null
+ "$@"
+ popd > /dev/null
+}
diff --git a/dev-python/graph-tool/metadata.xml b/dev-python/graph-tool/metadata.xml
new file mode 100644
index 000000000000..9300f12fbb80
--- /dev/null
+++ b/dev-python/graph-tool/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>