Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-dip/
Date: Mon, 31 May 2021 08:20:11
Message-Id: 1622448946.6606838b0dedc4fe7916e0341671884ab9478085.sam@gentoo
1 commit: 6606838b0dedc4fe7916e0341671884ab9478085
2 Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com>
3 AuthorDate: Sun Mar 28 22:36:44 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon May 31 08:15:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6606838b
7
8 sci-libs/coinor-dip: prevent python-2.7 automagic
9
10 When python-2.7 is installed it attempts to build dippy which fails
11 with slibtool due a typo that GNU libtool ignored.
12
13 Rather than fix, since it installs some unsupported 2.7 site-packages,
14 block it and revbump to clear these.
15
16 Closes: https://bugs.gentoo.org/778965
17 Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
18 Closes: https://github.com/gentoo/gentoo/pull/20171
19 Signed-off-by: Sam James <sam <AT> gentoo.org>
20
21 .../{coinor-dip-0.95.0-r1.ebuild => coinor-dip-0.95.0-r2.ebuild} | 3 +++
22 1 file changed, 3 insertions(+)
23
24 diff --git a/sci-libs/coinor-dip/coinor-dip-0.95.0-r1.ebuild b/sci-libs/coinor-dip/coinor-dip-0.95.0-r2.ebuild
25 similarity index 92%
26 rename from sci-libs/coinor-dip/coinor-dip-0.95.0-r1.ebuild
27 rename to sci-libs/coinor-dip/coinor-dip-0.95.0-r2.ebuild
28 index d19f69dd1fb..9ea837d3607 100644
29 --- a/sci-libs/coinor-dip/coinor-dip-0.95.0-r1.ebuild
30 +++ b/sci-libs/coinor-dip/coinor-dip-0.95.0-r2.ebuild
31 @@ -32,6 +32,9 @@ src_prepare() {
32 default
33 # Prevent unneeded call to pkg-config that needs ${ED}'s in path.
34 sed -i '/--libs.*addlibs.txt/d' Makefile.in || die
35 +
36 + # Prevent python:2.7 automagic for dippy (bug #778965)
37 + sed -i 's/@HAVE_PYTHON_TRUE@/#/' src/Makefile.in || die
38 }
39
40 src_configure() {