diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2025-01-16 09:17:36 -0500 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2025-01-16 09:18:34 -0500 |
commit | 8452842687d86cb31ac6ed5a1e4cd49bffdeed74 (patch) | |
tree | 84de4c154a0a7dab70ec2b2231b69420537d44c3 /sci-mathematics | |
parent | sci-mathematics/glpk: drop 5.0-r1 (diff) | |
download | gentoo-8452842687d86cb31ac6ed5a1e4cd49bffdeed74.tar.gz gentoo-8452842687d86cb31ac6ed5a1e4cd49bffdeed74.tar.bz2 gentoo-8452842687d86cb31ac6ed5a1e4cd49bffdeed74.zip |
sci-mathematics/giac: drop 1.9.0.29-r2
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/giac/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/giac/files/giac-1.6.0-pari-2.11.patch | 17 | ||||
-rw-r--r-- | sci-mathematics/giac/giac-1.9.0.29-r2.ebuild | 172 |
3 files changed, 0 insertions, 190 deletions
diff --git a/sci-mathematics/giac/Manifest b/sci-mathematics/giac/Manifest index 46e80c85d618..6ab71e7ab702 100644 --- a/sci-mathematics/giac/Manifest +++ b/sci-mathematics/giac/Manifest @@ -1,2 +1 @@ -DIST giac_1.9.0-29.tar.gz 115441843 BLAKE2B 9114db489be0c51d67c87b0a0c187fecf9eca84d7cb3117e72793290c8e606e76c3d9bc8a2d573fc2de2f2d885fb34d18583302a5902d69045976114ac02b95e SHA512 57b58aa35c724eae7df36229cb3d45d1b724a8a88acb1d1dd0711be64dd7c891850e7242662e448ce955e76b856973f9065628b65ce0826c60e277cb944b21b7 DIST giac_1.9.0-995.tar.gz 128346387 BLAKE2B c275d2cad511b906a3822156bd05f83cd77265cf489da82b111973b0a80de7abd1875d0cf0116e34610aa20b5ea2cc36550950dbf1eb1a321db8c7145c789137 SHA512 7111a21df5efe1ef5f14dc744277e18f3e4701842d827da0f8d745e1bcec4c06b45e3306b7ed3c4affee59c5df2454643900eefe32d46019771e6bb07bc971d9 diff --git a/sci-mathematics/giac/files/giac-1.6.0-pari-2.11.patch b/sci-mathematics/giac/files/giac-1.6.0-pari-2.11.patch deleted file mode 100644 index 24142257a340..000000000000 --- a/sci-mathematics/giac/files/giac-1.6.0-pari-2.11.patch +++ /dev/null @@ -1,17 +0,0 @@ -Change test output for PARI 2.11 - -See https://trac.sagemath.org/ticket/25567 -and https://xcas.univ-grenoble-alpes.fr/forum/viewtopic.php?f=4&t=2102 - -diff -ru a/check/TP11-sol.cas.out1 b/check/TP11-sol.cas.out1 ---- a/check/TP11-sol.cas.out1 2014-10-21 10:51:48.000000000 +0200 -+++ b/check/TP11-sol.cas.out1 2018-08-07 17:04:12.528052773 +0200 -@@ -10,7 +10,7 @@ - 1073741824000000000000000000061203284109000000000000000000000000008409, - 2^3*3*389*733*156904374622257604823879982847602392900751802349981470895277241, - "Done", --matrix[[2,7,1],[3,2,1],[389,2,1],[733,2,1],[156904374622257604823879982847602392900751802349981470895277241,2,matrix[[2,13,1],[3,3,1],[5,2,1],[7,2,1],[56467,2,1],[6553084925887974620811527,2,matrix[[2,5,1],[19,2,1],[71,2,1],[126823,2,1]]]]]], -+1, - 0, - [], - 1, diff --git a/sci-mathematics/giac/giac-1.9.0.29-r2.ebuild b/sci-mathematics/giac/giac-1.9.0.29-r2.ebuild deleted file mode 100644 index 157b280018c3..000000000000 --- a/sci-mathematics/giac/giac-1.9.0.29-r2.ebuild +++ /dev/null @@ -1,172 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic xdg-utils - -FETCH_P="${PN}_"$(ver_rs 3 '-') -MY_PV=$(ver_cut 1-3) -DESCRIPTION="A free C++ Computer Algebra System library and its interfaces" -HOMEPAGE="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html" -SRC_URI="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${FETCH_P}.tar.gz" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="amd64 ~x86" -LANGS="el en es pt" -IUSE="ao doc +ecm examples gc +glpk gui test" -for X in ${LANGS} ; do - IUSE="${IUSE} l10n_${X}" -done - -# nauty and cliquer are automagical dependencies -RDEPEND="dev-libs/gmp:=[cxx(+)] - sys-libs/readline:= - gui? ( x11-libs/fltk:1=[opengl] - media-libs/libpng:= ) - ao? ( media-libs/libao ) - dev-libs/mpfr:= - sci-libs/mpfi - sci-libs/gsl:= - sci-mathematics/pari:=[threads] - dev-libs/ntl:= - virtual/lapack - virtual/blas - net-misc/curl - sci-mathematics/cliquer - sci-mathematics/nauty - ecm? ( sci-mathematics/gmp-ecm ) - glpk? ( sci-mathematics/glpk ) - gc? ( dev-libs/boehm-gc )" - -DEPEND="${RDEPEND}" - -BDEPEND="dev-tex/hevea - virtual/pkgconfig - app-alternatives/yacc" - -PATCHES=( - "${FILESDIR}/${PN}-1.7.0.1-gsl_lapack.patch" - "${FILESDIR}/${PN}-1.6.0-pari-2.11.patch" - "${FILESDIR}/${PN}-1.9.0.21-pari-2.15.patch" -) - -REQUIRED_USE="test? ( gui )" - -# The mirror restriction is due to the French documentation for which -# "Other kind of redistributions require the consent of the copyright -# holder." -RESTRICT="!test? ( test ) mirror" - -S="${WORKDIR}/${PN}-${MY_PV}" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - append-cxxflags -std=c++14 # bug 788283 - - if use gui; then - append-cppflags -I$(fltk-config --includedir) - append-lfs-flags - - # Get the big-L flags from fltk's LDFLAGS. - append-ldflags $(fltk-config --ldflags | sed -e 's/\(-L\S*\)\s.*/\1/') - fi - - # Using libsamplerate is currently broken - # - # The giac build system supports --docdir, but the path /usr/share/giac/doc - # is hard-coded throughout the source code, so passing anything else to - # ./configure --docdir just causes problems. Later, we'll put things right. - # - # micropython is for specific use in an upstream project, so is quickjs. - # Note that disabling fltk is not a real option. It just skip autodetection - # but doesn't disable compiling against fltk. png is needed as part of fltk - # support. - # - # As of 1.9.0.25, --{en,dis}able-gui is no op. The only way to disable gui is - # use the fltk enable flag. - econf \ - --enable-gmpxx \ - --disable-samplerate \ - --disable-micropy \ - --disable-quickjs \ - --docdir="${EPREFIX}"/usr/share/giac/doc \ - $(use_enable gui fltk) \ - $(use_enable gui png) \ - $(use_enable ao) \ - $(use_enable ecm) \ - $(use_enable glpk) \ - $(use_enable gc) - -} - -src_install() { - docompress -x "/usr/share/doc/${PF}/"{aide_cas,doc,examples} - emake install DESTDIR="${D}" - - # Move all of /usr/share/giac (which contains only documentation) to - # its /usr/share/doc/${PF} counterpart. - dodir /usr/share/doc - mv "${ED}"/usr/share/giac "${ED}/usr/share/doc/${PF}" || die - - # and create a symlink from the original location to the new one - dosym "./doc/${PF}" /usr/share/giac - - # This is duplicated in ${ED}/usr/share/doc/${PF}/examples - rm -r "${ED}/usr/share/doc/${PF}/doc/Exemples" || die - - # These aren't supposed to be installed at all. - find "${ED}/usr/share/doc/${PF}" -type f -name 'Makefile*' -delete || die - - # The French docs are not freely licensed according to the README. - rm -r "${ED}/usr/share/doc/${PF}/doc/fr" || die - - dodoc AUTHORS ChangeLog INSTALL NEWS README TROUBLES - if ! use gui; then - rm -rf \ - "${ED}"/usr/bin/x* \ - "${ED}"/usr/share/application-registry \ - "${ED}"/usr/share/applications \ - "${ED}"/usr/share/icons \ - || die "failed to clean up fltk files" - fi - - if ! use doc; then - rm -r "${ED}/usr/share/doc/${PF}/doc" || die "failed to remove doc directory" - else - for lang in ${LANGS}; do - if use l10n_$lang; then - dosym ../aide_cas "/usr/share/doc/${PF}/doc/${lang}/aide_cas" - else - rm -r "${ED}/usr/share/giac/doc/${lang}" \ - || die "failed to remove ${lang} documentation" - fi - done - fi - - if ! use examples; then - rm -r "${ED}/usr/share/doc/${PF}/examples" \ - || die "failed to remove examples" - fi - - find "${ED}" -type f -name '*.la' -delete || die -} - -pkg_postinst() { - if use gui; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} - -pkg_postrm() { - if use gui; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} |