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: Fri, 03 Jun 2022 10:59:20
Message-Id: 1654253863.6509fa320f03684bdca19f2f282aa979ba717770.mjo@gentoo
1 commit: 6509fa320f03684bdca19f2f282aa979ba717770
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 3 10:57:43 2022 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 3 10:57:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6509fa32
7
8 sci-mathematics/pari: remove old "unused" pari-2.13.3.ebuild.
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
12
13 sci-mathematics/pari/Manifest | 1 -
14 sci-mathematics/pari/pari-2.13.3.ebuild | 121 --------------------------------
15 2 files changed, 122 deletions(-)
16
17 diff --git a/sci-mathematics/pari/Manifest b/sci-mathematics/pari/Manifest
18 index 78bf342e60f0..16ff43f06c1e 100644
19 --- a/sci-mathematics/pari/Manifest
20 +++ b/sci-mathematics/pari/Manifest
21 @@ -1,2 +1 @@
22 -DIST pari-2.13.3.tar.gz 4768312 BLAKE2B e6df23d3929ef1549009eb82c628cc2b9f1f3a446b2c2b246e157b93859006c3f4526c6fef4b975be87b9c6c011e179c169b4f237981c2ca1e02df0adbc4c00a SHA512 16cc20e44bc9b408798a86ffc31f8096e5adc01e0b8f7620e3d03201d71ddbe1d1bfecb22ab69c5b03270e9e97657042de29bb2055173b0d4cf169ec4373972b
23 DIST pari-2.13.4.tar.gz 4772735 BLAKE2B 5a3eebd380f1e47f38746b03ddde9a715ed74e7e8e4ed30ef8f2d62cf7289694b800fc8396557150ce9d79245c244fb56cecddac867c6057b438da4df68505e6 SHA512 0eb8c0100d76fb8f29fd29e6a49e9534b9a4d90e1869820dbfddd57fe444f0e83909947331823157a67be31f71a5d26fa1224f72ce3f9e5197db0194c417b9b9
24
25 diff --git a/sci-mathematics/pari/pari-2.13.3.ebuild b/sci-mathematics/pari/pari-2.13.3.ebuild
26 deleted file mode 100644
27 index 2b6dd7c50043..000000000000
28 --- a/sci-mathematics/pari/pari-2.13.3.ebuild
29 +++ /dev/null
30 @@ -1,121 +0,0 @@
31 -# Copyright 1999-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=8
35 -
36 -inherit flag-o-matic toolchain-funcs
37 -
38 -DESCRIPTION="Computer-aided number theory C library and tools"
39 -HOMEPAGE="https://pari.math.u-bordeaux.fr/"
40 -SRC_URI="https://pari.math.u-bordeaux.fr/pub/${PN}/unix/${P}.tar.gz"
41 -
42 -LICENSE="GPL-2"
43 -
44 -# The subslot is the value of $soname_num obtained from
45 -# upstream's config/version script.
46 -SLOT="0/7"
47 -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
48 -IUSE="data doc fltk gmp test threads X"
49 -RESTRICT="!test? ( test )"
50 -
51 -BDEPEND="
52 - virtual/pkgconfig
53 - doc? ( virtual/latex-base )
54 -"
55 -DEPEND="
56 - sys-libs/readline:0=
57 - data? ( sci-mathematics/pari-data )
58 - doc? ( X? ( x11-misc/xdg-utils ) )
59 - fltk? ( x11-libs/fltk:1= )
60 - gmp? ( dev-libs/gmp:0= )
61 - X? ( x11-libs/libX11:0= )"
62 -RDEPEND="${DEPEND}"
63 -
64 -PATCHES=(
65 - "${FILESDIR}/${PN}"-2.9.4-strip.patch
66 - "${FILESDIR}/${PN}"-2.9.4-ppc.patch
67 - "${FILESDIR}/${PN}"-2.11.2-no-automagic.patch
68 - "${FILESDIR}/${PN}"-2.9.4-fltk-detection.patch
69 - "${FILESDIR}/${PN}"-2.11.2-Makefile-LDFLAGS.patch
70 - "${FILESDIR}/${PN}"-2.11.2-Makefile-docinstall.patch
71 -)
72 -
73 -src_prepare() {
74 - default
75 -
76 - # move doc dir to a gentoo doc dir and replace acroread by xdg-open
77 - sed -i \
78 - -e "s:\$d = \$0:\$d = '${EPREFIX}/usr/share/doc/${PF}':" \
79 - -e 's:"acroread":"xdg-open":' \
80 - doc/gphelp.in || die "Failed to fix doc dir"
81 -}
82 -
83 -src_configure() {
84 - tc-export CC CXX PKG_CONFIG
85 -
86 - # Workaraound to "asm operand has impossible constraints" as
87 - # suggested in bug #499996.
88 - use x86 && append-cflags $(test-flags-CC -fno-stack-check)
89 -
90 - # need to force optimization here, as it breaks without
91 - if is-flag -O0; then
92 - replace-flags -O0 -O2
93 - elif ! is-flag -O?; then
94 - append-flags -O2
95 - fi
96 -
97 - # sysdatadir installs a pari.cfg stuff which is informative only.
98 - # It is supposed to be for "architecture-dependent" data.
99 - # It needs to be easily discoverable for downstream packages such as gp2c.
100 - # We set LD to "" so that it is set to the value of the compiler used
101 - # which is how a normal end user is expected to configure it. pari's build
102 - # system do not cope very well with a naked linker, it is expecting a
103 - # compiler driver. See https://bugs.gentoo.org/722090
104 - LD="" ./Configure \
105 - --prefix="${EPREFIX}"/usr \
106 - --datadir="${EPREFIX}/usr/share/${PN}" \
107 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
108 - --sysdatadir="${EPREFIX}"/usr/share/pari \
109 - --mandir="${EPREFIX}"/usr/share/man/man1 \
110 - --with-readline="${EPREFIX}"/usr \
111 - --with-readline-lib="${EPREFIX}/usr/$(get_libdir)" \
112 - --with-ncurses-lib="${EPREFIX}/usr/$(get_libdir)" \
113 - $(use_with fltk) \
114 - $(use_with gmp) \
115 - --without-qt \
116 - $(usex threads "--mt=pthread" "" "" "") \
117 - || die "./Configure failed"
118 -}
119 -
120 -src_compile() {
121 - local mymake=""
122 - use hppa && \
123 - mymake=DLLD\="${EPREFIX}"/usr/bin/gcc\ DLLDFLAGS\=-shared\ -Wl,-soname=\$\(LIBPARI_SONAME\)\ -lm
124 -
125 - emake ${mymake} gp
126 -
127 - if use doc; then
128 - # To prevent sandbox violations by metafont
129 - VARTEXFONTS="${T}/fonts" emake docpdf
130 - fi
131 -}
132 -
133 -src_test() {
134 - # Welcome to the jungle, where the tests fail if you make your
135 - # terminal bigger.
136 - emake COLUMNS=80 test-all
137 -}
138 -
139 -src_install() {
140 - DOCS=( AUTHORS CHANGES* COMPAT NEW README* )
141 - default
142 -
143 - if use doc; then
144 - docompress -x "/usr/share/doc/${PF}"
145 - emake \
146 - DESTDIR="${D}" \
147 - EXDIR="${ED}/usr/share/doc/${PF}/examples" \
148 - DOCDIR="${ED}/usr/share/doc/${PF}" \
149 - install-doc
150 - fi
151 -}