summaryrefslogtreecommitdiff
path: root/sci-libs/cddlib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /sci-libs/cddlib
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'sci-libs/cddlib')
-rw-r--r--sci-libs/cddlib/Manifest4
-rw-r--r--sci-libs/cddlib/cddlib-094j.ebuild53
-rw-r--r--sci-libs/cddlib/metadata.xml35
3 files changed, 83 insertions, 9 deletions
diff --git a/sci-libs/cddlib/Manifest b/sci-libs/cddlib/Manifest
index e188ea0885cd..c99a16d6f548 100644
--- a/sci-libs/cddlib/Manifest
+++ b/sci-libs/cddlib/Manifest
@@ -2,8 +2,10 @@ AUX cdd_both_reps.c 6439 BLAKE2B bc370bafb19869bd72c2926dda0c9216a4fc768f60fd1ca
AUX cddlib-094g-add-cdd_both_reps-binary.patch 1210 BLAKE2B f0e8c1cae6cb108b3a77a5ab629550115acf21320fc0b288ff86f1ccb9df617ee4caaf20349270d27f66d965b94fad8b0a2f18ba344bb5b6e384554c3aa0060f SHA512 c69c6d2ebbfbf132a287032ac1470fcce0c0d1e000dd96501f271ff200034567056d3948626023722c83082289f40122b0eacf35d10d2497f36ab226a9316348
AUX cddlib-094h-add-cdd_both_reps-binary.patch 1601 BLAKE2B 9d4d3784a758bb9b6d156550cd56b6e1b39fb3b82e5002344c3c3d8025ca6f3b57201a414cf98f3fec9a88b8268ff4427a6bc2ba96e91df06f6618faaf4573d7 SHA512 ccd75d42aa3bb1f753197fd3be7a6561f0bf419396cfbd42a6072b9d27955c5d80eff71622c6b54b26ed6cbe03544ae3bf61e0773c5630f1ce964845e71f7015
AUX cddlib-094h-enforce-no-gmp.patch 1155 BLAKE2B e2111bd137f5f85c964023f63fe3b9da8bf0c5b5915051422faed4246d240006c87dd05de214a6f13f2ce4a7d1f804168d90020d32080ad121386d7207d37d4c SHA512 113f4d9cf812c46663a87e1c22c56e41717ac93b1e022f99ad011917cf96cd25ada7670e3270a40f3b9dbdf8e88e6cefe9fcc03971f0cf17488c9a59a1612de6
+DIST cddlib-0.94j.tar.gz 1364746 BLAKE2B 60e81fccf8abd8d60fb7261d1d2d61b7ad2b60285e7dfa760905e2cb5b01f1570c27920728c12fc6994135e4b29ba8e1709066ddf2e2eff00f8f48b093ebd43e SHA512 b82d5e06538a29143a79f7ba7287a1784292e28f086071041e500fd81387a30c3fca6fae9049752f57b62d50b385d73681276d42d24941e3a43893da00452ea6
DIST cddlib-094g.tar.gz 1383388 BLAKE2B c26f201f0369a931d672b192d6fab775210d2758e980cf867cf64f34d2ff3b23d862942507ae497c37723cdfe0c7beb55fe5d6cbe02349f576349579adbd4166 SHA512 e1053c6e34f79add53b2880c7664f9c20c0a6de636aa5de4c6a9dfc4d1d241221601c37d15e1833bcd5b1162512c3fbaed4046f771bc0a1e5753b713d6840b77
DIST cddlib-094h.tar.gz 1678116 BLAKE2B 619e26745c04338d97fb4ce2997c23a16017ed19e14dda24c9ef90b84253d5540361b4ccd68eafb65b6380cff95b58e9ec2bf587643e71084cd47ed87bdffbc9 SHA512 22160c88832b78dd568b58c1e097e4c6006f82580f1114a3ef03fc10bde98132337d5b555306b58b65aac6fea1534d9e09725907808c969de16c2dfc75f80204
EBUILD cddlib-094g.ebuild 1014 BLAKE2B e53740d143751c2a96efa2613e5d1df912805b44cb690f576c5bf036fcece1f708a92fbbc9cf5f20c05e66dce158b2e2a88fd65e4f33534fe25c15d156727c8f SHA512 f59749d1d10d844dfd97eafbbb1a752424f26af88652ff52d6f8a1fac2f1849051184a68c03f6bc82f548d0b550f12623c9ecce6c1e0aea2b1a9683779e57ef9
EBUILD cddlib-094h.ebuild 1133 BLAKE2B 691775959804f7daad4349aea12a1b6977f82439d4e1d2a791fdf2b74a5f7e27ca0f7c927c758b3e11783a26aa2c8bdc4ec18985ebd0f2fe8de5dcc0f5cf6a15 SHA512 82955079415a3be974df9393350cf0e58dbf3c5c84dee1460e4db0c6f96049b71798b21e9b4d6f986a3f6e65cbb652da2fccc569a3e34309fd0d1316ff8acc94
-MISC metadata.xml 1238 BLAKE2B 9ba70dc687c1759fca96fabab7455f0156c23913059f3953fe1f12c2f2cf5e69327c65d1525cac918aad06aa152efe7c078d6acb244e6918bd647e70dec7fe92 SHA512 f9422c30988d6e2ef87f650906dc500fd3dc8203745c5a8e261dbce3dd2daa307c9e8245deb64dad70a594a92f78ec2add3d77aacc94d2490ac2e9c1bfe1e4b1
+EBUILD cddlib-094j.ebuild 1399 BLAKE2B a226e70edb7db2206c6f81dc56da1ba066300167f5d08f75c99907a1930b13c2eba9bfe0d56d97bcf8a5113a9b342f64a5bf798908ccc3787eb60b727d2edd37 SHA512 1a976453e9e94dbfe84860b39c242e3e5c09b343a1cd6d0db2f91be1e1bed7fb07e12eb86e5fd690eb588462d96003a45c2ae5b14a31ef951930689530207189
+MISC metadata.xml 1817 BLAKE2B 3a75a0a27708d31cf58ec067ad25ffce663b3d52f90dd2437ce529bb4babf49a6e0461eee6841ef836f37caa2f7e4f62a762ea61094213fe10f9cd1e16951d99 SHA512 a50ed995ba248cf59ae3b2c2d5a8f91df9b08bd03cb48a14de0eabc79b44091d425b41d980952ac3eea6182e12ca235985f347bb67ac109993a47a545d1c4289
diff --git a/sci-libs/cddlib/cddlib-094j.ebuild b/sci-libs/cddlib/cddlib-094j.ebuild
new file mode 100644
index 000000000000..73468ab72e6d
--- /dev/null
+++ b/sci-libs/cddlib/cddlib-094j.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# This should have been dealt with versionator in the direction
+# 0.94x -> 094x - now we are screwed.
+MY_PV="0.94j"
+MY_P="${PN}-${MY_PV}"
+DESCRIPTION="C library implementing the Double Description Method"
+HOMEPAGE="https://www.inf.ethz.ch/personal/fukudak/cdd_home/"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples static-libs tools"
+
+DEPEND="dev-libs/gmp:0"
+RDEPEND="dev-libs/gmp:0="
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ if ! use tools; then
+ rm "${ED}"/usr/bin/* || die
+ fi
+
+ if ! use static-libs; then
+ find "${ED}" -name '*.la' -delete || die
+ fi
+
+ # Nobody wants the dvi/ps manual...
+ rm "${ED}/usr/share/doc/${PF}"/cddlibman.{dvi,ps} || die
+
+ # since the PDF manual is installed by default.
+ if ! use doc; then
+ rm "${ED}/usr/share/doc/${PF}"/cddlibman.pdf || die
+ fi
+
+ # The docs and examples are *both* installed by default, so we
+ # have to remove the examples if the user doesn't want them.
+ docompress -x "/usr/share/doc/${PF}"/examples{,-ext,-ine,-ine3d}
+ if ! use examples; then
+ rm -r "${ED}/usr/share/doc/${PF}"/examples{,-ext,-ine,-ine3d} || die
+ fi
+}
diff --git a/sci-libs/cddlib/metadata.xml b/sci-libs/cddlib/metadata.xml
index a93a12f9174f..eebce0ab1969 100644
--- a/sci-libs/cddlib/metadata.xml
+++ b/sci-libs/cddlib/metadata.xml
@@ -1,29 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>mjo@gentoo.org</email>
+ </maintainer>
+ <!--
+ mjo: François maintained this package in the sage-on-gentoo overlay
+ long before I moved it into ::gentoo. You don't need an ACK from me
+ to merge his changes.
+ -->
+ <maintainer type="person">
+ <email>frp.bissey@gmail.com</email>
+ <name>François Bissey</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<maintainer type="project">
<email>sci-mathematics@gentoo.org</email>
<name>Gentoo Mathematics Project</name>
</maintainer>
<longdescription lang="en">
- The C-library cddlib is a C implementation of the Double Description
+ The C-library cddlib is a C implementation of the Double Description
Method of Motzkin et al. for generating all vertices (i.e. extreme points)
- and extreme rays of a general convex polyhedron in R^d given by a system
+ and extreme rays of a general convex polyhedron in R^d given by a system
of linear inequalities:
-
+
P = { x=(x1, ..., xd)^T : b - A x &gt;= 0 }
- where A is a given m x d real matrix, b is a given m-vector
+ where A is a given m x d real matrix, b is a given m-vector
and 0 is the m-vector of all zeros.
-
+
The program can be used for the reverse operation (i.e. convex hull
- computation). This means that one can move back and forth between
- an inequality representation and a generator (i.e. vertex and ray)
+ computation). This means that one can move back and forth between
+ an inequality representation and a generator (i.e. vertex and ray)
representation of a polyhedron with cdd. Also, cdd can solve a linear
- programming problem, i.e. a problem of maximizing and minimizing
+ programming problem, i.e. a problem of maximizing and minimizing
a linear function over P.
</longdescription>
<use>
<flag name="tools">Add a few executables and tests for cddlib</flag>
</use>
+ <upstream>
+ <remote-id type="github">cddlib/cddlib</remote-id>
+ </upstream>
</pkgmetadata>