summaryrefslogtreecommitdiff
path: root/sci-mathematics
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-16 03:02:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-16 03:02:52 +0000
commitb0735771a80a647a2ea5a03a87d5873d175bd744 (patch)
treeaed120d0dfeab57cb7f38b7a5d186b1c53ae10cd /sci-mathematics
parent57d1fe5ae0c56e604db5d29bf7b62d685c42e043 (diff)
gentoo auto-resync : 16:11:2024 - 03:02:52
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/Manifest.gzbin19335 -> 19327 bytes
-rw-r--r--sci-mathematics/jags/Manifest5
-rw-r--r--sci-mathematics/jags/files/jags-4.3.1-configure.patch27
-rw-r--r--sci-mathematics/jags/jags-4.3.0.ebuild47
-rw-r--r--sci-mathematics/jags/jags-4.3.1-r1.ebuild8
5 files changed, 35 insertions, 52 deletions
diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz
index a5c531ace501..9833acfa1795 100644
--- a/sci-mathematics/Manifest.gz
+++ b/sci-mathematics/Manifest.gz
Binary files differ
diff --git a/sci-mathematics/jags/Manifest b/sci-mathematics/jags/Manifest
index dd97c33d2f7d..b857db5d72ad 100644
--- a/sci-mathematics/jags/Manifest
+++ b/sci-mathematics/jags/Manifest
@@ -1,5 +1,4 @@
-DIST JAGS-4.3.0.tar.gz 2057409 BLAKE2B 5820c66dd10cc90343d53b901b7dbc1acf85dca0f5f80280864190882f0af865edad877eb2cfd421ec2035d3ae843373da1facee8a10b6735e2fc0387d452949 SHA512 d0564c73ff45484afad532ed788353f9c0945cd9667030eed5be674492bf97524d05903b22d4995c1de8a331dba7b04425d009e114d98a38b4bfce5214518b36
+AUX jags-4.3.1-configure.patch 866 BLAKE2B c0cdc8a8a5646b1b531e2bb4ea30182f8269b7c613b8b9fc55d3b04ca3348681fbacf343e7990d58423a191bd61ce0999d156c7583320b213c7ea8bb3ca80977 SHA512 8f2bc4f5ca9de855062a1dc3325effdccd867ca87b92becc50a6b6000e5c8eb571dce9a4a3f943441afec54bf2454e6c3d5d4144ac6a4268d052f24ed94d3d6c
DIST JAGS-4.3.1.tar.gz 2019687 BLAKE2B dd464675f1aab59d007ffb29844b50ddcc26320cf8159b5ca108bf0e6db9878499aa40e090250b84ff4c8733100149037b2b3cee00b3ff2ec4fb23769157b944 SHA512 dceb97c92ad3ce3ebf62e1e68e822857f170f797f81a79fe5a56d8a81f8ea619e6e06356335e44def8f50ff82af55b2f9f7a880b84e092262a2d78e46c43acf2
-EBUILD jags-4.3.0.ebuild 931 BLAKE2B 0304a6bb39fd1b8803aba33b27b794e100bd14047a5ce8e8d44dc377808709d6974432c4d6705b5d4b8b71fb92971d2772b6ebdd8f916387913e6481a38e7d19 SHA512 4d466632cc27a97291f38a4974e6dfbd4f1c1ffc883573f6ba812332197406ac30842a31d6119e881da45e016755398f5f8b6e23db7cd54090311eb2f2bf159b
-EBUILD jags-4.3.1-r1.ebuild 995 BLAKE2B 7aff6dbeb97a38eac18bb4121c7daeb656ca564bc2137bb180ea69c9ed54837e3dad33da21e4acf3d3b189c5e815157df7759856b0b5e1c61a1527ec5790aa9c SHA512 2cbea1071a8813810e1b8167c7c66f2cf37938b8bf985953f85b784dd3909a6348258d7f62b193a12fdab5aa384c0c005cdd88a8c0e94b3e0fd62a0c2064b014
+EBUILD jags-4.3.1-r1.ebuild 1046 BLAKE2B 65f3341606f429bf59fcac9691402ccce09765ed6e0c2d595c18e8cdea6253586ffb14a7bcce7ce1b01a217a7e3a51e54f115cf1b0c1dfcbe869884927e5ef15 SHA512 8f4fb318fa5db8d8edbc492a85289b7084f2e428a11ad44346404560286355fa4d00c3e9ac89c73ff5bc8d690ea61bdd27b4fb955f239e032d82521639439786
MISC metadata.xml 865 BLAKE2B 6a997d33faa0e84c6bacead33c91a63048cca029df407566730b77f615357230154f9a6ff790190a2547b33311a6a7f23135c354ed25f1eff1d7ceba9a146f94 SHA512 7e38978f65eac37716d885e6e5519c45f2c9c6b1f2616225abab4a6f9b4112cc02a47219c2db48458de2c998864023f10487456ae549829a8449a56cf49181c1
diff --git a/sci-mathematics/jags/files/jags-4.3.1-configure.patch b/sci-mathematics/jags/files/jags-4.3.1-configure.patch
new file mode 100644
index 000000000000..8ed18279e5ef
--- /dev/null
+++ b/sci-mathematics/jags/files/jags-4.3.1-configure.patch
@@ -0,0 +1,27 @@
+diff '--color=auto' -ruN JAGS-4.3.1.orig/m4/R.m4 JAGS-4.3.1/m4/R.m4
+--- JAGS-4.3.1.orig/m4/R.m4 2022-04-08 17:30:01.000000000 +0200
++++ JAGS-4.3.1/m4/R.m4 2024-11-15 23:11:49.764622712 +0100
+@@ -1239,6 +1239,7 @@
+ AC_DEFUN([R_FUNC_ISFINITE],
+ [AC_CACHE_CHECK([for working isfinite], [r_cv_func_isfinite_works],
+ [AC_RUN_IFELSE([AC_LANG_SOURCE([[
++#include <stdlib.h>
+ #include <math.h>
+ #include "confdefs.h"
+ int main () {
+@@ -1263,6 +1264,7 @@
+ AC_DEFUN([R_FUNC_LOG],
+ [AC_CACHE_CHECK([for working log], [r_cv_func_log_works],
+ [AC_RUN_IFELSE([AC_LANG_SOURCE([[
++#include <stdlib.h>
+ #include <math.h>
+ #include "confdefs.h"
+ int main () {
+@@ -1292,6 +1294,7 @@
+ AC_DEFUN([R_FUNC_LOG1P],
+ [AC_CACHE_CHECK([for working log1p], [r_cv_func_log1p_works],
+ [AC_RUN_IFELSE([AC_LANG_SOURCE([[
++#include <stdlib.h>
+ #include <math.h>
+ #include "confdefs.h"
+ int main () {
diff --git a/sci-mathematics/jags/jags-4.3.0.ebuild b/sci-mathematics/jags/jags-4.3.0.ebuild
deleted file mode 100644
index d41ad5f8f086..000000000000
--- a/sci-mathematics/jags/jags-4.3.0.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-MYP="JAGS-${PV}"
-
-DESCRIPTION="Just Another Gibbs Sampler for Bayesian MCMC simulation"
-HOMEPAGE="https://mcmc-jags.sourceforge.io/"
-SRC_URI="https://downloads.sourceforge.net/project/mcmc-jags/JAGS/$(ver_cut 1).x/Source/${MYP}.tar.gz"
-S="${WORKDIR}/${MYP}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc"
-
-RDEPEND="
- virtual/blas
- virtual/lapack
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- virtual/pkgconfig
- doc? (
- virtual/latex-base
- dev-texlive/texlive-latexextra
- )
-"
-
-src_configure() {
- econf \
- --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
- --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)"
-}
-
-src_compile() {
- emake all $(usex doc docs "")
-}
-
-src_install() {
- default
- use doc && dodoc doc/manual/*.pdf
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sci-mathematics/jags/jags-4.3.1-r1.ebuild b/sci-mathematics/jags/jags-4.3.1-r1.ebuild
index 6ee9e9025d55..4e6fddb2b4c8 100644
--- a/sci-mathematics/jags/jags-4.3.1-r1.ebuild
+++ b/sci-mathematics/jags/jags-4.3.1-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit libtool toolchain-funcs
+inherit autotools toolchain-funcs
MYP="JAGS-${PV}"
@@ -31,9 +31,13 @@ BDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}/${P}-configure.patch"
+)
+
src_prepare() {
default
- elibtoolize
+ eautoreconf
}
src_configure() {