From 54ddd8f85e52b7afd0c9883dc6de1d0b2f9d663f Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 23 Feb 2026 07:26:45 +0000 Subject: Adding metadata --- dev-python/assertpy/assertpy-1.1.ebuild | 2 +- dev-python/astroid/Manifest | 3 +- dev-python/astroid/astroid-4.0.2.ebuild | 76 --------- dev-python/astroid/astroid-4.1.1.ebuild | 86 ++++++++++ dev-python/b2sdk/Manifest | 1 + dev-python/b2sdk/b2sdk-2.10.3.ebuild | 52 ++++++ dev-python/behave/behave-1.3.3.ebuild | 2 +- dev-python/chardet/Manifest | 1 + dev-python/chardet/chardet-6.0.0_p1.ebuild | 37 +++++ .../cucumber-expressions-19.0.0.ebuild | 2 +- .../cucumber-tag-expressions-9.0.0.ebuild | 2 +- .../elastic-transport-9.2.1.ebuild | 4 +- dev-python/pyfakefs/Manifest | 1 + dev-python/pyfakefs/pyfakefs-6.1.2.ebuild | 60 +++++++ dev-python/pypdf/Manifest | 1 + dev-python/pypdf/pypdf-6.7.2.ebuild | 52 ++++++ dev-python/rq/Manifest | 2 +- dev-python/rq/rq-2.6.0.ebuild | 81 --------- dev-python/rq/rq-2.7.0.ebuild | 78 +++++++++ dev-python/scipy/Manifest | 2 +- dev-python/scipy/scipy-1.16.2-r1.ebuild | 183 --------------------- dev-python/scipy/scipy-1.16.2-r2.ebuild | 183 --------------------- dev-python/scipy/scipy-1.17.1.ebuild | 181 ++++++++++++++++++++ dev-python/tables/Manifest | 1 + dev-python/tables/tables-3.11.0.ebuild | 79 +++++++++ 25 files changed, 640 insertions(+), 532 deletions(-) delete mode 100644 dev-python/astroid/astroid-4.0.2.ebuild create mode 100644 dev-python/astroid/astroid-4.1.1.ebuild create mode 100644 dev-python/b2sdk/b2sdk-2.10.3.ebuild create mode 100644 dev-python/chardet/chardet-6.0.0_p1.ebuild create mode 100644 dev-python/pyfakefs/pyfakefs-6.1.2.ebuild create mode 100644 dev-python/pypdf/pypdf-6.7.2.ebuild delete mode 100644 dev-python/rq/rq-2.6.0.ebuild create mode 100644 dev-python/rq/rq-2.7.0.ebuild delete mode 100644 dev-python/scipy/scipy-1.16.2-r1.ebuild delete mode 100644 dev-python/scipy/scipy-1.16.2-r2.ebuild create mode 100644 dev-python/scipy/scipy-1.17.1.ebuild create mode 100644 dev-python/tables/tables-3.11.0.ebuild (limited to 'dev-python') diff --git a/dev-python/assertpy/assertpy-1.1.ebuild b/dev-python/assertpy/assertpy-1.1.ebuild index 481e035eda82..977519f9ce65 100644 --- a/dev-python/assertpy/assertpy-1.1.ebuild +++ b/dev-python/assertpy/assertpy-1.1.ebuild @@ -21,7 +21,7 @@ SRC_URI=" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index af0b506fd754..30be9923d555 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,4 +1,5 @@ -DIST astroid-4.0.2.gh.tar.gz 475834 BLAKE2B 04821506d6a56b914edcd8646f81487c8c78298b873b16f9fd6d79a841a479176aaece23ed470f8191807280b57e8ec954bade01b348ad1251bb065de502706c SHA512 1a407acf1b9d6875d1f9c26958ba5f7d362235fe35b856b6310b62bcd5404edbffa16b01209e69ee4f84d70bc79c68ba734d7d6036c72f5dd83ad3fc26c2e65f DIST astroid-4.0.3.gh.tar.gz 476645 BLAKE2B e71fe0b9d0eb8e318134bb7037c6599a8bca308963f28789e5fe4d68449777dfb29fb711a109359d6d037e58fe775372822115f608e09d95cf9891e132bfc04a SHA512 ef5988ba87b2fe6524715385aa8f8055c01910bf244ce8bdf089ac2325a65217b75a7d8070828735fb3ad5f8b9967d204541982a96ba769a8ac03066dfc21c18 DIST astroid-4.0.4.gh.tar.gz 476682 BLAKE2B 513e70a4cf4791a3493bf43a1544d9eaf7dcda1c6b6602edba7314455507aff70d5f137d798243671848a9a9c070d39b6aea6442f3f15506959a4f066418b855 SHA512 37b7dffa92e7ca2e4a2039d9f0c4ff1235daa5e64d6bcaeffd9ed9240c5b24fd6c2f2508c4b20844f3be7bd5daaf98d5ed72f87b65c2288c40ffe7cb0446ddf3 DIST astroid-4.1.0.gh.tar.gz 482678 BLAKE2B a4c586283b255ae07804aee8223be3a6b487ab38c13587830540947ff7f36c5e7cebd639bfb876f412588b25f1ae9401bdaf4e8d672bf372c8b81eae849ee6f7 SHA512 b5a9c5599b63282719ba96a0c28be85df64a991ad914eebd2ed70eb265f840556000cff7e5de4ff97eba1ea18aed931078cc79a2e5fc707433a9a7683c6ac149 +DIST astroid-4.1.1.tar.gz 412522 BLAKE2B 471d486d3769b76d1588542f7c306252f5d669f568b781ad85eb3acf1fe215c5dc2f925d9ddea183c993537a2d827320d1b709dcf0266253cc7f08c3ed0f959b SHA512 80ff3a9dd3c848faf6654d346c68537e3d9c62fdb07499642a4a844ee79bd00969177d74c238f82689572644d5ec436cc0d7e57f246a239125d4535e864b8fbb +DIST astroid-4.1.1.tar.gz.provenance 9575 BLAKE2B 3acaf0df98d359bce120b0c3566acdd8f62a3736e5e33441485981ac1700a75557a986562ce8535a1620fafa5b4015556c660f3ea0a3631d3fef1ebca7f44156 SHA512 3c8f012689e1bd3a2cbd7cf1651aabfd21dd0a3a2b861964e856c1a2e48cceda953067276f0c8295fb322cfc48b868e6d9b4e59f596b77c240065358f433b16b diff --git a/dev-python/astroid/astroid-4.0.2.ebuild b/dev-python/astroid/astroid-4.0.2.ebuild deleted file mode 100644 index 01c2e125654e..000000000000 --- a/dev-python/astroid/astroid-4.0.2.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 - -MY_P=${P/_/} -DESCRIPTION="Abstract Syntax Tree for logilab packages" -HOMEPAGE=" - https://github.com/pylint-dev/astroid/ - https://pypi.org/project/astroid/ -" -SRC_URI=" - https://github.com/pylint-dev/astroid/archive/v${PV/_/}.tar.gz - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -# dev-python/regex isn't available for pypy -BDEPEND=" - dev-python/setuptools-scm[${PYTHON_USEDEP}] - test? ( - dev-python/attrs[${PYTHON_USEDEP}] - >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/regex[${PYTHON_USEDEP}] - ' 'python*') - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local EPYTEST_IGNORE=() - local EPYTEST_DESELECT=( - # hangs randomly - tests/test_nodes.py::AsStringTest::test_recursion_error_trapped - # no clue why they're broken - tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part - # TODO - tests/test_builder.py::BuilderTest::test_data_build_error_filename - # numpy-2 (https://github.com/pylint-dev/astroid/issues/2442) - tests/brain/numpy/test_core_einsumfunc.py::test_numpy_function_calls_inferred_as_ndarray - tests/brain/numpy/test_core_fromnumeric.py::BrainNumpyCoreFromNumericTest::test_numpy_function_calls_inferred_as_ndarray - tests/brain/numpy/test_core_multiarray.py::BrainNumpyCoreMultiarrayTest::test_numpy_function_calls_inferred_as_ndarray - tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_datetime_astype_return - tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_generic_types_are_subscriptables - tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type - tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type_tuple - # old pythons only - tests/brain/test_dataclasses.py::test_pydantic_field - tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils - # -Werror, sigh - tests/test_nodes.py::test_deprecated_nodes_import_from_toplevel - ) - - if ! has_version "dev-python/mypy[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( - tests/test_raw_building.py - ) - fi - - epytest -} diff --git a/dev-python/astroid/astroid-4.1.1.ebuild b/dev-python/astroid/astroid-4.1.1.ebuild new file mode 100644 index 000000000000..f08e0deadbf5 --- /dev/null +++ b/dev-python/astroid/astroid-4.1.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pylint-dev/astroid +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Abstract Syntax Tree for logilab packages" +HOMEPAGE=" + https://github.com/pylint-dev/astroid/ + https://pypi.org/project/astroid/ +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# dev-python/regex isn't available for pypy +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/numpy-1.17.0[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/regex[${PYTHON_USEDEP}] + ' 'python*') + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_IGNORE=() + local EPYTEST_DESELECT=( + # hangs randomly + tests/test_nodes.py::AsStringTest::test_recursion_error_trapped + # no clue why they're broken + tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + # TODO + tests/test_builder.py::BuilderTest::test_data_build_error_filename + # numpy-2 (https://github.com/pylint-dev/astroid/issues/2442) + tests/brain/numpy/test_core_einsumfunc.py::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_fromnumeric.py::BrainNumpyCoreFromNumericTest::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_multiarray.py::BrainNumpyCoreMultiarrayTest::test_numpy_function_calls_inferred_as_ndarray + tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_datetime_astype_return + tests/brain/numpy/test_core_numerictypes.py::NumpyBrainCoreNumericTypesTest::test_generic_types_are_subscriptables + tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type + tests/brain/numpy/test_core_umath.py::NumpyBrainCoreUmathTest::test_numpy_core_umath_functions_return_type_tuple + # old pythons only + tests/brain/test_dataclasses.py::test_pydantic_field + tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils + # -Werror, sigh + tests/test_nodes.py::test_deprecated_nodes_import_from_toplevel + ) + + if ! has_version "dev-python/mypy[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + tests/test_raw_building.py + ) + fi + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + tests/brain/test_gi.py::GiBrainClassificationTest::test_gi_function_classification + ) + ;; + esac + + if has_version ">=dev-python/setuptools-82[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + # tests a package using pkg_resources + tests/test_manager.py::AstroidManagerTest::test_identify_old_namespace_package_protocol + ) + fi + + epytest +} diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest index 6408646a030b..8450f70eb1db 100644 --- a/dev-python/b2sdk/Manifest +++ b/dev-python/b2sdk/Manifest @@ -1,2 +1,3 @@ DIST b2sdk-2.10.1.gh.tar.gz 423901 BLAKE2B 13695181133e0df9a313cc0352f10f3d7dd5b301c87f6edce1ef88292eee2fdf78a48d79a8a3690c43abeb6dac3193955371260aa126bb9b0bcd1f0a67f99f4c SHA512 c2c74bd1ae33801ef2f3a13781a423efd10843283a2b976ccbf4baac80a586be2b827f862fa1d0d8b7bdcd662c75a37b4687b162672421a040c74ca47fb272c5 DIST b2sdk-2.10.2.gh.tar.gz 431919 BLAKE2B 5afc6b1d832b449551d1093e788c0ff518dc589c9d968555fa72ad4684d14f9f64681a6f78a55cc125aaf43416202b390eecbef246067d2bb948f730aa564e7f SHA512 633715c57bc61d1fa55bf86ab9ad838099f8670aab0b76a82c979ed79d2feac106daf8a067123733ff74c08f77d1cf35377057c18c29c0705d5f902b759a7b69 +DIST b2sdk-2.10.3.gh.tar.gz 564677 BLAKE2B 7fdebd6ae25ef1dab33c1d2f8e223d7ac32d3d2551cc528ac63b09d4017cb4cad1900ebdb35bd736094372238dff70a6fe7d13c707193ee0086da16e5ed6b6d9 SHA512 fc2ce069f044c13e46899c4599ee4ab3b0859f0812938b5376ab35577e2cdfa575c7fd823d38b1ffdb681dd2a21122733dbe8ad033a6a958c386d77d8869a198 diff --git a/dev-python/b2sdk/b2sdk-2.10.3.ebuild b/dev-python/b2sdk/b2sdk-2.10.3.ebuild new file mode 100644 index 000000000000..2ceab9a34227 --- /dev/null +++ b/dev-python/b2sdk/b2sdk-2.10.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library to access Backblaze B2 cloud storage" +HOMEPAGE=" + https://github.com/Backblaze/b2-sdk-python + https://pypi.org/project/b2sdk/ +" +# No tests in sdist +SRC_URI="https://github.com/Backblaze/b2-sdk-python/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/b2-sdk-python-${PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# pydantic can be used but it has a fallback +RDEPEND=" + >=dev-python/annotated-types-0.5.0[${PYTHON_USEDEP}] + >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.9.1[${PYTHON_USEDEP}] + >=dev-python/tenacity-9.1.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Requires network access and real API keys + test/integration/test_bucket.py + test/integration/test_download.py + test/integration/test_file_version_attributes.py + test/integration/test_sync.py + test/integration/test_upload.py + test/integration/test_raw_api.py +) + +EPYTEST_PLUGINS=( pytest-{lazy-fixtures,mock,timeout} ) +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/behave/behave-1.3.3.ebuild b/dev-python/behave/behave-1.3.3.ebuild index 9d452e51dd54..f53a0d28f41f 100644 --- a/dev-python/behave/behave-1.3.3.ebuild +++ b/dev-python/behave/behave-1.3.3.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" RDEPEND=" >=dev-python/colorama-0.3.7[${PYTHON_USEDEP}] diff --git a/dev-python/chardet/Manifest b/dev-python/chardet/Manifest index 41980181b329..e098bc0ddf17 100644 --- a/dev-python/chardet/Manifest +++ b/dev-python/chardet/Manifest @@ -1 +1,2 @@ DIST chardet-5.2.0.gh.tar.gz 2067352 BLAKE2B e9b960bad6ad7e9933f0fcd6e445bdefdd795f6150bf96e59714bfb9bd0cf63adeba80b608a1890f07be81565c160977fa96140984720407d93b0919eeb71a8b SHA512 3c6614882b251e53322eb75fdd01c3d7664c5f611bbfc1480fa10d57f02906b4be42a8b7ff4d3bdc00465340a2ca46b31f1f0d25f64d4f69df0ac0876e71e87f +DIST chardet-6.0.0.post1.tar.gz 12521798 BLAKE2B 1aac9c3fa5a7e7ac3dd366e02a2395f929a9df3141e7bf609415be471d82179e9f72de7a8584bcad34a04f9ebf426be61205c3c6932a792b770f3971500fe3d0 SHA512 c0581f1c108413407e4155ea1beceb84626c91472640657f2e17359624f7649046882ce2815330c7ce96a4320b1a85840b0235c4329637eb73f21bae85504c31 diff --git a/dev-python/chardet/chardet-6.0.0_p1.ebuild b/dev-python/chardet/chardet-6.0.0_p1.ebuild new file mode 100644 index 000000000000..1a1aaef6401f --- /dev/null +++ b/dev-python/chardet/chardet-6.0.0_p1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Universal encoding detector" +HOMEPAGE=" + https://github.com/chardet/chardet/ + https://pypi.org/project/chardet/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=( hypothesis ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # super flaky test + # https://github.com/chardet/chardet/issues/256 + test.py::test_detect_all_and_detect_one_should_agree + ) + + epytest -o addopts= +} diff --git a/dev-python/cucumber-expressions/cucumber-expressions-19.0.0.ebuild b/dev-python/cucumber-expressions/cucumber-expressions-19.0.0.ebuild index 74d55f0ffd9b..68c5eeff0f88 100644 --- a/dev-python/cucumber-expressions/cucumber-expressions-19.0.0.ebuild +++ b/dev-python/cucumber-expressions/cucumber-expressions-19.0.0.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}/${P}/python" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" BDEPEND=" test? ( diff --git a/dev-python/cucumber-tag-expressions/cucumber-tag-expressions-9.0.0.ebuild b/dev-python/cucumber-tag-expressions/cucumber-tag-expressions-9.0.0.ebuild index 48f29930a28b..0f76934f4161 100644 --- a/dev-python/cucumber-tag-expressions/cucumber-tag-expressions-9.0.0.ebuild +++ b/dev-python/cucumber-tag-expressions/cucumber-tag-expressions-9.0.0.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}/tag-expressions-${PV}/python" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" BDEPEND=" test? ( diff --git a/dev-python/elastic-transport/elastic-transport-9.2.1.ebuild b/dev-python/elastic-transport/elastic-transport-9.2.1.ebuild index e9072c930d35..8e81efd02e8f 100644 --- a/dev-python/elastic-transport/elastic-transport-9.2.1.ebuild +++ b/dev-python/elastic-transport/elastic-transport-9.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2025 Gentoo Authors +# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 arm64 x86" PROPERTIES="test_network" RESTRICT="test" diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest index 982ad604365a..0c1865af749a 100644 --- a/dev-python/pyfakefs/Manifest +++ b/dev-python/pyfakefs/Manifest @@ -1,3 +1,4 @@ DIST pyfakefs-6.0.0.gh.tar.gz 255364 BLAKE2B 953b367fa95cbb2dccf3367de4ba6f768387d87bce2f6849b9cba4b269d52ad15f1facc12137be16095944fec9d863f6bb32aa0eeead27c97a4059e7b7d6b60e SHA512 49112c5f89843eace74ab2011b4ee1db1e5e100d3358950f4664ef3fb7f309fcef720e571e66e4b88d0997cb81f02b30c1063ac55a1877651e8aa9c3e7fa3ee4 DIST pyfakefs-6.1.0.gh.tar.gz 256597 BLAKE2B 9bd8335327bcd4641daddd5d65002849372462c7e9cc6260a2dbc4e84c3116b5b2423bb0ec60c27f37498cfb44858a1b27ed0f9650239399864a0b34edf54be9 SHA512 998ecb17afae46519da9fbca409b7cd0cb6b13c45867ad5c20b6abe1747850e4b9812aee2916f9c20d884adb0e244f87dba74a743e6d98e0e789469f90e2cc5f DIST pyfakefs-6.1.1.gh.tar.gz 256673 BLAKE2B 649c03eae7f75b579e6f43a110896506bf316ff0222202ec5219106f6cec1e761309c03c9c8514520bf9de97d06cbd4518a39881d46da702acc3bd4a08867dd9 SHA512 e385e5e0b399da169148d40394d98408156717c2f4a9ebdf5f9f3764ffc0d91005286ca974a8e1b01a981be8ecff435fbf78e5d2a0ab34874fc3fd3126afdf2c +DIST pyfakefs-6.1.2.gh.tar.gz 256821 BLAKE2B a47012f90a25899deccd433261c89b39a43c23bf536aaf4f9ca1babfbffa2949e9f8dae53723d6b0c649d87f673216cc4a63344afe494d98c3cfbe21c6fc083e SHA512 4d9557559b84c61476e97903392f08d175dda58566bb18823ead5ea8ac0b4d904deb6a48462561985bd7ff2deb9e39bae40b1642cc4dbea8ca5f35bfd349291c diff --git a/dev-python/pyfakefs/pyfakefs-6.1.2.ebuild b/dev-python/pyfakefs/pyfakefs-6.1.2.ebuild new file mode 100644 index 000000000000..06a49696668a --- /dev/null +++ b/dev-python/pyfakefs/pyfakefs-6.1.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +DESCRIPTION="A fake file system that mocks the Python file system modules" +HOMEPAGE=" + https://github.com/pytest-dev/pyfakefs/ + https://pypi.org/project/pyfakefs/ +" +SRC_URI=" + https://github.com/pytest-dev/pyfakefs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +EPYTEST_PLUGINS=( "${PN}" ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires *.dist-info/RECORD file that we're stripping + pyfakefs/tests/fake_filesystem_test.py::RealFileSystemAccessTest::test_add_package_metadata + # wants dev-python/openpyxl + pyfakefs/tests/patched_packages_test.py::TestPatchedPackages::test_read_excel + ) + local EPYTEST_IGNORE=( + # test for regression with opentimelineio package + pyfakefs/pytest_tests/segfault_test.py + # test for regression with undefined package + pyfakefs/pytest_tests/pytest_fixture_test.py + ) + + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( + pyfakefs/pytest_tests/pytest_reload_pandas_test.py + ) + fi + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # TODO: this test messes up everything + pyfakefs/tests/fake_filesystem_unittest_test.py::TestDeprecationSuppression::test_no_deprecation_warning + # TODO + pyfakefs/tests/fake_pathlib_test.py::SkipPathlibTest::test_exists + ) + ;; + esac + + epytest +} diff --git a/dev-python/pypdf/Manifest b/dev-python/pypdf/Manifest index 63a259b4cc26..314dc0777d91 100644 --- a/dev-python/pypdf/Manifest +++ b/dev-python/pypdf/Manifest @@ -2,4 +2,5 @@ DIST pypdf-6.5.0.gh.tar.gz 8301408 BLAKE2B 9df78a6d9cd8da07d55649ad92491a97d9fc0 DIST pypdf-6.6.2.gh.tar.gz 8364619 BLAKE2B 8aed0d554c764ab5626a86fa4d6513e9a0c0fed26843d2f84ca1c613a67284660b6607d1a12678a41f3086dc1624770b558134f765b49268d28d9ce25ac2732d SHA512 310261c47f9d1dfcbbdb95138d76b90ceb202573e148edbb3a30cf74f1e20f0afd831131d3dcbd39e918ac44507a32cd50465f44e8aff5780ed66ed611bd6c22 DIST pypdf-6.7.0.gh.tar.gz 8383964 BLAKE2B a01ca5d9fb391cd1b0b770a02e3bf3e4354f779a40219a71c47d606ba5f32e29fb595d9745ee103665fca6cc7ff6233d3adb2b16fb096c2007622c3de4148732 SHA512 d0e514a5a3ea1b8798a7d53b5df8851747b858d46e454ffa37257b782c83ff6fef92959bd72f98889b870eecb7f4e47bd5353fb2b6b253aeff9feb6b80e49070 DIST pypdf-6.7.1.gh.tar.gz 8383738 BLAKE2B 6d6fcc887a415cbde840d24e6783b1316b3d7fcad82c3741dfe74b66fed9559329cf55f7577347a29d52163585474554e1768a39da6762d1ce02abbb06049980 SHA512 57fc21625809971a1cb4b7ee40d7b612a0698eb91cb8e8e80fa50f1c3eece46374ed3d74bab2766e9dce69cf50149b822dbb16a020c755c570b52d0f115f1c84 +DIST pypdf-6.7.2.gh.tar.gz 8385062 BLAKE2B f2d11b6c3c0c47cc229f187ce962ea25d4d792bc6b934ce267ea7a7f950b7902f887a0e007cf591699314db81820e1e115c46fb017e2defc9ff25b6db7c50952 SHA512 fb9ea3da1c5de7e63d3872321df5f12f895f6cd3197161e49d8434ed07f4ea4e386e4dc367d20dcefdd1643a65c1b19342c72271ee5a9ef9b3af628847b9f561 DIST pypdf-sample-files-8c405ece5eff12396a34a1fae3276132002e1753.gh.tar.gz 11748093 BLAKE2B c5989200893b28a3c2062bb024a5cfc6f3389dc259ec129857979fa43469e1274559612b4d555499e2c7e16cf34be07825229932bf4d147fa6d7324d043e97d5 SHA512 c9771129b7668a2fd1fa79bb859ae9213f3d60341cf1b9937ff0eaab0de9bf4c35adcb7b896e93329038dc0f3809a0c697c523f8fe41b43030b0b029a88058e3 diff --git a/dev-python/pypdf/pypdf-6.7.2.ebuild b/dev-python/pypdf/pypdf-6.7.2.ebuild new file mode 100644 index 000000000000..6a4b0c6b2c64 --- /dev/null +++ b/dev-python/pypdf/pypdf-6.7.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..14} ) + +inherit distutils-r1 + +SAMPLE_COMMIT=8c405ece5eff12396a34a1fae3276132002e1753 +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE=" + https://pypi.org/project/pypdf/ + https://github.com/py-pdf/pypdf/ +" +SRC_URI=" + https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz + -> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz + ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + >=dev-python/pillow-8.0.0[jpeg,jpeg2k,tiff,zlib,${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + media-libs/jbig2dec[png] + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + default + if use test; then + mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die + fi +} + +python_test() { + epytest -o addopts= -m "not enable_socket" +} diff --git a/dev-python/rq/Manifest b/dev-python/rq/Manifest index 0d1cc9c4bf8e..29a3e59f9949 100644 --- a/dev-python/rq/Manifest +++ b/dev-python/rq/Manifest @@ -1,2 +1,2 @@ -DIST rq-2.6.0.tar.gz 675315 BLAKE2B 96ec326d01a1e708dbe7318efc98f1ae5396aca2af0d26836bdcb85483a6c510f9c1ce67c57f9a4211bb5c56a63c083dd0e26cf9f81ab7baa192c79cc09c7a5d SHA512 1e93c84d0fc11841e02fe6fb191c1d490ba80a12a98f8780a025e0c90bd23dda1f9cedfc47fe87f075f8051e7a5368ec5a8376bb53f8163fdec6f755885484bc DIST rq-2.6.1.tar.gz 675386 BLAKE2B e66a33618251e5fc8cd8a994c59ec1c0df194bbdb60a31dd5613b57097ffbbd4459069f82b56b26d335bd0e1ae8225a69e49c191c74ce37a04f6c77790a8114c SHA512 209fd3bf08999b41e057c23c15b2b5a7660e6d687ae7225a7ee8c7dd144fc69b67fe7c4be155ff6f8bba3c6ab95f38288055d7889630ca5bcace0e2c45da5fb3 +DIST rq-2.7.0.tar.gz 679396 BLAKE2B b304624e88e6c2f636dc2bb69da845ffa12b40e27ac1a6198e56217233b61b3fee64c9c59e48388710408b43d6de6187881f8b6ed83ed04b783d848bd8fff234 SHA512 323a7b9f9d8ee2a74434d647db131c20d975f93215993c0410574f075fc5f6f340ebb4480c8acf8102944c13c0e699309baaf1a2b9a9f6a71367e0c772896ecb diff --git a/dev-python/rq/rq-2.6.0.ebuild b/dev-python/rq/rq-2.6.0.ebuild deleted file mode 100644 index c75aacea2044..000000000000 --- a/dev-python/rq/rq-2.6.0.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Simple, lightweight library for creating and processing background jobs" -HOMEPAGE=" - https://python-rq.org/ - https://github.com/rq/rq/ - https://pypi.org/project/rq/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - >=dev-python/click-5.0[${PYTHON_USEDEP}] - dev-python/croniter[${PYTHON_USEDEP}] - >=dev-python/redis-4.5.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-db/redis - dev-python/psutil[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # strip pin - sed -i -e '/dependencies/s:,!=[0-9.]*::' pyproject.toml || die -} - -src_test() { - local redis_pid="${T}"/redis.pid - local redis_port=6379 - local redis_test_config="daemonize yes - pidfile ${redis_pid} - port ${redis_port} - bind 127.0.0.1 - " - - # Spawn Redis itself for testing purposes - # NOTE: On sam@'s machine, spawning Redis can hang in the sandbox. - # I'm not restricting tests yet because this doesn't happen for anyone else AFAICT. - einfo "Spawning Redis" - einfo "NOTE: Port ${redis_port} must be free" - /usr/sbin/redis-server - <<< "${redis_test_config}" || die - - # Run the actual tests - distutils-r1_src_test - - # Clean up afterwards - kill "$(<"${redis_pid}")" || die -} - -python_test() { - local EPYTEST_DESELECT=( - # requires =@" meson.build || die -} - -python_configure_all() { - DISTUTILS_ARGS=( - -Dblas=blas - -Dlapack=lapack - -Duse-pythran=$(usex fortran true false) - -Duse-system-libraries=all - ) - - # https://bugs.gentoo.org/932721 - has_version '>=dev-python/numpy-2.0.0' && filter-lto -} - -python_test() { - # We run tests in parallel, so avoid having n^2 threads in lapack - # tests. - local -x BLIS_NUM_THREADS=1 - local -x MKL_NUM_THREADS=1 - local -x OMP_NUM_THREADS=1 - local -x OPENBLAS_NUM_THREADS=1 - - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - - local EPYTEST_DESELECT=( - # Network - scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all - scipy/datasets/tests/test_data.py::TestDatasets::test_ascent - scipy/datasets/tests/test_data.py::TestDatasets::test_face - scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram - - # Crashes with assertion, not a regression - # https://github.com/scipy/scipy/issues/19321 - scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object - - # Awfully slow tests - scipy/interpolate/tests/test_bsplines.py::TestBatch::test_batch - scipy/linalg/tests/test_basic.py::TestLstsq::test_random_complex_exact - scipy/sparse/linalg/_eigen/tests/test_svds.py::test_small_sigma_sparse - - # TODO: minor precision errors - 'scipy/linalg/tests/test_batch.py::TestBatch::test_solve[float32-bdim2]' - 'scipy/linalg/tests/test_batch.py::TestBatch::test_lu_solve[float32-bdim2]' - 'scipy/stats/tests/test_continuous.py::TestDistributions::test_funcs[cdf-methods11-x-Normal][' - - # Crashes, probably too big - 'scipy/interpolate/tests/test_fitpack2.py::TestRectBivariateSpline::test_spline_large_2d_maxit' - ) - local EPYTEST_IGNORE=() - - if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then - EPYTEST_IGNORE+=( - scipy/datasets/tests/test_data.py - ) - fi - - case ${EPYTHON} in - pypy3*) - EPYTEST_DESELECT+=( - # TODO - scipy/special/tests/test_data.py::test_boost - scipy/_lib/tests/test_ccallback.py::test_callbacks - ) - ;; - esac - - # avoid other stuff being multithreaded when using xdist - local -x PYTHON_CPU_COUNT=1 - epytest scipy -} - -python_install_all() { - use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/scipy/scipy-1.16.2-r2.ebuild b/dev-python/scipy/scipy-1.16.2-r2.ebuild deleted file mode 100644 index 9421651a02d9..000000000000 --- a/dev-python/scipy/scipy-1.16.2-r2.ebuild +++ /dev/null @@ -1,183 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -FORTRAN_NEEDED=fortran -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -PYTHON_COMPAT=( python3_{10..14} ) -PYTHON_REQ_USE="threads(+)" - -inherit flag-o-matic fortran-2 distutils-r1 - -DESCRIPTION="Scientific algorithms library for Python" -HOMEPAGE=" - https://scipy.org/ - https://github.com/scipy/scipy/ - https://pypi.org/project/scipy/ -" - -if [[ ${PV} == *9999* ]] ; then - inherit git-r3 - - # Need submodules, so git for now. - EGIT_REPO_URI="https://github.com/scipy/scipy" - EGIT_BRANCH="maintenance/$(ver_cut 1-2).x" - EGIT_SUBMODULES=( '*' ) -else - inherit pypi - - # Upstream is often behind with doc updates - DOC_PV=${PV} - - SRC_URI+=" - doc? ( - https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip - ) - " - - if [[ ${PV} != *rc* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" - fi -fi - -LICENSE="BSD LGPL-2" -SLOT="0" -IUSE="doc +fortran test-rust" - -# pythran is needed in both BDEPEND (for /usr/bin/pythran) and in DEPEND -# to actually compile code generated by pythran (headers and such needed). -# -# umfpack is technically optional but it's preferred to have it available. -COMMON_DEPEND=" - >=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}] - >=media-libs/qhull-2020.2:= - virtual/cblas - >=virtual/lapack-3.8 -" -# Only boost.math is used, and meson.build doesn't even look up specific boost modules. -DEPEND=" - ${COMMON_DEPEND} - >=dev-libs/boost-1.88.0 -" -RDEPEND=" - ${COMMON_DEPEND} - dev-python/pillow[${PYTHON_USEDEP}] -" -DEPEND+=" - fortran? ( - >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - dev-lang/swig - >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] - >=dev-python/meson-python-0.15.0[${PYTHON_USEDEP}] - >=dev-python/pybind11-2.13.2[${PYTHON_USEDEP}] - >=dev-python/pytest-8.0.0[${PYTHON_USEDEP}] - >=dev-build/meson-1.5.0 - !kernel_Darwin? ( dev-util/patchelf ) - virtual/pkgconfig - doc? ( app-arch/unzip ) - fortran? ( - >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] - ) - test-rust? ( - dev-python/pooch[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( hypothesis ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_unpack() { - default - - if use doc; then - unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die - fi -} - -src_prepare() { - distutils-r1_src_prepare - - # unpin system dependencies - sed -i -e "s@version : '@&>=@" meson.build || die -} - -python_configure_all() { - DISTUTILS_ARGS=( - -Dblas=blas - -Dlapack=lapack - -Duse-pythran=$(usex fortran true false) - -Duse-system-libraries=all - ) - - # https://bugs.gentoo.org/932721 - has_version '>=dev-python/numpy-2.0.0' && filter-lto -} - -python_test() { - # We run tests in parallel, so avoid having n^2 threads in lapack - # tests. - local -x BLIS_NUM_THREADS=1 - local -x MKL_NUM_THREADS=1 - local -x OMP_NUM_THREADS=1 - local -x OPENBLAS_NUM_THREADS=1 - - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - - local EPYTEST_DESELECT=( - # Network - scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all - scipy/datasets/tests/test_data.py::TestDatasets::test_ascent - scipy/datasets/tests/test_data.py::TestDatasets::test_face - scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram - - # Crashes with assertion, not a regression - # https://github.com/scipy/scipy/issues/19321 - scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object - - # Awfully slow tests - scipy/interpolate/tests/test_bsplines.py::TestBatch::test_batch - scipy/linalg/tests/test_basic.py::TestLstsq::test_random_complex_exact - scipy/sparse/linalg/_eigen/tests/test_svds.py::test_small_sigma_sparse - - # TODO: minor precision errors - 'scipy/linalg/tests/test_batch.py::TestBatch::test_solve[float32-bdim2]' - 'scipy/linalg/tests/test_batch.py::TestBatch::test_lu_solve[float32-bdim2]' - 'scipy/stats/tests/test_continuous.py::TestDistributions::test_funcs[cdf-methods11-x-Normal][' - - # Crashes, probably too big - 'scipy/interpolate/tests/test_fitpack2.py::TestRectBivariateSpline::test_spline_large_2d_maxit' - ) - local EPYTEST_IGNORE=() - - if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then - EPYTEST_IGNORE+=( - scipy/datasets/tests/test_data.py - ) - fi - - case ${EPYTHON} in - pypy3*) - EPYTEST_DESELECT+=( - # TODO - scipy/special/tests/test_data.py::test_boost - scipy/_lib/tests/test_ccallback.py::test_callbacks - ) - ;; - esac - - # avoid other stuff being multithreaded when using xdist - local -x PYTHON_CPU_COUNT=1 - epytest scipy -} - -python_install_all() { - use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/scipy/scipy-1.17.1.ebuild b/dev-python/scipy/scipy-1.17.1.ebuild new file mode 100644 index 000000000000..bc4de302cb27 --- /dev/null +++ b/dev-python/scipy/scipy-1.17.1.ebuild @@ -0,0 +1,181 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FORTRAN_NEEDED=fortran +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=meson-python +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit flag-o-matic fortran-2 distutils-r1 + +DESCRIPTION="Scientific algorithms library for Python" +HOMEPAGE=" + https://scipy.org/ + https://github.com/scipy/scipy/ + https://pypi.org/project/scipy/ +" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + + # Need submodules, so git for now. + EGIT_REPO_URI="https://github.com/scipy/scipy" + EGIT_BRANCH="maintenance/$(ver_cut 1-2).x" + EGIT_SUBMODULES=( '*' ) +else + inherit pypi + + # Upstream is often behind with doc updates + DOC_PV=1.16.2 + + SRC_URI+=" + doc? ( + https://docs.scipy.org/doc/${PN}-${DOC_PV}/${PN}-html-${DOC_PV}.zip + ) + " + + if [[ ${PV} != *rc* ]]; then + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + fi +fi + +LICENSE="BSD LGPL-2" +SLOT="0" +IUSE="doc +fortran test-rust" + +# pythran is needed in both BDEPEND (for /usr/bin/pythran) and in DEPEND +# to actually compile code generated by pythran (headers and such needed). +# +# umfpack is technically optional but it's preferred to have it available. +COMMON_DEPEND=" + >=dev-python/numpy-1.23.5:=[lapack,${PYTHON_USEDEP}] + >=media-libs/qhull-2020.2:= + virtual/cblas + >=virtual/lapack-3.8 +" +# Only boost.math is used, and meson.build doesn't even look up specific boost modules. +DEPEND=" + ${COMMON_DEPEND} + >=dev-libs/boost-1.89.0 +" +RDEPEND=" + ${COMMON_DEPEND} + dev-python/pillow[${PYTHON_USEDEP}] +" +DEPEND+=" + fortran? ( + >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + dev-lang/swig + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] + >=dev-python/meson-python-0.15.0[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.13.2[${PYTHON_USEDEP}] + >=dev-python/pytest-8.0.0[${PYTHON_USEDEP}] + >=dev-build/meson-1.5.0 + !kernel_Darwin? ( dev-util/patchelf ) + virtual/pkgconfig + doc? ( app-arch/unzip ) + fortran? ( + >=dev-python/pythran-0.16.0[${PYTHON_USEDEP}] + ) + test-rust? ( + dev-python/pooch[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( hypothesis ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + default + + if use doc; then + unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die + fi +} + +src_prepare() { + distutils-r1_src_prepare + + # unpin system dependencies + sed -i -e "s@version : '@&>=@" meson.build || die +} + +python_configure_all() { + DISTUTILS_ARGS=( + -Dblas=blas + -Dlapack=lapack + -Duse-pythran=$(usex fortran true false) + -Duse-system-libraries=all + ) + + # https://bugs.gentoo.org/932721 + has_version '>=dev-python/numpy-2.0.0' && filter-lto +} + +python_test() { + # We run tests in parallel, so avoid having n^2 threads in lapack + # tests. + local -x BLIS_NUM_THREADS=1 + local -x MKL_NUM_THREADS=1 + local -x OMP_NUM_THREADS=1 + local -x OPENBLAS_NUM_THREADS=1 + + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + + local EPYTEST_DESELECT=( + # Network + scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all + scipy/datasets/tests/test_data.py::TestDatasets::test_ascent + scipy/datasets/tests/test_data.py::TestDatasets::test_face + scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram + + # Crashes with assertion, not a regression + # https://github.com/scipy/scipy/issues/19321 + scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object + + # Awfully slow tests + scipy/interpolate/tests/test_bsplines.py::TestBatch::test_batch + scipy/linalg/tests/test_basic.py::TestLstsq::test_random_complex_exact + scipy/sparse/linalg/_eigen/tests/test_svds.py::test_small_sigma_sparse + + # TODO: minor precision errors + 'scipy/linalg/tests/test_batch.py::TestBatch::test_solve[float32-bdim2]' + 'scipy/linalg/tests/test_batch.py::TestBatch::test_lu_solve[float32-bdim2]' + 'scipy/stats/tests/test_continuous.py::TestDistributions::test_funcs[cdf-methods11-x-Normal][' + + # Crashes, probably too big + 'scipy/interpolate/tests/test_fitpack2.py::TestRectBivariateSpline::test_spline_large_2d_maxit' + ) + local EPYTEST_IGNORE=() + + if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then + EPYTEST_IGNORE+=( + scipy/datasets/tests/test_data.py + ) + fi + + if has_version -b "sys-libs/zlib-ng[compat]"; then + EPYTEST_DESELECT+=( + # https://github.com/scipy/scipy/issues/23185 + scipy/io/matlab/tests/test_streams.py::TestZlibInputStream::test_all_data_read_bad_checksum + scipy/io/matlab/tests/test_streams.py::TestZlibInputStream::test_all_data_read_overlap + ) + fi + + # avoid other stuff being multithreaded when using xdist + local -x PYTHON_CPU_COUNT=1 + epytest scipy +} + +python_install_all() { + use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/tables/Manifest b/dev-python/tables/Manifest index 11af76a518c3..cb465cf0da16 100644 --- a/dev-python/tables/Manifest +++ b/dev-python/tables/Manifest @@ -1 +1,2 @@ DIST tables-3.10.2.tar.gz 4779722 BLAKE2B 3242a1a4ec167f5f21496e8602fcf319fa387ad9245955d17c74605cec97a6222f92197ad7c2f7d3d53fa72740c5bfe9c0c759500698999e3fa5aea036e6ff7e SHA512 c2a1781113d31b35a75a2ce34fe0e922824340efd3077df419913ec6bdb4b0a59ee0601736423c34baf9d61aa0a7122f0b0440e4000cfe61a6dde5f369574450 +DIST tables-3.11.0.tar.gz 4790450 BLAKE2B 50fb6273e11516f401e57f26803c8406056e3a86d4def51b42296abcc255835c109e08a4cda1cc8b8071bec0bf6e5d9a8309212c625185d77f834fcc45e9ac9f SHA512 0ac18f5355fb57266b576faae97c01fe6ecacfa018b5f99b77338b5037af44c04fca760890ce63ff76ecae0c0542a36f4b774e5a62bbae99913807706ecc1f13 diff --git a/dev-python/tables/tables-3.11.0.ebuild b/dev-python/tables/tables-3.11.0.ebuild new file mode 100644 index 000000000000..2b15af2289dd --- /dev/null +++ b/dev-python/tables/tables-3.11.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..14} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 prefix pypi + +DESCRIPTION="Hierarchical datasets for Python" +HOMEPAGE=" + https://www.pytables.org/ + https://github.com/PyTables/PyTables/ + https://pypi.org/project/tables/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86" +IUSE="+cpudetection examples test" +RESTRICT="!test? ( test )" + +DEPEND=" + app-arch/bzip2:0= + app-arch/lz4:0= + >=app-arch/zstd-1.0.0:= + >=dev-libs/c-blosc-1.11.1:0= + >=dev-libs/c-blosc2-2.11.0:= + dev-libs/lzo:2= + >=dev-python/numpy-1.19.0:=[${PYTHON_USEDEP}] + >=sci-libs/hdf5-1.8.4:= +" +RDEPEND=" + ${DEPEND} + >=dev-python/numexpr-2.6.2[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) +" +BDEPEND=" + >=dev-python/cython-3.1[${PYTHON_USEDEP}] + virtual/pkgconfig + cpudetection? ( dev-python/py-cpuinfo[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + ) +" + +python_prepare_all() { + distutils-r1_python_prepare_all + + rm -r c-blosc/{blosc,internal-complibs} || die + + sed -i -e '/blosc2/d' pyproject.toml || die + hprefixify -w '/prefixes =/' setup.py + + # TODO + sed -i -e 's:test_write_chunk_filtermask:_&:' \ + tables/tests/test_direct_chunk.py || die + + export PYTABLES_NO_EMBEDDED_LIBS=1 + export USE_PKGCONFIG=TRUE +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + "${EPYTHON}" tables/tests/test_all.py -v || die +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r contrib examples + docompress -x /usr/share/doc/${PF}/{contrib,examples} + fi +} -- cgit v1.3.1