From cf7807d7aea23a99a144afceaba961cfed652b5f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 11 Mar 2025 01:49:36 +0000 Subject: gentoo auto-resync : 11:03:2025 - 01:49:36 --- dev-lang/Manifest.gz | Bin 22666 -> 22635 bytes dev-lang/R/Manifest | 6 +- dev-lang/R/R-4.3.1-r1.ebuild | 246 -------------------- dev-lang/R/R-4.3.2-r1.ebuild | 246 -------------------- dev-lang/R/R-4.4.3.ebuild | 251 +++++++++++++++++++++ dev-lang/elixir/Manifest | 2 + dev-lang/elixir/elixir-1.18.3.ebuild | 39 ++++ dev-lang/luau/Manifest | 5 +- .../luau/files/luau-0.653-TypedAllocator-cpp.patch | 28 +++ dev-lang/luau/luau-0.653.ebuild | 1 + dev-lang/luau/luau-0.662.ebuild | 1 + dev-lang/ocaml/Manifest | 2 + dev-lang/ocaml/ocaml-5.3.0.ebuild | 107 +++++++++ dev-lang/ruby/Manifest | 2 +- dev-lang/ruby/ruby-3.2.7.ebuild | 2 +- 15 files changed, 438 insertions(+), 500 deletions(-) delete mode 100644 dev-lang/R/R-4.3.1-r1.ebuild delete mode 100644 dev-lang/R/R-4.3.2-r1.ebuild create mode 100644 dev-lang/R/R-4.4.3.ebuild create mode 100644 dev-lang/elixir/elixir-1.18.3.ebuild create mode 100644 dev-lang/luau/files/luau-0.653-TypedAllocator-cpp.patch create mode 100644 dev-lang/ocaml/ocaml-5.3.0.ebuild (limited to 'dev-lang') diff --git a/dev-lang/Manifest.gz b/dev-lang/Manifest.gz index c5ef9eb94983..800aa0066575 100644 Binary files a/dev-lang/Manifest.gz and b/dev-lang/Manifest.gz differ diff --git a/dev-lang/R/Manifest b/dev-lang/R/Manifest index 171d3a4796d8..9f671c5a87d9 100644 --- a/dev-lang/R/Manifest +++ b/dev-lang/R/Manifest @@ -1,13 +1,11 @@ AUX R-4.3.0-no-LDFLAGS-in-libR-pkg-config.patch 380 BLAKE2B db9fcf9d0c73aa5352110bc27f5881db4f793c963e8f9d46b8681101eb7e062f5f1bf50fd06c53aa392994cd455f6d8cffc680f81a06487694c860297e5e06b6 SHA512 380c6489520c60016cef730822ff973a63460b40726b6c84a9c4ba69d75f93bc8eeb6c45dbb64bcb3277fe2ffd8b1d1fcc40ae668d77269acb4fbc5babdb686e AUX R-4.3.0-no-gzip-doc.patch 354 BLAKE2B 81f20b830ac99494a921b635a0d280dd90045c7dd3d1ed02f1fbf46a717ec3b13e7c730c9d4c87dd8d55d5f366db1a60671718511852d134f8dc91fddfbb8505 SHA512 f3f7bd438eac7637b969206c5134f0638ca79c862a6d432545b126422903248e5badde5ff893b4f44e14104734419372c2414380034d17748001f0dfadb5c7b0 AUX R-4.3.0-parallel.patch 415 BLAKE2B e996c72c167b529765c82c8880bc3ea704d3c6e34b7fe09dff4fa93a8e42f8551dc723f44e0ab0638de84ce0f7fa60d4476e297d06eb3d6070d8daf5f79b9dba SHA512 6d36a2eb5df1ec8fa4230bfbc693cf53c95b41bb9269cfa473cfaa6dc8a42681e81a006f03278b86e8636e904bba188f2475d27d06599fdab86de8743401f5be -DIST R-4.3.1.tar.gz 34899964 BLAKE2B 7aaacad01ce59e2faa46c4b830c10d2df8e4a3a1d4f11cf2aa622ceb53876f1e702dff94a820ca954ec29f53d58fa7e135ef15e8257602c50f2642b0a0c0a86a SHA512 f571c378dbdd675e267ef4419bb1141198924dadc08297c93c8dff58504994604918b3e045bb7139ba473972a063a68ed1c7426f37d4e8208b79358561d34d77 -DIST R-4.3.2.tar.gz 35039225 BLAKE2B 2de3af9013c8648c118a1efe673b618aef84a694c6865657faef5b0ca5f780ef5273bb00b607f587219ee30a11f01ccc3b730b9124847242b9d9550de471f58c SHA512 125114357f20d4a3248aee86727768d1dc15e07e44353f8a68fe2ef1fedae508e85d944301d00c0edd61e8b012b0b3cdcde53ac60be903713f96542d83ad5b1d DIST R-4.4.1.tar.gz 37353459 BLAKE2B 2c44fcab719cc2a2cef4566fd4e6c22386f02827a41045ffa074ca2a6883089275354644bce47c9978ef5c96e7b9b21576e946500746c27dc00946ef3cde4fce SHA512 cc30172227b7d89a9d6e9d65c8622b2042bcbbf3f1b5e36c7460f60958a1a0589980a1867ec9989df2589c1618233f3382d4732700b147361ace3be6680b5643 DIST R-4.4.2.tar.gz 37582785 BLAKE2B bda7e3d49c63095830d12d77bb91946c2e7b657895f3388b892ca29091dc6c23b42a6b7822910d6889f69715c3ad58f8031ab7a811f34efe0b352232e5135175 SHA512 b29d82242f70487f52849a5726610c03dffa4e54f1a32a9f3f76784fcf61f91d5c40cddee1029eeb9c9837ff26f382f348e8518dd68c84e9fc2192b981013d9a +DIST R-4.4.3.tar.gz 40234425 BLAKE2B 2a7efdf1841c7bae66a0e8aef07b9e79dec9d2f1b4c32f12640eaf84f99b05ca2846eaf10a5d03e0a7fb6d0a4f00ab16cd84a618ebef7bec29c31bc04458f0db SHA512 2a1d1e5ee2e18c928e2b3e58df372083b4bbd0822863a8441404999209035436e236c8ffe3970827fbf3d765157365800ebb0bb46f361c6abe473ddec30be06f DIST R-78d6830e28ea90a046da79a9b4f70c39594bb6d6.bash_completion 13596 BLAKE2B 53338e4a1c4f68beb69247216e553dbcac47f660fbf032bfebf7a660e32d2cff5b11ed35411c52de7e1fd6e00bbf5b5ea19369a325fa0a38bd93d63dc3288cbd SHA512 9ccd19bb1b0c18a2f13035ccd6809447429e197e298fb4d1df808ef345d723b42f75a1b91c349f6dbb46e4a82e59ef33e11300c495d79b63d670d0c0f2b16a06 -EBUILD R-4.3.1-r1.ebuild 7139 BLAKE2B 6ad669bf41cbef1e56cd10728fa2390043cd7ddde0c095f917f0779b625fbe92c4176a17e60cd0fcd23e0106a28bdf739a311c01768a4ba12a70fc238153af6d SHA512 96c50da1fbebfcf22a3cf9a558cba9df0e655f1456986a806dfd6d2362560a1cde8d922dca02cdcdd67279fe1e4191d74892b6dc1a9194399632642d3ec9adf1 -EBUILD R-4.3.2-r1.ebuild 7142 BLAKE2B 076b384f913f4f3c3dc311b1fb18c21e1bb34bf22c0b9ee3cd178f45737b37efcfa962e0f08caa844f2c84fe742a5a0bb0a1918d50ae8887b37bdac81f249718 SHA512 7aa832f3be64244db12e6ad2a875491b07c9b476f7cf549ca3c77a4597113cbef9b3daac76b29f1c4d15ee15170664bdf29e6a814fe9f3e4cbe6cfe41f820859 EBUILD R-4.4.1.ebuild 7249 BLAKE2B bac9534523954fcb65e21dbda6e5e76d4824a55ff169de79bcdbfbe8c23f186a90e7773a92b08260c48083a736f5ebbc7621a76abb1bcd2ef17f3c23fa08bb84 SHA512 0bbb5f9113ff876f79ce0bb88d821bae3812442b087bc00b6fff5c90b6422d198e44ed6e437467a2558af8645f6ac12e347afefd3f9385c29032e876ca412db0 EBUILD R-4.4.2.ebuild 7321 BLAKE2B ab811639add4d10d3344ee972eca5eedeb7c17920cdf150018c20c8d137ced6957db9187062c8059bde3597110c4889c823a00591232f000ea3f3571dfb1b2ba SHA512 39a75a9893f5771c85fe064fa112924a1859b2d43736983be6159f81c2bf5874d4c12a8789a15405f8eaa808ce2cf8f05b79929e039ca10b3e5fadeda8287fc2 +EBUILD R-4.4.3.ebuild 7321 BLAKE2B 80af26b37391baca4d718c36b62fda41f6fb36451e176cee0ed870157c9c4835c647c46f4d7e309dd52d935e045653989acfefbb1e05ceb710137586eb306b39 SHA512 c3d20847f5702da99f7aaccd1b524bd8fcb682d6ee91c0b4c6a0bbd071adc5fadafda0fe2564945cfed5a97693490069543b82eb40dab7db6e04854bf4b820fe MISC metadata.xml 1359 BLAKE2B 9cfca4def686f457622427e067bffba74608366f21125a167aa6efba5013db0c6c3e6d83d5b7012f436a7db44f4578061ce8c8673c8be95b417f52d66787f664 SHA512 1884aad4c68ddf884838c02f5e078966fcd932a7f2b1eac8298d895b4fb632bbc4abf7a849fdd870e0db7136c6642a4c3b1ccd5360e9f3253919b3a0b25a8555 diff --git a/dev-lang/R/R-4.3.1-r1.ebuild b/dev-lang/R/R-4.3.1-r1.ebuild deleted file mode 100644 index 4a5751c35f33..000000000000 --- a/dev-lang/R/R-4.3.1-r1.ebuild +++ /dev/null @@ -1,246 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit bash-completion-r1 autotools flag-o-matic fortran-2 toolchain-funcs - -# latest git commit for R bash completion: -# https://github.com/deepayan/rcompletion -BCPV=78d6830e28ea90a046da79a9b4f70c39594bb6d6 - -DESCRIPTION="Language and environment for statistical computing and graphics" -HOMEPAGE="https://www.r-project.org/" -SRC_URI=" - https://cran.r-project.org/src/base/R-4/${P}.tar.gz - https://raw.githubusercontent.com/deepayan/rcompletion/${BCPV}/bash_completion/R -> ${PN}-${BCPV}.bash_completion" - -LICENSE="|| ( GPL-2 GPL-3 ) LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 arm64 ~hppa ~loong sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -IUSE="cairo doc icu java jpeg lapack lto minimal nls openmp perl png prefix profile readline test tiff tk X" - -REQUIRED_USE=" - png? ( || ( cairo X ) ) - jpeg? ( || ( cairo X ) ) - tiff? ( || ( cairo X ) )" -RESTRICT=" - minimal? ( test ) - !test? ( test )" - -# At least one package installation in the test suite requires TeX, -# and will fail without it (bug #718056). -DEPEND=" - app-arch/bzip2 - app-arch/xz-utils - app-text/ghostscript-gpl - dev-libs/libpcre2:= - >=dev-libs/tre-0.8.0_p20210321[approx] - net-misc/curl - virtual/blas - sys-libs/zlib[minizip] - sys-apps/coreutils - cairo? ( - x11-libs/cairo:=[X=] - x11-libs/pango:= - ) - icu? ( dev-libs/icu:= ) - jpeg? ( media-libs/libjpeg-turbo:= ) - kernel_linux? ( net-libs/libtirpc ) - lapack? ( virtual/lapack ) - perl? ( dev-lang/perl ) - png? ( media-libs/libpng:= ) - readline? ( sys-libs/readline:= ) - tiff? ( media-libs/tiff:= ) - tk? ( dev-lang/tk:= ) - X? ( - x11-libs/libXmu - x11-libs/libXt - )" -RDEPEND="${DEPEND} - java? ( >=virtual/jre-1.8:* )" -BDEPEND=" - sys-apps/which - virtual/pkgconfig - doc? ( - virtual/latex-base - dev-texlive/texlive-fontsrecommended - ) - test? ( virtual/latex-base )" - -PATCHES=( - "${FILESDIR}"/R-4.3.0-parallel.patch - "${FILESDIR}"/R-4.3.0-no-LDFLAGS-in-libR-pkg-config.patch - "${FILESDIR}"/R-4.3.0-no-gzip-doc.patch -) - -# false positive, the linking step fails (as it should) -QA_CONFIG_IMPL_DECL_SKIP=( iconvlist ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - FORTRAN_NEED_OPENMP=1 - fi - - fortran-2_pkg_setup - - # avoid using existing R installation - unset R_HOME -} - -src_prepare() { - default - - # fix packages.html for doc (gentoo bug #205103) - sed -e "s:../../../library:../../../../$(get_libdir)/R/library:g" \ - -i src/library/tools/R/Rd.R || die - - # fix Rscript path when installed (gentoo bug #221061) - sed -e "s:-DR_HOME='\"\$(rhome)\"':-DR_HOME='\"${EPREFIX}/usr/$(get_libdir)/${PN}\"':" \ - -i src/unix/Makefile.in || die "sed unix Makefile failed" - - # fix HTML links to manual (gentoo bug #273957) - sed -e 's:\.\./manual/:manual/:g' \ - -i $(grep -Flr ../manual/ doc) || die "sed for HTML links failed" - - use lapack && - export LAPACK_LIBS="$($(tc-getPKG_CONFIG) --libs lapack)" - - use perl && - export PERL5LIB="${S}/share/perl:${PERL5LIB:+:}${PERL5LIB}" - - # don't search /usr/local - sed -i -e '/FLAGS=.*\/local\//c\: # removed by ebuild' configure.ac || die - - # Fix for Darwin (macOS) - if use prefix; then - if [[ ${CHOST} == *-darwin* ]] ; then - sed -e 's:-install_name libR.dylib:-install_name ${libdir}/R/lib/libR.dylib:' \ - -e 's:-install_name libRlapack.dylib:-install_name ${libdir}/R/lib/libRlapack.dylib:' \ - -e 's:-install_name libRblas.dylib:-install_name ${libdir}/R/lib/libRblas.dylib:' \ - -e "/SHLIB_EXT/s/\.so/.dylib/" \ - -i configure.ac || die - # sort of "undo" 2.14.1-rmath-shared.patch - sed -e "s:-Wl,-soname=libRmath.so:-install_name ${EPREFIX}/usr/$(get_libdir)/libRmath.dylib:" \ - -i src/nmath/standalone/Makefile.in || die - else - append-ldflags -Wl,-rpath="${EPREFIX}/usr/$(get_libdir)/R/lib" - fi - fi - - AT_M4DIR=m4 eautoreconf -} - -src_configure() { - filter-ldflags -Wl,-Bdirect -Bdirect - - econf \ - --enable-byte-compiled-packages \ - --enable-R-shlib \ - --disable-R-framework \ - --disable-R-static-lib \ - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ - rdocdir="${EPREFIX}/usr/share/doc/${PF}" \ - --with-system-tre \ - --without-aqua \ - $(use_enable java) \ - $(use_enable lto lto R) \ - $(use_enable nls) \ - $(use_enable openmp) \ - $(use_enable profile R-profiling) \ - $(use_enable profile memory-profiling) \ - $(use_with cairo) \ - $(use_with icu ICU) \ - $(use_with jpeg jpeglib) \ - $(use_with lapack) \ - $(use_with !minimal recommended-packages) \ - $(use_with png libpng) \ - $(use_with readline) \ - $(use_with tiff libtiff) \ - $(use_with tk tcltk) \ - $(use_with tk tk-config "${ESYSROOT}"/usr/$(get_libdir)/tkConfig.sh) \ - $(use_with tk tcl-config "${ESYSROOT}"/usr/$(get_libdir)/tclConfig.sh) \ - $(use_with X x) -} - -src_compile() { - export VARTEXFONTS="${T}"/fonts - emake AR="$(tc-getAR)" - emake -C src/nmath/standalone shared AR="$(tc-getAR)" - use doc && emake info pdf -} - -src_install() { - default - emake -C src/nmath/standalone DESTDIR="${D}" install - - if use doc; then - emake DESTDIR="${D}" install-info install-pdf - dosym ../manual /usr/share/doc/${PF}/html/manual - fi - - newenvd - 99R <<-_EOF_ - LDPATH="${EPREFIX}/usr/$(get_libdir)/${PN}/lib" - R_HOME="${EPREFIX}/usr/$(get_libdir)/${PN}" - _EOF_ - - newbashcomp "${DISTDIR}"/${PN}-${BCPV}.bash_completion ${PN} - # The buildsystem has a different understanding of install_names than - # we require. Since it builds modules like shared objects (wrong), many - # objects (all modules) get an incorrect install_name. Fixing the build - # system here is not really trivial. - if [[ ${CHOST} == *-darwin* ]] ; then - local mod - pushd "${ED}"/usr/$(get_libdir)/R >/dev/null || die - for mod in $(find . -name "*.dylib") ; do - mod=${mod#./} - install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/R/${mod}" "${mod}" - done - popd >/dev/null || die - fi - - # Users are encouraged to access some of the the R documentation - # interactively, through functions like "contributors()" that - # tries to open the "AUTHORS" file. Other files can be accessed - # by name with RShowDoc(), and the documentation for e.g. license() - # and RShowDoc() suggests a few of these names. Here we try to - # collect as many names as possible that a user might actually - # try to view through R, because if we don't decompress them, - # then R doesn't know what to do with 'em. Bug #556706. - local INTERACTIVE_DOCS=( - AUTHORS - COPYING - FAQ - NEWS - THANKS - ) - - # Other data sources that are shipped as "documentation," but which - # need to be accessible via their original unmolested filenames. - local INTERACTIVE_DATA=( - BioC_mirrors.csv - CRAN_mirrors.csv - KEYWORDS.db - NEWS.rds - ) - - local f NOCOMPRESS_DOCS=( "${INTERACTIVE_DOCS[@]}" "${INTERACTIVE_DATA[@]}" ) - for f in "${NOCOMPRESS_DOCS[@]}"; do - docompress -x /usr/share/doc/${PF}/${f} - done - - # Finally, an extra copy of this started showing up at some point... - rm "${ED}"/usr/$(get_libdir)/R/COPYING || die -} - -pkg_postinst() { - if use java; then - einfo "Re-initializing java paths for ${P}" - R CMD javareconf - fi -} diff --git a/dev-lang/R/R-4.3.2-r1.ebuild b/dev-lang/R/R-4.3.2-r1.ebuild deleted file mode 100644 index 24fefe89c155..000000000000 --- a/dev-lang/R/R-4.3.2-r1.ebuild +++ /dev/null @@ -1,246 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit bash-completion-r1 autotools flag-o-matic fortran-2 toolchain-funcs - -# latest git commit for R bash completion: -# https://github.com/deepayan/rcompletion -BCPV=78d6830e28ea90a046da79a9b4f70c39594bb6d6 - -DESCRIPTION="Language and environment for statistical computing and graphics" -HOMEPAGE="https://www.r-project.org/" -SRC_URI=" - https://cran.r-project.org/src/base/R-4/${P}.tar.gz - https://raw.githubusercontent.com/deepayan/rcompletion/${BCPV}/bash_completion/R -> ${PN}-${BCPV}.bash_completion" - -LICENSE="|| ( GPL-2 GPL-3 ) LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~loong ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -IUSE="cairo doc icu java jpeg lapack lto minimal nls openmp perl png prefix profile readline test tiff tk X" - -REQUIRED_USE=" - png? ( || ( cairo X ) ) - jpeg? ( || ( cairo X ) ) - tiff? ( || ( cairo X ) )" -RESTRICT=" - minimal? ( test ) - !test? ( test )" - -# At least one package installation in the test suite requires TeX, -# and will fail without it (bug #718056). -DEPEND=" - app-arch/bzip2 - app-arch/xz-utils - app-text/ghostscript-gpl - dev-libs/libpcre2:= - >=dev-libs/tre-0.8.0_p20210321[approx] - net-misc/curl - virtual/blas - sys-libs/zlib[minizip] - sys-apps/coreutils - cairo? ( - x11-libs/cairo:=[X=] - x11-libs/pango:= - ) - icu? ( dev-libs/icu:= ) - jpeg? ( media-libs/libjpeg-turbo:= ) - kernel_linux? ( net-libs/libtirpc ) - lapack? ( virtual/lapack ) - perl? ( dev-lang/perl ) - png? ( media-libs/libpng:= ) - readline? ( sys-libs/readline:= ) - tiff? ( media-libs/tiff:= ) - tk? ( dev-lang/tk:= ) - X? ( - x11-libs/libXmu - x11-libs/libXt - )" -RDEPEND="${DEPEND} - java? ( >=virtual/jre-1.8:* )" -BDEPEND=" - sys-apps/which - virtual/pkgconfig - doc? ( - virtual/latex-base - dev-texlive/texlive-fontsrecommended - ) - test? ( virtual/latex-base )" - -PATCHES=( - "${FILESDIR}"/R-4.3.0-parallel.patch - "${FILESDIR}"/R-4.3.0-no-LDFLAGS-in-libR-pkg-config.patch - "${FILESDIR}"/R-4.3.0-no-gzip-doc.patch -) - -# false positive, the linking step fails (as it should) -QA_CONFIG_IMPL_DECL_SKIP=( iconvlist ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp - FORTRAN_NEED_OPENMP=1 - fi - - fortran-2_pkg_setup - - # avoid using existing R installation - unset R_HOME -} - -src_prepare() { - default - - # fix packages.html for doc (gentoo bug #205103) - sed -e "s:../../../library:../../../../$(get_libdir)/R/library:g" \ - -i src/library/tools/R/Rd.R || die - - # fix Rscript path when installed (gentoo bug #221061) - sed -e "s:-DR_HOME='\"\$(rhome)\"':-DR_HOME='\"${EPREFIX}/usr/$(get_libdir)/${PN}\"':" \ - -i src/unix/Makefile.in || die "sed unix Makefile failed" - - # fix HTML links to manual (gentoo bug #273957) - sed -e 's:\.\./manual/:manual/:g' \ - -i $(grep -Flr ../manual/ doc) || die "sed for HTML links failed" - - use lapack && - export LAPACK_LIBS="$($(tc-getPKG_CONFIG) --libs lapack)" - - use perl && - export PERL5LIB="${S}/share/perl:${PERL5LIB:+:}${PERL5LIB}" - - # don't search /usr/local - sed -i -e '/FLAGS=.*\/local\//c\: # removed by ebuild' configure.ac || die - - # Fix for Darwin (macOS) - if use prefix; then - if [[ ${CHOST} == *-darwin* ]] ; then - sed -e 's:-install_name libR.dylib:-install_name ${libdir}/R/lib/libR.dylib:' \ - -e 's:-install_name libRlapack.dylib:-install_name ${libdir}/R/lib/libRlapack.dylib:' \ - -e 's:-install_name libRblas.dylib:-install_name ${libdir}/R/lib/libRblas.dylib:' \ - -e "/SHLIB_EXT/s/\.so/.dylib/" \ - -i configure.ac || die - # sort of "undo" 2.14.1-rmath-shared.patch - sed -e "s:-Wl,-soname=libRmath.so:-install_name ${EPREFIX}/usr/$(get_libdir)/libRmath.dylib:" \ - -i src/nmath/standalone/Makefile.in || die - else - append-ldflags -Wl,-rpath="${EPREFIX}/usr/$(get_libdir)/R/lib" - fi - fi - - AT_M4DIR=m4 eautoreconf -} - -src_configure() { - filter-ldflags -Wl,-Bdirect -Bdirect - - econf \ - --enable-byte-compiled-packages \ - --enable-R-shlib \ - --disable-R-framework \ - --disable-R-static-lib \ - --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ - rdocdir="${EPREFIX}/usr/share/doc/${PF}" \ - --with-system-tre \ - --without-aqua \ - $(use_enable java) \ - $(use_enable lto lto R) \ - $(use_enable nls) \ - $(use_enable openmp) \ - $(use_enable profile R-profiling) \ - $(use_enable profile memory-profiling) \ - $(use_with cairo) \ - $(use_with icu ICU) \ - $(use_with jpeg jpeglib) \ - $(use_with lapack) \ - $(use_with !minimal recommended-packages) \ - $(use_with png libpng) \ - $(use_with readline) \ - $(use_with tiff libtiff) \ - $(use_with tk tcltk) \ - $(use_with tk tk-config "${ESYSROOT}"/usr/$(get_libdir)/tkConfig.sh) \ - $(use_with tk tcl-config "${ESYSROOT}"/usr/$(get_libdir)/tclConfig.sh) \ - $(use_with X x) -} - -src_compile() { - export VARTEXFONTS="${T}"/fonts - emake AR="$(tc-getAR)" - emake -C src/nmath/standalone shared AR="$(tc-getAR)" - use doc && emake info pdf -} - -src_install() { - default - emake -C src/nmath/standalone DESTDIR="${D}" install - - if use doc; then - emake DESTDIR="${D}" install-info install-pdf - dosym ../manual /usr/share/doc/${PF}/html/manual - fi - - newenvd - 99R <<-_EOF_ - LDPATH="${EPREFIX}/usr/$(get_libdir)/${PN}/lib" - R_HOME="${EPREFIX}/usr/$(get_libdir)/${PN}" - _EOF_ - - newbashcomp "${DISTDIR}"/${PN}-${BCPV}.bash_completion ${PN} - # The buildsystem has a different understanding of install_names than - # we require. Since it builds modules like shared objects (wrong), many - # objects (all modules) get an incorrect install_name. Fixing the build - # system here is not really trivial. - if [[ ${CHOST} == *-darwin* ]] ; then - local mod - pushd "${ED}"/usr/$(get_libdir)/R >/dev/null || die - for mod in $(find . -name "*.dylib") ; do - mod=${mod#./} - install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/R/${mod}" "${mod}" - done - popd >/dev/null || die - fi - - # Users are encouraged to access some of the the R documentation - # interactively, through functions like "contributors()" that - # tries to open the "AUTHORS" file. Other files can be accessed - # by name with RShowDoc(), and the documentation for e.g. license() - # and RShowDoc() suggests a few of these names. Here we try to - # collect as many names as possible that a user might actually - # try to view through R, because if we don't decompress them, - # then R doesn't know what to do with 'em. Bug #556706. - local INTERACTIVE_DOCS=( - AUTHORS - COPYING - FAQ - NEWS - THANKS - ) - - # Other data sources that are shipped as "documentation," but which - # need to be accessible via their original unmolested filenames. - local INTERACTIVE_DATA=( - BioC_mirrors.csv - CRAN_mirrors.csv - KEYWORDS.db - NEWS.rds - ) - - local f NOCOMPRESS_DOCS=( "${INTERACTIVE_DOCS[@]}" "${INTERACTIVE_DATA[@]}" ) - for f in "${NOCOMPRESS_DOCS[@]}"; do - docompress -x /usr/share/doc/${PF}/${f} - done - - # Finally, an extra copy of this started showing up at some point... - rm "${ED}"/usr/$(get_libdir)/R/COPYING || die -} - -pkg_postinst() { - if use java; then - einfo "Re-initializing java paths for ${P}" - R CMD javareconf - fi -} diff --git a/dev-lang/R/R-4.4.3.ebuild b/dev-lang/R/R-4.4.3.ebuild new file mode 100644 index 000000000000..8be7dc789db0 --- /dev/null +++ b/dev-lang/R/R-4.4.3.ebuild @@ -0,0 +1,251 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 autotools flag-o-matic fortran-2 toolchain-funcs + +# latest git commit for R bash completion: +# https://github.com/deepayan/rcompletion +BCPV=78d6830e28ea90a046da79a9b4f70c39594bb6d6 + +DESCRIPTION="Language and environment for statistical computing and graphics" +HOMEPAGE="https://www.r-project.org/" +SRC_URI=" + https://cran.r-project.org/src/base/R-4/${P}.tar.gz + https://raw.githubusercontent.com/deepayan/rcompletion/${BCPV}/bash_completion/R -> ${PN}-${BCPV}.bash_completion" + +LICENSE="|| ( GPL-2 GPL-3 ) LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~loong ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +IUSE="cairo doc icu java jpeg +libdeflate lto minimal nls openmp perl png prefix profile readline test tiff tk X" + +REQUIRED_USE=" + png? ( || ( cairo X ) ) + jpeg? ( || ( cairo X ) ) + tiff? ( || ( cairo X ) )" +RESTRICT=" + minimal? ( test ) + !test? ( test )" + +# At least one package installation in the test suite requires TeX, +# and will fail without it (bug #718056). +DEPEND=" + app-arch/bzip2 + app-arch/xz-utils + app-text/ghostscript-gpl + dev-libs/libpcre2:= + >=dev-libs/tre-0.8.0_p20210321[approx] + net-misc/curl + sys-libs/zlib[minizip] + sys-apps/coreutils + sys-libs/timezone-data + virtual/blas + virtual/lapack + cairo? ( + x11-libs/cairo:=[X=] + x11-libs/pango:= + ) + icu? ( dev-libs/icu:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + kernel_linux? ( net-libs/libtirpc:= ) + libdeflate? ( app-arch/libdeflate ) + perl? ( dev-lang/perl ) + png? ( media-libs/libpng:= ) + readline? ( sys-libs/readline:= ) + tiff? ( media-libs/tiff:= ) + tk? ( dev-lang/tk:= ) + X? ( + x11-libs/libX11 + x11-libs/libXmu + x11-libs/libXt + )" +RDEPEND="${DEPEND} + java? ( >=virtual/jre-1.8:* )" +BDEPEND=" + sys-apps/which + virtual/pkgconfig + doc? ( + virtual/latex-base + dev-texlive/texlive-fontsrecommended + ) + test? ( virtual/latex-base )" + +PATCHES=( + "${FILESDIR}"/R-4.3.0-parallel.patch + "${FILESDIR}"/R-4.3.0-no-LDFLAGS-in-libR-pkg-config.patch + "${FILESDIR}"/R-4.3.0-no-gzip-doc.patch +) + +# false positive, the linking step fails (as it should) +QA_CONFIG_IMPL_DECL_SKIP=( iconvlist ) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] && use openmp; then + tc-check-openmp + FORTRAN_NEED_OPENMP=1 + fi + + fortran-2_pkg_setup + + # avoid using existing R installation + unset R_HOME +} + +src_prepare() { + default + + # fix packages.html for doc (gentoo bug #205103) + sed -e "s:../../../library:../../../../$(get_libdir)/R/library:g" \ + -i src/library/tools/R/Rd.R || die + + # fix Rscript path when installed (gentoo bug #221061) + sed -e "s:-DR_HOME='\"\$(rhome)\"':-DR_HOME='\"${EPREFIX}/usr/$(get_libdir)/${PN}\"':" \ + -i src/unix/Makefile.in || die "sed unix Makefile failed" + + # fix HTML links to manual (gentoo bug #273957) + sed -e 's:\.\./manual/:manual/:g' \ + -i $(grep -Flr ../manual/ doc) || die "sed for HTML links failed" + + use perl && + export PERL5LIB="${S}/share/perl:${PERL5LIB:+:}${PERL5LIB}" + + # don't search /usr/local + sed -i -e '/FLAGS=.*\/local\//c\: # removed by ebuild' configure.ac || die + + # Fix for Darwin (macOS) + if use prefix; then + if [[ ${CHOST} == *-darwin* ]] ; then + sed -e 's:-install_name libR.dylib:-install_name ${libdir}/R/lib/libR.dylib:' \ + -e 's:-install_name libRlapack.dylib:-install_name ${libdir}/R/lib/libRlapack.dylib:' \ + -e 's:-install_name libRblas.dylib:-install_name ${libdir}/R/lib/libRblas.dylib:' \ + -e "/SHLIB_EXT/s/\.so/.dylib/" \ + -i configure.ac || die + # sort of "undo" 2.14.1-rmath-shared.patch + sed -e "s:-Wl,-soname=libRmath.so:-install_name ${EPREFIX}/usr/$(get_libdir)/libRmath.dylib:" \ + -i src/nmath/standalone/Makefile.in || die + else + append-ldflags -Wl,-rpath="${EPREFIX}/usr/$(get_libdir)/R/lib" + fi + fi + + AT_M4DIR=m4 eautoreconf +} + +src_configure() { + # bug #944066 (try reomving after 4.4.2) + append-cflags -std=gnu17 + + filter-ldflags -Wl,-Bdirect -Bdirect + + econf \ + --enable-byte-compiled-packages \ + --enable-R-shlib \ + --disable-R-framework \ + --disable-R-static-lib \ + --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ + --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \ + rdocdir="${EPREFIX}/usr/share/doc/${PF}" \ + --with-system-tre \ + --without-aqua \ + --without-newAccelerate \ + $(use_enable java) \ + $(use_enable lto lto R) \ + $(use_enable nls) \ + $(use_enable openmp) \ + $(use_enable profile R-profiling) \ + $(use_enable profile memory-profiling) \ + $(use_with cairo) \ + $(use_with icu ICU) \ + $(use_with jpeg jpeglib) \ + $(use_with libdeflate libdeflate-compression) \ + $(use_with !minimal recommended-packages) \ + $(use_with png libpng) \ + $(use_with readline) \ + $(use_with tiff libtiff) \ + $(use_with tk tcltk) \ + $(use_with tk tk-config "${ESYSROOT}"/usr/$(get_libdir)/tkConfig.sh) \ + $(use_with tk tcl-config "${ESYSROOT}"/usr/$(get_libdir)/tclConfig.sh) \ + $(use_with X x) +} + +src_compile() { + export VARTEXFONTS="${T}"/fonts + emake AR="$(tc-getAR)" + emake -C src/nmath/standalone shared AR="$(tc-getAR)" + use doc && emake info pdf +} + +src_install() { + default + emake -C src/nmath/standalone DESTDIR="${D}" install + + if use doc; then + emake DESTDIR="${D}" install-info install-pdf + dosym ../manual /usr/share/doc/${PF}/html/manual + fi + + newenvd - 99R <<-_EOF_ + LDPATH="${EPREFIX}/usr/$(get_libdir)/${PN}/lib" + R_HOME="${EPREFIX}/usr/$(get_libdir)/${PN}" + _EOF_ + + newbashcomp "${DISTDIR}"/${PN}-${BCPV}.bash_completion ${PN} + # The buildsystem has a different understanding of install_names than + # we require. Since it builds modules like shared objects (wrong), many + # objects (all modules) get an incorrect install_name. Fixing the build + # system here is not really trivial. + if [[ ${CHOST} == *-darwin* ]] ; then + local mod + pushd "${ED}"/usr/$(get_libdir)/R >/dev/null || die + for mod in $(find . -name "*.dylib") ; do + mod=${mod#./} + install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/R/${mod}" "${mod}" + done + popd >/dev/null || die + fi + + # Users are encouraged to access some of the the R documentation + # interactively, through functions like "contributors()" that + # tries to open the "AUTHORS" file. Other files can be accessed + # by name with RShowDoc(), and the documentation for e.g. license() + # and RShowDoc() suggests a few of these names. Here we try to + # collect as many names as possible that a user might actually + # try to view through R, because if we don't decompress them, + # then R doesn't know what to do with 'em. Bug #556706. + local INTERACTIVE_DOCS=( + AUTHORS + COPYING + FAQ + NEWS + THANKS + ) + + # Other data sources that are shipped as "documentation," but which + # need to be accessible via their original unmolested filenames. + local INTERACTIVE_DATA=( + BioC_mirrors.csv + CRAN_mirrors.csv + KEYWORDS.db + NEWS.rds + ) + + local f NOCOMPRESS_DOCS=( "${INTERACTIVE_DOCS[@]}" "${INTERACTIVE_DATA[@]}" ) + for f in "${NOCOMPRESS_DOCS[@]}"; do + docompress -x /usr/share/doc/${PF}/${f} + done + + # Finally, an extra copy of this started showing up at some point... + rm "${ED}"/usr/$(get_libdir)/R/COPYING || die +} + +pkg_postinst() { + if use java; then + einfo "Re-initializing java paths for ${P}" + R CMD javareconf + fi +} diff --git a/dev-lang/elixir/Manifest b/dev-lang/elixir/Manifest index 0f01342cb900..a12b5ca53d94 100644 --- a/dev-lang/elixir/Manifest +++ b/dev-lang/elixir/Manifest @@ -12,6 +12,7 @@ DIST elixir-1.16.3.tar.gz 3360376 BLAKE2B ac6cdc16f193560e18338bd3e45a4f88c7d439 DIST elixir-1.17.2.tar.gz 3255067 BLAKE2B b2902c41262303fe33efeb22f8fe6cf76596f7d9894b018c0d45eaf1858f7d2ffaa1481659ff290c71807b03c5f2ebb17160d7420133d440957f344df6d01126 SHA512 f9d4983c3e7bd054a76bfe0dfa4aea483a4dd84ada432ae5a144167ff8d268499077704214eaaecfda84469c2f747a3594258ca95a7955bffde0c7b0f65985f2 DIST elixir-1.17.3.tar.gz 3256595 BLAKE2B c016857f74d65de5afcef6d1284b76fc529a542e5cd0dded73701cbdad93f281529a545af1c5a905cb116a3028472703acfdc21ae070f9255bdfd6d5c09bf7a0 SHA512 084514d1362b52e85c0b4d92b8d18c6d2e9fddb4e4eaf4467f8b1c0985f9ceca1b74a0478581d91164935ae0f49610771860c674e080137e52aadc65b666911b DIST elixir-1.18.1.tar.gz 3356562 BLAKE2B bd710e847b2b52255bdcae76793f7f4570a101bd05aec89a4a5ad639febd008309d644db6799e899f46e3a7ba7d9b42e943ec7db04bf983d2c236ccb78292ecb SHA512 ea17f4cb96cab4c4302a304fa8119952ee96b85494f76a6df4e5806f72fa169a2139753600aacd1341f500587d51fabee25a1bf3deb5d838d5ef0d50f0654f76 +DIST elixir-1.18.3.tar.gz 3391654 BLAKE2B 3ada82301c882e9979196a7012dabf85cf00141792c85b7058f55f3db05edd4561bcaf98310824dc673b229246c44a963b72a869aadfcc44ca40bf4fe959eb34 SHA512 bf56c69ab7768c6d08b42bf42b062db8d7a063ec6971e5f21575f5502f7d954fe4ab77dcb83cbb4d72dcc53ec91a396e3738adabcc52e83cb375296989054df5 EBUILD elixir-1.14.5-r2.ebuild 1118 BLAKE2B 74b30f3045dc0c727661a5f876f03c1e248f7d6fd6495a69e0fca48c630337c7a197069fad6e0be8daa99726b7830e4e5f38b0202af6a444c86700a9a9b8bda3 SHA512 4ab546f1918461f7e8fce2132b49b7bf5a4f1b9646b44b96aeb2d81b43fdc67bd6f057e49114bc5aab762c85c6b7e4816b0a96489dfe01c1c4e85695b941a27f EBUILD elixir-1.15.7.ebuild 1013 BLAKE2B d3a57e16376d96cf438be208fcc63aa6713fc5c85c370765e56a56b2291477aadd73b680eff630f3ea604248ce9797d49181f2534f8f5b934e43360a21133875 SHA512 cda24844929eafabeed65b7d121eec63b1499732d631adf33b50d302ac5dbd443804dcaa90dd088f38f95fe84e69d9f6b7cf7b84aa6cf9f2cf2ab80b05654789 EBUILD elixir-1.15.8.ebuild 1016 BLAKE2B 38ed745bb173bb1cbc7a04cde4eec072618d99020f66ea624b71ed14fb58be9d5368d9aa03033c9126130626a00cf6a1f907c9e41a27147fc85c81eaff3a6ec9 SHA512 db38f2e8d9b7aff16020b1a84d4b898e4444c49b5e39d54f2f361befe17ccfabecced60323ab6bbb8b613007abdd2dd3a6a3a409f058d8f73806fc98e1daf45f @@ -20,4 +21,5 @@ EBUILD elixir-1.16.3.ebuild 1002 BLAKE2B f2b1477a5ea6b1c324c326cb576f7c82e5985bf EBUILD elixir-1.17.2.ebuild 999 BLAKE2B 6eb05e0f3ddd4db24227957791eb26a21d690cbfb5733898f49dfa549e68f356e10a230ed3c9adcd145de7632d98b24bb88521bb348a808369a9acbf5a2aa3f1 SHA512 ad871091ab8a436937a88c4ae4dc4b733571cf7c5d90e1e5bcf583cc5b6304899abb3102e43b528900a77a1bdea9d5b4240825d3a7b86e50feae45009c6071da EBUILD elixir-1.17.3.ebuild 1002 BLAKE2B c382db1d4be9ba4bb6bba5bfca16d62a57d109ad57bce94dda71fd68ada1b9cdfb2904849401c36c7b7f7e7efa2455eeab0b4d6a5069016617ccada59c7999f2 SHA512 e9d531d7f481d85c1b0a4530b5088ed608204f89fa28f4eaa0e5b0760d507b8d247606e956af347f5fb3ca6c9931697a8fdf97a30edfc0500138817fdb8da3a4 EBUILD elixir-1.18.1.ebuild 1002 BLAKE2B c382db1d4be9ba4bb6bba5bfca16d62a57d109ad57bce94dda71fd68ada1b9cdfb2904849401c36c7b7f7e7efa2455eeab0b4d6a5069016617ccada59c7999f2 SHA512 e9d531d7f481d85c1b0a4530b5088ed608204f89fa28f4eaa0e5b0760d507b8d247606e956af347f5fb3ca6c9931697a8fdf97a30edfc0500138817fdb8da3a4 +EBUILD elixir-1.18.3.ebuild 1002 BLAKE2B 18af9979c73d6294aefceb5289039a9e495c7d60ec7dab807bffd2b58d8f2d0d885e3893712362e17bfce1169b0268bac789b484de74cca5fae58346163ed454 SHA512 806e1151b009124fb52f50eb172014d05cf343cc40c7170383f185c2facb7166b74987a0c3c9b8ca5224590c899f7e30f9664eca9e65fb9d780ed953b8be2230 MISC metadata.xml 724 BLAKE2B ae59dba7153a9cdbeb0ed45acf54cf733f07ebc1b43896f88ff09686ecbdd56553e92f7733e5f556d01e622cadb85a24da879799b0f742d7e257425db1f300b4 SHA512 43cc4435aa89e2ba8edaf8f4cead814c514fac07a7c0500f3f7dfe35d2da6f75f835df0d21d862be6dcbffbd9c6e5ea32b21296048ec903c1491ccfd4854316b diff --git a/dev-lang/elixir/elixir-1.18.3.ebuild b/dev-lang/elixir/elixir-1.18.3.ebuild new file mode 100644 index 000000000000..b0636298755e --- /dev/null +++ b/dev-lang/elixir/elixir-1.18.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Elixir programming language" +HOMEPAGE="https://elixir-lang.org" +SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 ErlPL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~sparc ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +# https://hexdocs.pm/elixir/compatibility-and-deprecations.html#between-elixir-and-erlang-otp +DEPEND=" + >=dev-lang/erlang-25:0=[ssl] + +Date: Mon, 10 Mar 2025 01:35:36 +0200 +Subject: [PATCH] Add #include to fix building with gcc 15 + +With gcc 15, the C++ Standard Library no longer includes other headers +that were internally used by the library. In luau's case the missing +header is + +Downstream Gentoo bug: https://bugs.gentoo.org/938122 +Signed-off-by: Kostadin Shishmanov +--- + Analysis/src/TypedAllocator.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/Analysis/src/TypedAllocator.cpp b/Analysis/src/TypedAllocator.cpp +index a2f49afbd..16c844e8d 100644 +--- a/Analysis/src/TypedAllocator.cpp ++++ b/Analysis/src/TypedAllocator.cpp +@@ -26,6 +26,8 @@ const size_t kPageSize = sysconf(_SC_PAGESIZE); + + #include + ++#include ++ + LUAU_FASTFLAG(DebugLuauFreezeArena) + + namespace Luau diff --git a/dev-lang/luau/luau-0.653.ebuild b/dev-lang/luau/luau-0.653.ebuild index dc166cc33eba..43a9a655af4f 100644 --- a/dev-lang/luau/luau-0.653.ebuild +++ b/dev-lang/luau/luau-0.653.ebuild @@ -25,6 +25,7 @@ SLOT="0" IUSE="static-libs test" RESTRICT="!test? ( test )" +PATCHES=( "${FILESDIR}/luau-0.653-TypedAllocator-cpp.patch" ) DOCS=( CONTRIBUTING.md README.md SECURITY.md ) src_configure() { diff --git a/dev-lang/luau/luau-0.662.ebuild b/dev-lang/luau/luau-0.662.ebuild index 4e0e683860eb..4ff0bda23a21 100644 --- a/dev-lang/luau/luau-0.662.ebuild +++ b/dev-lang/luau/luau-0.662.ebuild @@ -25,6 +25,7 @@ SLOT="0" IUSE="static-libs test" RESTRICT="!test? ( test )" +PATCHES=( "${FILESDIR}/luau-0.653-TypedAllocator-cpp.patch" ) DOCS=( CONTRIBUTING.md README.md SECURITY.md ) src_configure() { diff --git a/dev-lang/ocaml/Manifest b/dev-lang/ocaml/Manifest index c456c561462c..3818da6d3746 100644 --- a/dev-lang/ocaml/Manifest +++ b/dev-lang/ocaml/Manifest @@ -15,6 +15,7 @@ DIST ocaml-4.14.1.tar.gz 5498436 BLAKE2B 6113283ab0f7ac39ade1f35a02c203a6956f8f4 DIST ocaml-4.14.2.tar.gz 5505119 BLAKE2B 518c2a69ee32e1c141b574a9800a64efc445381eb2808985b5dbb9d5ec54228aa25042a1c410307c3556488ba12a751980396b0d9a01e60a1ea84ac5b52e6dd6 SHA512 61bfa7961aae02458210f10865a5703f7a50a9be2452379e820cf2dfac2c6037da553c31835145e50a776880bdeb2ec78cd7a3147d65f418e7b3e593534e8a04 DIST ocaml-5.2.0.tar.gz 6047633 BLAKE2B 5d0a7d48d9ed9fcd2974237a93e30ffee20fc444b5ede296bd35cb3285909f8cf5a489ac1cdc75778ca6d45f8ff40a92939bfcfc42e218aeda0170b1ac0bfd49 SHA512 78115690186c13c1f2480e4812a9fe34cce2c28bf8a89d5c9810bca0391f930cecd9cee2b53daca8a32da1815628b33be68f3948f1ad03fa50b72b14e3ea84f2 DIST ocaml-5.2.1.tar.gz 6051609 BLAKE2B 5cefbddcb97c7e9de5a5e1c4385086972bf78f545d3a649278c9582b3c527374f80fd32b072e51ff7c753a50431f373e0d584c9c8187a25d8f828adb3e595234 SHA512 b0803dd90a0ac6fdf609345c481b3dc637eb9cbb9bea296cfd79f6913ab34b9e02970bcddd83e8bc419cbe1c4694bb7889146615841b5ee101081a82eee024e2 +DIST ocaml-5.3.0.tar.gz 6239856 BLAKE2B a790293d14a31d34b10f2fac22a416e967c2a06f64001b54665e691a6aecdb71caf60dd6217460257f8d18191551ffa01d0d3d62327c6eb9bc63c254c162752e SHA512 73817ada340bdf4091b3edd7b292bd0074c87b4836f202f48ecf0f620a00feaa70ebc9101b97155e8caa6907646dfdf21eff728fa0e14542df3b5e5436229d06 EBUILD ocaml-4.09.0-r3.ebuild 2742 BLAKE2B e4dd877140601c6b52e93587047b5bfa27e39cf833664a22e39448784cbad82d6e5feb2aecfb169725f72f098750d28cef6e98d988c7cbde0abda5776384799e SHA512 0fe114be6a3b02a197b7e42137e43d51f1664438e2a2805e63642e4a1a50e78d865db64dc0f357e13c1fcc2cb1e3bb71a81faa611d67ef01c4036e48c659f166 EBUILD ocaml-4.10.2-r3.ebuild 2749 BLAKE2B 3450e01f8157a66bc69079030ac3abe35cd8954c9cdd83d70680238c64449661f967cc6ba9a9d8029a3f17b41c8892508868db513faf239407b1b59a0ea87b4c SHA512 6423d21d704eee5b97b177ac98a8ba1794af430a6f3a1c4606946ff213a5d8dfa643787d802b3de1b77832583fc4c55ebafc5ab2073f832e65c5eb0b19344b5f EBUILD ocaml-4.11.2-r2.ebuild 2590 BLAKE2B 37ce14549ad68e0d30c9326ed568d921cd3f7fde93b29ac0c826cf2f1de3d9bed2d7dbfe93b8648452b7b48f512bba02d3f3520a72e4fd38247aa1f97cda0914 SHA512 b57778eea9a32e2f3a5e88bbf9a48082e8766aa0409aaa53fda9f2af24b5c0100e0e6ae449930aa4b9cfc4b99e4623145f05867f130fc453c89b870cb887e2fa @@ -24,4 +25,5 @@ EBUILD ocaml-4.14.1.ebuild 2440 BLAKE2B ea1cb9fba221ff93a3a4f5ae49db23e0b32aaae0 EBUILD ocaml-4.14.2.ebuild 2587 BLAKE2B 63fb2de0f2b38754e4a0dfa2669ee0d7aefbfd91ef6ec427ee44cf7c2e68241abe04e079139b5de33aa2b3e4f9dfd2c62657905e1de4b8b1fbc3f3a119ab4631 SHA512 d55c9d057e781ea080c9f211c451ac787f851a80d2100b27645ee912e66c2c863703b3a2d0e14fa7538094e3eedff19d888cfe42fe153ba118e340b338ac7285 EBUILD ocaml-5.2.0.ebuild 2627 BLAKE2B 4dc6c29849839927544941c263ff33b0d24e3617a466a3ef4cf78fe6ae949fb650da9c9cdcc011adf426ff54f0e837482f969f8ade9b0642bab5940196b6e1e6 SHA512 31fc07c3cca11ca8d53d27ffca92b636bea2c112a2a73d437cf57bdfa175021f61db9d656bca5058c0d86c77457f36e012e6aaf233a9de2b6bd9f22d08f02177 EBUILD ocaml-5.2.1.ebuild 2627 BLAKE2B 4dc6c29849839927544941c263ff33b0d24e3617a466a3ef4cf78fe6ae949fb650da9c9cdcc011adf426ff54f0e837482f969f8ade9b0642bab5940196b6e1e6 SHA512 31fc07c3cca11ca8d53d27ffca92b636bea2c112a2a73d437cf57bdfa175021f61db9d656bca5058c0d86c77457f36e012e6aaf233a9de2b6bd9f22d08f02177 +EBUILD ocaml-5.3.0.ebuild 2627 BLAKE2B 1dd72c47fc54deb90a968eaec55a56052175c44972cabb7f37a7f011fdbe15d58e0aab278c31df3d76cca5a2d0d4118fd7f2617387dc70f0dc1c5eed7046836f SHA512 4bee61e86ec10a55adac41d6b8e52e09ca4653dd09181b7d499848b897a312793de26dc160d25b3baf3a05c4134947d60fc92ce504e33666d4f73d53a8284590 MISC metadata.xml 671 BLAKE2B 452ea340c8abacedbdb20a344cffa9b91db2251e0174db596e4f96bf2b1c9d308ceb035e0870e738a15c313003fcbf39bb91c5f68b40a185e5e08e3ea7042616 SHA512 1d8248e2b05b145c804cc9cce6aa617bd6466f26326033cee06ed27ceb93ebc88b62f3badbfe13092fbaa89c3a71087491b88c4fc094da8624ab668cdc73b383 diff --git a/dev-lang/ocaml/ocaml-5.3.0.ebuild b/dev-lang/ocaml/ocaml-5.3.0.ebuild new file mode 100644 index 000000000000..671831ae1ec3 --- /dev/null +++ b/dev-lang/ocaml/ocaml-5.3.0.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles" +HOMEPAGE="https://ocaml.org/" +SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="QPL-1.0 LGPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="emacs flambda latex +ocamlopt test xemacs" + +RDEPEND="sys-libs/binutils-libs:=" +BDEPEND="${RDEPEND} + virtual/pkgconfig" +PDEPEND="emacs? ( app-emacs/ocaml-mode ) + xemacs? ( app-xemacs/ocaml )" + +QA_FLAGS_IGNORED='/usr/lib.*/ocaml/bigarray.cmxs' + +RESTRICT="!test? ( test )" + +src_prepare() { + default + + cp "${FILESDIR}"/ocaml.conf "${T}" || die + + # OCaml generates textrels on 32-bit arches + # We can't do anything about it, but disabling it means that tests + # for OCaml-based packages won't fail on unexpected output + # bug #773226 + if use arm || use ppc || use x86 ; then + append-ldflags "-Wl,-z,notext" + fi + + # Upstream build ignores LDFLAGS in several places. + sed -i -e 's/\(^MKDLL=.*\)/\1 $(LDFLAGS)/' \ + -e 's/\(^OC_CFLAGS=.*\)/\1 $(LDFLAGS)/' \ + -e 's/\(^OC_LDFLAGS=.*\)/\1 $(LDFLAGS)/' \ + Makefile.config.in || die "LDFLAGS fix failed" +} + +src_configure() { + filter-lto #bug 870349 + local opt=( + --bindir="${EPREFIX}/usr/bin" + --libdir="${EPREFIX}/usr/$(get_libdir)/ocaml" + --mandir="${EPREFIX}/usr/share/man" + --prefix="${EPREFIX}/usr" + $(use_enable test ocamltest) \ + $(use_enable flambda) + ) + + econf "${opt[@]}" +} + +src_compile() { + env -u P emake world + + if use ocamlopt ; then + env -u P emake opt + env -u P emake opt.opt + fi +} + +src_test() { + emake -j + + # OCaml tests only work when run sequentially + if use ocamlopt ; then + emake -j1 ocamltest.opt + else + emake -j1 ocamltest + #ewarn "${PN} was built without 'ocamlopt' USE flag; skipping tests." + fi + + emake -j1 tests +} + +src_install() { + # OCaml generates textrels on 32-bit arches + if use arm || use ppc || use x86 ; then + export QA_TEXTRELS='.*' + fi + default + + dodir /usr/include + # Create symlink for header files + dosym "../$(get_libdir)/ocaml/caml" /usr/include/caml + dodoc Changes README.adoc + + # Create envd entry for latex input files + if use latex ; then + echo "TEXINPUTS=\"${EPREFIX}/usr/$(get_libdir)/ocaml/ocamldoc:\"" > "${T}"/99ocamldoc || die + doenvd "${T}"/99ocamldoc + fi + + sed -i -e "s:lib:$(get_libdir):" "${T}"/ocaml.conf || die + + # Install ocaml-rebuild portage set + insinto /usr/share/portage/config/sets + doins "${T}"/ocaml.conf +} diff --git a/dev-lang/ruby/Manifest b/dev-lang/ruby/Manifest index 53b3f2401ac2..f2b4895cef50 100644 --- a/dev-lang/ruby/Manifest +++ b/dev-lang/ruby/Manifest @@ -33,7 +33,7 @@ EBUILD ruby-3.1.6-r1.ebuild 8908 BLAKE2B d1f784e2ed287491e3163fd02cc67e60041e0f4 EBUILD ruby-3.1.6-r3.ebuild 9203 BLAKE2B 216ceb045e2392a8e3966e80ef2fec25b6d7c534ec8cd69941ae4f74eab284899b71392f5c2fbd554b8eea7757816f90cb507afbde415aaee34c96e6a8933219 SHA512 dd4e8e81d6520c662cc5cd2fa2f3533c273f002644489e4cebc6291c8c7e858661d70d3e7d9bbf19460e23ecb52443757c2c970e40b7fe2da54b037cc1ce2ce1 EBUILD ruby-3.2.6-r2.ebuild 9380 BLAKE2B 6aeffba44f299f96c4e40ef626ad764bbb53674065108ccd64c92083107d2bb2ff43dca95efbbe5507011263b7a0cbec15b51557c8af5ea762af1f27b7e21e0c SHA512 dd3ec646360dea6eec0db0171fac65e1c05aa56e557b424684daf2efe6c9376fe410a8f9e218a1452340fc668966cfddf33c0d9a65c4511ff3f35cf7a03413ef EBUILD ruby-3.2.6-r4.ebuild 9539 BLAKE2B ecac6bd70da9bbd450ef5527b1528a675e53924cf76f213b4fca961fb3b9a8961b41d83e6619930bf3070e5fe84606e9ea974a70804a58d24efba320d44d4fc3 SHA512 9727b97df85dcc1b0ae184e9c1bad66f8fcce1cfaf14da114401341c2a37a283ed48e2c807790d13d4fc418fbcfcac250b62c794fb089a2455498210d429eede -EBUILD ruby-3.2.7.ebuild 9492 BLAKE2B a3c45e3b3be316426c707f60cbb312ede91ba673b77b2b1b291cb9b84480e85c34adb04cbccb41a17be9d507cb3d0de8ed9b9f835fd4928c52aff235ef85dc21 SHA512 c76402b0dd582c98af34771292fec925b4ebe4cf4d7899a1b1605bfa2856614e36172f9da2be31f1b8f93007324366ba3610bebf458c4869436f5b04c21ea30d +EBUILD ruby-3.2.7.ebuild 9491 BLAKE2B b6ba59b3b88df73e69c7cacdbd4fb2c2e663d09ca1aa42a082d1ad74ad205ded072657263cae86159c5ef6dc46baf39840b4f18ecc1dc14745e42e3010912062 SHA512 daa0fd9d630087c581772e08e71f046ebf6028844ed957880f8f26f5182a75bc6740f62d0ab507d8a9f29f4426cf75737ba99d6414860b8aa4daae44e77bd342 EBUILD ruby-3.3.6-r1.ebuild 9566 BLAKE2B afce954e3ebc1bc8d3f3890cb21ee92a6349d1b9752a54d55d0a5cef67d2ce47aa779d658fe5b7574eb82294490c120b9cabb511d72332d9c41f9207fa93dda1 SHA512 47583e13a082a7e9600558108b66f07f20905ee3ea8dddbe2f7008ebc2389d6b0946a5cf3423e9da7e1c91f161d424a003d6b6ed5d0720a2db525488f8b97825 EBUILD ruby-3.3.7-r1.ebuild 9661 BLAKE2B 2305b59565f7cd0d0e67e1a284c44eb23904f36de489e135651d9bc377ab6da60d2b3b00ba9d74fbdaf913fa19528cd12c4d78d673aad2fd9d3f1666053fb6e8 SHA512 1162ed37339f0ccb0883da63cc569a7754f5af801f9661ebe0f15f24541cbc0f904306380dc4f4d1c93b74989b16b94850d13f7277632e2a2c604c46f5aaa789 EBUILD ruby-3.3.7.ebuild 9545 BLAKE2B 5b39ee480f314d821f2de3af5992db6a9b313f396804d9d9af26602cd135cd731a0a3536ff37c0e500e80eba32ef7659826c88584b683a27cb5b8f127260e132 SHA512 eec3947cbce0bf57c2aa140c2a19c1a13c68e0befe872321c00fbe9e32665da059a23f3c6db4e48b6ac68cd62a143ab1220feec3d7729c0fa4835b50e22b8680 diff --git a/dev-lang/ruby/ruby-3.2.7.ebuild b/dev-lang/ruby/ruby-3.2.7.ebuild index f56b339d4232..04dd40b47479 100644 --- a/dev-lang/ruby/ruby-3.2.7.ebuild +++ b/dev-lang/ruby/ruby-3.2.7.ebuild @@ -19,7 +19,7 @@ SLOT=$(ver_cut 1-2) MY_SUFFIX=$(ver_rs 1 '' ${SLOT}) RUBYVERSION=${SLOT}.0 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="berkdb debug doc examples gdbm jemalloc jit socks5 +ssl static-libs systemtap tk valgrind xemacs" RDEPEND=" -- cgit v1.2.3