summaryrefslogtreecommitdiff
path: root/sci-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-07 00:11:16 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-07 00:11:16 +0000
commit1b2360e7bab42e4045232887cb4f6c4a24ca3975 (patch)
tree6a5a60c4c59058ef39895ea69fb8e98eaa49aed8 /sci-libs
parent22eaa60297c2dbc92dd1658fb7d8e46878552755 (diff)
gentoo auto-resync : 07:02:2025 - 00:11:15
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/Manifest.gzbin43342 -> 43344 bytes
-rw-r--r--sci-libs/datasets/Manifest3
-rw-r--r--sci-libs/datasets/datasets-2.21.0.ebuild151
-rw-r--r--sci-libs/datasets/files/datasets-2.21.0-tests.patch22
-rw-r--r--sci-libs/evaluate/Manifest2
-rw-r--r--sci-libs/evaluate/evaluate-0.4.3.ebuild20
-rw-r--r--sci-libs/openblas/Manifest3
-rw-r--r--sci-libs/openblas/files/openblas-0.3.29-shared-blas-lapack.patch26
-rw-r--r--sci-libs/openblas/openblas-0.3.29.ebuild197
-rw-r--r--sci-libs/punc/Manifest3
-rw-r--r--sci-libs/punc/files/punc-1.5-explicit-main.patch16
-rw-r--r--sci-libs/punc/punc-1.5-r1.ebuild (renamed from sci-libs/punc/punc-1.5.ebuild)5
12 files changed, 435 insertions, 13 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz
index 9f0b5d251723..95837ecf347b 100644
--- a/sci-libs/Manifest.gz
+++ b/sci-libs/Manifest.gz
Binary files differ
diff --git a/sci-libs/datasets/Manifest b/sci-libs/datasets/Manifest
index a11dc30cb427..2085f7bd7278 100644
--- a/sci-libs/datasets/Manifest
+++ b/sci-libs/datasets/Manifest
@@ -1,4 +1,7 @@
AUX datasets-2.19.2-tests.patch 756 BLAKE2B d9bb33c2aa03f06bb42342da3bfefa0d916d7979c06725cf2c667df3d8ac4a03eb79e5129b6d0f7d232b4eb64a0cb993451e7da7661e692f50f8b8708aa8d8e2 SHA512 7ac8f060e6808b6d409508d7a9a8de4626d71b443db1df4e2489cdf3f61ab48e169ba336d8f8f6c78decb25c524ef5a291db0265813888a29c70661b04757d49
+AUX datasets-2.21.0-tests.patch 721 BLAKE2B cf85b02a4eb5da27e52bf819f00e333d6e3fb3fb0b9f7279afff24e3fddf76fcd46cb5e06d29b4780d0ce6b48c9378df301c70f6339e2f2898560219ebab4210 SHA512 43cdc5af6ba3fff3e7641006be6d8e10a5ad00136c1cf137628456019cccbd3d05b888b7eeec1cb8cd42d5ce52091b2a66d32a5b41ff2193658c4257900ea45c
DIST datasets-2.20.0.gh.tar.gz 2188840 BLAKE2B 3f246c3e069ec31b63dd785ca5e96b5b441cc51318baf91a9aed053c9d5d94de6871fc0f0f8c271a4782998d976407c94c3b7b4beccc60b7a12868685707090b SHA512 effa3150877ba8269940b47ae0d96d436b7d625ceb102812bbbad805b47b7661102b5ac1c2f16624630bf3039cc4265353f6b71a83122717e73575c7e8c4921f
+DIST datasets-2.21.0.gh.tar.gz 2198480 BLAKE2B 41a5e82013d26644db4f52b16728cee31c6ff27995b8a9b2ddef1512fcda5e9386e47f6726303fec64d5ed7e40432583a6ddcc2bdfbb76096dce5f23b0540149 SHA512 f4193e29505300f98ec026b1ed052ffd3d43ae05a9b191bb56105d703ba2e44752e97c0eeb36dd1b2df6499662915591ab850cdec5248af8c7c5b5a003437c5c
EBUILD datasets-2.20.0.ebuild 13923 BLAKE2B 7d218b8a870eab77e4d3fd1abff1da59402fb20472cbc6ff991e8fe89a93c7a1b097a773b54013d69bcd48ffce6614d751fda5e53901ed799d86ca73adb39752 SHA512 a5563dd0dd864fa24c73089bf04bc2a6779f5c1b1f37a0e0bc9c1536653de9e6610d13343f1c8c0a09ea28c5914e518cd569b90654544a60c23ff7a978573492
+EBUILD datasets-2.21.0.ebuild 7878 BLAKE2B e5c57815b23607a8562b279143eac657810a12fcd5f38ac5367e77fd9d244c3d8508861ccd2cb82a0120b953aadd4ed39dd9aa1d3db30be68de3d8600462ea42 SHA512 e702c77a7bddc855427f193f7b499befbe1240b6eb81cd8a4ae3cbbe0a7c978ab879130ac5a3adc9d690267136caa3b23bc7d9909f5e4bb02271cb8c7b1cadc9
MISC metadata.xml 379 BLAKE2B 48ebb9e7bfa8b58b0d15b82c4146def465e08cf3212ab4af04129d09c153b67b00d0fa05b94d6af54f643ec3a202f2335d3254b966f49d1394d3c7b9e5da56a5 SHA512 99560decfaa0e438980f372d99257695e9ca9585167d9aba091e0b775c2f8384657ddc017841c8f06f8b568017a54fb9e31da736f3c875da717e154cdce876d1
diff --git a/sci-libs/datasets/datasets-2.21.0.ebuild b/sci-libs/datasets/datasets-2.21.0.ebuild
new file mode 100644
index 000000000000..7dac47f07a8e
--- /dev/null
+++ b/sci-libs/datasets/datasets-2.21.0.ebuild
@@ -0,0 +1,151 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_SINGLE_IMPL=1
+inherit distutils-r1
+
+DESCRIPTION="Access and share datasets for Audio, Computer Vision, and NLP tasks"
+HOMEPAGE="https://pypi.org/project/datasets/"
+SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="test"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ sci-libs/pytorch[${PYTHON_SINGLE_USEDEP}]
+ sci-libs/caffe2[${PYTHON_SINGLE_USEDEP},numpy]
+ $(python_gen_cond_dep '
+ dev-python/absl-py[${PYTHON_USEDEP}]
+ dev-python/aiohttp[${PYTHON_USEDEP}]
+ dev-python/dill[${PYTHON_USEDEP}]
+ dev-python/filelock[${PYTHON_USEDEP}]
+ dev-python/fsspec[${PYTHON_USEDEP}]
+ dev-python/multiprocess[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/packaging[${PYTHON_USEDEP}]
+ dev-python/pandas[${PYTHON_USEDEP}]
+ dev-python/pyarrow[${PYTHON_USEDEP},parquet,snappy]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/scikit-learn[${PYTHON_USEDEP}]
+ dev-python/tqdm[${PYTHON_USEDEP}]
+ dev-python/xxhash[${PYTHON_USEDEP}]
+ dev-python/zstandard[${PYTHON_USEDEP}]
+ sci-libs/huggingface_hub[${PYTHON_USEDEP}]
+ ')
+"
+DEPEND="${RDEPEND}"
+BDEPEND="test? (
+ $(python_gen_cond_dep '
+ dev-python/absl-py[${PYTHON_USEDEP}]
+ dev-python/pytest-datadir[${PYTHON_USEDEP}]
+ dev-python/decorator[${PYTHON_USEDEP}]
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]
+ sci-libs/jiwer[${PYTHON_USEDEP}]
+ sci-libs/seqeval[${PYTHON_USEDEP}]
+ ')
+)"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-tests.patch
+)
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+ sed -i -e \
+ "/pyarrow_hotfix/d" \
+ src/datasets/features/features.py || die
+}
+
+src_test() {
+ local EPYTEST_IGNORE=(
+ tests/test_upstream_hub.py
+ tests/packaged_modules/test_spark.py
+ tests/test_load.py
+ )
+
+ local EPYTEST_DESELECT=(
+ "tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_caching_on_disk"
+ "tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_on_disk"
+ "tests/test_arrow_dataset.py::TaskTemplatesTest::test_task_automatic_speech_recognition"
+ "tests/test_distributed.py::test_torch_distributed_run"
+ "tests/test_exceptions.py::test_error_deprecated"
+ "tests/test_file_utils.py::TestxPath::test_xpath_glob"
+ "tests/test_file_utils.py::TestxPath::test_xpath_rglob"
+ "tests/test_fingerprint.py::TokenizersHashTest::test_hash_regex"
+ "tests/test_fingerprint.py::TokenizersHashTest::test_hash_tokenizer"
+ "tests/test_fingerprint.py::TokenizersHashTest::test_hash_tokenizer_with_cache"
+ "tests/test_fingerprint.py::RecurseHashTest::test_hash_ignores_line_definition_of_function"
+ "tests/test_fingerprint.py::RecurseHashTest::test_hash_ipython_function"
+ "tests/test_fingerprint.py::HashingTest::test_hash_torch_compiled_module"
+ "tests/test_fingerprint.py::HashingTest::test_hash_torch_generator"
+ "tests/test_fingerprint.py::HashingTest::test_hash_torch_tensor"
+ "tests/test_fingerprint.py::HashingTest::test_set_doesnt_depend_on_order"
+ "tests/test_fingerprint.py::HashingTest::test_set_stable"
+ "tests/test_fingerprint.py::test_move_script_doesnt_change_hash"
+ "tests/test_iterable_dataset.py::test_iterable_dataset_from_file"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_bertscore"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_bleurt"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_chrf"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_code_eval"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_competition_math"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_coval"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_cuad"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_f1"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_frugalscore"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_glue"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_google_bleu"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_mauve"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_mean_iou"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_meteor"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_mse"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_precision"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_recall"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_roc_auc"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_rouge"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_sacrebleu"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_sari"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_spearmanr"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_super_glue"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_ter"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_wiki_split"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_xnli"
+ "tests/test_metric_common.py::LocalMetricTest::test_load_metric_xtreme_s"
+ "tests/features/test_audio.py::test_dataset_with_audio_feature_undecoded"
+ "tests/features/test_audio.py::test_formatted_dataset_with_audio_feature_undecoded"
+ "tests/features/test_audio.py::test_dataset_with_audio_feature_map_undecoded"
+ "tests/packaged_modules/test_cache.py::test_cache_multi_configs"
+ "tests/packaged_modules/test_cache.py::test_cache_single_config"
+ "tests/test_data_files.py::test_DataFilesList_from_patterns_locally_with_extra_files"
+ "tests/test_data_files.py::test_DataFilesDict_from_patterns_locally_or_remote_hashing"
+ "tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_natural_questions/default@19ba7767b174ad046a84f46af056517a3910ee57"
+ "tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wiki40b/en@7b21a2e64b90323b2d3d1b81aa349bb4bc76d9bf"
+ "tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wiki_dpr/psgs_w100.multiset.no_index@b24a417d802a583f8922946c1c75210290e93108"
+ "tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wiki_dpr/psgs_w100.nq.compressed@b24a417d802a583f8922946c1c75210290e93108"
+ "tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wiki_dpr/psgs_w100.nq.no_index@b24a417d802a583f8922946c1c75210290e93108"
+ "tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.de@4d013bdd32c475c8536aae00a56efc774f061649"
+ "tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.en@4d013bdd32c475c8536aae00a56efc774f061649"
+ "tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.fr@4d013bdd32c475c8536aae00a56efc774f061649"
+ "tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.frr@4d013bdd32c475c8536aae00a56efc774f061649"
+ "tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.it@4d013bdd32c475c8536aae00a56efc774f061649"
+ "tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.simple@4d013bdd32c475c8536aae00a56efc774f061649"
+ "tests/test_hf_gcp.py::test_as_dataset_from_hf_gcs"
+ "tests/test_hf_gcp.py::test_as_streaming_dataset_from_hf_gcs"
+ "tests/test_hub.py::test_convert_to_parquet"
+ "tests/test_iterable_dataset.py::test_iterable_dataset_from_hub_torch_dataloader_parallel"
+ "tests/test_offline_util.py::test_offline_with_timeout"
+ "tests/io/test_parquet.py::test_parquet_read_geoparquet"
+ )
+ distutils-r1_src_test
+}
diff --git a/sci-libs/datasets/files/datasets-2.21.0-tests.patch b/sci-libs/datasets/files/datasets-2.21.0-tests.patch
new file mode 100644
index 000000000000..0a55459db109
--- /dev/null
+++ b/sci-libs/datasets/files/datasets-2.21.0-tests.patch
@@ -0,0 +1,22 @@
+--- a/tests/test_arrow_dataset.py 2024-02-20 21:53:24.248470991 +0100
++++ b/tests/test_arrow_dataset.py 2024-02-20 21:53:29.441804737 +0100
+@@ -4131,7 +4131,6 @@
+ [
+ "relative/path",
+ "/absolute/path",
+- "s3://bucket/relative/path",
+ "hdfs://relative/path",
+ "hdfs:///absolute/path",
+ ],
+--- a/tests/packaged_modules/test_audiofolder.py 2023-05-06 14:00:39.560876163 +0200
++++ b/tests/packaged_modules/test_audiofolder.py 2023-05-06 14:01:26.005212423 +0200
+@@ -1,9 +1,8 @@
+ import shutil
+ import textwrap
+
+ import numpy as np
+ import pytest
+-import soundfile as sf
+
+ from datasets import Audio, ClassLabel, Features, Value
+ from datasets.builder import InvalidConfigName
diff --git a/sci-libs/evaluate/Manifest b/sci-libs/evaluate/Manifest
index 562e529f880e..c0b7f045dc4e 100644
--- a/sci-libs/evaluate/Manifest
+++ b/sci-libs/evaluate/Manifest
@@ -1,4 +1,4 @@
AUX evaluate-0.4.0-tests.patch 8354 BLAKE2B 45c6fbcd58eb1899a02b373f882917cb2d76a05f5737a50c60d96f1eeb9b0169f8e526a475ec8aab2829f3ce47082476b802813064ca912353b65652e3f7fc64 SHA512 e296c97d5bf3d06828ddda96f00b20cb763b9c9a8611b148cf0e5c55bb78995a45df1b2cd731e4c45bfe80817ce03485a958c01c2e081aef3cd5238a9011903b
DIST evaluate-0.4.3.gh.tar.gz 297000 BLAKE2B 5d658cf513a0083194829618bde53c1e6f4a41e48a9ff683c79bc5b57f9f25acc38b42bed5ad56c569b7cae442212fc3dda1ce4db406ab2a49789b485c5c27a0 SHA512 f19f22fb1625544d3e27f25b159449c9f656540b5dbc62f00d13bad2dd33d5591d80f6e81d671d51f802b671602b86b758d9a53be4f63378c181f66eb93c2830
-EBUILD evaluate-0.4.3.ebuild 1469 BLAKE2B d2723d8e7fbbb34c78ebec43d120b478606ddb363abbc37f8b959053343493de0ba5d9eb06456e35a3d1fcc2cee737e591e339ee1690be368e22f700014b21a4 SHA512 befa5608369a36cc48219be46e5f8a64509384b20181b2cbd1802a3cacacf1902412da8f0f1b08ad719c3ad91bed5f3085742e34304ebb0e7e65eab38ead6dba
+EBUILD evaluate-0.4.3.ebuild 1660 BLAKE2B ac1d54c139914c66da7e9a282f8590255288ea50cc36e2c1e92ac73a79f1195118900eb5185fd7201dab44e7c2e5112b857a037b8a793807e030cfe19e3dad88 SHA512 639af3ad6c47a80c685fdb45c1bbef5c3c74bc7597f3049e13acb809daad6ea318ee7bbd283235dc13d0749cec4fc94577e87a760c793e639db89d4199fcd0d5
MISC metadata.xml 379 BLAKE2B a717b46962e59358925c866c64b2d0bc1dcd5d55d73e814686a09f703e339d2c0de52f6c214c8f795518d6d9dbb46443be11374643d415ff681dedca1511732b SHA512 03d6b58cad73cad46f1101fedf88ec94dc6d7a2028399a20b39939bead4fa402d00224085206a175a33d92417176cc45853060b18faa13769b80527fac9254e1
diff --git a/sci-libs/evaluate/evaluate-0.4.3.ebuild b/sci-libs/evaluate/evaluate-0.4.3.ebuild
index 7a61c68b2fa2..109f4f0d530f 100644
--- a/sci-libs/evaluate/evaluate-0.4.3.ebuild
+++ b/sci-libs/evaluate/evaluate-0.4.3.ebuild
@@ -40,13 +40,15 @@ PATCHES=( "${FILESDIR}"/${PN}-0.4.0-tests.patch )
distutils_enable_tests pytest
-src_prepare() {
- # These require packages not available on gentoo
- rm -r metrics/{bertscore,bleurt,character,charcut_mt,chrf,code_eval} || die
- rm -r metrics/{competition_math,coval,google_bleu,mauve,meteor} || die
- rm -r metrics/{nist_mt,rl_reliability,rouge,sacrebleu,sari} || die
- rm -r metrics/{ter,trec_eval,wiki_split,xtreme_s} || die
- rm -r measurements/word_length || die
- rm tests/test_evaluation_suite.py || die
- distutils-r1_src_prepare
+src_test() {
+ local EPYTEST_DESELECT=(
+ tests/test_evaluation_suite.py::TestEvaluationSuite::test_empty_suite
+ tests/test_evaluation_suite.py::TestEvaluationSuite::test_running_evaluation_suite
+ tests/test_evaluator.py::TestAudioClassificationEvaluator::test_class_init
+ tests/test_evaluator.py::TestAudioClassificationEvaluator::test_overwrite_default_metric
+ tests/test_evaluator.py::TestAudioClassificationEvaluator::test_pipe_init
+ tests/test_evaluator.py::TestAudioClassificationEvaluator::test_raw_pipe_init
+ tests/test_metric.py::TestEvaluationcombined_evaluation::test_modules_from_string_poslabel
+ )
+ distutils-r1_src_test
}
diff --git a/sci-libs/openblas/Manifest b/sci-libs/openblas/Manifest
index bcab8e5a0adf..1001a30767c9 100644
--- a/sci-libs/openblas/Manifest
+++ b/sci-libs/openblas/Manifest
@@ -1,7 +1,10 @@
AUX openblas-0.3.23-shared-blas-lapack.patch 2128 BLAKE2B 42e6ac46c9d62609731e3d7efd57569712325fb4f35b0bc1b119f51babf9b728acc569216c784e30980e20accee70baee20850b5600c7e0800ff04f19415cf08 SHA512 c6358b9682e358082bd862bbc376412c5b33bc967153f544fa2514205bcb4841cfbbc61e93932fcd4b0653ded2d5f853d62ac05081fc970fb541f4cc7281768f
+AUX openblas-0.3.29-shared-blas-lapack.patch 1730 BLAKE2B 538a3c6573880ada184f72dbe4e68261d8a6fca599760977acb077e5b8b8075e1b69b3f093c11fe26b5586c46347bf4b93997560554a3ecbe67e00d09a7f8906 SHA512 a023c5c7dbc72cc7ad06717669bb44d9c4729ef464db499d0bc2227fbcadc17fc868e4c499ee5f7d97762284a737cb745d47b6abc3428b27bc2f0978a4fa0742
DIST OpenBLAS-0.3.25.tar.gz 24073168 BLAKE2B c2a173b50f6931e7782c7d429487abd4b1a4ed05aec4f08febbc5cc73b9ed5cb36c9e308bf7cb89ce116b1c25556615d2384087cf7d1b489a4784901951558bc SHA512 69bcf8082575b01ce1734fc9d33454314964a7e81ff29a7c1a764af3083ac0dc24289fd72bbe22c9583398bda7b658d6e4ab1d5036e43412745f0be3c2185b3c
DIST OpenBLAS-0.3.26.tar.gz 24404912 BLAKE2B d72f02492b3ce58c5012943ea84190cb8a8efdfe438fb4fe945a713e4abbcb77f3a0603ca266df234efe8e6d6e4bab4a7386ac02b95512281165bf7ae2f9181d SHA512 01d3a536fbfa62f276fd6b1ad0e218fb3d91f41545fc83ddc74979fa26372d8389f0baa20334badfe0adacd77bd944c50a47ac920577373fcc1d495553084373
+DIST OpenBLAS-0.3.29.tar.gz 24671913 BLAKE2B 54075d623c2241c0153d84111b94945dbb2ab3adaf8ffddcdffe882fbb80b1e0182bb4af2a9ebe352a0c4e920644a68a43b0f1369328c8c001df8a8d8454c4e7 SHA512 046316b4297460bffca09c890ecad17ea39d8b3db92ff445d03b547dd551663d37e40f38bce8ae11e2994374ff01e622b408da27aa8e40f4140185ee8f001a60
EBUILD openblas-0.3.25-r1.ebuild 5998 BLAKE2B b34389f4c292ab5ac1506616c31d0be394e256206c2db8ded4574626a0298a5ee0d0d745c96fd9c68d063543b7be51e9a980f6a2f4a73c6c9c23f83f01770de5 SHA512 d0fb3979242ba04ccbf437a97e77ef4780d57b102c92c1596e6455e13581fc03c5bdc2b03a25a01385ef0cdbb9ef01cd3e4cd30215a8237fa440f6be8fd483e9
EBUILD openblas-0.3.26-r1.ebuild 6058 BLAKE2B 2091a64c7555c0db8f6dfd825e91a8a872e5c4d387bc7a65d97871b8bec26b9e8442e625fef2aac717d213f1235c0b446233ae4eb146b3d35507c652e923be5b SHA512 f2f4c50250ae2d33dc70483ed6c8971b11c39a2f3e41141f3ba6c9aef30f822bc63b13f24ca49e04b07b5fb2446505da9537735e6108edadb45ee717e67c175c
EBUILD openblas-0.3.26.ebuild 5999 BLAKE2B cc659bbc1ba9856927e05dd331848a0c58214d513ad49cf168a52498c0ec81fe305e8e3e681d70e2a4da577f16ccee1cdbd2e1eba0cb7757d4c1018190373f69 SHA512 efa071a6469fa258c200c2548bd6c3b0cd6842898c7ac40d1b0dff36ee8d6165b83a4abbafa4b887ae30d3aa7a002516c2f647f38bbd98c26ee6f0b1ae58db6a
+EBUILD openblas-0.3.29.ebuild 6059 BLAKE2B 1166996b0aff57998d916846172443656e2418b3b6d6aedda40224ba28041ed36be8ea26eb6b892cd45a02934b80e38c798548498d1105e507c9e3e0a8325e1f SHA512 4d0226ab6a674683cc494891746dc9d1dddb15c7491bc92e56da78c79cb3a39b4822a5c5fbc50361d652cd9158447396047692456656880dd871dc39f3c66c57
MISC metadata.xml 1561 BLAKE2B 5ba7ec66dd8ba7ca8bc29bc0193b48b6a82b4949bb79bab461400040667aa66aac3cfd2ad9c7323798048fd43d18ac96a562d53b68f3f7ae8bf8505ac7a04691 SHA512 05272eb56480ff82b240d0f430df3df03981e24b971dbd37c13d464f4f4b334bac19b54915446a09326a334aa76249bb79a4fa389d26150365f21389992f9a48
diff --git a/sci-libs/openblas/files/openblas-0.3.29-shared-blas-lapack.patch b/sci-libs/openblas/files/openblas-0.3.29-shared-blas-lapack.patch
new file mode 100644
index 000000000000..db2134a8127b
--- /dev/null
+++ b/sci-libs/openblas/files/openblas-0.3.29-shared-blas-lapack.patch
@@ -0,0 +1,26 @@
+--- a/intertace/Makefile 2025-02-03 00:34:22.497814588 +0900
++++ b/interface/Makefile 2025-02-03 00:37:34.974798211 +0900
+@@ -2461,3 +2461,23 @@
+
+ cblas_zgemm_batch.$(SUFFIX) cblas_zgemm_batch.$(PSUFFIX) : gemm_batch.c ../param.h
+ $(CC) -c $(CFLAGS) -DCBLAS $< -o $(@F)
++
++#####
++shared-blas-lapack: libblas.so.3 libcblas.so.3 liblapack.so.3 liblapacke.so.3
++
++# The list of prerequisite is created by comparing with NETLIB BLAS public API.
++libblas.so.3: $(SBLAS1OBJS) $(SBLAS2OBJS) $(SBLAS3OBJS) $(DBLAS1OBJS) $(DBLAS2OBJS) $(DBLAS3OBJS) $(CBLAS1OBJS) $(CBLAS2OBJS) $(CBLAS3OBJS) $(ZBLAS1OBJS) $(ZBLAS2OBJS) $(ZBLAS3OBJS) ../kernel/lsame.o ../kernel/scabs1.o ../kernel/dcabs1.o ../driver/others/xerbla.o
++ $(CC) $(LDFLAGS) -shared -o $@ $^ -Wl,-soname,libblas.so.3 -L.. -lopenblas $(EXTRALIB)
++
++libcblas.so.3: $(CSBLAS1OBJS) $(CSBLAS2OBJS) $(CSBLAS3OBJS) $(CDBLAS1OBJS) $(CDBLAS2OBJS) $(CDBLAS3OBJS) $(CCBLAS1OBJS) $(CCBLAS2OBJS) $(CCBLAS3OBJS) $(CZBLAS1OBJS) $(CZBLAS2OBJS) $(CZBLAS3OBJS) ../kernel/lsame.o ../kernel/scabs1.o ../kernel/dcabs1.o ../driver/others/xerbla.o
++ $(CC) $(LDFLAGS) -shared -o $@ $^ -Wl,-soname,libcblas.so.3 -L.. -lopenblas $(EXTRALIB)
++
++# The prerequisites must match the symbols deleted in target delete-duplicate-lapack-objects
++liblapack.so.3: $(SLAPACKOBJS) $(DLAPACKOBJS) $(CLAPACKOBJS) $(ZLAPACKOBJS) ../kernel/lsame.o ../driver/others/xerbla.o
++ $(CC) $(LDFLAGS) -shared -o $@ $^ ../lapack-netlib/SRC/*.o -Wl,-soname,liblapack.so.3 -L.. -lopenblas $(EXTRALIB)
++
++liblapacke.so.3: liblapack.so.3
++ $(CC) $(LDFLAGS) -shared -o $@ `find ../lapack-netlib/LAPACKE -name "*.o"` -Wl,-soname,liblapacke.so.3 -L.. -lopenblas $(EXTRALIB)
++
++clean::
++ rm -f libblas.so.3 libcblas.so.3 liblapack.so.3
diff --git a/sci-libs/openblas/openblas-0.3.29.ebuild b/sci-libs/openblas/openblas-0.3.29.ebuild
new file mode 100644
index 000000000000..61819fb85337
--- /dev/null
+++ b/sci-libs/openblas/openblas-0.3.29.ebuild
@@ -0,0 +1,197 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic fortran-2 toolchain-funcs
+
+MY_P=OpenBLAS-${PV}
+DESCRIPTION="Optimized BLAS library based on GotoBLAS2"
+HOMEPAGE="https://github.com/xianyi/OpenBLAS"
+SRC_URI="https://github.com/OpenMathLib/OpenBLAS/releases/download/v${PV}/${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE="dynamic eselect-ldso index-64bit openmp pthread relapack test"
+REQUIRED_USE="?? ( openmp pthread )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ eselect-ldso? (
+ >=app-eselect/eselect-blas-0.2
+ >=app-eselect/eselect-lapack-0.2
+ )
+"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.3.29-shared-blas-lapack.patch"
+)
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+
+ elog "This software has a massive number of options that"
+ elog "are configurable and it is *impossible* for all of"
+ elog "those to fit inside any manageable ebuild."
+ elog "The Gentoo provided package has enough to build"
+ elog "a fully optimized library for your targeted CPU."
+ elog "You can set the CPU target using the environment"
+ elog "variable - OPENBLAS_TARGET or it will be detected"
+ elog "automatically from the target toolchain (supports"
+ elog "cross compilation toolchains)."
+ elog "You can control the maximum number of threads"
+ elog "using OPENBLAS_NTHREAD, default=64 and number of "
+ elog "parallel calls to allow before further calls wait"
+ elog "using OPENBLAS_NPARALLEL, default=8."
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+
+ fortran-2_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ # TODO: Unbundle lapack like Fedora does?
+ # https://src.fedoraproject.org/rpms/openblas/blob/rawhide/f/openblas-0.2.15-system_lapack.patch
+
+ # Don't build the tests as part of "make all". We'll do
+ # it explicitly later if the test phase is enabled.
+ sed -i -e "/^all :: tests/s: tests::g" Makefile || die
+
+ # If 64bit-index is needed, create second library with LIBPREFIX=libopenblas64
+ if use index-64bit; then
+ cp -aL "${S}" "${S}-index-64bit" || die
+ fi
+}
+
+src_configure() {
+ # List of most configurable options is in Makefile.rule.
+
+ # Not an easy fix, https://github.com/xianyi/OpenBLAS/issues/4128
+ filter-lto
+
+ tc-export CC FC LD AR AS RANLIB
+
+ # HOSTCC is used for scripting
+ export HOSTCC="$(tc-getBUILD_CC)"
+
+ # Threading options
+ export USE_THREAD=0
+ export USE_OPENMP=0
+ if use openmp; then
+ USE_THREAD=1
+ USE_OPENMP=1
+ elif use pthread; then
+ USE_THREAD=1
+ USE_OPENMP=0
+ fi
+
+ # Disable submake with -j and default optimization flags in Makefile.system
+ # Makefile.rule says to not modify COMMON_OPT/FCOMMON_OPT...
+ export MAKE_NB_JOBS=-1 COMMON_OPT=" " FCOMMON_OPT=" "
+
+ # Target CPU ARCH options generally detected automatically from cross toolchain
+ #
+ # TODO: Rename USE=dynamic -> USE=cpudetection like dev-libs/gmp, media-video/ffmpeg?
+ # (may want to then restrict bindist w/ USE=-cpudetection.)
+ if use dynamic ; then
+ export DYNAMIC_ARCH=1 NO_AFFINITY=1 TARGET=GENERIC
+ fi
+
+ export NUM_PARALLEL=${OPENBLAS_NPARALLEL:-8} NUM_THREADS=${OPENBLAS_NTHREAD:-64}
+
+ # Allow setting OPENBLAS_TARGET to override auto detection in case the
+ # toolchain is not enough to detect.
+ # https://github.com/xianyi/OpenBLAS/blob/develop/TargetList.txt
+ if ! use dynamic && [[ ! -z "${OPENBLAS_TARGET}" ]] ; then
+ export TARGET="${OPENBLAS_TARGET}"
+ fi
+
+ export NO_STATIC=1
+ export BUILD_RELAPACK=$(usex relapack 1 0)
+ export PREFIX="${EPREFIX}/usr"
+}
+
+src_compile() {
+ emake shared
+
+ use eselect-ldso && emake -C interface shared-blas-lapack
+
+ if use index-64bit; then
+ emake -C "${S}-index-64bit" \
+ INTERFACE64=1 \
+ LIBPREFIX=libopenblas64 shared
+ fi
+}
+
+src_test() {
+ emake tests
+}
+
+src_install() {
+ emake install DESTDIR="${D}" \
+ OPENBLAS_INCLUDE_DIR='$(PREFIX)'/include/${PN} \
+ OPENBLAS_LIBRARY_DIR='$(PREFIX)'/$(get_libdir)
+
+ dodoc GotoBLAS_*.txt *.md Changelog.txt
+
+ if use index-64bit; then
+ dolib.so "${S}-index-64bit"/libopenblas64*.so*
+ fi
+
+ if use eselect-ldso; then
+ insinto /usr/$(get_libdir)/blas/openblas/
+ doins interface/libblas.so.3
+ dosym -r /usr/$(get_libdir)/blas/openblas/libblas.so.3 /usr/$(get_libdir)/blas/openblas/libblas.so
+ doins interface/libcblas.so.3
+ dosym -r /usr/$(get_libdir)/blas/openblas/libcblas.so.3 /usr/$(get_libdir)/blas/openblas/libcblas.so
+
+ insinto /usr/$(get_libdir)/lapack/openblas/
+ doins interface/liblapack.so.3
+ dosym -r /usr/$(get_libdir)/lapack/openblas/liblapack.so.3 /usr/$(get_libdir)/lapack/openblas/liblapack.so
+ doins interface/liblapacke.so.3
+ dosym -r /usr/$(get_libdir)/lapack/openblas/liblapacke.so.3 /usr/$(get_libdir)/lapack/openblas/liblapacke.so
+ fi
+}
+
+pkg_postinst() {
+ use eselect-ldso || return
+ local libdir=$(get_libdir) me="openblas"
+
+ # check blas
+ eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me}
+ local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2)
+ if [[ ${current_blas} == "${me}" || -z ${current_blas} ]]; then
+ eselect blas set ${libdir} ${me}
+ elog "Current eselect: BLAS/CBLAS ($libdir) -> [${current_blas}]."
+ else
+ elog "Current eselect: BLAS/CBLAS ($libdir) -> [${current_blas}]."
+ elog "To use blas [${me}] implementation, you have to issue (as root):"
+ elog "\t eselect blas set ${libdir} ${me}"
+ fi
+
+ # check lapack
+ eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me}
+ local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2)
+ if [[ ${current_lapack} == "${me}" || -z ${current_lapack} ]]; then
+ eselect lapack set ${libdir} ${me}
+ elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]."
+ else
+ elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]."
+ elog "To use lapack [${me}] implementation, you have to issue (as root):"
+ elog "\t eselect lapack set ${libdir} ${me}"
+ fi
+}
+
+pkg_postrm() {
+ if use eselect-ldso; then
+ eselect blas validate
+ eselect lapack validate
+ fi
+}
diff --git a/sci-libs/punc/Manifest b/sci-libs/punc/Manifest
index 48c2ebf3735a..5a75e6c459e2 100644
--- a/sci-libs/punc/Manifest
+++ b/sci-libs/punc/Manifest
@@ -1,5 +1,6 @@
AUX 1.4-doc.patch 534 BLAKE2B b4b41b83913efb5e92eeb6c92d4db04129e795a17c5749d8b031452a4808d72c66f90b7499e13a795e386c315e9f717f88540987b262c22efac52318261a83ec SHA512 388855f15bd17f5bc42ea3dc1d76d338a5586ed6cdb005442d46d158d36a1ffd32c2b08f10f992de30c44c1f160c005ef7499b6c2a629a0e7fab93f59d15bf65
AUX 1.5-linking.patch 6247 BLAKE2B a50a4bc8a7c28f3e140ba8d241fcc9d9bf02becf13dd3ef50fbf6e06af3444c5135309d9f4026826b228a62fb531d4f62bb9b8ebddd4df43233b56f41bfd3a53 SHA512 d7b8f8f99a2d26cb3e0cace7f31c72eff997786fcdca4a80e81493f7e255df0975743870543881348814d777507a96f328bacb1115fdc118c848a3a0be4c833f
+AUX punc-1.5-explicit-main.patch 352 BLAKE2B c7ae372e7040f39dcee79484d852d82adc5d099a3a09ed2203eb9cedbe9e8225ff9f7f5d19f3ddbcb79775986907e32aedc3f194c08575b0548c22afcc3cfeee SHA512 5676dd877ae674213f877396bb9fe0d62a149ae592bbb8b517c6d1d0d645b092fe50b80879b4dac65fd4760064ee59ef2aa50b392aa192cb051351d919b16d42
DIST punc-1.5.tar.gz 7036275 BLAKE2B aa87b824c3426b5573cf1c40575901cea079e4c244565015b39b52adff74424e49086146cd518acb54594545650340a32a0c8438c9add28c5737253d49091093 SHA512 8b454f5de9cd01e87a30083f975ce8901c5d5a2cac7256cb535c8698221ce6d1ddb93a3663b2e903e5cae93ef76b48932ff7f13a816ba7da6bb07ea25490503b
-EBUILD punc-1.5.ebuild 2092 BLAKE2B b576a713943afff1a8f52e36d94e7b301277cae02aa60b6dabbfaba19719a5925196d61a7add8f36ef9ad83aab9de18ce5a60fa31f328ea0cf3a535fede9e242 SHA512 1632ceebd6fb4ed8e6fd89755f3c34bca5cd245ebb718c065371eef0918fda292f235bbeab7078b123c953e0689e3aec7e1505261500e3840a7e4497134ce810
+EBUILD punc-1.5-r1.ebuild 2132 BLAKE2B 2a2ebeaa7e6e82eb42d80b6c8859519760d4ddc43adf7bc942d0537a4093e4f0546541d1655035697507f523ca3bcb6a6da94d985bf578c00e1f394597548679 SHA512 0633afff1759ef25ccfbff01719bec598d19c5a0efa058605f92b1ecfa31352db23dd4d11a5d552dfbce6c2ee3abdd6560e4e76222573c3f24539298062ea538
MISC metadata.xml 1313 BLAKE2B c805f8af184fd77b98dfd0c6339cd89cb59e29e6f0e75fac6a5c48300a557d614882584fef379f5a8c03661b43df69329fc9c34b8a862b4b8cd884327de66716 SHA512 25ce2843f1c6f8f11a38fb2b6060bdc51e2eae7f7a577dcea24e5f2f2aa11332e7ae6fa16a00ada33ac72e1ac7f630574cc825d4d0a981a05f88c4486aea8d6a
diff --git a/sci-libs/punc/files/punc-1.5-explicit-main.patch b/sci-libs/punc/files/punc-1.5-explicit-main.patch
new file mode 100644
index 000000000000..f952d18c3ab1
--- /dev/null
+++ b/sci-libs/punc/files/punc-1.5-explicit-main.patch
@@ -0,0 +1,16 @@
+Return type of functions must be explicit, C99
+https://bugs.gentoo.org/886461
+--- a/src/vf2c/main.c
++++ b/src/vf2c/main.c
+@@ -110,9 +110,9 @@
+ #endif
+
+ #ifdef KR_headers
+-main(argc, argv) int argc; char **argv;
++int main(argc, argv) int argc; char **argv;
+ #else
+-main(int argc, char **argv)
++int main(int argc, char **argv)
+ #endif
+ {
+ xargc = argc;
diff --git a/sci-libs/punc/punc-1.5.ebuild b/sci-libs/punc/punc-1.5-r1.ebuild
index 0577c9eef733..cec749996b82 100644
--- a/sci-libs/punc/punc-1.5.ebuild
+++ b/sci-libs/punc/punc-1.5-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools fortran-2 toolchain-funcs
@@ -37,6 +37,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PV}-linking.patch
"${FILESDIR}"/1.4-doc.patch
+ "${FILESDIR}"/${P}-explicit-main.patch
)
src_prepare() {