1 |
commit: 7cd7bb92544b3fab87d199f62abcceb4d0eb1203 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 30 16:50:52 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 30 16:50:52 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd7bb92 |
7 |
|
8 |
dev-python/graph-tool: Bump version to 2.27 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/675162 |
11 |
Closes: https://bugs.gentoo.org/686754 |
12 |
Package-Manager: Portage-2.3.67, Repoman-2.3.13 |
13 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
14 |
|
15 |
dev-python/graph-tool/Manifest | 1 + |
16 |
dev-python/graph-tool/graph-tool-2.27.ebuild | 79 ++++++++++++++++++++++++++++ |
17 |
profiles/package.mask | 1 + |
18 |
3 files changed, 81 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/graph-tool/Manifest b/dev-python/graph-tool/Manifest |
21 |
index 05ee3384046..1f5390d7f43 100644 |
22 |
--- a/dev-python/graph-tool/Manifest |
23 |
+++ b/dev-python/graph-tool/Manifest |
24 |
@@ -1,3 +1,4 @@ |
25 |
DIST graph-tool-2.19.tar.bz2 15147961 BLAKE2B 93f4220d6f86ed5e18619a4300272185673d54418b6b73eb9cf2264d698b9f66589f22fe9906082c5b6360e037115c6df7c52871e33c1dcb8ec64c3596b76bda SHA512 dc0bd93ccf21bb6616035dbfe33b0d9406eb894791e615795d486dc8f9d9991a6b93cf835cf4e59197005c14faedf105f3384cccd42db544104840cf857b2a84 |
26 |
DIST graph-tool-2.23.tar.bz2 14998733 BLAKE2B 5eef201f9751ba0ee64d3f3d0694631b23b8ee7799d0e0a1a52125b3b355ee30bb59400665404cd040df29ab2534dc0fdf940d2f3abdb1ddfff0894fb150ed3b SHA512 bd7e493806152d004ed8fcd5cd93f8a27200b0acacde07026ad6f83e8b9a0cdbdedfee79f5ff4c41de179ea3293a1d100571501e8791dad2ff608ecb424a9e36 |
27 |
DIST graph-tool-2.26.tar.bz2 15000764 BLAKE2B eb4db3d6753b4af8e38cbd9a71e5e5a6368e30556b83f8b9b9a67d8ede2fea9789bb959eb405eb1896c69c487915f18849146bc5fbd95bea1b7910c7c871d577 SHA512 97f51f777f45383780f765277d1af6ae4879ec39243e9b5c11a5c8f58e952e34c301d51e4ce86a0de1bb7b86bf7150d85ef182693e99f319a19a36d2cc25742a |
28 |
+DIST graph-tool-2.27.tar.bz2 14989318 BLAKE2B 1fc307f33fc3e4642e91c20cc4988915cae61306ac445be070f19c263e2d2a74a241d651dd9c4b6b78d5f28fc8cde00789cf90db53cbae6db0583cf216824301 SHA512 39ea5e76a91f03bc2475d80df6001c87fc47517d279e27fdab413aec8982146993d3c4a370f85cb28a53e5c974b0e90b0fb22538f3d66ef9cb635abf6188d434 |
29 |
|
30 |
diff --git a/dev-python/graph-tool/graph-tool-2.27.ebuild b/dev-python/graph-tool/graph-tool-2.27.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..722d8632350 |
33 |
--- /dev/null |
34 |
+++ b/dev-python/graph-tool/graph-tool-2.27.ebuild |
35 |
@@ -0,0 +1,79 @@ |
36 |
+# Copyright 1999-2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
42 |
+ |
43 |
+inherit check-reqs python-r1 toolchain-funcs |
44 |
+ |
45 |
+if [[ ${PV} == *9999 ]]; then |
46 |
+ EGIT_REPO_URI="https://git.skewed.de/count0/graph-tool.git" |
47 |
+ inherit autotools git-r3 |
48 |
+else |
49 |
+ SRC_URI="https://downloads.skewed.de/${PN}/${P}.tar.bz2" |
50 |
+ KEYWORDS="~amd64 ~x86" |
51 |
+fi |
52 |
+ |
53 |
+DESCRIPTION="An efficient python module for manipulation and statistical analysis of graphs" |
54 |
+HOMEPAGE="https://graph-tool.skewed.de/" |
55 |
+ |
56 |
+LICENSE="GPL-3" |
57 |
+SLOT="0" |
58 |
+IUSE="+cairo openmp" |
59 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
60 |
+ |
61 |
+RDEPEND=" |
62 |
+ ${PYTHON_DEPS} |
63 |
+ >=dev-libs/boost-1.70:=[context,python,${PYTHON_USEDEP}] |
64 |
+ dev-libs/expat:= |
65 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
66 |
+ sci-libs/scipy[${PYTHON_USEDEP}] |
67 |
+ sci-mathematics/cgal:= |
68 |
+ cairo? ( |
69 |
+ dev-cpp/cairomm |
70 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
71 |
+ ) |
72 |
+ dev-python/matplotlib[${PYTHON_USEDEP}]" |
73 |
+DEPEND="${RDEPEND} |
74 |
+ dev-cpp/sparsehash" |
75 |
+BDEPEND="virtual/pkgconfig" |
76 |
+ |
77 |
+# bug 453544 |
78 |
+CHECKREQS_DISK_BUILD="6G" |
79 |
+ |
80 |
+pkg_pretend() { |
81 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
82 |
+ check-reqs_pkg_pretend |
83 |
+} |
84 |
+ |
85 |
+pkg_setup() { |
86 |
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
87 |
+} |
88 |
+ |
89 |
+src_prepare() { |
90 |
+ default |
91 |
+ [[ ${PV} == *9999 ]] && eautoreconf |
92 |
+ python_copy_sources |
93 |
+} |
94 |
+ |
95 |
+src_configure() { |
96 |
+ configure() { |
97 |
+ econf \ |
98 |
+ --disable-static \ |
99 |
+ $(use_enable openmp) \ |
100 |
+ $(use_enable cairo) \ |
101 |
+ --with-boost-python="boost_${EPYTHON/./}" |
102 |
+ } |
103 |
+ python_foreach_impl run_in_build_dir configure |
104 |
+} |
105 |
+ |
106 |
+src_compile() { |
107 |
+ # most machines don't have enough ram for parallel builds |
108 |
+ python_foreach_impl run_in_build_dir emake -j1 |
109 |
+} |
110 |
+ |
111 |
+src_install() { |
112 |
+ python_foreach_impl run_in_build_dir default |
113 |
+ find "${D}" -name '*.la' -delete || die |
114 |
+} |
115 |
|
116 |
diff --git a/profiles/package.mask b/profiles/package.mask |
117 |
index 5ae80603ce0..a4bb98e0b24 100644 |
118 |
--- a/profiles/package.mask |
119 |
+++ b/profiles/package.mask |
120 |
@@ -372,6 +372,7 @@ sys-boot/systemrescuecd-x86-grub |
121 |
>=dev-util/boost-build-1.70.0 |
122 |
>=net-mail/libpst-0.6.66-r2 |
123 |
>=net-proxy/trojan-1.12.2 |
124 |
+>=dev-python/graph-tool-2.27 |
125 |
|
126 |
# Robin H. Johnson <robbat2@g.o> (25 Mar 2019) |
127 |
# Requires >=dev-lang/lua-5.3 which is masked |