From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/glpk/
Date: Thu, 16 Jan 2025 14:22:29 +0000 (UTC) [thread overview]
Message-ID: <1737037113.f5bde6e5a91c247c66d78f24a040519ba2e7a931.mjo@gentoo> (raw)
commit: f5bde6e5a91c247c66d78f24a040519ba2e7a931
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 14:13:09 2025 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 14:18:33 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5bde6e5
sci-mathematics/glpk: drop 5.0-r1
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
sci-mathematics/glpk/glpk-5.0-r1.ebuild | 101 --------------------------------
1 file changed, 101 deletions(-)
diff --git a/sci-mathematics/glpk/glpk-5.0-r1.ebuild b/sci-mathematics/glpk/glpk-5.0-r1.ebuild
deleted file mode 100644
index a0db9eee70b6..000000000000
--- a/sci-mathematics/glpk/glpk-5.0-r1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2024 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 ~loong ~ppc ppc64 ~riscv 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
-)
-
-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() {
- # -Werror=strict-aliasing
- # https://bugs.gentoo.org/863047
- # https://lists.gnu.org/archive/html/bug-glpk/2022-08/msg00000.html
- # No upstream response...
- #
- # Do not trust it to LTO either.
- append-flags -fno-strict-aliasing
- filter-lto
-
- 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
- # The top-level Makefile descends into the "examples" directory
- # unconditionally, building a program and excreting build
- # artifacts that we don't want to install. Note: this still
- # leaves the example program /usr/bin/glpsol installed. An
- # additional "emake ... uninstall" could probably take care
- # of that if desired.
- emake -C examples clean
-
- # Installing the Makefiles for the examples does the user no
- # good without the top-level Makefile.
- rm examples/Makefile{.in,.am,} \
- || die "failed to remove example Makefiles"
-
- 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
-}
next reply other threads:[~2025-01-16 14:22 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-16 14:22 Michael Orlitzky [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-20 4:16 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/glpk/ Michael Orlitzky
2024-03-05 4:48 Sam James
2024-01-10 18:24 Michael Orlitzky
2023-06-03 11:15 Arthur Zamarin
2022-12-04 9:23 WANG Xuerui
2022-10-18 2:18 Sam James
2021-11-02 22:21 Sam James
2021-11-02 22:21 Sam James
2021-11-02 15:47 Sam James
2021-11-02 15:47 Sam James
2021-11-02 15:46 Sam James
2021-11-02 15:46 Sam James
2021-11-02 15:46 Sam James
2021-07-14 16:15 Marek Szuba
2021-03-31 13:05 Michael Orlitzky
2021-01-06 15:19 Fabian Groffen
2020-12-17 1:18 Michael Orlitzky
2020-11-07 17:57 Sam James
2020-11-06 15:23 Sam James
2020-08-23 17:01 David Seifert
2020-04-13 16:12 Agostino Sarubbo
2020-04-13 14:48 Agostino Sarubbo
2020-04-13 10:19 Agostino Sarubbo
2020-04-13 10:17 Agostino Sarubbo
2020-04-13 8:05 Sergei Trofimovich
2020-04-11 15:57 Sergei Trofimovich
2020-03-07 2:23 Michael Orlitzky
2018-07-13 10:43 Tony Vroon
2018-04-18 12:18 Tobias Klausmann
2018-04-04 22:32 Sergei Trofimovich
2018-03-03 17:56 Sergei Trofimovich
2017-12-16 13:07 Sergei Trofimovich
2017-12-16 8:20 Tobias Klausmann
2017-12-12 18:39 Thomas Deutschmann
2017-11-08 22:27 Sergei Trofimovich
2017-09-02 16:07 Sergei Trofimovich
2017-07-01 9:52 Sergei Trofimovich
2017-07-01 9:52 Sergei Trofimovich
2017-06-22 11:48 Alexis Ballier
2017-03-07 0:20 Sebastien Fabbro
2017-03-07 0:17 Sebastien Fabbro
2017-03-06 18:15 Robin H. Johnson
2017-03-04 0:10 Sebastien Fabbro
2016-01-23 11:05 Fabian Groffen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1737037113.f5bde6e5a91c247c66d78f24a040519ba2e7a931.mjo@gentoo \
--to=mjo@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox