dev-python/graph-tool: Clean old up

This commit is contained in:
Michał Górny
2018-01-04 21:01:46 +01:00
parent 5749e1fc8c
commit d73cdf6799
2 changed files with 0 additions and 83 deletions

View File

@@ -1,3 +1,2 @@
DIST graph-tool-2.19.tar.bz2 15147961 BLAKE2B 93f4220d6f86ed5e18619a4300272185673d54418b6b73eb9cf2264d698b9f66589f22fe9906082c5b6360e037115c6df7c52871e33c1dcb8ec64c3596b76bda SHA512 dc0bd93ccf21bb6616035dbfe33b0d9406eb894791e615795d486dc8f9d9991a6b93cf835cf4e59197005c14faedf105f3384cccd42db544104840cf857b2a84
DIST graph-tool-2.22.tar.bz2 15100673 BLAKE2B 487cf0de763288a9e41d227496f2f30b1aa56913d79c2283097561162eea17758cd51cb245d462fba0f6ced46e109d54e5852c7b35ef165288fb1168c69c45e4 SHA512 e5ffb6913ba76c1b3dea597950b8d50edd55cb997bf8b02c105ffab314b4978ac861db0c57507e51598f731b6b8fa9f1251e21d5feb9eb89158bc4c1921dc51f
DIST graph-tool-2.23.tar.bz2 14998733 BLAKE2B 5eef201f9751ba0ee64d3f3d0694631b23b8ee7799d0e0a1a52125b3b355ee30bb59400665404cd040df29ab2534dc0fdf940d2f3abdb1ddfff0894fb150ed3b SHA512 bd7e493806152d004ed8fcd5cd93f8a27200b0acacde07026ad6f83e8b9a0cdbdedfee79f5ff4c41de179ea3293a1d100571501e8791dad2ff608ecb424a9e36

View File

@@ -1,82 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit check-reqs python-r1 toolchain-funcs
if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/count0/graph-tool.git"
inherit autotools git-r3
else
SRC_URI="https://downloads.skewed.de/${PN}/${P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
HOMEPAGE="https://graph-tool.skewed.de/"
LICENSE="GPL-3"
SLOT="0"
IUSE="+cairo openmp"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
dev-libs/boost:=[context,python,${PYTHON_USEDEP}]
dev-libs/expat
dev-python/numpy[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]
>=sci-mathematics/cgal-4.9
cairo? (
dev-cpp/cairomm
dev-python/pycairo[${PYTHON_USEDEP}]
)
dev-python/matplotlib[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-cpp/sparsehash
virtual/pkgconfig"
# bug 453544
CHECKREQS_DISK_BUILD="6G"
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
check-reqs_pkg_pretend
}
pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
src_prepare() {
default
[[ ${PV} == *9999 ]] && eautoreconf
python_copy_sources
}
src_configure() {
local threads
has_version 'dev-libs/boost[threads]' && threads="-mt"
configure() {
econf \
--disable-static \
$(use_enable openmp) \
$(use_enable cairo) \
--with-boost-python="${EPYTHON: -3}${threads}"
}
python_foreach_impl run_in_build_dir configure
}
src_compile() {
# most machines don't have enough ram for parallel builds
python_foreach_impl run_in_build_dir emake -j1
}
src_install() {
python_foreach_impl run_in_build_dir default
find "${D}" -name '*.la' -delete || die
}