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/pari/
Date: Wed, 22 Sep 2021 15:02:36
Message-Id: 1632322566.00e408c35215c9852c313e70b4ccc9c7c1d859a2.mjo@gentoo
1 commit: 00e408c35215c9852c313e70b4ccc9c7c1d859a2
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 22 13:55:05 2021 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 22 14:56:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e408c3
7
8 sci-mathematics/pari: remove old "unused" 2.13.x ebuilds.
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
12
13 sci-mathematics/pari/Manifest | 2 -
14 sci-mathematics/pari/pari-2.13.0.ebuild | 121 ----------------------------
15 sci-mathematics/pari/pari-2.13.1-r1.ebuild | 122 -----------------------------
16 3 files changed, 245 deletions(-)
17
18 diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest
19 index 00a342bde85..9c863fc84b9 100644
20 --- a/sci-mathematics/pari/Manifest
21 +++ b/sci-mathematics/pari/Manifest
22 @@ -1,4 +1,2 @@
23 DIST pari-2.11.4.tar.gz 4445000 BLAKE2B e910783186eeb71e74a369681c113b77271abd7f87d7a9f366aea83f36ab984f02e312cd451fad7ee6efb2fa285780e8fa78540bb1fd4b135a62d265176c80e0 SHA512 1312f452244cd1d814a1e43e108378c956669b614845f21199b7039fe6462881168983d4badb8a80bb1bac202cd82d92788a2b4f3c23d16f993cae6e251c4fe1
24 -DIST pari-2.13.0.tar.gz 4758091 BLAKE2B 21a008fbca9af60c7298daf2db5c596cf881fbf4748899f417e317b2e2c0a951d152ffdab061a5f7da73db65345134a90d91e57069d9f0d0ac6eb2ad470a7a98 SHA512 671bed101be0ba0eef2c4aa4d9580477f2492f2cd354f04773df00c2fa1456d1d6d8e568d617675dc4adce3e6d1f8cbaafae45452891ceb10eba60cd669b529f
25 -DIST pari-2.13.1.tar.gz 4760932 BLAKE2B 50c8be1d07f303665013623f07109ef42a6d82ea88e4795c90be8ae4c714f78c2f009df40c457cc1c45f1591e5b8550965a35e3c9c272b8cd17508d774ef182e SHA512 57d0811c66d58ce6abf4d34d3f2ee98efaa22aa5f65941b8bd3d2ceaf5ba57447a8fe334b9587387b31298c85f19ec356a9db05d11dc6d956f921e7fc7d1596e
26 DIST pari-2.13.2.tar.gz 4766461 BLAKE2B f765edaee8e3b85f859edb1ac82f20aab6cda1a1bb87a2bfaf2de0824d401aef8d5f559a95bc2da565b492f49445b7cf9bcce45376b100e6ca736d82a381ca88 SHA512 ee034e4f2d385755aa5fcddb8b562a2faf4d847591d35c47461e3cbf01382da3a85f004685c842e0c530fdb29e384b69dc496a568b9b204e276b4c8e27afd382
27
28 diff --git a/sci-mathematics/pari/pari-2.13.0.ebuild b/sci-mathematics/pari/pari-2.13.0.ebuild
29 deleted file mode 100644
30 index bc5709ab338..00000000000
31 --- a/sci-mathematics/pari/pari-2.13.0.ebuild
32 +++ /dev/null
33 @@ -1,121 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit flag-o-matic toolchain-funcs
40 -
41 -DESCRIPTION="Computer-aided number theory C library and tools"
42 -HOMEPAGE="https://pari.math.u-bordeaux.fr/"
43 -SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz"
44 -
45 -LICENSE="GPL-2"
46 -
47 -# The subslot is the value of $soname_num obtained from
48 -# upstream's config/version script.
49 -SLOT="0/7"
50 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
51 -IUSE="data doc fltk gmp test threads X"
52 -RESTRICT="!test? ( test )"
53 -
54 -BDEPEND="
55 - virtual/pkgconfig
56 - doc? ( virtual/latex-base )
57 -"
58 -DEPEND="
59 - sys-libs/readline:0=
60 - data? ( sci-mathematics/pari-data )
61 - doc? ( X? ( x11-misc/xdg-utils ) )
62 - fltk? ( x11-libs/fltk:1= )
63 - gmp? ( dev-libs/gmp:0= )
64 - X? ( x11-libs/libX11:0= )"
65 -RDEPEND="${DEPEND}"
66 -
67 -PATCHES=(
68 - "${FILESDIR}/${PN}"-2.9.4-strip.patch
69 - "${FILESDIR}/${PN}"-2.9.4-ppc.patch
70 - "${FILESDIR}/${PN}"-2.11.2-no-automagic.patch
71 - "${FILESDIR}/${PN}"-2.9.4-fltk-detection.patch
72 - "${FILESDIR}/${PN}"-2.11.2-Makefile-LDFLAGS.patch
73 - "${FILESDIR}/${PN}"-2.11.2-Makefile-docinstall.patch
74 -)
75 -
76 -src_prepare() {
77 - default
78 -
79 - # move doc dir to a gentoo doc dir and replace acroread by xdg-open
80 - sed -i \
81 - -e "s:\$d = \$0:\$d = '${EPREFIX}/usr/share/doc/${PF}':" \
82 - -e 's:"acroread":"xdg-open":' \
83 - doc/gphelp.in || die "Failed to fix doc dir"
84 -}
85 -
86 -src_configure() {
87 - tc-export CC CXX PKG_CONFIG
88 -
89 - # Workaraound to "asm operand has impossible constraints" as
90 - # suggested in bug #499996.
91 - use x86 && append-cflags $(test-flags-CC -fno-stack-check)
92 -
93 - # need to force optimization here, as it breaks without
94 - if is-flag -O0; then
95 - replace-flags -O0 -O2
96 - elif ! is-flag -O?; then
97 - append-flags -O2
98 - fi
99 -
100 - # sysdatadir installs a pari.cfg stuff which is informative only.
101 - # It is supposed to be for "architecture-dependent" data.
102 - # It needs to be easily discoverable for downstream packages such as gp2c.
103 - # We set LD to "" so that it is set to the value of the compiler used
104 - # which is how a normal end user is expected to configure it. pari's build
105 - # system do not cope very well with a naked linker, it is expecting a
106 - # compiler driver. See https://bugs.gentoo.org/722090
107 - LD="" ./Configure \
108 - --prefix="${EPREFIX}"/usr \
109 - --datadir="${EPREFIX}/usr/share/${PN}" \
110 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
111 - --sysdatadir="${EPREFIX}"/usr/share/pari \
112 - --mandir="${EPREFIX}"/usr/share/man/man1 \
113 - --with-readline="${EPREFIX}"/usr \
114 - --with-readline-lib="${EPREFIX}/usr/$(get_libdir)" \
115 - --with-ncurses-lib="${EPREFIX}/usr/$(get_libdir)" \
116 - $(use_with fltk) \
117 - $(use_with gmp) \
118 - --without-qt \
119 - $(usex threads "--mt=pthread" "" "" "") \
120 - || die "./Configure failed"
121 -}
122 -
123 -src_compile() {
124 - local mymake=""
125 - use hppa && \
126 - mymake=DLLD\="${EPREFIX}"/usr/bin/gcc\ DLLDFLAGS\=-shared\ -Wl,-soname=\$\(LIBPARI_SONAME\)\ -lm
127 -
128 - emake ${mymake} gp
129 -
130 - if use doc; then
131 - # To prevent sandbox violations by metafont
132 - VARTEXFONTS="${T}/fonts" emake docpdf
133 - fi
134 -}
135 -
136 -src_test() {
137 - # Welcome to the jungle, where the tests fail if you make your
138 - # terminal bigger.
139 - emake COLUMNS=80 test-all
140 -}
141 -
142 -src_install() {
143 - DOCS=( AUTHORS CHANGES* COMPAT NEW README* )
144 - default
145 -
146 - if use doc; then
147 - docompress -x "/usr/share/doc/${PF}"
148 - emake \
149 - DESTDIR="${D}" \
150 - EXDIR="${ED}/usr/share/doc/${PF}/examples" \
151 - DOCDIR="${ED}/usr/share/doc/${PF}" \
152 - install-doc
153 - fi
154 -}
155
156 diff --git a/sci-mathematics/pari/pari-2.13.1-r1.ebuild b/sci-mathematics/pari/pari-2.13.1-r1.ebuild
157 deleted file mode 100644
158 index 12230c7f452..00000000000
159 --- a/sci-mathematics/pari/pari-2.13.1-r1.ebuild
160 +++ /dev/null
161 @@ -1,122 +0,0 @@
162 -# Copyright 1999-2021 Gentoo Authors
163 -# Distributed under the terms of the GNU General Public License v2
164 -
165 -EAPI=7
166 -
167 -inherit flag-o-matic toolchain-funcs
168 -
169 -DESCRIPTION="Computer-aided number theory C library and tools"
170 -HOMEPAGE="https://pari.math.u-bordeaux.fr/"
171 -SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz"
172 -
173 -LICENSE="GPL-2"
174 -
175 -# The subslot is the value of $soname_num obtained from
176 -# upstream's config/version script.
177 -SLOT="0/7"
178 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
179 -IUSE="data doc fltk gmp test threads X"
180 -RESTRICT="!test? ( test )"
181 -
182 -BDEPEND="
183 - virtual/pkgconfig
184 - doc? ( virtual/latex-base )
185 -"
186 -DEPEND="
187 - sys-libs/readline:0=
188 - data? ( sci-mathematics/pari-data )
189 - doc? ( X? ( x11-misc/xdg-utils ) )
190 - fltk? ( x11-libs/fltk:1= )
191 - gmp? ( dev-libs/gmp:0= )
192 - X? ( x11-libs/libX11:0= )"
193 -RDEPEND="${DEPEND}"
194 -
195 -PATCHES=(
196 - "${FILESDIR}/${PN}"-2.9.4-strip.patch
197 - "${FILESDIR}/${PN}"-2.9.4-ppc.patch
198 - "${FILESDIR}/${PN}"-2.11.2-no-automagic.patch
199 - "${FILESDIR}/${PN}"-2.9.4-fltk-detection.patch
200 - "${FILESDIR}/${PN}"-2.11.2-Makefile-LDFLAGS.patch
201 - "${FILESDIR}/${PN}"-2.11.2-Makefile-docinstall.patch
202 - "${FILESDIR}/${P}"-rnfdisc.patch
203 -)
204 -
205 -src_prepare() {
206 - default
207 -
208 - # move doc dir to a gentoo doc dir and replace acroread by xdg-open
209 - sed -i \
210 - -e "s:\$d = \$0:\$d = '${EPREFIX}/usr/share/doc/${PF}':" \
211 - -e 's:"acroread":"xdg-open":' \
212 - doc/gphelp.in || die "Failed to fix doc dir"
213 -}
214 -
215 -src_configure() {
216 - tc-export CC CXX PKG_CONFIG
217 -
218 - # Workaraound to "asm operand has impossible constraints" as
219 - # suggested in bug #499996.
220 - use x86 && append-cflags $(test-flags-CC -fno-stack-check)
221 -
222 - # need to force optimization here, as it breaks without
223 - if is-flag -O0; then
224 - replace-flags -O0 -O2
225 - elif ! is-flag -O?; then
226 - append-flags -O2
227 - fi
228 -
229 - # sysdatadir installs a pari.cfg stuff which is informative only.
230 - # It is supposed to be for "architecture-dependent" data.
231 - # It needs to be easily discoverable for downstream packages such as gp2c.
232 - # We set LD to "" so that it is set to the value of the compiler used
233 - # which is how a normal end user is expected to configure it. pari's build
234 - # system do not cope very well with a naked linker, it is expecting a
235 - # compiler driver. See https://bugs.gentoo.org/722090
236 - LD="" ./Configure \
237 - --prefix="${EPREFIX}"/usr \
238 - --datadir="${EPREFIX}/usr/share/${PN}" \
239 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
240 - --sysdatadir="${EPREFIX}"/usr/share/pari \
241 - --mandir="${EPREFIX}"/usr/share/man/man1 \
242 - --with-readline="${EPREFIX}"/usr \
243 - --with-readline-lib="${EPREFIX}/usr/$(get_libdir)" \
244 - --with-ncurses-lib="${EPREFIX}/usr/$(get_libdir)" \
245 - $(use_with fltk) \
246 - $(use_with gmp) \
247 - --without-qt \
248 - $(usex threads "--mt=pthread" "" "" "") \
249 - || die "./Configure failed"
250 -}
251 -
252 -src_compile() {
253 - local mymake=""
254 - use hppa && \
255 - mymake=DLLD\="${EPREFIX}"/usr/bin/gcc\ DLLDFLAGS\=-shared\ -Wl,-soname=\$\(LIBPARI_SONAME\)\ -lm
256 -
257 - emake ${mymake} gp
258 -
259 - if use doc; then
260 - # To prevent sandbox violations by metafont
261 - VARTEXFONTS="${T}/fonts" emake docpdf
262 - fi
263 -}
264 -
265 -src_test() {
266 - # Welcome to the jungle, where the tests fail if you make your
267 - # terminal bigger.
268 - emake COLUMNS=80 test-all
269 -}
270 -
271 -src_install() {
272 - DOCS=( AUTHORS CHANGES* COMPAT NEW README* )
273 - default
274 -
275 - if use doc; then
276 - docompress -x "/usr/share/doc/${PF}"
277 - emake \
278 - DESTDIR="${D}" \
279 - EXDIR="${ED}/usr/share/doc/${PF}/examples" \
280 - DOCDIR="${ED}/usr/share/doc/${PF}" \
281 - install-doc
282 - fi
283 -}