diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2021-11-02 18:52:24 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2021-11-02 19:05:47 -0400 |
commit | d6ff8dba33190ef7bc124b688c9d8ccaa3839cce (patch) | |
tree | 754f9eb76937195fe2d933a83ec42d17a709a49d /sci-mathematics/glpk | |
parent | profiles/default/linux: drop USE="tcpd" from defaults (diff) | |
download | gentoo-d6ff8dba33190ef7bc124b688c9d8ccaa3839cce.tar.gz gentoo-d6ff8dba33190ef7bc124b688c9d8ccaa3839cce.tar.bz2 gentoo-d6ff8dba33190ef7bc124b688c9d8ccaa3839cce.zip |
sci-mathematics/glpk: remove old "unused" glpk-4.65.ebuild.
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-mathematics/glpk')
-rw-r--r-- | sci-mathematics/glpk/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/glpk/files/glpk-4.65-longstep_verbosity.patch | 23 | ||||
-rw-r--r-- | sci-mathematics/glpk/glpk-4.65.ebuild | 77 |
3 files changed, 0 insertions, 101 deletions
diff --git a/sci-mathematics/glpk/Manifest b/sci-mathematics/glpk/Manifest index 30d7dbde93e9..6558f5696c6f 100644 --- a/sci-mathematics/glpk/Manifest +++ b/sci-mathematics/glpk/Manifest @@ -1,2 +1 @@ -DIST glpk-4.65.tar.gz 4167110 BLAKE2B 4ccb5cd8301bdca2ccdecfc1648642afe26ff0a1ee9a75cb5a3906838086e5c41edfb16e7c55f4ad677d192f6a66b866f2d917c5be7103da7141bfb1f74e636b SHA512 997e8e599ff1718a08c66b86eadd0e01f4644899f1e95920f8ae91d66b4d8361021766b346845f4dcbcfe667b41ab72ea3d377017a0ebf85d7ece091cfd81375 DIST glpk-5.0.tar.gz 4132649 BLAKE2B f8204f66a97af950c13ee72ee9541f305745741d1231325670ede14663cb6c28ec6fbc44b3625973f1924ca078183d1d43f494ad43a7b48b45be131882b00001 SHA512 4e92195fa058c707146f2690f3a38b46c33add948c852f67659ca005a6aa980bbf97be96528b0f8391690facb880ac2126cd60198c6c175e7f3f06cca7e29f9d diff --git a/sci-mathematics/glpk/files/glpk-4.65-longstep_verbosity.patch b/sci-mathematics/glpk/files/glpk-4.65-longstep_verbosity.patch deleted file mode 100644 index 1b78ece3e695..000000000000 --- a/sci-mathematics/glpk/files/glpk-4.65-longstep_verbosity.patch +++ /dev/null @@ -1,23 +0,0 @@ -http://lists.gnu.org/archive/html/bug-glpk/2018-03/msg00000.html - -diff --git a/src/draft/glpios03.c b/src/draft/glpios03.c -index 21d6a00..eb34ad0 100644 ---- a/src/draft/glpios03.c -+++ b/src/draft/glpios03.c -@@ -920,13 +920,10 @@ int ios_driver(glp_tree *T) - #if 0 - ((glp_iocp *)T->parm)->msg_lev = GLP_MSG_DBG; - #endif --#if 1 /* 16/III-2016 */ -+#if 1 /* 01/III-2018 */ - if (((glp_iocp *)T->parm)->flip) --#if 0 /* 20/I-2018 */ -- xprintf("WARNING: LONG-STEP DUAL SIMPLEX WILL BE USED\n"); --#else -- xprintf("Long-step dual simplex will be used\n"); --#endif -+ if (T->parm->msg_lev >= GLP_MSG_ALL) -+ xprintf("Long-step dual simplex will be used\n"); - #endif - /* on entry to the B&B driver it is assumed that the active list - contains the only active (i.e. root) subproblem, which is the diff --git a/sci-mathematics/glpk/glpk-4.65.ebuild b/sci-mathematics/glpk/glpk-4.65.ebuild deleted file mode 100644 index abc284449ffa..000000000000 --- a/sci-mathematics/glpk/glpk-4.65.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic toolchain-funcs - -DESCRIPTION="GNU Linear Programming Kit" -HOMEPAGE="https://www.gnu.org/software/glpk/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0/40" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" -IUSE="doc examples gmp odbc mysql" - -BDEPEND="virtual/pkgconfig" -DEPEND=" - sci-libs/amd:0= - sci-libs/colamd:= - sys-libs/zlib:0= - gmp? ( dev-libs/gmp:0= ) - mysql? ( dev-db/mysql-connector-c ) - odbc? ( - || ( - dev-db/libiodbc:0 - dev-db/unixODBC:0 - ) - )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-4.65-fix-mysql-include-prefix.patch - "${FILESDIR}"/${PN}-4.65-debundle-system-libs.patch - "${FILESDIR}"/${PN}-4.65-longstep_verbosity.patch -) - -src_prepare() { - # TODO: the ODBC library is dlopen()ed, so we only want to append - # -I<foo> to the preprocessor flags, and not all of the CFLAGS that - # were used to build libiodbc. That fix and the pkg-config fallback - # should be sent upstream, and placed into CPPFLAGS rather than - # CFLAGS (as configure.ac does now). - use odbc && [[ -z $(type -P odbc_config) ]] && \ - append-cppflags $($(tc-getPKG_CONFIG) --cflags libiodbc) - - default - eautoreconf -} - -src_configure() { - local myconf - if use mysql || use odbc; then - myconf="--enable-dl" - else - myconf="--disable-dl" - fi - - econf ${myconf} \ - --disable-static \ - $(use_enable mysql) \ - $(use_enable odbc) \ - $(use_with gmp) -} - -src_install() { - default - if use examples; then - insinto "/usr/share/doc/${PF}" - doins -r examples - docompress -x "/usr/share/doc/${PF}/examples" - fi - use doc && dodoc doc/*.pdf doc/notes/*.pdf doc/*.txt - - # no static archives - find "${D}" -name '*.la' -delete || die -} |