Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/graph-tool/
Date: Thu, 04 Jan 2018 20:35:08
Message-Id: 1515098086.d73cdf67991cfdbbb2df1402faac1354f9956ad6.mgorny@gentoo
1 commit: d73cdf67991cfdbbb2df1402faac1354f9956ad6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 4 20:01:46 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 4 20:34:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d73cdf67
7
8 dev-python/graph-tool: Clean old up
9
10 dev-python/graph-tool/Manifest | 1 -
11 dev-python/graph-tool/graph-tool-2.22.ebuild | 82 ----------------------------
12 2 files changed, 83 deletions(-)
13
14 diff --git a/dev-python/graph-tool/Manifest b/dev-python/graph-tool/Manifest
15 index 06fdb210d4a..9e04cfe6cba 100644
16 --- a/dev-python/graph-tool/Manifest
17 +++ b/dev-python/graph-tool/Manifest
18 @@ -1,3 +1,2 @@
19 DIST graph-tool-2.19.tar.bz2 15147961 BLAKE2B 93f4220d6f86ed5e18619a4300272185673d54418b6b73eb9cf2264d698b9f66589f22fe9906082c5b6360e037115c6df7c52871e33c1dcb8ec64c3596b76bda SHA512 dc0bd93ccf21bb6616035dbfe33b0d9406eb894791e615795d486dc8f9d9991a6b93cf835cf4e59197005c14faedf105f3384cccd42db544104840cf857b2a84
20 -DIST graph-tool-2.22.tar.bz2 15100673 BLAKE2B 487cf0de763288a9e41d227496f2f30b1aa56913d79c2283097561162eea17758cd51cb245d462fba0f6ced46e109d54e5852c7b35ef165288fb1168c69c45e4 SHA512 e5ffb6913ba76c1b3dea597950b8d50edd55cb997bf8b02c105ffab314b4978ac861db0c57507e51598f731b6b8fa9f1251e21d5feb9eb89158bc4c1921dc51f
21 DIST graph-tool-2.23.tar.bz2 14998733 BLAKE2B 5eef201f9751ba0ee64d3f3d0694631b23b8ee7799d0e0a1a52125b3b355ee30bb59400665404cd040df29ab2534dc0fdf940d2f3abdb1ddfff0894fb150ed3b SHA512 bd7e493806152d004ed8fcd5cd93f8a27200b0acacde07026ad6f83e8b9a0cdbdedfee79f5ff4c41de179ea3293a1d100571501e8791dad2ff608ecb424a9e36
22
23 diff --git a/dev-python/graph-tool/graph-tool-2.22.ebuild b/dev-python/graph-tool/graph-tool-2.22.ebuild
24 deleted file mode 100644
25 index cf9f4302985..00000000000
26 --- a/dev-python/graph-tool/graph-tool-2.22.ebuild
27 +++ /dev/null
28 @@ -1,82 +0,0 @@
29 -# Copyright 1999-2017 Gentoo Foundation
30 -# Distributed under the terms of the GNU General Public License v2
31 -
32 -EAPI=6
33 -
34 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
35 -
36 -inherit check-reqs python-r1 toolchain-funcs
37 -
38 -if [[ ${PV} == *9999 ]]; then
39 - EGIT_REPO_URI="https://github.com/count0/graph-tool.git"
40 - inherit autotools git-r3
41 -else
42 - SRC_URI="https://downloads.skewed.de/${PN}/${P}.tar.bz2"
43 - KEYWORDS="~amd64 ~x86"
44 -fi
45 -
46 -DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs"
47 -HOMEPAGE="https://graph-tool.skewed.de/"
48 -
49 -LICENSE="GPL-3"
50 -SLOT="0"
51 -IUSE="+cairo openmp"
52 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
53 -
54 -RDEPEND="
55 - ${PYTHON_DEPS}
56 - dev-libs/boost:=[context,python,${PYTHON_USEDEP}]
57 - dev-libs/expat
58 - dev-python/numpy[${PYTHON_USEDEP}]
59 - sci-libs/scipy[${PYTHON_USEDEP}]
60 - >=sci-mathematics/cgal-4.9
61 - cairo? (
62 - dev-cpp/cairomm
63 - dev-python/pycairo[${PYTHON_USEDEP}]
64 - )
65 - dev-python/matplotlib[${PYTHON_USEDEP}]"
66 -DEPEND="${RDEPEND}
67 - dev-cpp/sparsehash
68 - virtual/pkgconfig"
69 -
70 -# bug 453544
71 -CHECKREQS_DISK_BUILD="6G"
72 -
73 -pkg_pretend() {
74 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
75 - check-reqs_pkg_pretend
76 -}
77 -
78 -pkg_setup() {
79 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
80 -}
81 -
82 -src_prepare() {
83 - default
84 - [[ ${PV} == *9999 ]] && eautoreconf
85 - python_copy_sources
86 -}
87 -
88 -src_configure() {
89 - local threads
90 - has_version 'dev-libs/boost[threads]' && threads="-mt"
91 -
92 - configure() {
93 - econf \
94 - --disable-static \
95 - $(use_enable openmp) \
96 - $(use_enable cairo) \
97 - --with-boost-python="${EPYTHON: -3}${threads}"
98 - }
99 - python_foreach_impl run_in_build_dir configure
100 -}
101 -
102 -src_compile() {
103 - # most machines don't have enough ram for parallel builds
104 - python_foreach_impl run_in_build_dir emake -j1
105 -}
106 -
107 -src_install() {
108 - python_foreach_impl run_in_build_dir default
109 - find "${D}" -name '*.la' -delete || die
110 -}