Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/normaliz/
Date: Tue, 16 Aug 2022 11:37:34
Message-Id: 1660649756.593939033ea059c02c1af39c05326277fdbf70ec.mjo@gentoo
1 commit: 593939033ea059c02c1af39c05326277fdbf70ec
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 16 11:35:42 2022 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 16 11:35:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59393903
7
8 sci-mathematics/normaliz: drop 3.1.3-r1, 3.8.10-r1
9
10 Closes: https://bugs.gentoo.org/625912
11 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
12
13 sci-mathematics/normaliz/Manifest | 2 -
14 sci-mathematics/normaliz/normaliz-3.1.3-r1.ebuild | 69 ----------------------
15 sci-mathematics/normaliz/normaliz-3.8.10-r1.ebuild | 62 -------------------
16 3 files changed, 133 deletions(-)
17
18 diff --git a/sci-mathematics/normaliz/Manifest b/sci-mathematics/normaliz/Manifest
19 index 526cf8e4b9a9..dca93e793264 100644
20 --- a/sci-mathematics/normaliz/Manifest
21 +++ b/sci-mathematics/normaliz/Manifest
22 @@ -1,3 +1 @@
23 -DIST normaliz-3.1.3.tar.gz 3075453 BLAKE2B 0860b466dfa5335a58a496c21f7567e7e4682b07c73e36dbbd947eb65500e03758577d32355adb02fa4e271ca2f49bc5cb0449e26f1bdd11eab2dd5dbafd8f17 SHA512 c7fb1620e758dc59de88f0d7c55f50db0f67be772a00af27205e478f30c3836b7cf012a16a8adfdee3f0367d3adb4e3f887dc7d03793a7ca1601968ddb1946ce
24 -DIST normaliz-3.8.10.tar.gz 5086191 BLAKE2B b40de665718dc1cee8a7246ccfb9b8496bdfa0754408f0260421352f1b4776133047ed1a5e8e0f044bdc15dde63a9f7d9ea1721773f36ecdccce3a8575493772 SHA512 8755011b1305b571d6bef7b6200e01bb56dbadce3f67de022fae0ef42c69c095b1f7cd2a2a432282098277ee39aa17caeffda15c806b28a6060a737930d5b82c
25 DIST normaliz-3.9.3.tar.gz 4946498 BLAKE2B 3faff64fda86216ee11b0f55ba1341d70988472f65eedafe5b52bf6b05abd817add2dbab45144de0a43d02c501caf3c4a89d66c2b2d621b81188a2a5100d158f SHA512 5d6866cc35835c196d22d6b4b0d5f0e3e2e00f772553115fbbabd8415b20388cf367cf9a282904a72c03c2ef482b804f7009d67e3334add4fc37f3bab675da6c
26
27 diff --git a/sci-mathematics/normaliz/normaliz-3.1.3-r1.ebuild b/sci-mathematics/normaliz/normaliz-3.1.3-r1.ebuild
28 deleted file mode 100644
29 index a2d3890c2854..000000000000
30 --- a/sci-mathematics/normaliz/normaliz-3.1.3-r1.ebuild
31 +++ /dev/null
32 @@ -1,69 +0,0 @@
33 -# Copyright 1999-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -inherit toolchain-funcs versionator
39 -
40 -MYP="Normaliz-${PV}"
41 -
42 -DESCRIPTION="Tool for computations in affine monoids and more"
43 -HOMEPAGE="http://www.mathematik.uni-osnabrueck.de/normaliz/"
44 -SRC_URI="https://github.com/Normaliz/Normaliz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="GPL-3"
47 -SLOT="0"
48 -KEYWORDS="amd64 ~arm x86"
49 -IUSE="doc extras openmp"
50 -
51 -RDEPEND="
52 - dev-libs/gmp[cxx(+)]
53 -"
54 -DEPEND="${RDEPEND}
55 - doc? ( app-text/texlive )
56 - dev-libs/boost"
57 -# Only a boost header is needed -> not RDEPEND
58 -
59 -S=${WORKDIR}/${MYP}
60 -
61 -pkg_pretend() {
62 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
63 -}
64 -
65 -pkg_setup() {
66 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
67 -}
68 -
69 -src_prepare() {
70 - ./bootstrap.sh || die
71 - default
72 -}
73 -
74 -src_configure() {
75 - econf $(use_enable openmp)
76 -}
77 -
78 -src_install() {
79 - default
80 - if use doc ; then
81 - pushd doc
82 - pdflatex Normaliz || die
83 - pdflatex Normaliz || die
84 - dodoc "Normaliz.pdf"
85 - pdflatex NmzIntegrate || die
86 - pdflatex NmzIntegrate || die
87 - dodoc "NmzIntegrate.pdf"
88 - popd
89 - fi
90 - if use extras; then
91 - elog "You have selected to install extras which consist of Macaulay2"
92 - elog "and Singular packages. These have been installed into "
93 - elog "/usr/share/${PN}, and cannot be used without additional setup. Please refer"
94 - elog "to the homepages of the respective projects for additional information."
95 - elog "Note however, Gentoo's versions of Singular and Macaulay2 bring their own"
96 - elog "copies of these interface packages. Usually you don't need normaliz's versions."
97 - insinto "/usr/share/${PN}"
98 - doins Singular/normaliz.lib
99 - doins Macaulay2/Normaliz.m2
100 - fi
101 -}
102
103 diff --git a/sci-mathematics/normaliz/normaliz-3.8.10-r1.ebuild b/sci-mathematics/normaliz/normaliz-3.8.10-r1.ebuild
104 deleted file mode 100644
105 index d696ca7b9817..000000000000
106 --- a/sci-mathematics/normaliz/normaliz-3.8.10-r1.ebuild
107 +++ /dev/null
108 @@ -1,62 +0,0 @@
109 -# Copyright 1999-2022 Gentoo Authors
110 -# Distributed under the terms of the GNU General Public License v2
111 -
112 -EAPI=7
113 -
114 -inherit autotools toolchain-funcs
115 -
116 -DESCRIPTION="Tool for computations in affine monoids and more"
117 -HOMEPAGE="http://www.mathematik.uni-osnabrueck.de/normaliz/"
118 -SRC_URI="https://github.com/Normaliz/Normaliz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
119 -S="${WORKDIR}/Normaliz-${PV}"
120 -
121 -LICENSE="GPL-3"
122 -SLOT="0/3"
123 -KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
124 -IUSE="doc extras openmp"
125 -
126 -# would be nice to package scip and cocoalib
127 -RDEPEND="
128 - dev-libs/gmp:=[cxx(+)]
129 -"
130 -DEPEND="
131 - ${RDEPEND}
132 - dev-libs/boost
133 -"
134 -# Only a boost header is needed -> not RDEPEND
135 -
136 -pkg_pretend() {
137 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
138 -}
139 -
140 -pkg_setup() {
141 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
142 -}
143 -
144 -src_prepare() {
145 - default
146 - eautoreconf
147 -}
148 -
149 -src_configure() {
150 - econf \
151 - $(use_enable openmp) \
152 - --disable-static
153 -}
154 -
155 -src_test() {
156 - emake check
157 -}
158 -
159 -src_install() {
160 - default
161 - find "${ED}" -name "*.la" -delete || die
162 -
163 - use doc && dodoc doc/Normaliz.pdf
164 - if use extras; then
165 - newdoc Singular/normaliz.pdf singular-normaliz.pdf
166 - insinto /usr/share/${PN}
167 - doins Singular/normaliz.lib
168 - doins Macaulay2/Normaliz.m2
169 - fi
170 -}