public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-dylp/
@ 2020-05-08 12:21 Michael Orlitzky
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Orlitzky @ 2020-05-08 12:21 UTC (permalink / raw
  To: gentoo-commits

commit:     a727f8e1d91146b44376d83fea08bd6a2a5fa423
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu May  7 14:19:10 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri May  8 12:20:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a727f8e1

sci-libs/coinor-dylp: new EAPI=7 version 1.10.4.

Analogous the other recent coinor-* version bumps. I've added some
comments explaining the weirdness that pervades these ebuilds.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-libs/coinor-dylp/Manifest                  |  2 +-
 sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild | 77 ++++++++++++++++++++++++++
 sci-libs/coinor-dylp/coinor-dylp-1.9.4.ebuild  | 63 ---------------------
 3 files changed, 78 insertions(+), 64 deletions(-)

diff --git a/sci-libs/coinor-dylp/Manifest b/sci-libs/coinor-dylp/Manifest
index 74ae72d65a3..5d9d4789a8f 100644
--- a/sci-libs/coinor-dylp/Manifest
+++ b/sci-libs/coinor-dylp/Manifest
@@ -1 +1 @@
-DIST DyLP-1.9.4.tgz 5049865 BLAKE2B 4e7ea46973845959bb4d0b0f24c380b10ec8245bd690a3fadf2fe14d136187a828e898e78afc5625543eec27a7af23d0a3def433259e61fb13d337ac4f4ccd93 SHA512 1dcad555f40b88aafaef0ca712731f3d4787900cefd2125eea9171d5dfdbea1888fd08b6767f50dcb915a0e2ad4e3430ed67d68026015b15af9032ed9231a069
+DIST coinor-dylp-1.10.4.tar.gz 2820973 BLAKE2B 29f74c314940e32b0e1c9c9bf6b9fc0515eeb98674d88e914445efaec2f97c92ff6e9de7d9b55f2427a1cf3d92fddb976915fbdc1ddd1df9fd0985e5b078ed2d SHA512 2fe3298007568cc9ed7626e72e7ed5c45611fb15120db06cdefd21e02b34a2c11a498b360489df1f00e8a897023419688e43dbb77edb690350b3ee2d4cd2781c

diff --git a/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild b/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild
new file mode 100644
index 00000000000..b36ea7976c8
--- /dev/null
+++ b/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN=DyLP
+
+DESCRIPTION="COIN-OR dynamic simplex linear program solver"
+HOMEPAGE="https://github.com/coin-or/DyLP/"
+SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz
+	-> ${P}.tar.gz"
+LICENSE="EPL-1.0"
+
+# major soname component
+SLOT="0/1"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples static-libs test"
+RESTRICT="!test? ( test )"
+
+# Fortran is NOT needed, but the ./configure scripts for all of the CoinOR
+# packages contain a check for it. Gentoo bug 601648 and upstream issue,
+#
+#   https://github.com/coin-or/CoinUtils/issues/132
+#
+BDEPEND="virtual/fortran
+	virtual/pkgconfig
+	doc? ( app-doc/doxygen[dot] )
+	test? ( sci-libs/coinor-sample )"
+
+DEPEND="sci-libs/coinor-osi:="
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PN}-releases-${PV}/${MY_PN}"
+
+src_prepare() {
+	# Needed to make the --with-coin-instdir in src_configure happy.
+	dodir /usr
+
+	# They don't need to guess at this, but they do, and get it wrong...
+	sed -e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \
+		-i configure \
+		|| die "failed to fix the pkgconfig path in ${S}/configure"
+
+	default
+}
+
+src_configure() {
+	local myeconfargs=(
+		--enable-dependency-linking
+		--with-coin-instdir="${ED}"/usr
+		$(use_with doc dot)
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+	emake all $(usex doc doxydoc "")
+}
+
+src_test() {
+	# NOT redundant! The build system has a "make check" target that does
+	# nothing, so if you don't specify "test" here, you'll get a no-op.
+	emake test
+}
+
+src_install() {
+	use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/")
+
+	emake DESTDIR="${D}" install
+
+	# Duplicate junk, and in the wrong location.
+	rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die
+
+	use examples && dodoc -r examples
+}

diff --git a/sci-libs/coinor-dylp/coinor-dylp-1.9.4.ebuild b/sci-libs/coinor-dylp/coinor-dylp-1.9.4.ebuild
deleted file mode 100644
index 6432f3ab4b2..00000000000
--- a/sci-libs/coinor-dylp/coinor-dylp-1.9.4.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools-utils multilib
-
-MYPN=DyLP
-
-DESCRIPTION="COIN-OR using the dynamic simplex linear programming solver"
-HOMEPAGE="https://projects.coin-or.org/DyLP/"
-SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
-
-LICENSE="EPL-1.0"
-SLOT="0/1"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples static-libs test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="sci-libs/coinor-osi:="
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	doc? ( app-doc/doxygen[dot] )
-	test? ( sci-libs/coinor-sample )"
-
-S="${WORKDIR}/${MYPN}-${PV}/${MYPN}"
-
-src_prepare() {
-	# needed for the --with-coin-instdir
-	dodir /usr
-	sed -i \
-		-e "s:lib/pkgconfig:$(get_libdir)/pkgconfig:g" \
-		configure || die
-	autotools-utils_src_prepare
-}
-
-src_configure() {
-	local myeconfargs=(
-		--enable-dependency-linking
-		--with-coin-instdir="${ED}"/usr
-		$(use_with doc dot)
-	)
-	autotools-utils_src_configure
-}
-
-src_compile() {
-	autotools-utils_src_compile all $(usex doc doxydoc "")
-}
-
-src_test() {
-	autotools-utils_src_test test
-}
-
-src_install() {
-	use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/")
-	autotools-utils_src_install
-	# already installed
-	rm "${ED}"/usr/share/coin/doc/${MYPN}/{README,AUTHORS,LICENSE} || die
-	if use examples; then
-		insinto /usr/share/doc/${PF}
-		doins -r examples
-	fi
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-dylp/
@ 2020-05-08 12:21 Michael Orlitzky
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Orlitzky @ 2020-05-08 12:21 UTC (permalink / raw
  To: gentoo-commits

commit:     0907d619ea7a54799a3b07b2111afea82dbf599e
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu May  7 13:49:22 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri May  8 12:20:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0907d619

sci-libs/coinor-dylp: add an "<upstream>" tag to metadata.xml.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-libs/coinor-dylp/metadata.xml | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/sci-libs/coinor-dylp/metadata.xml b/sci-libs/coinor-dylp/metadata.xml
index 5faa1834a14..0766bb7d975 100644
--- a/sci-libs/coinor-dylp/metadata.xml
+++ b/sci-libs/coinor-dylp/metadata.xml
@@ -1,15 +1,18 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="project">
-		<email>sci@gentoo.org</email>
-		<name>Gentoo Science Project</name>
-	</maintainer>
-	<longdescription lang="en">
-		DyLp is designed to find solutions of constrained linear mathematical
-		optimization problems. To this end, it is using a full implementation
-		of the so called dynamic simplex algorithm for linear programming.
-		DyLP is part of the larger COIN-OR initiative (Computational
-		Infrastructure for Operations Research).
-	</longdescription>
+  <maintainer type="project">
+    <email>sci@gentoo.org</email>
+    <name>Gentoo Science Project</name>
+  </maintainer>
+  <longdescription lang="en">
+    DyLP is designed to find solutions of constrained linear
+    mathematical optimization problems. To this end, it is using a
+    full implementation of the so called dynamic simplex algorithm for
+    linear programming.  DyLP is part of the larger COIN-OR initiative
+    (Computational Infrastructure for Operations Research).
+  </longdescription>
+  <upstream>
+    <remote-id type="github">coin-or/DyLP</remote-id>
+  </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-dylp/
@ 2022-11-19  4:50 WANG Xuerui
  0 siblings, 0 replies; 7+ messages in thread
From: WANG Xuerui @ 2022-11-19  4:50 UTC (permalink / raw
  To: gentoo-commits

commit:     2ddf9bf58a56913f43454e89ca0dc01234ab3402
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 19 02:42:13 2022 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Sat Nov 19 04:50:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ddf9bf5

sci-libs/coinor-dylp: keyword 1.10.4 for ~loong

Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild b/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild
index b36ea7976c84..f6fac58666ea 100644
--- a/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild
+++ b/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ LICENSE="EPL-1.0"
 # major soname component
 SLOT="0/1"
 
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~loong ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples static-libs test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-dylp/
@ 2023-03-07  0:18 Yixun Lan
  0 siblings, 0 replies; 7+ messages in thread
From: Yixun Lan @ 2023-03-07  0:18 UTC (permalink / raw
  To: gentoo-commits

commit:     52582e5b7f129320e5289dbbfaec8272201eb0e6
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  6 11:38:24 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Mar  7 00:14:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52582e5b

sci-libs/coinor-dylp: Keyword 1.10.4 riscv, #881389

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild b/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild
index f6fac58666ea..4e63c3062924 100644
--- a/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild
+++ b/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ LICENSE="EPL-1.0"
 # major soname component
 SLOT="0/1"
 
-KEYWORDS="~amd64 ~loong ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples static-libs test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-dylp/
@ 2024-09-05  4:08 Eli Schwartz
  0 siblings, 0 replies; 7+ messages in thread
From: Eli Schwartz @ 2024-09-05  4:08 UTC (permalink / raw
  To: gentoo-commits

commit:     5c4811008aca4a7eb169d6df8dd8620a292e7148
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  3 21:19:38 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Sep  5 04:07:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c481100

sci-libs/coinor-dylp: update EAPI 7 -> 8

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 .../{coinor-dylp-1.10.4.ebuild => coinor-dylp-1.10.4-r1.ebuild}         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild b/sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild
similarity index 99%
rename from sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild
rename to sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild
index 73b6503f67f9..416543e3ce4c 100644
--- a/sci-libs/coinor-dylp/coinor-dylp-1.10.4.ebuild
+++ b/sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 MY_PN=DyLP
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-dylp/
@ 2024-09-05  4:08 Eli Schwartz
  0 siblings, 0 replies; 7+ messages in thread
From: Eli Schwartz @ 2024-09-05  4:08 UTC (permalink / raw
  To: gentoo-commits

commit:     8756b866ab77cc876f85e1a5c011d27a1a190dd6
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  3 21:22:26 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Sep  5 04:07:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8756b866

sci-libs/coinor-dylp: make sure to run elibtoolize, drop .la files

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild b/sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild
index 416543e3ce4c..2fb4758ebad7 100644
--- a/sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild
+++ b/sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild
@@ -5,6 +5,8 @@ EAPI=8
 
 MY_PN=DyLP
 
+inherit libtool
+
 DESCRIPTION="COIN-OR dynamic simplex linear program solver"
 HOMEPAGE="https://github.com/coin-or/DyLP/"
 SRC_URI="https://github.com/coin-or/${MY_PN}/archive/releases/${PV}.tar.gz
@@ -43,6 +45,7 @@ src_prepare() {
 		|| die "failed to fix the pkgconfig path in ${S}/configure"
 
 	default
+	elibtoolize
 }
 
 src_configure() {
@@ -69,6 +72,7 @@ src_install() {
 	use doc && HTML_DOC=("${BUILD_DIR}/doxydocs/html/")
 
 	emake DESTDIR="${D}" install
+	find "${ED}" -type f -name '*.la' -delete || die
 
 	# Duplicate junk, and in the wrong location.
 	rm -r "${ED}/usr/share/coin/doc/${MY_PN}" || die


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-dylp/
@ 2024-09-05  4:08 Eli Schwartz
  0 siblings, 0 replies; 7+ messages in thread
From: Eli Schwartz @ 2024-09-05  4:08 UTC (permalink / raw
  To: gentoo-commits

commit:     25c2cc32eaa4dee3d227ffb0665a1f1ac83c9249
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  3 21:23:01 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Sep  5 04:07:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25c2cc32

sci-libs/coinor-dylp: mark as LTO-unsafe

It fails to compile correctly, tests fail, and the resulting library
fails to link when other packages try to use it. The reason is because
it checks for a SunOS symbol using an ancient autotools version that
relies on UB to detect whether it exists, then tries to link to it.

Upgrading autotools is complicated and the software is deprecated and in
maintenance mode, so no telling when it may be released. There are
commits in git master to update it but they are intermingled with
updating to unreleased dependency versions?

Closes: https://bugs.gentoo.org/862696
Closes: https://bugs.gentoo.org/878141
Closes: https://bugs.gentoo.org/878143
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild b/sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild
index 2fb4758ebad7..35272e786648 100644
--- a/sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild
+++ b/sci-libs/coinor-dylp/coinor-dylp-1.10.4-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 MY_PN=DyLP
 
-inherit libtool
+inherit flag-o-matic libtool
 
 DESCRIPTION="COIN-OR dynamic simplex linear program solver"
 HOMEPAGE="https://github.com/coin-or/DyLP/"
@@ -49,6 +49,11 @@ src_prepare() {
 }
 
 src_configure() {
+	# heavily vintage autotools relies on UB to detect SunOS
+	# https://bugs.gentoo.org/878143
+	# https://github.com/coin-or/DyLP/issues/27
+	filter-lto
+
 	local myeconfargs=(
 		--enable-dependency-linking
 		--with-coin-instdir="${ED}"/usr


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-09-05  4:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-08 12:21 [gentoo-commits] repo/gentoo:master commit in: sci-libs/coinor-dylp/ Michael Orlitzky
  -- strict thread matches above, loose matches on Subject: below --
2024-09-05  4:08 Eli Schwartz
2024-09-05  4:08 Eli Schwartz
2024-09-05  4:08 Eli Schwartz
2023-03-07  0:18 Yixun Lan
2022-11-19  4:50 WANG Xuerui
2020-05-08 12:21 Michael Orlitzky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox