summaryrefslogtreecommitdiff
path: root/sci-libs/coinor-bcp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /sci-libs/coinor-bcp
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'sci-libs/coinor-bcp')
-rw-r--r--sci-libs/coinor-bcp/Manifest6
-rw-r--r--sci-libs/coinor-bcp/coinor-bcp-1.3.8.ebuild59
-rw-r--r--sci-libs/coinor-bcp/coinor-bcp-1.4.4.ebuild56
-rw-r--r--sci-libs/coinor-bcp/metadata.xml3
4 files changed, 62 insertions, 62 deletions
diff --git a/sci-libs/coinor-bcp/Manifest b/sci-libs/coinor-bcp/Manifest
index 6c60d01b189c..f11f4dfc112a 100644
--- a/sci-libs/coinor-bcp/Manifest
+++ b/sci-libs/coinor-bcp/Manifest
@@ -1,3 +1,3 @@
-DIST Bcp-1.3.8.tgz 7086225 BLAKE2B 755aeafb9412ed94c7227e6986c2a7e5a26e4bea8084bcd09b517cd9794fe456195cb664f8d341625e8a86552c6ed1ab470c99c8a567d34be9be06ead51cbff4 SHA512 c599cc60df37cab32cfbf24522efaababbdd2de6144c316390f5e0481863ffd6aec016f97188a610ae6aca8d4e5b1b8088a35bc81bd3448fadb1727a9e9663dd
-EBUILD coinor-bcp-1.3.8.ebuild 1214 BLAKE2B 4aeff992510b6bf9deed2de04431272801ddb562762ef74fd0f19af520c34edbbdbdb16397cbc494d9c97d9196e488b4c059475c0a41875f769f27bf67efdc8f SHA512 db07289455d303fd2887b0c782a1733c78f9383d4d2f17d4a5ba7e7c5edfc33e7befffe40eb72ad00f06da4ba1909dcc98d41934b77315c60f1f49bd3f79f760
-MISC metadata.xml 678 BLAKE2B 36e740bad7d43c6b0ceee608d4fc36d05ea7d48b17be36cca19ee17650286243c7af2990b71348ac8e3ceeb0b8e023bbbfd993e536da93896718770e20b2c4e0 SHA512 87b752c9aee7c212f00c4af9b4fb8b11ef7135dfada88f190528f339ad0a63570e2d57add7c81fecb8a65833039705fab2ac6bad8433eef66100a4f7f3967c05
+DIST coinor-bcp-1.4.4.tar.gz 1983573 BLAKE2B 79265c0336ca719b417825df2f27e88c08c314e599693e8886170fe69755b3272aa05469bfc069660c979e4a273ca63a25fc4d3a86a695838039121fa98a14bd SHA512 066ad631a67ccf33eebc175451f4734cbf190cb4fd9866dec987d80688a69400b76415de65ee9399b1a8ccfdf3bf3af307245610481a6d673598bc157c3963bc
+EBUILD coinor-bcp-1.4.4.ebuild 1286 BLAKE2B cacfeb014ef35c6c25d7296bce2bb975d686a1ae1ee79fba63ff3f20734283aa2b597a25994ddde5083de9a9b1b74eecb8a90de77c88a24593b7c18a323918db SHA512 6a7e1253bb1635ac0811c64162a915c5ed15d4868d561cbcbdcdd5183145e87799a6c5204136eb3303080436e2039e6552cd1e6a9cddcaf87df9c26c901f7600
+MISC metadata.xml 754 BLAKE2B 42bb77241c68a9f2e81c4a50350fd25d42ccbab57cefc743ea0eea119b6ef530d512c89fcfc598a1f0b5ddb67ae8477c93cb61b7bddd7c242bff20acff4c57d3 SHA512 9dc6b85158dfe5ccb8820338f45c8ee1b1b7ce926ec7a41b3dae25210b99de72b87d8560e7f4a1a0772a35f5cabc2fa261fc0044e0d4c5c826f0c61034b8b6cd
diff --git a/sci-libs/coinor-bcp/coinor-bcp-1.3.8.ebuild b/sci-libs/coinor-bcp/coinor-bcp-1.3.8.ebuild
deleted file mode 100644
index 3d6c69d92d7a..000000000000
--- a/sci-libs/coinor-bcp/coinor-bcp-1.3.8.ebuild
+++ /dev/null
@@ -1,59 +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=Bcp
-
-DESCRIPTION="COIN-OR Branch-Cut-Price Framework"
-HOMEPAGE="https://projects.coin-or.org/Bcp/"
-SRC_URI="http://www.coin-or.org/download/source/${MYPN}/${MYPN}-${PV}.tgz"
-
-LICENSE="CPL-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-cgl:=
- sci-libs/coinor-clp:=
- sci-libs/coinor-vol:="
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- 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_test() {
- autotools-utils_src_test test
-}
-
-src_install() {
- autotools-utils_src_install
- use doc && newdoc doc/man.pdf manual.pdf
- if use examples; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
-}
diff --git a/sci-libs/coinor-bcp/coinor-bcp-1.4.4.ebuild b/sci-libs/coinor-bcp/coinor-bcp-1.4.4.ebuild
new file mode 100644
index 000000000000..b4b5f58fbe9e
--- /dev/null
+++ b/sci-libs/coinor-bcp/coinor-bcp-1.4.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="COIN-OR Branch-Cut-Price Framework"
+HOMEPAGE="https://projects.coin-or.org/Bcp/"
+SRC_URI="https://github.com/coin-or/Bcp/archive/releases/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/Bcp-releases-${PV}/Bcp"
+
+LICENSE="CPL-1.0"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ sci-libs/coinor-clp:=
+ sci-libs/coinor-osi:=
+ sci-libs/coinor-utils:=
+ sci-libs/coinor-vol:="
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )
+ test? ( sci-libs/coinor-sample )"
+
+src_prepare() {
+ default
+ # Prevent unneeded call to pkg-config that needs ${ED}'s in path.
+ sed -i '/--libs.*addlibs.txt/d' Makefile.in || die
+}
+
+src_configure() {
+ econf $(use_with doc dot)
+}
+
+src_compile() {
+ emake all $(usex doc doxydoc '')
+}
+
+src_test() {
+ # Unneeded for Bcp given, while "make check" exists, it fails unlike
+ # other coinor-*'s noop. Kept as safety not to lose tests in bumps.
+ emake test
+}
+
+src_install() {
+ default
+ dodoc -r examples
+ use doc && dodoc -r doxydoc/html
+
+ # Duplicate or irrelevant files.
+ rm -r "${ED}"/usr/share/coin/doc || die
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/sci-libs/coinor-bcp/metadata.xml b/sci-libs/coinor-bcp/metadata.xml
index 62cd7e19b452..c3a5ce296e0c 100644
--- a/sci-libs/coinor-bcp/metadata.xml
+++ b/sci-libs/coinor-bcp/metadata.xml
@@ -13,4 +13,7 @@
the implementational effort. involved with implementing a branch and
bound framework from scratch.
</longdescription>
+ <upstream>
+ <remote-id type="github">coin-or/Bcp</remote-id>
+ </upstream>
</pkgmetadata>