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