1 |
commit: ee75ce635b2cfc37d9fe7ad741c43d02c87eb0bd |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 2 23:41:50 2022 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 3 00:21:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee75ce63 |
7 |
|
8 |
sci-mathematics/giac: remove old "unused" giac-1.7.0.45.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/giac/Manifest | 1 - |
14 |
sci-mathematics/giac/giac-1.7.0.45.ebuild | 165 ------------------------------ |
15 |
2 files changed, 166 deletions(-) |
16 |
|
17 |
diff --git a/sci-mathematics/giac/Manifest b/sci-mathematics/giac/Manifest |
18 |
index 259cb91e5543..ba633ee610c4 100644 |
19 |
--- a/sci-mathematics/giac/Manifest |
20 |
+++ b/sci-mathematics/giac/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
DIST giac_1.7.0-13.tar.gz 86447065 BLAKE2B 4d91e83608f7ec376d133c2784ffce99447a9dd78b5c8582b81a0aae0b8ac59eec4db3ee4a8bcb39202c777c300178a181f2dc2ac74ab445ddba2f3efa0ecb1b SHA512 99fff7ce5117fd8c106601ead03679805d529fe12d5372cdd4ae54824aa6fdcbdaaa1a62ea1153391a1a65af8970e38fca7d95ca9983755ff06053f1d8b6d65a |
23 |
-DIST giac_1.7.0-45.tar.gz 96780194 BLAKE2B c43b0f89ad664b419db5d98541f23d3259a32b462d71f3a4fe06ea2ac3de0dd71d903308cd8e241758d809d0755a2f070bae03434a75abc94f17b1d8cbda03a2 SHA512 47fa019fee526d584f5dbc67adb4326e2680649ad942a2140d033ecd66957ba7a21441f02a3ba55d009bbd6756da239fcee99cab2a361993aae4df6e9f79a1a7 |
24 |
DIST giac_1.7.0-47.tar.gz 96787570 BLAKE2B b05b3f44f10695a5d085df0a0db9aba761ac011964caeb247bd6034ca2a41505e5eb30df0de494826270703d9b62fbb3b9d4869f4cdd32d1d88636f374fbae16 SHA512 60a8550f7da2a163365759266660421c936797a9d52c3ba3802b5e00610fc460b49ccef44df809331abb1cbb65432e283fb4484b1efffb577c4802ab44fecff7 |
25 |
|
26 |
diff --git a/sci-mathematics/giac/giac-1.7.0.45.ebuild b/sci-mathematics/giac/giac-1.7.0.45.ebuild |
27 |
deleted file mode 100644 |
28 |
index 70e638c38502..000000000000 |
29 |
--- a/sci-mathematics/giac/giac-1.7.0.45.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,165 +0,0 @@ |
32 |
-# Copyright 1999-2022 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-inherit autotools flag-o-matic xdg-utils |
38 |
- |
39 |
-FETCH_P="${PN}_"$(ver_rs 3 '-') |
40 |
-MY_PV=$(ver_cut 1-3) |
41 |
-DESCRIPTION="A free C++ Computer Algebra System library and its interfaces" |
42 |
-HOMEPAGE="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html" |
43 |
-SRC_URI="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${FETCH_P}.tar.gz" |
44 |
-LICENSE="GPL-2" |
45 |
- |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64 ~x86" |
48 |
-LANGS="el en es pt" |
49 |
-IUSE="ao doc +ecm examples gc +glpk gui static-libs test" |
50 |
-for X in ${LANGS} ; do |
51 |
- IUSE="${IUSE} l10n_${X}" |
52 |
-done |
53 |
- |
54 |
-# nauty and cliquer are automagical dependencies |
55 |
-RDEPEND="dev-libs/gmp:=[cxx(+)] |
56 |
- sys-libs/readline:= |
57 |
- gui? ( x11-libs/fltk |
58 |
- media-libs/libpng:= ) |
59 |
- ao? ( media-libs/libao ) |
60 |
- dev-libs/mpfr:= |
61 |
- sci-libs/mpfi |
62 |
- sci-libs/gsl:= |
63 |
- sci-mathematics/pari:=[threads] |
64 |
- dev-libs/ntl:= |
65 |
- virtual/lapack |
66 |
- virtual/blas |
67 |
- net-misc/curl |
68 |
- sci-mathematics/cliquer |
69 |
- sci-mathematics/nauty |
70 |
- ecm? ( sci-mathematics/gmp-ecm ) |
71 |
- glpk? ( sci-mathematics/glpk ) |
72 |
- gc? ( dev-libs/boehm-gc )" |
73 |
- |
74 |
-DEPEND="${RDEPEND}" |
75 |
- |
76 |
-BDEPEND="dev-tex/hevea |
77 |
- virtual/pkgconfig |
78 |
- virtual/yacc" |
79 |
- |
80 |
-PATCHES=( |
81 |
- "${FILESDIR}/${PN}-1.7.0.1-gsl_lapack.patch" |
82 |
- "${FILESDIR}/${PN}-1.6.0-pari-2.11.patch" |
83 |
-) |
84 |
- |
85 |
-REQUIRED_USE="test? ( gui )" |
86 |
- |
87 |
-# The mirror restriction is due to the French documentation for which |
88 |
-# "Other kind of redistributions require the consent of the copyright |
89 |
-# holder." |
90 |
-RESTRICT="!test? ( test ) mirror" |
91 |
- |
92 |
-S="${WORKDIR}/${PN}-${MY_PV}" |
93 |
- |
94 |
-src_prepare() { |
95 |
- default |
96 |
- eautoreconf |
97 |
-} |
98 |
- |
99 |
-src_configure() { |
100 |
- append-cxxflags -std=c++14 # bug 788283 |
101 |
- |
102 |
- if use gui; then |
103 |
- append-cppflags -I$(fltk-config --includedir) |
104 |
- append-lfs-flags |
105 |
- |
106 |
- # Get the big-L flags from fltk's LDFLAGS. |
107 |
- append-ldflags $(fltk-config --ldflags | sed -e 's/\(-L\S*\)\s.*/\1/') |
108 |
- fi |
109 |
- |
110 |
- # Using libsamplerate is currently broken |
111 |
- # |
112 |
- # The giac build system supports --docdir, but the path /usr/share/giac/doc |
113 |
- # is hard-coded throughout the source code, so passing anything else to |
114 |
- # ./configure --docdir just causes problems. Later, we'll put things right. |
115 |
- # |
116 |
- # micropython is for specific use in an upstream project |
117 |
- econf \ |
118 |
- --enable-gmpxx \ |
119 |
- --disable-samplerate \ |
120 |
- --disable-micropy \ |
121 |
- --docdir="${EPREFIX}"/usr/share/giac/doc \ |
122 |
- $(use_enable static-libs static) \ |
123 |
- $(use_enable gui) \ |
124 |
- $(use_enable gui png) \ |
125 |
- $(use_enable ao) \ |
126 |
- $(use_enable ecm) \ |
127 |
- $(use_enable glpk) \ |
128 |
- $(use_enable gc) |
129 |
- |
130 |
-} |
131 |
- |
132 |
-src_install() { |
133 |
- docompress -x "/usr/share/doc/${PF}/"{aide_cas,doc,examples} |
134 |
- emake install DESTDIR="${D}" |
135 |
- |
136 |
- # Move all of /usr/share/giac (which contains only documentation) to |
137 |
- # its /usr/share/doc/${PF} counterpart. |
138 |
- dodir /usr/share/doc |
139 |
- mv "${ED}"/usr/share/giac "${ED}/usr/share/doc/${PF}" || die |
140 |
- |
141 |
- # and create a symlink from the original location to the new one |
142 |
- dosym "./doc/${PF}" /usr/share/giac |
143 |
- |
144 |
- # This is duplicated in ${ED}/usr/share/doc/${PF}/examples |
145 |
- rm -r "${ED}/usr/share/doc/${PF}/doc/Exemples" || die |
146 |
- |
147 |
- # These aren't supposed to be installed at all. |
148 |
- find "${ED}/usr/share/doc/${PF}" -type f -name 'Makefile*' -delete || die |
149 |
- |
150 |
- # The French docs are not freely licensed according to the README. |
151 |
- rm -r "${ED}/usr/share/doc/${PF}/doc/fr" || die |
152 |
- |
153 |
- dodoc AUTHORS ChangeLog INSTALL NEWS README TROUBLES |
154 |
- if ! use gui; then |
155 |
- rm -rf \ |
156 |
- "${ED}"/usr/bin/x* \ |
157 |
- "${ED}"/usr/share/application-registry \ |
158 |
- "${ED}"/usr/share/applications \ |
159 |
- "${ED}"/usr/share/icons \ |
160 |
- || die "failed to clean up fltk files" |
161 |
- fi |
162 |
- |
163 |
- if ! use doc; then |
164 |
- rm -r "${ED}/usr/share/doc/${PF}/doc" || die "failed to remove doc directory" |
165 |
- else |
166 |
- for lang in ${LANGS}; do |
167 |
- if use l10n_$lang; then |
168 |
- dosym ../aide_cas "/usr/share/doc/${PF}/doc/${lang}/aide_cas" |
169 |
- else |
170 |
- rm -r "${ED}/usr/share/giac/doc/${lang}" \ |
171 |
- || die "failed to remove ${lang} documentation" |
172 |
- fi |
173 |
- done |
174 |
- fi |
175 |
- |
176 |
- if ! use examples; then |
177 |
- rm -r "${ED}/usr/share/doc/${PF}/examples" \ |
178 |
- || die "failed to remove examples" |
179 |
- fi |
180 |
- |
181 |
- find "${ED}" -type f -name '*.la' -delete || die |
182 |
-} |
183 |
- |
184 |
-pkg_postinst() { |
185 |
- if use gui; then |
186 |
- xdg_desktop_database_update |
187 |
- xdg_icon_cache_update |
188 |
- fi |
189 |
-} |
190 |
- |
191 |
-pkg_postrm() { |
192 |
- if use gui; then |
193 |
- xdg_desktop_database_update |
194 |
- xdg_icon_cache_update |
195 |
- fi |
196 |
-} |