Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/glpk/, sci-mathematics/glpk/files/
Date: Tue, 02 Nov 2021 23:12:37
Message-Id: 1635894347.d6ff8dba33190ef7bc124b688c9d8ccaa3839cce.mjo@gentoo
1 commit: d6ff8dba33190ef7bc124b688c9d8ccaa3839cce
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 2 22:52:24 2021 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 2 23:05:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6ff8dba
7
8 sci-mathematics/glpk: remove old "unused" glpk-4.65.ebuild.
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
12
13 sci-mathematics/glpk/Manifest | 1 -
14 .../glpk/files/glpk-4.65-longstep_verbosity.patch | 23 -------
15 sci-mathematics/glpk/glpk-4.65.ebuild | 77 ----------------------
16 3 files changed, 101 deletions(-)
17
18 diff --git a/sci-mathematics/glpk/Manifest b/sci-mathematics/glpk/Manifest
19 index 30d7dbde93e..6558f5696c6 100644
20 --- a/sci-mathematics/glpk/Manifest
21 +++ b/sci-mathematics/glpk/Manifest
22 @@ -1,2 +1 @@
23 -DIST glpk-4.65.tar.gz 4167110 BLAKE2B 4ccb5cd8301bdca2ccdecfc1648642afe26ff0a1ee9a75cb5a3906838086e5c41edfb16e7c55f4ad677d192f6a66b866f2d917c5be7103da7141bfb1f74e636b SHA512 997e8e599ff1718a08c66b86eadd0e01f4644899f1e95920f8ae91d66b4d8361021766b346845f4dcbcfe667b41ab72ea3d377017a0ebf85d7ece091cfd81375
24 DIST glpk-5.0.tar.gz 4132649 BLAKE2B f8204f66a97af950c13ee72ee9541f305745741d1231325670ede14663cb6c28ec6fbc44b3625973f1924ca078183d1d43f494ad43a7b48b45be131882b00001 SHA512 4e92195fa058c707146f2690f3a38b46c33add948c852f67659ca005a6aa980bbf97be96528b0f8391690facb880ac2126cd60198c6c175e7f3f06cca7e29f9d
25
26 diff --git a/sci-mathematics/glpk/files/glpk-4.65-longstep_verbosity.patch b/sci-mathematics/glpk/files/glpk-4.65-longstep_verbosity.patch
27 deleted file mode 100644
28 index 1b78ece3e69..00000000000
29 --- a/sci-mathematics/glpk/files/glpk-4.65-longstep_verbosity.patch
30 +++ /dev/null
31 @@ -1,23 +0,0 @@
32 -http://lists.gnu.org/archive/html/bug-glpk/2018-03/msg00000.html
33 -
34 -diff --git a/src/draft/glpios03.c b/src/draft/glpios03.c
35 -index 21d6a00..eb34ad0 100644
36 ---- a/src/draft/glpios03.c
37 -+++ b/src/draft/glpios03.c
38 -@@ -920,13 +920,10 @@ int ios_driver(glp_tree *T)
39 - #if 0
40 - ((glp_iocp *)T->parm)->msg_lev = GLP_MSG_DBG;
41 - #endif
42 --#if 1 /* 16/III-2016 */
43 -+#if 1 /* 01/III-2018 */
44 - if (((glp_iocp *)T->parm)->flip)
45 --#if 0 /* 20/I-2018 */
46 -- xprintf("WARNING: LONG-STEP DUAL SIMPLEX WILL BE USED\n");
47 --#else
48 -- xprintf("Long-step dual simplex will be used\n");
49 --#endif
50 -+ if (T->parm->msg_lev >= GLP_MSG_ALL)
51 -+ xprintf("Long-step dual simplex will be used\n");
52 - #endif
53 - /* on entry to the B&B driver it is assumed that the active list
54 - contains the only active (i.e. root) subproblem, which is the
55
56 diff --git a/sci-mathematics/glpk/glpk-4.65.ebuild b/sci-mathematics/glpk/glpk-4.65.ebuild
57 deleted file mode 100644
58 index abc284449ff..00000000000
59 --- a/sci-mathematics/glpk/glpk-4.65.ebuild
60 +++ /dev/null
61 @@ -1,77 +0,0 @@
62 -# Copyright 1999-2021 Gentoo Authors
63 -# Distributed under the terms of the GNU General Public License v2
64 -
65 -EAPI=7
66 -
67 -inherit autotools flag-o-matic toolchain-funcs
68 -
69 -DESCRIPTION="GNU Linear Programming Kit"
70 -HOMEPAGE="https://www.gnu.org/software/glpk/"
71 -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
72 -
73 -LICENSE="GPL-3"
74 -SLOT="0/40"
75 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
76 -IUSE="doc examples gmp odbc mysql"
77 -
78 -BDEPEND="virtual/pkgconfig"
79 -DEPEND="
80 - sci-libs/amd:0=
81 - sci-libs/colamd:=
82 - sys-libs/zlib:0=
83 - gmp? ( dev-libs/gmp:0= )
84 - mysql? ( dev-db/mysql-connector-c )
85 - odbc? (
86 - || (
87 - dev-db/libiodbc:0
88 - dev-db/unixODBC:0
89 - )
90 - )"
91 -RDEPEND="${DEPEND}"
92 -
93 -PATCHES=(
94 - "${FILESDIR}"/${PN}-4.65-fix-mysql-include-prefix.patch
95 - "${FILESDIR}"/${PN}-4.65-debundle-system-libs.patch
96 - "${FILESDIR}"/${PN}-4.65-longstep_verbosity.patch
97 -)
98 -
99 -src_prepare() {
100 - # TODO: the ODBC library is dlopen()ed, so we only want to append
101 - # -I<foo> to the preprocessor flags, and not all of the CFLAGS that
102 - # were used to build libiodbc. That fix and the pkg-config fallback
103 - # should be sent upstream, and placed into CPPFLAGS rather than
104 - # CFLAGS (as configure.ac does now).
105 - use odbc && [[ -z $(type -P odbc_config) ]] && \
106 - append-cppflags $($(tc-getPKG_CONFIG) --cflags libiodbc)
107 -
108 - default
109 - eautoreconf
110 -}
111 -
112 -src_configure() {
113 - local myconf
114 - if use mysql || use odbc; then
115 - myconf="--enable-dl"
116 - else
117 - myconf="--disable-dl"
118 - fi
119 -
120 - econf ${myconf} \
121 - --disable-static \
122 - $(use_enable mysql) \
123 - $(use_enable odbc) \
124 - $(use_with gmp)
125 -}
126 -
127 -src_install() {
128 - default
129 - if use examples; then
130 - insinto "/usr/share/doc/${PF}"
131 - doins -r examples
132 - docompress -x "/usr/share/doc/${PF}/examples"
133 - fi
134 - use doc && dodoc doc/*.pdf doc/notes/*.pdf doc/*.txt
135 -
136 - # no static archives
137 - find "${D}" -name '*.la' -delete || die
138 -}