summaryrefslogtreecommitdiff
path: root/sci-mathematics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-17 06:41:55 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-17 06:41:55 +0000
commit6d730aa8064fbab6cc54447b6ed0e60b99c13256 (patch)
tree8c303cb48dc49dd218b79708ca71904653c5f831 /sci-mathematics
parentcb2f73d10494730ba590096a1f24ebc6d0d61a9f (diff)
gentoo auto-resync : 17:01:2025 - 06:41:55
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/Manifest.gzbin19694 -> 19701 bytes
-rw-r--r--sci-mathematics/giac/Manifest3
-rw-r--r--sci-mathematics/giac/files/giac-1.6.0-pari-2.11.patch17
-rw-r--r--sci-mathematics/giac/giac-1.9.0.29-r2.ebuild172
-rw-r--r--sci-mathematics/glpk/Manifest1
-rw-r--r--sci-mathematics/glpk/glpk-5.0-r1.ebuild101
6 files changed, 0 insertions, 294 deletions
diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz
index a57062665c56..c78bd2a3ed70 100644
--- a/sci-mathematics/Manifest.gz
+++ b/sci-mathematics/Manifest.gz
Binary files differ
diff --git a/sci-mathematics/giac/Manifest b/sci-mathematics/giac/Manifest
index a0a806480d71..35c4bfcbf58d 100644
--- a/sci-mathematics/giac/Manifest
+++ b/sci-mathematics/giac/Manifest
@@ -1,12 +1,9 @@
-AUX giac-1.6.0-pari-2.11.patch 783 BLAKE2B f173015006fef4a9f8176965f923664f11b0b05151b126cf74a5bccf5036e1fd3aa97f12fd91808fab7fe23a3194e6a4a7a9f12be5b69a5dfda5aedec8a0117c SHA512 56102439f05f0e27bda49f1e9803bbba7921c87eab383fc2f068ccca6ef598f11e35d00f5a737076a6a41df08ef9065e567cb84030ba6ea928520f371d51b9ed
AUX giac-1.7.0.1-gsl_lapack.patch 2912 BLAKE2B b0f9f05126316b9b76d5f1a5ad737cc88ecbc71dc450ef714f6da323128d9c945ada9d658c73647987f84638498aa4d3bbef49062424ab63b53c76defc127902 SHA512 14bfcb04e5a23933cfa4635789bf02f6d6e6a528c167504678b3d2ecb38f135d0c05583712005fe53afd7696cc9ebee5dc3ab90cac056d75bd43be786075b011
AUX giac-1.9.0.21-pari-2.15.patch 298 BLAKE2B 99329cfd473ec3b580caf8f9700501e8b5dca9143cd04d883729880109d4e1962d19dce19aaf51e5d26ab09dc399a45a3a052847837f53a60c1b21087ebeabb8 SHA512 f9335dd47ee43ca10b784c8302422efcd5a835b1fe13fa134f5d36e453327e96624e77e086710f9d556352b1d62e6e693b3308fe8af329492e11d68cc9451b5b
AUX giac-1.9.0.67-system-gl2ps.patch 2283 BLAKE2B 6c98e3ea09f0f8b0e34e2634218595d576e7eee85234e56436db24fe0aa276288f58049bcfb374ae42d7f104b44f0d51b3e81acc6e2e9af1cecc4e4adadfada8 SHA512 88dae722242b81ee22b7d377e4fd4b98d1e687307aaf3091ab17ffc720678bedb93c30bc0fd92c0388b7994945b820f31dd57e831736b6dd29e5d8285320d4e6
AUX giac-1.9.0.995-dont-call-g++.patch 904 BLAKE2B 39efc3e9bfed1867ae52fe12cb44bcb8f88b99aa74d0d28a1ceaa902172d7c2e4dc9eef529ac57f9e62caabe3804dc451c5d439ba35297d2830ba745d3fba9f9 SHA512 ce4d266a86d10635df4401bc40287a974af435eeaf7f2557607b5d0b7d28940f648a6b7f87ca58b57e546d8536b0e3fd8e78aefcbe84ce8f3564c879d56e6bc4
AUX giac-1.9.0.995-fix-undefined-behavior.patch 1296 BLAKE2B f181960feaa2ef42a0d5bb8a3d060fd3e3f62416135d6204c6d4682f58c727b4a734b538b9be52b4e6750d6415e2c08812196f50acf99e147b8f4215f0e37280 SHA512 7d394a3f60b977d5cbc6afded350fb1296823d85adc73b9c215f0882e500660d2c4eefb79c0f451eb60009e86430f8cf10566ef6e8a9cdeca087e489c14fd7d6
AUX giac-1.9.0.995-glibcxx-assertions.patch 1292 BLAKE2B 640dca5b736c151aedd5ed5bed7c49a468bf70978f2b671b2d67d5bc1248b9921b876fdb097ffa5b1b701f5337dbb601c7217307173d322a376a61f35508c742 SHA512 39b2d553bc3e0dedf53acca38e80b8ca76f4f0308603f0f67d881430e635f008ea618d1a7478e6c215c960b189c6d4fd83073ee2171fb2d2b3921095de53db23
-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
-EBUILD giac-1.9.0.29-r2.ebuild 4545 BLAKE2B 59499642b94535a25398bb7bfeeeb76c928c1bdbc54e423e951d10b39b6b07ffdd9a4dbd390e7b6f9371f5e161ef6e9580455eb31ab8b7704cbd3106b3835a1a SHA512 58327953cfc2c5d8a13f83f1c1882d10904af1de2a3c41d7de12edbb892eafd884f909162a3c1e8d6cabe795df9b02832e7cacfec973da42fabd00947c939d55
EBUILD giac-1.9.0.995-r2.ebuild 5547 BLAKE2B ec2af81185a9c7ce4268b670650ed7bbb07253ec30c9b8e26e84568ebbb3a3983155071b7fee7224c8bc03b82c9e1ff46413c582953e3031eb22f80e9b51c2f8 SHA512 2217c65846f094776f1d440a71ab09ed1cb4feaacd6c9932d16b6d119ed6e11476337bf29d1fdd89af23c1a47d52f10cae0f527224072cfb187a5163dfe109a1
MISC metadata.xml 1315 BLAKE2B a461d359b33617422f5863466bdbec9ddf56db03467b992c887bce9967d434913489602fd684edc893303078f89cf94d01b44cfdc0ccff33db9b42c5e686cfa8 SHA512 eaeb480010c9dbdfd75516e45e97e3226d2b2812c44e217b318c5a1d86dc40820bac0de69686d7b502775b14a6f1ed3bc11d2372b891c46a37080b4e84da9a1c
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
-}
diff --git a/sci-mathematics/glpk/Manifest b/sci-mathematics/glpk/Manifest
index d42a3e0811d9..4277567f5fd6 100644
--- a/sci-mathematics/glpk/Manifest
+++ b/sci-mathematics/glpk/Manifest
@@ -2,6 +2,5 @@ AUX glpk-4.65-debundle-system-libs.patch 1930 BLAKE2B 0c265afe9338e75bb3d6536e9e
AUX glpk-4.65-fix-mysql-include-prefix.patch 1837 BLAKE2B ecd90024e07f29e8ebb6af80b520c8f192cfea21c90d8c247001389f2ccfcf24ad487981a0cc719d1ca99e266dd2a9d66f6416d4f2d5e7c80bdf807b9bb7b74e SHA512 c74281bf3e03e136d183b562b8f682a3e1957019a36ec0c6a048049f0d5f55361107a62e36eaa9e3306a1f13df10adf55c2f54f096b6e353108856e05d9ce799
AUX glpk-5.0-aliasing.patch 2997 BLAKE2B 8d67fd1a4eba4af91281d7858e2ae0faed74bce92be981f842ff4b7e2cc84ec465fa82acc0f605fc0cd6310881b5c90baae3001a474b71b2ce2d4d2c689fb46d SHA512 392bfcb2c7319899abdc414b59e7f95beeefc4cabad7603d79734eeca8665a6a99e373a97c0e88a5bce923090d2c3ae8cae0845c2222c389090d3b9009e02e92
DIST glpk-5.0.tar.gz 4132649 BLAKE2B f8204f66a97af950c13ee72ee9541f305745741d1231325670ede14663cb6c28ec6fbc44b3625973f1924ca078183d1d43f494ad43a7b48b45be131882b00001 SHA512 4e92195fa058c707146f2690f3a38b46c33add948c852f67659ca005a6aa980bbf97be96528b0f8391690facb880ac2126cd60198c6c175e7f3f06cca7e29f9d
-EBUILD glpk-5.0-r1.ebuild 2573 BLAKE2B 86b24b612643deb53ad466534cb640831549eb1412cf379bae02307a9957c693716050cb35770ec891d50d91ffbf3fa218ec7fc43400d9234c49637ae6a4064f SHA512 c20ba1c1eb265a9667979cdf286bb69e9e032454ffdfade04d5700806c6473313efe428c6321ee9db43751a19ff11520315aae7b4e9b41ab921c0fabe1c08355
EBUILD glpk-5.0-r3.ebuild 2570 BLAKE2B 0890149920f0cc5a09328dae3f9d9f4bbad688f432363f7efa15594768bfded21c353a97906f024f7b1eeb77c1389fca5152a2b2fb6721d66ca3e02c22248f59 SHA512 945624c929e87b8a54a83d670a77e5a3aa4171eb3fccf26358b73a914a030e85df21b364b4ec5cbd9c6a622baea420d56db7efb7b0153ec25b7f68d5e08b0eee
MISC metadata.xml 1104 BLAKE2B f22121178a0e7f3ab097558b05cb084a7dc787cc1530859d6182aea61abee220e135ad695f517419053bb805cecef9c3555fcdb2688d6b6d17cdd8b3ce2dbb21 SHA512 965c2c6c322c488736cb9743f1e076fdf2733976502b2b2668717534f7a1505f36b84f453f23f4ff5972f7a25883d253e345caef727bab8abed4c638f5a0dc5a
diff --git a/sci-mathematics/glpk/glpk-5.0-r1.ebuild b/sci-mathematics/glpk/glpk-5.0-r1.ebuild
deleted file mode 100644
index a0db9eee70b6..000000000000
--- a/sci-mathematics/glpk/glpk-5.0-r1.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic toolchain-funcs
-
-DESCRIPTION="GNU Linear Programming Kit"
-HOMEPAGE="https://www.gnu.org/software/glpk/"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0/40"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples gmp odbc mysql"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="
- sci-libs/amd:0=
- sci-libs/colamd:=
- sys-libs/zlib:0=
- gmp? ( dev-libs/gmp:0= )
- mysql? ( dev-db/mysql-connector-c )
- odbc? (
- || (
- dev-db/libiodbc:0
- dev-db/unixODBC:0
- )
- )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-4.65-fix-mysql-include-prefix.patch
- "${FILESDIR}"/${PN}-4.65-debundle-system-libs.patch
-)
-
-src_prepare() {
- # TODO: the ODBC library is dlopen()ed, so we only want to append
- # -I<foo> to the preprocessor flags, and not all of the CFLAGS that
- # were used to build libiodbc. That fix and the pkg-config fallback
- # should be sent upstream, and placed into CPPFLAGS rather than
- # CFLAGS (as configure.ac does now).
- use odbc && [[ -z $(type -P odbc_config) ]] && \
- append-cppflags $($(tc-getPKG_CONFIG) --cflags libiodbc)
-
- default
-
- eautoreconf
-}
-
-src_configure() {
- # -Werror=strict-aliasing
- # https://bugs.gentoo.org/863047
- # https://lists.gnu.org/archive/html/bug-glpk/2022-08/msg00000.html
- # No upstream response...
- #
- # Do not trust it to LTO either.
- append-flags -fno-strict-aliasing
- filter-lto
-
- local myconf
- if use mysql || use odbc; then
- myconf="--enable-dl"
- else
- myconf="--disable-dl"
- fi
-
- econf ${myconf} \
- --disable-static \
- $(use_enable mysql) \
- $(use_enable odbc) \
- $(use_with gmp)
-}
-
-src_install() {
- default
-
- if use examples; then
- # The top-level Makefile descends into the "examples" directory
- # unconditionally, building a program and excreting build
- # artifacts that we don't want to install. Note: this still
- # leaves the example program /usr/bin/glpsol installed. An
- # additional "emake ... uninstall" could probably take care
- # of that if desired.
- emake -C examples clean
-
- # Installing the Makefiles for the examples does the user no
- # good without the top-level Makefile.
- rm examples/Makefile{.in,.am,} \
- || die "failed to remove example Makefiles"
-
- insinto "/usr/share/doc/${PF}"
- doins -r examples
- docompress -x "/usr/share/doc/${PF}/examples"
- fi
-
- use doc && dodoc doc/*.pdf doc/notes/*.pdf doc/*.txt
-
- # no static archives
- find "${D}" -name '*.la' -delete || die
-}