From bfd63d5b0e96ad32e0d0a8fe15512b6a9ac6fc9e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 21 May 2024 00:05:36 +0100 Subject: gentoo auto-resync : 21:05:2024 - 00:05:35 --- dev-python/Manifest.gz | Bin 271395 -> 271422 bytes dev-python/aiohappyeyeballs/Manifest | 2 +- .../aiohappyeyeballs/aiohappyeyeballs-2.3.2.ebuild | 2 +- dev-python/astroid/Manifest | 2 + dev-python/astroid/astroid-3.2.2.ebuild | 74 ++++++++++ dev-python/aws-xray-sdk/Manifest | 2 + dev-python/aws-xray-sdk/aws-xray-sdk-2.13.1.ebuild | 91 ++++++++++++ dev-python/emoji/Manifest | 2 + dev-python/emoji/emoji-2.12.1.ebuild | 29 ++++ dev-python/h5py/Manifest | 2 +- dev-python/h5py/h5py-3.11.0-r1.ebuild | 62 +++++++++ dev-python/h5py/h5py-3.11.0.ebuild | 62 --------- dev-python/markdown-exec/Manifest | 2 + .../markdown-exec/markdown-exec-1.8.2.ebuild | 34 +++++ dev-python/mkdocs-material/Manifest | 2 + .../mkdocs-material/mkdocs-material-9.5.24.ebuild | 67 +++++++++ dev-python/numexpr/Manifest | 2 +- dev-python/numexpr/numexpr-2.10.0-r1.ebuild | 49 +++++++ dev-python/numexpr/numexpr-2.10.0.ebuild | 49 ------- dev-python/pdm/Manifest | 2 + dev-python/pdm/pdm-2.15.3.ebuild | 117 ++++++++++++++++ dev-python/pycurl/Manifest | 2 +- dev-python/pycurl/pycurl-7.45.3.ebuild | 2 +- dev-python/pygame/Manifest | 5 +- dev-python/pygame/files/pygame-2.5.2-gcc-14.patch | 38 +++++ dev-python/pygame/pygame-2.5.1.ebuild | 88 ------------ dev-python/pygame/pygame-2.5.2-r1.ebuild | 101 -------------- dev-python/pygame/pygame-2.5.2-r2.ebuild | 103 ++++++++++++++ dev-python/pylint/Manifest | 2 + dev-python/pylint/pylint-3.2.2.ebuild | 93 +++++++++++++ dev-python/pytest-asyncio/Manifest | 2 + .../pytest-asyncio/pytest-asyncio-0.23.7.ebuild | 51 +++++++ dev-python/pytest-localftpserver/Manifest | 2 + .../pytest-localftpserver-1.3.2.ebuild | 37 +++++ dev-python/pytest-xprocess/Manifest | 2 + .../pytest-xprocess/pytest-xprocess-1.0.2.ebuild | 27 ++++ dev-python/pytest/Manifest | 2 + dev-python/pytest/pytest-8.2.1.ebuild | 116 +++++++++++++++ dev-python/quart/Manifest | 2 + dev-python/quart/quart-0.19.6.ebuild | 50 +++++++ dev-python/rapidfuzz/Manifest | 2 + dev-python/rapidfuzz/rapidfuzz-3.9.1.ebuild | 66 +++++++++ dev-python/sabctools/Manifest | 2 + dev-python/sabctools/sabctools-8.2.2.ebuild | 39 ++++++ dev-python/scikit-learn/Manifest | 2 +- .../scikit-learn/scikit-learn-1.4.2-r1.ebuild | 70 ++++++++++ dev-python/scikit-learn/scikit-learn-1.4.2.ebuild | 70 ---------- dev-python/scipy/Manifest | 8 +- dev-python/scipy/scipy-1.11.3-r1.ebuild | 150 -------------------- dev-python/scipy/scipy-1.11.3-r2.ebuild | 150 ++++++++++++++++++++ dev-python/scipy/scipy-1.11.4-r1.ebuild | 150 ++++++++++++++++++++ dev-python/scipy/scipy-1.11.4.ebuild | 150 -------------------- dev-python/scipy/scipy-1.12.0-r1.ebuild | 151 ++++++++++++++++++++ dev-python/scipy/scipy-1.12.0.ebuild | 151 -------------------- dev-python/scipy/scipy-1.13.0_rc1.ebuild | 155 --------------------- dev-python/sphinx-autoapi/Manifest | 2 + .../sphinx-autoapi/sphinx-autoapi-3.1.0.ebuild | 50 +++++++ dev-python/sqlglot/Manifest | 6 +- dev-python/sqlglot/sqlglot-23.15.8.ebuild | 121 ---------------- dev-python/sqlglot/sqlglot-23.15.9.ebuild | 121 ---------------- dev-python/sqlglot/sqlglot-23.17.0.ebuild | 121 ++++++++++++++++ dev-python/tree-sitter/Manifest | 2 +- dev-python/tree-sitter/tree-sitter-0.22.3.ebuild | 2 +- 63 files changed, 1881 insertions(+), 1239 deletions(-) create mode 100644 dev-python/astroid/astroid-3.2.2.ebuild create mode 100644 dev-python/aws-xray-sdk/aws-xray-sdk-2.13.1.ebuild create mode 100644 dev-python/emoji/emoji-2.12.1.ebuild create mode 100644 dev-python/h5py/h5py-3.11.0-r1.ebuild delete mode 100644 dev-python/h5py/h5py-3.11.0.ebuild create mode 100644 dev-python/markdown-exec/markdown-exec-1.8.2.ebuild create mode 100644 dev-python/mkdocs-material/mkdocs-material-9.5.24.ebuild create mode 100644 dev-python/numexpr/numexpr-2.10.0-r1.ebuild delete mode 100644 dev-python/numexpr/numexpr-2.10.0.ebuild create mode 100644 dev-python/pdm/pdm-2.15.3.ebuild create mode 100644 dev-python/pygame/files/pygame-2.5.2-gcc-14.patch delete mode 100644 dev-python/pygame/pygame-2.5.1.ebuild delete mode 100644 dev-python/pygame/pygame-2.5.2-r1.ebuild create mode 100644 dev-python/pygame/pygame-2.5.2-r2.ebuild create mode 100644 dev-python/pylint/pylint-3.2.2.ebuild create mode 100644 dev-python/pytest-asyncio/pytest-asyncio-0.23.7.ebuild create mode 100644 dev-python/pytest-localftpserver/pytest-localftpserver-1.3.2.ebuild create mode 100644 dev-python/pytest-xprocess/pytest-xprocess-1.0.2.ebuild create mode 100644 dev-python/pytest/pytest-8.2.1.ebuild create mode 100644 dev-python/quart/quart-0.19.6.ebuild create mode 100644 dev-python/rapidfuzz/rapidfuzz-3.9.1.ebuild create mode 100644 dev-python/sabctools/sabctools-8.2.2.ebuild create mode 100644 dev-python/scikit-learn/scikit-learn-1.4.2-r1.ebuild delete mode 100644 dev-python/scikit-learn/scikit-learn-1.4.2.ebuild delete mode 100644 dev-python/scipy/scipy-1.11.3-r1.ebuild create mode 100644 dev-python/scipy/scipy-1.11.3-r2.ebuild create mode 100644 dev-python/scipy/scipy-1.11.4-r1.ebuild delete mode 100644 dev-python/scipy/scipy-1.11.4.ebuild create mode 100644 dev-python/scipy/scipy-1.12.0-r1.ebuild delete mode 100644 dev-python/scipy/scipy-1.12.0.ebuild delete mode 100644 dev-python/scipy/scipy-1.13.0_rc1.ebuild create mode 100644 dev-python/sphinx-autoapi/sphinx-autoapi-3.1.0.ebuild delete mode 100644 dev-python/sqlglot/sqlglot-23.15.8.ebuild delete mode 100644 dev-python/sqlglot/sqlglot-23.15.9.ebuild create mode 100644 dev-python/sqlglot/sqlglot-23.17.0.ebuild (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 49ce13a854c4..3da222c89434 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/aiohappyeyeballs/Manifest b/dev-python/aiohappyeyeballs/Manifest index ef76583f6373..e7268ed0a7f9 100644 --- a/dev-python/aiohappyeyeballs/Manifest +++ b/dev-python/aiohappyeyeballs/Manifest @@ -1,3 +1,3 @@ DIST aiohappyeyeballs-2.3.2.gh.tar.gz 46204 BLAKE2B 85a050910181e7acd6520ae8126e6e1656b5d5e7d869bca481af5fe65b52bf1d4dc0502d2e0cce702c60dc9420757fc892a91a600a73925adce6990fc224bb1a SHA512 5638dabb06c9d0182e21371470d612ec78a1a8981a0720318b0f4fc0569b7c556adfba6297b5bec75726e106f5a6335acfb19bd5322e43e5ebc4f71d4457424c -EBUILD aiohappyeyeballs-2.3.2.ebuild 780 BLAKE2B 8c3ad2530625f02f9231de042b502bbe4f4951da8d2e4d0e6b2898b4180bb5ac3aa4a6f939aa1f87ccb188fdc1a11a079daee90eee60edd94721a5f92dafbad0 SHA512 ef3daa55ffe1100626d50c986879f67044e5c61f13771afd5766b033d5fbb5135fb4332be7274db668cee88a209b6681c0c564d2b088badca1605d22ee85f716 +EBUILD aiohappyeyeballs-2.3.2.ebuild 780 BLAKE2B 6600e87b0a708978ee634d22930da264a6f4cd67b0184f6dfaaba73dc6cccd9ce9eed3ea33c809b08341045ca5e1e8bd9ed09354779d8caa1a58607624ea8551 SHA512 c3b363f9d365343159583042b9e950e1e2ae1015168b3b500b2e537fdc4d910f101dd39494322a86a95a964b4cf22e305ed16a6d1e065ea844e4a50668b0b774 MISC metadata.xml 387 BLAKE2B c739dc88d077c51dae10eb7aaa84091c6c7904a782ee3eabb12b6167c7e4ae8528b6464612f891eef5f12add728caa66fd30cd93c3b13e022cedae267c1e9f40 SHA512 65973b766dbcbd20b8c25e8e76c4d662bf5478d6c860f8cfd460be8795fbd141c58fed586a678506360af8ac013ec4c2292cc2e1092a5bbd8a3c54160adadb94 diff --git a/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.3.2.ebuild b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.3.2.ebuild index 23130e159041..05fb16344a39 100644 --- a/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.3.2.ebuild +++ b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.3.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 diff --git a/dev-python/astroid/Manifest b/dev-python/astroid/Manifest index 78215ea9dc9d..125a86007537 100644 --- a/dev-python/astroid/Manifest +++ b/dev-python/astroid/Manifest @@ -1,7 +1,9 @@ DIST astroid-3.1.0.gh.tar.gz 463675 BLAKE2B 363ca82814c170c89beb39118109e8a8488f5b5a43bb4a0fdb6d88a24842789ebfb3bb9ed6ebd00f1cd90dfc2d1c7d9730c8c2fe17eadb8f52f53add47cd5089 SHA512 7b2cd6270d1a9219d32e69e1a9c9eeffd2c5fcf575bc53df4a8c2d8df97b019e3e4e60768286a757a7390effcb454c7997f1f0f677c2b6370a2c3a9d46519057 DIST astroid-3.2.0.gh.tar.gz 464812 BLAKE2B b8cb241d4c711ebf7737c6fb83081ea6abc2bcacb4eef6c83450b963ff8fe2fa47da5b615cc0c0749a935f1df15df45086066d6bc5372f118c049ffa18f57f9b SHA512 551ad666ed8ffb22fccf44647eee5193cae17fa69837234b26adb91b85f5781e5cd729c55b351ff814a6c7f3fafc86ebed2ecb0b86b0a619933c77c3750b7e39 DIST astroid-3.2.1.gh.tar.gz 464873 BLAKE2B 0ec3f470b3ecc803d0f8057d0af361b7f72fd60d462752bd6381fbe8cfc74d8695a1123beaacd87db9d9513f68635ccb4e6d2d79be1e210752a53c0ec85798cc SHA512 a9d38e19ab4164a490d6097baa5bd33d5b8f80b4da3172bfff3a7ab9242dfd29bdcaead7fd1ee12ac5abca34bbb1104904261c0fb3fbd42e8c8df3f40790e1f6 +DIST astroid-3.2.2.gh.tar.gz 465306 BLAKE2B f5bda1377eb825f4166804473eab592d07c6353295dca01517c3facf783ec71f281a27f6344699097784dde7315f794a62cbfae86879b2bbe446fb1191d40995 SHA512 1330f557664b5066309879b8bf05e29102000a6e08c63d94a7e7033f1e2295a3a9c3114f3587b9867f71b49e11428036438e4f22352498494f914f7c9f60d4ea EBUILD astroid-3.1.0.ebuild 1923 BLAKE2B a2df2327082a71714dfe52405de37967fc6ebbf6f6cefe492193e4e1f5f73372bf21c737bb812afcf37fc6c68ad085e8cab813a7a7f524485f953c87060bcdbf SHA512 57519f17a63d64714170d515d4aeccdf728d1edd68fbd4cc259e9145219bab921d3b8f1d1cc2e001b61f037f48fe25796225d3c8f263f81bf2e5c74e91e625e2 EBUILD astroid-3.2.0.ebuild 1971 BLAKE2B 360e788699f47637ffc3423a8d47d67343691e4f3b16424303b0dfd2ff4436203dd38c9dc37a2ed08b1d1b2b45733ca4401076ed283e049406a3aabac884aed0 SHA512 6d10e0cafeb14c51efd4ff31736f66ef7a3ba0c3277e65c4f12e696e815d42382f914fb34081fd166f80a16af3a8f4219ebbf2ae6d36edd3df08cfac79705ed8 EBUILD astroid-3.2.1.ebuild 1971 BLAKE2B 360e788699f47637ffc3423a8d47d67343691e4f3b16424303b0dfd2ff4436203dd38c9dc37a2ed08b1d1b2b45733ca4401076ed283e049406a3aabac884aed0 SHA512 6d10e0cafeb14c51efd4ff31736f66ef7a3ba0c3277e65c4f12e696e815d42382f914fb34081fd166f80a16af3a8f4219ebbf2ae6d36edd3df08cfac79705ed8 +EBUILD astroid-3.2.2.ebuild 1971 BLAKE2B 360e788699f47637ffc3423a8d47d67343691e4f3b16424303b0dfd2ff4436203dd38c9dc37a2ed08b1d1b2b45733ca4401076ed283e049406a3aabac884aed0 SHA512 6d10e0cafeb14c51efd4ff31736f66ef7a3ba0c3277e65c4f12e696e815d42382f914fb34081fd166f80a16af3a8f4219ebbf2ae6d36edd3df08cfac79705ed8 MISC metadata.xml 1148 BLAKE2B 29a6cfc0c292117920be154d37ed4770f1fb1679186576fe6151cc02d1d6be766045e0231e2fceb87cbd250dbed3888c99b7ca7dc0182cc700a11961d9cd6d9e SHA512 6821d13f5e82bd73ee4fd165c0b4c94f40cd6af536dee1658cccb4175e67da2611c4d1478cdef1607535f23224116ad482197e0b0eef8f0a94d596bf250b3074 diff --git a/dev-python/astroid/astroid-3.2.2.ebuild b/dev-python/astroid/astroid-3.2.2.ebuild new file mode 100644 index 000000000000..867c6a6ee54e --- /dev/null +++ b/dev-python/astroid/astroid-3.2.2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +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 +" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# Version specified in pyproject.toml +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-4.0.0[${PYTHON_USEDEP}] + ' 3.10) +" +# 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*') + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=( + # no clue why they're broken + tests/test_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part + tests/test_regrtest.py::NonRegressionTests::test_numpy_distutils + # pydantic-2? + tests/brain/test_dataclasses.py::test_pydantic_field + # requires urllib3 with bundled six (skipped with urllib3>=2) + tests/test_modutils.py::test_file_info_from_modpath__SixMetaPathImporter + # hangs + tests/test_nodes.py::AsStringTest::test_recursion_error_trapped + # TODO + tests/test_builder.py::BuilderTest::test_data_build_error_filename + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + tests/test_transforms.py::TestTransforms::test_transform_aborted_if_recursion_limited + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/aws-xray-sdk/Manifest b/dev-python/aws-xray-sdk/Manifest index d9c98acd77b3..89c8e79e8bc7 100644 --- a/dev-python/aws-xray-sdk/Manifest +++ b/dev-python/aws-xray-sdk/Manifest @@ -1,3 +1,5 @@ DIST aws-xray-sdk-python-2.13.0.gh.tar.gz 276162 BLAKE2B 60a8cf121139b5a704f47676a10534a7e9e5cbbcadc3a10e2f864f2d6baef8b0d8fe82ef9356d3e459d21628584ec98d4a89ad31b8d982dc8859d0cdb0240999 SHA512 c36907788a891a8adef94591172c53dcc0ebde5c0a3552154a313d93af66d50d88aa3422c1abeba89e629aa224beee5eb17e14f272ee312c76aa7f437fadb77c +DIST aws-xray-sdk-python-2.13.1.gh.tar.gz 276762 BLAKE2B 3be776b549ff9d0684670b30bbcd3323bf41ea6b8cc6ca2c2de0c3e7b168386ff9776472d53874c30c34fa1e21e890366270639df8319133ca250aa26deb8802 SHA512 6410fe3664ab82fcf6b1770f6e5ec9416d5cf28e9a11940a9dab0816a699696e91befdc642d7c3fdfde37cf6d19a0213e833be831d8cb0ac9645c3e16919d780 EBUILD aws-xray-sdk-2.13.0.ebuild 2469 BLAKE2B 474c15aa2816fe6c5c69edca11223510402264c06de0af95dcc02ce00b67089d906414fffce01820010a6ae8043fe038f3d499f49b47c15eab8574fd2bc444b0 SHA512 11f8677507acc34044c4591a07af7a01a145d057328974346e928d5c000ae88e994a2bf461586564e9581072538f6e3916469ede26554c2232ce06b25753f8db +EBUILD aws-xray-sdk-2.13.1.ebuild 2502 BLAKE2B f8aced0f17deec20e5db7e66d6933bf2b88d64d25ecd261dfdd679336b721ba6408338beba4b0822e1f0a90a778d50205a95dd25ce2d9f65bc94c77161d74ebe SHA512 5e7b10c20983ecbd10a20282539af721a451d4ad2eea27335217e70d1edc193fad00d5f6e084a7d926e63ae2a86c61773ccc1045f9cae4dda7b810234f5cea0e MISC metadata.xml 579 BLAKE2B 3f7aaed38bcceb97fb3597954ca9075ddf7a5718bcac69327be2b99d241c6d8cb0eefd369ca892c8d751703de9067c7eadf19f8c4445334ee8e4952b99fef69e SHA512 f3033cf16f60cae6727f80bd53944972f851579ffef8101cf6fda45e2575696183ec92ea8c994a77bbf3ffc8219be2ae2fae456faabe73a9896bcefddf3b5db5 diff --git a/dev-python/aws-xray-sdk/aws-xray-sdk-2.13.1.ebuild b/dev-python/aws-xray-sdk/aws-xray-sdk-2.13.1.ebuild new file mode 100644 index 000000000000..b9b837ed84ad --- /dev/null +++ b/dev-python/aws-xray-sdk/aws-xray-sdk-2.13.1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +MY_P=aws-xray-sdk-python-${PV} +DESCRIPTION="AWS X-Ray SDK for Python" +HOMEPAGE=" + https://github.com/aws/aws-xray-sdk-python/ + https://pypi.org/project/aws-xray-sdk/ +" +SRC_URI=" + https://github.com/aws/aws-xray-sdk-python/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-1.12.122[${PYTHON_USEDEP}] + dev-python/wrapt[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/bottle[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/webtest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x DJANGO_SETTINGS_MODULE=tests.ext.django.app.settings + local -x AWS_SECRET_ACCESS_KEY=fake_key + local -x AWS_ACCESS_KEY_ID=fake_id + + local EPYTEST_DESELECT=( + # Internet access + tests/test_patcher.py::test_external_file + tests/test_patcher.py::test_external_module + tests/test_patcher.py::test_external_submodules_full + tests/test_patcher.py::test_external_submodules_ignores_file + tests/test_patcher.py::test_external_submodules_ignores_module + # benchmark + tests/test_local_sampling_benchmark.py + # Fails, probably because above is ignored + tests/test_async_local_storage.py::test_localstorage_isolation + tests/test_async_recorder.py::test_capture + tests/test_async_recorder.py::test_concurrent_calls + tests/test_async_recorder.py::test_async_context_managers + # connects to local mysqld + tests/ext/sqlalchemy_core/test_dburl.py::test_db_url_with_special_char + # TODO + tests/test_lambda_context.py::test_disable + tests/test_lambda_context.py::test_facade_segment_generation + tests/test_lambda_context.py::test_put_subsegment + ) + local EPYTEST_IGNORE=( + # unpackaged deps + tests/ext/aiobotocore + tests/ext/pg8000 + tests/ext/psycopg2 + tests/ext/pymysql + tests/ext/pynamodb + tests/ext/sqlalchemy_core/test_postgres.py + tests/ext/django/test_db.py + # Internet access + tests/ext/httplib + tests/ext/httpx + tests/ext/requests + # requires old package vesions + tests/ext/aiohttp + tests/ext/django + tests/ext/flask_sqlalchemy + tests/ext/sqlalchemy + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/emoji/Manifest b/dev-python/emoji/Manifest index 85bfb1091e0a..03f6e28b8190 100644 --- a/dev-python/emoji/Manifest +++ b/dev-python/emoji/Manifest @@ -1,5 +1,7 @@ DIST emoji-2.11.0.gh.tar.gz 502049 BLAKE2B fe5ecfd85cbdf4812818538c601ae42e7fe50ab01da95af6f1a1f68cf11b9e4dfe8e66a191990f28bb92f5f21807c4fab80035488debe7cf90dedc6e132be189 SHA512 2b8263dcb84a73a54c17b63a878d2f6446b41742fd3148d0be6124acc176c97a6b5cdae72bd9bb22b7a384896a8f875f7dd6962cc5bd72700f9b7e5d568c7fd4 DIST emoji-2.11.1.gh.tar.gz 502076 BLAKE2B 96ceee9822670ffafcd283535c1af89c7fa71f386ff62ed3417f9794298f5310aeebe75a71c5b11f00b0159cc1c4e111bd9b7701d704ce0b02ee98739c0eb3d4 SHA512 c200e3b143569ba6890b5c83721d9c8fbd76288e05e8d8dad02b853adc79fab5886a6a9606fd361430c9cd42689c24f05583bbe1c4aeff520fff4591aa443af5 +DIST emoji-2.12.1.gh.tar.gz 503707 BLAKE2B 75d81d99cbb5c89b3f63ccee57f20e13cae4b3d1bda5257c2f5382a6595d62c1159ecd51862b96ff6a5d9c920dfece6346d1ed36c2a6567d7c50eed69c5ac373 SHA512 98c1ecf986c7623122c9d101c82f7667d30b58b6e45c834f2644bae1659c67755dd9a4f025111b74508267861ad155131d4aefb8f951566f6950e64e7d3a3d24 EBUILD emoji-2.11.0.ebuild 492 BLAKE2B 63958a21977a9031385aafe7c0f9286f71f8c30e6291e0e753c789c100c8c6005edab77f79805cb7063813f6dacf9a711fae70b3af85f3d63f48f7bef0036c28 SHA512 fa11b81c650c70ebb30d93afe6fb240ebc0a63b208e61d4c91446343d2083639c549b2d5a8452e2d63452706fcccf5d6900f4278bba67db1d9cab35eba9c6005 EBUILD emoji-2.11.1.ebuild 492 BLAKE2B 488d86e56b31e68c6c8f9cb79a4299022db49d48ea2a9cf7f1b7e5a1c0825ee317228fcf2d1a9ce56a871cbb6fa494a7f76f671f64d8b03ba3fe67712c334ffb SHA512 81094f7e0b568fd12d3ebe3c9e5186c3c11366ecd669e35517a64a94486813b4cdd804e3143c3baa5daa9612686af3922e12128a99d85fbcab6e74300962c2ef +EBUILD emoji-2.12.1.ebuild 561 BLAKE2B cc325de4376c632e09926e2c7b13ae2e01901d9ac0247c2ce108d4762636350d23037a9d83c512295c75f2d014d489c3d2f0252906fc9637fcb373f5f01a8736 SHA512 d67649655931eb1ee1dbc88698f1e3637ee7527c185dab08789ad3d4ac2a71263045f2938541eba32f3884f0064e1936ebfe918029d9d2c6eed8e0ffb989a5f5 MISC metadata.xml 497 BLAKE2B 9aed8cad26be7f372b19349aeae8e7916b75444e32f0d60e589ae27fb324d0cbab86cfb827ce6cfd1f9002338a7bed44f7ed297e64199af0a00c6d5e07fa992b SHA512 e938bbe18a83243acc1d2614100282b913115fa7f91ad30f05833fbe73f711ef80b14e974c8c0e0c03454c216145e8f7d10c4a952a609486a3da95cf72756208 diff --git a/dev-python/emoji/emoji-2.12.1.ebuild b/dev-python/emoji/emoji-2.12.1.ebuild new file mode 100644 index 000000000000..99c8258b7e13 --- /dev/null +++ b/dev-python/emoji/emoji-2.12.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="Emoji for Python" +HOMEPAGE=" + https://github.com/carpedm20/emoji/ + https://pypi.org/project/emoji/ +" +SRC_URI=" + https://github.com/carpedm20/emoji/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64" + +RDEPEND=" + >=dev-python/typing-extensions-4.7.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index 45d42f58ae97..94568f873e27 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1,4 +1,4 @@ DIST h5py-3.10.0-cython3.patch.xz 3868 BLAKE2B 3c0d952bdca5307ebf0bf878c26b94d0593bb89ac538a51017fb94e1e488bffc1583dcf4e713005b87d1b5e20d7b73043b24d65404faf60fb69515e598ca2133 SHA512 a0a0e3d1a9bccad1c89aa7efe3ba1e080eb70cae1f42f8de1021c212817970eaaa7070131e8e39859eea3c18d6c1243a17e7f53f2179f34ff6c406b315bab8fa DIST h5py-3.11.0.tar.gz 406519 BLAKE2B a5568c96290eee1f6da965174b6fa398f94e2e1825ec4ec50efd856b37ccf2bf634cfeb32101c7c53712fe9c68b0617774e9339a3f0d9373d3df24e6763a20cf SHA512 05d99093d5e7c280779b4167bd3594488dfc348b800da95c2275ddc8d77b4208fd1353942bf8863c4859d0208e8aa8bf84e628b3c5942eb947ecdcf0a7d19e88 -EBUILD h5py-3.11.0.ebuild 1383 BLAKE2B 1061565c3f050996739f1b73c9a1448719c3acb49f856046b09e715c23e059d9b3967886950ce4194235efb1023d6beb4c9f301ea2c47fc1567b27efc409b9e1 SHA512 8ed6a2fc1838be40538075b1c3d3393d46165f8869d0ec5a3fb180febe59a069b640591f43b30e759d5da14b1d2eb1fbbc25601ee2cb692e4d3715b4d7a7a9de +EBUILD h5py-3.11.0-r1.ebuild 1383 BLAKE2B 1061565c3f050996739f1b73c9a1448719c3acb49f856046b09e715c23e059d9b3967886950ce4194235efb1023d6beb4c9f301ea2c47fc1567b27efc409b9e1 SHA512 8ed6a2fc1838be40538075b1c3d3393d46165f8869d0ec5a3fb180febe59a069b640591f43b30e759d5da14b1d2eb1fbbc25601ee2cb692e4d3715b4d7a7a9de MISC metadata.xml 1069 BLAKE2B 0f3ef8e7af7f4bb493824427a238588c019c04c28fe8a4b9c0b9af1c986158eb3dae3b7d7937713cc4c87374ef80686603ccdbae2baff5b1150d814ab108d973 SHA512 47a6074e383cc922234ebb9f67aaa5863421eaeb2003444587bb8499b3bf845da93ac8d8d267717bea01300691df10f67c9389248fbe228afe07c17fba3a64f3 diff --git a/dev-python/h5py/h5py-3.11.0-r1.ebuild b/dev-python/h5py/h5py-3.11.0-r1.ebuild new file mode 100644 index 000000000000..961ca41db084 --- /dev/null +++ b/dev-python/h5py/h5py-3.11.0-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 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..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple Python interface to HDF5 files" +HOMEPAGE=" + https://www.h5py.org/ + https://github.com/h5py/h5py/ + https://pypi.org/project/h5py/ +" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0-cython3.patch.xz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" +IUSE="examples" + +DEPEND=" + >=dev-python/numpy-1.17.3:=[${PYTHON_USEDEP}] + >=sci-libs/hdf5-1.10.4:=[hl(+)] +" +RDEPEND=" + ${DEPEND} +" + +BDEPEND=" + >=dev-python/cython-0.29.31[${PYTHON_USEDEP}] + >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] + dev-python/pkgconfig[${PYTHON_USEDEP}] + test? ( + dev-python/QtPy[testlib,${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx-rtd-theme + +python_prepare_all() { + # avoid pytest-mpi dep, we do not use mpi anyway + sed -i -e 's:pytest-mpi::' pytest.ini || die + distutils-r1_python_prepare_all + + export H5PY_SETUP_REQUIRES=0 +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest -m "not mpi" +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} diff --git a/dev-python/h5py/h5py-3.11.0.ebuild b/dev-python/h5py/h5py-3.11.0.ebuild deleted file mode 100644 index 961ca41db084..000000000000 --- a/dev-python/h5py/h5py-3.11.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2024 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..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Simple Python interface to HDF5 files" -HOMEPAGE=" - https://www.h5py.org/ - https://github.com/h5py/h5py/ - https://pypi.org/project/h5py/ -" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.10.0-cython3.patch.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" -IUSE="examples" - -DEPEND=" - >=dev-python/numpy-1.17.3:=[${PYTHON_USEDEP}] - >=sci-libs/hdf5-1.10.4:=[hl(+)] -" -RDEPEND=" - ${DEPEND} -" - -BDEPEND=" - >=dev-python/cython-0.29.31[${PYTHON_USEDEP}] - >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] - dev-python/pkgconfig[${PYTHON_USEDEP}] - test? ( - dev-python/QtPy[testlib,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/sphinx-rtd-theme - -python_prepare_all() { - # avoid pytest-mpi dep, we do not use mpi anyway - sed -i -e 's:pytest-mpi::' pytest.ini || die - distutils-r1_python_prepare_all - - export H5PY_SETUP_REQUIRES=0 -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -m "not mpi" -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} diff --git a/dev-python/markdown-exec/Manifest b/dev-python/markdown-exec/Manifest index 28e6884586f2..0681f6c69b17 100644 --- a/dev-python/markdown-exec/Manifest +++ b/dev-python/markdown-exec/Manifest @@ -1,5 +1,7 @@ DIST markdown_exec-1.8.0.tar.gz 23164 BLAKE2B 8514c971baf5d989187f4ca0e2d0aae8c4f8799c10610a9cdcd3a5a47b24f97434889f887ad558a76e12288b9dde5f7dd82f2f8b955fdcd5909e2c5488e68ce2 SHA512 760c130cbdbcc5eeb9d8b885c1bbea04452624caa795a2f05d804463de9ead1fb20c919761e27580e6f60f6844b3ce2f8c19ec97a07fb3addc4558968ef4f11a DIST markdown_exec-1.8.1.tar.gz 23205 BLAKE2B 410d4ffc40ddc9393cd24f22a9f2aff436f24b5339d03c7645b3d962ff76aff40badaa0dfa4dd60d30fb43223924688d80fd1bd4667231a7362074653fd5a2b1 SHA512 57b786afb952558053798f8fc1cb9f4086f47d4e5ac8164591304b6789057b75918532e73e232314c01abb2203135382afcd8d8e759f2402852d1cb794f64d77 +DIST markdown_exec-1.8.2.tar.gz 23631 BLAKE2B 0f0a7bcbf09dd8731cd5f5cf062d2ef8ec4f3c40f6b93f714546b84649ff0c41f379a00127a5a1ec9ddf1d4963cffa83b0af5caeae0bfb6d5ca425fb3565c0c6 SHA512 80b2a1cef21798a403bb2add02ac218fdc009fa7dad8d887b2be8f56ea27be439213940c3196c4133862b538b08ee15f6129afd6cef4eb6eadf21bcfcc0cef1c EBUILD markdown-exec-1.8.0.ebuild 664 BLAKE2B 24f96bd7073511bbc35cc8f13d392d14ca8cba0f6881dd900ce3a26cb0726d35b0ea87b58aa12c721436ef654f231dbef3740c95b93651773211863c23094f53 SHA512 4cd3f5adcebc04203a8f76d6940576e225ffbd43448d680882d2eed7d07f77f018138dfe9a2d55df081f47936c99ca81f64339716387c11527e66b5e0570d7b0 EBUILD markdown-exec-1.8.1.ebuild 664 BLAKE2B 24f96bd7073511bbc35cc8f13d392d14ca8cba0f6881dd900ce3a26cb0726d35b0ea87b58aa12c721436ef654f231dbef3740c95b93651773211863c23094f53 SHA512 4cd3f5adcebc04203a8f76d6940576e225ffbd43448d680882d2eed7d07f77f018138dfe9a2d55df081f47936c99ca81f64339716387c11527e66b5e0570d7b0 +EBUILD markdown-exec-1.8.2.ebuild 664 BLAKE2B 24f96bd7073511bbc35cc8f13d392d14ca8cba0f6881dd900ce3a26cb0726d35b0ea87b58aa12c721436ef654f231dbef3740c95b93651773211863c23094f53 SHA512 4cd3f5adcebc04203a8f76d6940576e225ffbd43448d680882d2eed7d07f77f018138dfe9a2d55df081f47936c99ca81f64339716387c11527e66b5e0570d7b0 MISC metadata.xml 511 BLAKE2B 17b4fe1be6ad1f4316e3667b611c3362ca8e64760a86cf073fa9550f2300729aa7ca546b4b7c8d2d7ada839c1d7bf2dec9616311f4c949a7dcd991b3722ce8e2 SHA512 cc42c97aa2afa7bad46220aab2c4e3c237fe2f32f9fbad6c7663551f80918729ffec433bb5e3c82c2156907f3406af615b01572aa02f78dcede4cc9520a38595 diff --git a/dev-python/markdown-exec/markdown-exec-1.8.2.ebuild b/dev-python/markdown-exec/markdown-exec-1.8.2.ebuild new file mode 100644 index 000000000000..a80628fef998 --- /dev/null +++ b/dev-python/markdown-exec/markdown-exec-1.8.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Utilities to execute code blocks in Markdown files" +HOMEPAGE=" + https://pawamoy.github.io/markdown-exec/ + https://pypi.org/project/markdown-exec/ +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" +IUSE="ansi" + +RDEPEND=" + >=dev-python/pymdown-extensions-9[${PYTHON_USEDEP}] + ansi? ( + dev-python/pygments-ansi-color[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + dev-python/markupsafe[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest index 58d84b3a816b..4ecb876de9bf 100644 --- a/dev-python/mkdocs-material/Manifest +++ b/dev-python/mkdocs-material/Manifest @@ -2,7 +2,9 @@ AUX mkdocs-material-8.5.7-simplify-build.patch 529 BLAKE2B 60a246940983ca713b370 DIST mkdocs-material-9.5.21.gh.tar.gz 14865463 BLAKE2B d83c518474697e65c614cebd1e74abd827163bc5df9a69bc84bcb9d252e1115def196bbaa5e5f0a7e0b247b7952d55f13d0d4288d37af41ad443bcb6d8a022c5 SHA512 b7d5f31bec769091ce42dbac15602194718bc0d66835d3fcfc8744dccd38ebc81e40437f698225c29d8d344d481ca6c20a964d5a9b469f0915c10410b63ab567 DIST mkdocs-material-9.5.22.gh.tar.gz 14866139 BLAKE2B 2352e1d319e1b93d5e7907807845bbd095696e90bec33660872cd53471606c6b83e39c64d976b7d421179171fb10b74071c37b722c862556d990c60c9e926591 SHA512 865a599fdd8636168dac7878dc3b3cc21c9c84dfee1ee72a992720ff8c51addae9679d413a245e2232367c33533af44e80f37cacc7af908f4c5f900138ea703c DIST mkdocs-material-9.5.23.gh.tar.gz 14870657 BLAKE2B f9736348b70c6b50b284c82bc886fa1de953557ae99221aab2567b0fee3620ff313d6c5d31bd42bbc231574a6df3b9bad58de7b210ad0b304a77d7144e3d737e SHA512 f560a3ed268abb40760a0d4263bbacc079ed407018c7618f012d29c6815dff5a02d69dac63fce75fc928ee2f2a904229b17d1a803ede83432f4f4ad403800441 +DIST mkdocs-material-9.5.24.gh.tar.gz 14872198 BLAKE2B 23957c51d727a3ba077a66703f9d855c890109701cb71febe9fb1cef9016a27e4577ce560e4756c76621f934d6ee79714e87e4b176e9dc08a239882430fbbebe SHA512 4f9b135227f6ff19aed0e3b69c4a5344418c79e758c5e537298c9fb753d262ccc7ca1a236a80cdb7cb9207fc994e491aa8209f16400483177c42965fb705f440 EBUILD mkdocs-material-9.5.21.ebuild 1794 BLAKE2B 57edfb330af7a05f23b7baa57c878462f123a83e5b647ecfab1b8e25e5aa44a59586878bab2e3b7744174bc818dd4ba6b4561d3bfb7df69de53db1112ece4545 SHA512 bdb3af90984d501faa16d0cd27bf72fc9e4965ecbf427b99fcb5e7d615f4edb8610bfeb86b958559a3640b05d4bef3e2d7fe35a3e136ef044886461deae6496a EBUILD mkdocs-material-9.5.22.ebuild 1797 BLAKE2B a39f2daf4cb4df3d7b94ba8d4cd5c7ba541e97afbe8747f21ce9f6e88e4455e2b40d13a37090ff0df1d5b98676c73e4c6d1db7a89f09c315034e00c823c39c5f SHA512 482cd4f0c8e3512b8f3270115b1a90f727ab29d9c7097deb9a5a0215516f2b9ac1825f00bf1ae50b91b8aaeb22b75f7b77f1e8e22c10efb4ea8424a2e7a5ce5a EBUILD mkdocs-material-9.5.23.ebuild 1797 BLAKE2B a39f2daf4cb4df3d7b94ba8d4cd5c7ba541e97afbe8747f21ce9f6e88e4455e2b40d13a37090ff0df1d5b98676c73e4c6d1db7a89f09c315034e00c823c39c5f SHA512 482cd4f0c8e3512b8f3270115b1a90f727ab29d9c7097deb9a5a0215516f2b9ac1825f00bf1ae50b91b8aaeb22b75f7b77f1e8e22c10efb4ea8424a2e7a5ce5a +EBUILD mkdocs-material-9.5.24.ebuild 1797 BLAKE2B a39f2daf4cb4df3d7b94ba8d4cd5c7ba541e97afbe8747f21ce9f6e88e4455e2b40d13a37090ff0df1d5b98676c73e4c6d1db7a89f09c315034e00c823c39c5f SHA512 482cd4f0c8e3512b8f3270115b1a90f727ab29d9c7097deb9a5a0215516f2b9ac1825f00bf1ae50b91b8aaeb22b75f7b77f1e8e22c10efb4ea8424a2e7a5ce5a MISC metadata.xml 1146 BLAKE2B c9eb031eb40f303fdcc39f891cdd2d4317075deb030d0f8374f874ecd63bf73960427eb3ee485b5b28515f58689b1e1bf977ee7b565bf8f9275b115853044f2c SHA512 01db399842cb09af4823278f84fcf8c51ed42609a2e61d8e64964e1759e14d22ed2f32ec0565f19184575089a218dad4939337798cd3a5b39f5be55f5f7edb69 diff --git a/dev-python/mkdocs-material/mkdocs-material-9.5.24.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.5.24.ebuild new file mode 100644 index 000000000000..46c2a0851fa9 --- /dev/null +++ b/dev-python/mkdocs-material/mkdocs-material-9.5.24.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + dev-python/mkdocs-material-extensions + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-redirects +" + +inherit distutils-r1 docs + +DESCRIPTION="A Material Design theme for MkDocs" +HOMEPAGE=" + https://github.com/squidfunk/mkdocs-material/ + https://pypi.org/project/mkdocs-material/ +" +SRC_URI=" + https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="social" + +RDEPEND=" + >=dev-python/Babel-2.10.3[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] + >=dev-python/lxml-4.6[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2[${PYTHON_USEDEP}] + >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}] + >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}] + >=dev-python/pygments-2.16[${PYTHON_USEDEP}] + >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}] + >=dev-python/readtime-2.0[${PYTHON_USEDEP}] + >=dev-python/regex-2022.4.24[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + social? ( + >=dev-python/pillow-10.2[${PYTHON_USEDEP}] + >=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + >=dev-python/trove-classifiers-2023.10.18[${PYTHON_USEDEP}] +" +# mkdocs-material-extensions depends on mkdocs-material creating a circular dep +PDEPEND=" + >=dev-python/mkdocs-material-extensions-1.2[${PYTHON_USEDEP}] +" + +PATCHES=( + # simplify pyproject to remove extra deps for metadata + "${FILESDIR}/${PN}-8.5.7-simplify-build.patch" +) + +src_prepare() { + echo "__version__ = '${PV}'" > gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest index 0510eb1d68a2..cda6a15bab41 100644 --- a/dev-python/numexpr/Manifest +++ b/dev-python/numexpr/Manifest @@ -1,5 +1,5 @@ DIST numexpr-2.10.0.gh.tar.gz 119045 BLAKE2B b049ca51ef2fbdac4965d750d88c33b8c912280ac0e8b8039dea69e08f4bb4fde3003400fa64872b9145d7dfac98970d3ffbd05318d40399d4d9436480b50cfd SHA512 dfbad48a3e71dc1c6a618e7b62e9f8efe30b547935934e614df98c3134cbe00dee4f4515c6090d2f1a563f57b200ad806b861751ba1043aff43b07a0450baa11 DIST numexpr-2.9.0.gh.tar.gz 118463 BLAKE2B 04904a6faaff713b9775dc3601fcfc963b9bea5bc24e1d2ca21f0123d7dca8d088abef9b8da09195e9bf9fb6a4ff3b2bee0f75dbc5b40e174803cb726d8b1f31 SHA512 9d7319a872228faea845fbc8c2b85b5f9e941eb2e1308711835bdba37fce65543a23ad483b92e28c33b3eb341f2f7d75b760a0827ae63782fac573a65efdedb0 -EBUILD numexpr-2.10.0.ebuild 1327 BLAKE2B 2fa1587d164622c6d26071dda83466065954127986ab661e404a174cc88d6cf73e77609b6a5bfdad9b155e0dc48c7367fbeb1ca189e0b5f605931d653a3cbf75 SHA512 432d8e33b8a12d99cdcbd022e085c7a479cbd206611540f0b3cfd9309bb11e2bed19fe1e578925e8077bbe0c39b6517de1692eee58ced522cad2847a2d37b127 +EBUILD numexpr-2.10.0-r1.ebuild 1327 BLAKE2B 2fa1587d164622c6d26071dda83466065954127986ab661e404a174cc88d6cf73e77609b6a5bfdad9b155e0dc48c7367fbeb1ca189e0b5f605931d653a3cbf75 SHA512 432d8e33b8a12d99cdcbd022e085c7a479cbd206611540f0b3cfd9309bb11e2bed19fe1e578925e8077bbe0c39b6517de1692eee58ced522cad2847a2d37b127 EBUILD numexpr-2.9.0.ebuild 1072 BLAKE2B f543148a06680d2424a5aee4d3b6ae769cc4504dd41e4bae1910b701f490adbbcf70b3beceab60e392005c6ce9fb63f0275d8ebdc8b7e04d1118820cbe71de3c SHA512 262f8f5beab713149fcbf0d9b5751233ed5387970ea5d95c88bebf43aa4961219e5d4e73a5363ce238ca25f8888e19645b11654b919ec41487bb558b9d9198cf MISC metadata.xml 963 BLAKE2B 054bf0762161cf275c8898c5ceb15af773f9843bad7ca9624880c9376cbb5e34104dee891287c113dc1762b1e3d642b9b7a39a200fda55211158af30c57521b7 SHA512 9f5d054d0f7f1a7eb1f10f638d9992c72652d5fe8b94664ed189630e9516374bb9fd28db2972212c350b8804aa79bfaed09e12ea4d3bc7836140e805c2fb3ac7 diff --git a/dev-python/numexpr/numexpr-2.10.0-r1.ebuild b/dev-python/numexpr/numexpr-2.10.0-r1.ebuild new file mode 100644 index 000000000000..5fb449524d53 --- /dev/null +++ b/dev-python/numexpr/numexpr-2.10.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy" +HOMEPAGE=" + https://github.com/pydata/numexpr/ + https://pypi.org/project/numexpr/ +" +SRC_URI="https://github.com/pydata/numexpr/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + +DEPEND=" + >=dev-python/numpy-2.0.0_rc:=[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + dev-python/packaging[${PYTHON_USEDEP}] +" + +src_prepare() { + # broken with > 8 CPU threads? + # https://github.com/pydata/numexpr/issues/479 + sed -e 's:test_numexpr_max_threads_empty_string:_&:' \ + -e 's:test_omp_num_threads_empty_string:_&:' \ + -i numexpr/tests/test_numexpr.py || die + + distutils-r1_src_prepare +} + +python_test() { + pushd "${BUILD_DIR}/install/$(python_get_sitedir)" >/dev/null || die + "${EPYTHON}" - <<-EOF || die "Tests failed with ${EPYTHON}" + import sys,numexpr + sys.exit(0 if numexpr.test(verbosity=2).wasSuccessful() else 1) + EOF + pushd >/dev/null || die +} diff --git a/dev-python/numexpr/numexpr-2.10.0.ebuild b/dev-python/numexpr/numexpr-2.10.0.ebuild deleted file mode 100644 index 5fb449524d53..000000000000 --- a/dev-python/numexpr/numexpr-2.10.0.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..12} ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy" -HOMEPAGE=" - https://github.com/pydata/numexpr/ - https://pypi.org/project/numexpr/ -" -SRC_URI="https://github.com/pydata/numexpr/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" - -DEPEND=" - >=dev-python/numpy-2.0.0_rc:=[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} - dev-python/packaging[${PYTHON_USEDEP}] -" - -src_prepare() { - # broken with > 8 CPU threads? - # https://github.com/pydata/numexpr/issues/479 - sed -e 's:test_numexpr_max_threads_empty_string:_&:' \ - -e 's:test_omp_num_threads_empty_string:_&:' \ - -i numexpr/tests/test_numexpr.py || die - - distutils-r1_src_prepare -} - -python_test() { - pushd "${BUILD_DIR}/install/$(python_get_sitedir)" >/dev/null || die - "${EPYTHON}" - <<-EOF || die "Tests failed with ${EPYTHON}" - import sys,numexpr - sys.exit(0 if numexpr.test(verbosity=2).wasSuccessful() else 1) - EOF - pushd >/dev/null || die -} diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 7216244ee108..b403228af4b9 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,5 +1,7 @@ DIST pdm-2.15.1.tar.gz 2612654 BLAKE2B 043f4d3ca54cd277f8c6fdd35fb423497eb7b172e085df5bffdd21d9ff5103b112a659fb61c342991211c9630333c713272ba43c65eff52c8dd6b88e4f81e563 SHA512 b6a1028767f154a5a594cd8523d31cec16df46e1c63bb73541a516877879480ffc6916316289f67cda0ae5e4740cab448b029a694743b9816604b2eb175a8722 DIST pdm-2.15.2.tar.gz 2613423 BLAKE2B 91c2d7137223ef143a3a3cb51915ab3b02ef7a6f97798b5a75af05b90c909ade0e1d0b52e6e011956bfb925e76e569dc65bc3258c4397013254c6c5483f1e0ec SHA512 dc58b46fc6a3e8c2ee664b70d7c2112fad3fce5445c390393c4a44230a5e1793baad46baa5b0581fcea49d414a04b0c5dce361b489d82daa4f61f511704c8080 +DIST pdm-2.15.3.tar.gz 2613644 BLAKE2B bc37f4417176a8540fff32e4329da7e6162e9f85379ff6965272315ee691dc38c8f8d1857988e89688d6498433f89c02520d0e498408fb0b9f1924d1ca961ac0 SHA512 d411e695fff4ca8f35cfbce2c8eb1434a0775bc028f852782fc445b18c5f7774d82710d7604a7641bd07ae2a7cd2fd082128caadd0cd7a472cf6a58754071385 EBUILD pdm-2.15.1.ebuild 5006 BLAKE2B c66c1b7a281b37c88b292ca642f10ec5a951f27e9fbd3bb3a502dcedf9dcc3abfe87aeb7a66396ae5b815eff2a541438ac8e5a450554cdb94023768887ff6e29 SHA512 e55e9dda4bd9c8c15c68449bc9dab28b8e1533fe5fbf783a31295bf0b394bee3d53f4969ee3a63c8e7ca0986c0134c7f8e534f5bdac058605971fdba772e3617 EBUILD pdm-2.15.2.ebuild 5013 BLAKE2B 3e4724269ce8d786119f1d40207a462417561dba310287fe7065546a7a2a03b9feff56b3b260e0fc12a04977cf4cab54db33a222f6395930b494a7581749e336 SHA512 90ea127f5eb738d0d3a859b5910230848694f31411a4d431ad470100ebeeb16a24440b1c54d80c45c5efb7ccbe04b69c6e9f86aeadca671d121c5fb864e4185d +EBUILD pdm-2.15.3.ebuild 5013 BLAKE2B 3e4724269ce8d786119f1d40207a462417561dba310287fe7065546a7a2a03b9feff56b3b260e0fc12a04977cf4cab54db33a222f6395930b494a7581749e336 SHA512 90ea127f5eb738d0d3a859b5910230848694f31411a4d431ad470100ebeeb16a24440b1c54d80c45c5efb7ccbe04b69c6e9f86aeadca671d121c5fb864e4185d MISC metadata.xml 474 BLAKE2B c1471e124a955920e30f73dfa43a87999c30c2bb9615590f601befcc07f7d939ec68908e67c7345fca4cb0f0524d33507aeac9936fa30d449d1dde17094048d3 SHA512 a07256061dda5a8cf8b0e15205ac36651a4e5b594fdedbfe16d1d3264e1ac42847d1dc222d2857232ac5206d67feda432751695d85d0c4c7b03fd7228db8b1ab diff --git a/dev-python/pdm/pdm-2.15.3.ebuild b/dev-python/pdm/pdm-2.15.3.ebuild new file mode 100644 index 000000000000..5daeb246e11a --- /dev/null +++ b/dev-python/pdm/pdm-2.15.3.ebuild @@ -0,0 +1,117 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE=" + https://pdm-project.org/ + https://github.com/pdm-project/pdm/ + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/blinker[${PYTHON_USEDEP}] + >=dev-python/dep-logic-0.2.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/truststore[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/hishel[${PYTHON_USEDEP}] + dev-python/pbs-installer[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + >=dev-python/unearth-0.15.0[${PYTHON_USEDEP}] + =dev-python/findpython-0.6.0[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + 'tests/cli/test_build.py::test_build_with_no_isolation[False]' + tests/test_project.py::test_access_index_with_auth + "tests/test_project.py::test_find_interpreters_with_PDM_IGNORE_ACTIVE_VENV[True]" + tests/cli/test_others.py::test_build_distributions + 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' + 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' + tests/models/test_candidates.py::test_find_candidates_from_find_links + tests/cli/test_build.py::test_build_single_module + tests/cli/test_build.py::test_build_single_module_with_readme + tests/cli/test_build.py::test_build_package + tests/cli/test_build.py::test_build_src_package + tests/cli/test_build.py::test_build_package_include + tests/cli/test_build.py::test_build_src_package_by_include + tests/cli/test_build.py::test_build_with_config_settings + tests/cli/test_build.py::test_cli_build_with_config_settings + tests/cli/test_build.py::test_build_ignoring_pip_environment + tests/cli/test_others.py::test_show_self_package + tests/cli/test_publish.py::test_publish_and_build_in_one_run + "tests/cli/test_hooks.py::test_hooks[build]" + "tests/cli/test_hooks.py::test_hooks[publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-publish]" + "tests/cli/test_venv.py::test_conda_backend_create[True]" + "tests/cli/test_venv.py::test_conda_backend_create[False]" + tests/cli/test_lock.py::test_lock_all_with_excluded_groups + # hangs on interactive keyring prompts + tests/cli/test_config.py::test_repository_overwrite_default + tests/cli/test_config.py::test_hide_password_in_output_repository + tests/cli/test_config.py::test_hide_password_in_output_pypi + # junk output, sigh + tests/cli/test_others.py::test_info_command_json + # why does it try to use python 2.7?! + tests/cli/test_run.py::test_import_another_sitecustomize + # fails in tinderbox (bug #928964) + tests/test_project.py::test_project_packages_path + ) + [[ ${EPYTHON} != python3.10 ]] && EPYTEST_DESELECT+=( + # test seems hardcoded to 3.10 + tests/test_project.py::test_project_packages_path + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network and not integration and not path" \ + -p pytest_mock +} diff --git a/dev-python/pycurl/Manifest b/dev-python/pycurl/Manifest index 2afa38b0beef..1e7a51acb818 100644 --- a/dev-python/pycurl/Manifest +++ b/dev-python/pycurl/Manifest @@ -2,5 +2,5 @@ AUX pycurl-7.45.2-skip-http3-test.patch 1116 BLAKE2B 9852580ab51cd978501d9662928 DIST pycurl-7.45.2.tar.gz 234245 BLAKE2B 16257a967d2867de08d83478f602d00b54316d37b6a544804e606a814f61507530fb7e1ef3247be824dfa22b9487a69bbfc9b1038b2b776ebc556b18ed2d93ca SHA512 8a82346395acfc0bd37a8c4d8d2b17e5ab4602710308ed50f9ed88c223c73f15f5b1c95fc6191708e3bd9d647e4bc5ec91f740de433dd87e2ae0796ac79879ac DIST pycurl-7.45.3.tar.gz 236470 BLAKE2B 690e49f92f569352e26d95a0fa58508c4e96c845c7e3ae1169b8bc55036902f64859987880565217df56a57031dc2775e3c6979b4cfdf8a8c9a94c67ae94cb79 SHA512 12a55070602a1fd22b160ad582a4001bdd28531d2b2ccd365ff0136bc13dd23af80b19488bdbbc60a902a3a362b64383b9ae6acce6ed328c74dcffc8a6a3f4ad EBUILD pycurl-7.45.2-r1.ebuild 2932 BLAKE2B fc7d5f3744c0468d52ef6ea43861929a5e44023c783a7218d9d3c088940d982731b06582996bf3c032c7dd98ac274dc86a52bc4a3bf526395b23ead4df14be48 SHA512 05c9a4fca00c10d6b30abc42e929264e7271e44dc64c0080a181f0b1b12eb54ddd96ba17d620bbb706511e695adf0303e46d84dbafa77930ac85f232631b299c -EBUILD pycurl-7.45.3.ebuild 2772 BLAKE2B c38cc5896bde0bcdac258d69e41345fe07d8c7c263fde14a3a14c8c9c0275a9b1e38c5b82f00d0b4fa96778a2e004f96047b9081a86b448537ebfa52e1c47a44 SHA512 9c2ebb3460fc8479beb6255d0c345f8650c5784ee6fdca99fe5c51dda9fb67646e53f1d0f7ba37a1565c192eec68ecd9b9ff4d2679efcfbb38b562bf825f9e4c +EBUILD pycurl-7.45.3.ebuild 2771 BLAKE2B cd714d9442ed7ef002a28a1a3bd24d97dacbb9133ac9db04575d2d3e10bbfc943ef969aa2132e19372ba1be45ae1a22048119c5d86ba58dc46e24195b6092497 SHA512 259a2c9f8b9e27af0e49e3de1ff8df521432ed9b63e38ad5533aef0089cc2cf58f0b38398439f8a9d5b66202252e689798120c97a99f153fb00336545ca963a0 MISC metadata.xml 1100 BLAKE2B dfc7fe054c7cc34c61bf58fef0378df304a539c28cbc0dff4ffff65ccc8892c38aaf1e275885fc54d2854d9acc6b382947038041f815b5941859be7cfe75523f SHA512 f1de0dccd625ae0b02ff9a55cbc1bbf7944faa24dba28ffd711c728001f180afa598a255132aea860ad616637325cdc653577af531b1a954a3994e8902c774aa diff --git a/dev-python/pycurl/pycurl-7.45.3.ebuild b/dev-python/pycurl/pycurl-7.45.3.ebuild index bcd240613ecd..f1581a3aa300 100644 --- a/dev-python/pycurl/pycurl-7.45.3.ebuild +++ b/dev-python/pycurl/pycurl-7.45.3.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="curl_ssl_gnutls +curl_ssl_openssl examples ssl" # Depend on a curl with curl_ssl_* USE flags. diff --git a/dev-python/pygame/Manifest b/dev-python/pygame/Manifest index 025f172dd9b9..64e63dc3e529 100644 --- a/dev-python/pygame/Manifest +++ b/dev-python/pygame/Manifest @@ -1,6 +1,5 @@ AUX pygame-2.5.2-error.patch 3723 BLAKE2B 3a3196e5eb4fa24f7246c05f016d78a94b40d620ec3d60ad48342ffb1d5c6d90e87dcb37d42f9b4987286645c92862377a1eb314bdda86a568fb4700438123c5 SHA512 63495f55322499a80e46c284a4cda52014f071652608dcbe7c45ab164ae5c1c49588da6c8bc7e61fb63852ef2aa3ca9ab22a61431b8ae932d5f811622cc484c1 -DIST pygame-2.5.1.gh.tar.gz 6854761 BLAKE2B e137f73a3bb718213ef92e938ed1b065f5568d7dd2ade6edd973bc55d06425874da0e89e3c102fad39adac25f977ac97025a0c59099702cfabeffd0d3b8f109f SHA512 d7aceb2bc6e40c5dc2d7a19fdc7af18abf021b79dd98b859975f99ec10895e1b09e11fbf17fd6ab925d3aa6c64e5b3dd56c0d857ecacc67303d92fc0efb2630c +AUX pygame-2.5.2-gcc-14.patch 1422 BLAKE2B f633ec57ac672ebe0eb0e8404f27152ed732815296f9a06439e4385e7bae4ae55f2c13f166a954c05e19e2165da82b1ec089e1e3e2befff912fbba779c4970f3 SHA512 0dee5a832cceb65fd5ab9fae8ee81c982be5eea63e02bd3a463bd1d7f1af2877bfa68d7a53659574eed926ee54dbcc3d9cbd6c63bcadd181f0ec628ea7d63b0c DIST pygame-2.5.2.gh.tar.gz 5970857 BLAKE2B 523874926a8fd868f5674ed2997a44decb928fcfe246d551249ed7320a0e908ce46d00f459d187726edf74a4c1038cd56821f6466559fb7d24aa75d16769cbfe SHA512 b54e9b80951c8a9e75666621aafc26874c6dbdab27330146f7217346c76be5627a5464a0102a5968eca0dbd7cced4b2143cd2ff1b6227e3e17e5634854b27f19 -EBUILD pygame-2.5.1.ebuild 1920 BLAKE2B a2d78d5376cb4a12ba94e50a26bbc3527bd3e86375f60ee3f57c6c53bd5bce60a4ba1bb2f0caa272ca485ee3a887dea0283c56308aec829a0ac821f8cc95f9f2 SHA512 1a4de14a9b1f56adc7d85d34bf3d6b0119151f58c8cc39975346b70972043ad5a27053c52b485ed9e634ca0ddae37b4925ddf34e623366dc5e2d4a4b0dec608b -EBUILD pygame-2.5.2-r1.ebuild 2225 BLAKE2B 4afa2ec15ed6d87f6302e5bf622995864c616d072c171f96ec72d03b26b2f07b22edcd57bf97661497e0c0c11128d0a5e0660ae5314dc2c1ae2d05b010ec8591 SHA512 08f80f225c73eb18068a3d12f5ffa24fc99701cb4b8165d52686d3a31f2e15aa2f321766323c08702f9f084d345145e8ae942285df622a3dbf87fd4c52f63d1c +EBUILD pygame-2.5.2-r2.ebuild 2309 BLAKE2B c7e5a39aa5d59a947d51894b6968368199a5ba2618b337efaf7c565320ba3056e82c3d203c7b7a20cba9047afcfa32ced71504c9f010618fe40de7db14da816d SHA512 73c27c978a6eefab8405cc7360331e24739369b4661048f1c3df36d02ea6f3857c4939f0d798ab127a6ccabf9bbd8bdde5276efa46223892b52879174af6dc62 MISC metadata.xml 363 BLAKE2B a942b91aded22ec850a7b075703ce4037af9f0a61155717ac455f7d2b7779cb6f5f953b2ad8d61d7cc5254307951a20dd3edb9853e21d907e1999f7570a6b821 SHA512 15403754c9b13f9b2d8c5e7615ae0ca9359b5079e22eb5a7049424e414ebbdd8a06f6324c31594636324414e35ca34bec977b7dded9f9ea14027497b5097b060 diff --git a/dev-python/pygame/files/pygame-2.5.2-gcc-14.patch b/dev-python/pygame/files/pygame-2.5.2-gcc-14.patch new file mode 100644 index 000000000000..0d74303bbba4 --- /dev/null +++ b/dev-python/pygame/files/pygame-2.5.2-gcc-14.patch @@ -0,0 +1,38 @@ +From 504a11fd4855e33ecb945af1270311aa463aae59 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ren=C3=A9=20Dudfield?= +Date: Sun, 19 May 2024 11:12:33 +0200 +Subject: [PATCH] pypm: Fix incorrect param in Pm_OpenInput + +--- + src_c/cython/pygame/pypm.pyx | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/src_c/cython/pygame/pypm.pyx b/src_c/cython/pygame/pypm.pyx +index f2c16c9e2b..54a88fd83a 100644 +--- a/src_c/cython/pygame/pypm.pyx ++++ b/src_c/cython/pygame/pypm.pyx +@@ -106,7 +106,7 @@ cdef extern from "portmidi.h": + PmDeviceID inputDevice, + void *inputDriverInfo, + long bufferSize, +- long (*PmPtr) (), # long = PtTimestamp ++ PmTimeProcPtr time_proc, # long = PtTimestamp + void *time_info) + + PmError Pm_OpenOutput(PortMidiStream** stream, +@@ -538,11 +538,14 @@ cdef class Input: + """Instantiate MIDI input stream object.""" + + cdef PmError err ++ cdef PmTimeProcPtr PmPtr + self.device = input_device + self.debug = 0 + ++ PmPtr = &Pt_Time ++ + err = Pm_OpenInput(&(self.midi), input_device, NULL, buffersize, +- &Pt_Time, NULL) ++ PmPtr, NULL) + if err < 0: + raise Exception(Pm_GetErrorText(err)) + diff --git a/dev-python/pygame/pygame-2.5.1.ebuild b/dev-python/pygame/pygame-2.5.1.ebuild deleted file mode 100644 index 487738802f20..000000000000 --- a/dev-python/pygame/pygame-2.5.1.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2024 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..12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings for SDL multimedia library" -HOMEPAGE=" - https://www.pygame.org/ - https://github.com/pygame/pygame/ - https://pypi.org/project/pygame/ -" -SRC_URI=" - https://github.com/pygame/pygame/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv x86" -IUSE="examples opengl test X" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - media-libs/freetype - media-libs/libjpeg-turbo:= - media-libs/libpng:= - media-libs/portmidi - media-libs/sdl2-image - media-libs/sdl2-mixer - media-libs/sdl2-ttf - X? ( media-libs/libsdl2[opengl?,threads,video,X] ) - !X? ( media-libs/libsdl2[threads] ) -" -DEPEND=" - ${RDEPEND} - test? ( - media-libs/sdl2-image[gif,jpeg,png,tiff,webp] - media-libs/sdl2-mixer[mp3,vorbis,wav] - ) -" -# fontconfig used for fc-list -RDEPEND+=" - media-libs/fontconfig -" -# util-linux provides script -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - media-libs/fontconfig - sys-apps/util-linux - ) -" - -python_configure() { - PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \ - "${EPYTHON}" "${S}"/buildconfig/config.py || die -} - -python_configure_all() { - find src_c/cython -name '*.pyx' -exec touch {} + || die - "${EPYTHON}" setup.py cython_only || die -} - -python_test() { - local -x PYTHONPATH=${BUILD_DIR}/install/lib - local -x SDL_VIDEODRIVER=dummy - local -x SDL_AUDIODRIVER=disk - script -eqc "${EPYTHON} -m pygame.tests -v" || die -} - -python_install() { - distutils-r1_python_install - - # Bug #497720 - rm -fr "${D}$(python_get_sitedir)"/pygame/{docs,examples,tests}/ || die -} - -python_install_all() { - distutils-r1_python_install_all - use examples && dodoc -r examples -} diff --git a/dev-python/pygame/pygame-2.5.2-r1.ebuild b/dev-python/pygame/pygame-2.5.2-r1.ebuild deleted file mode 100644 index a7e594998df9..000000000000 --- a/dev-python/pygame/pygame-2.5.2-r1.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings for SDL multimedia library" -HOMEPAGE=" - https://www.pygame.org/ - https://github.com/pygame/pygame/ - https://pypi.org/project/pygame/ -" -SRC_URI=" - https://github.com/pygame/pygame/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv x86" -IUSE="examples opengl test X" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - media-libs/freetype - media-libs/libjpeg-turbo:= - media-libs/libpng:= - media-libs/portmidi - media-libs/sdl2-image - media-libs/sdl2-mixer - media-libs/sdl2-ttf - X? ( media-libs/libsdl2[opengl?,threads(+),video,X] ) - !X? ( media-libs/libsdl2[threads(+)] ) -" -DEPEND=" - ${RDEPEND} - test? ( - media-libs/sdl2-image[gif,jpeg,png,tiff,webp] - media-libs/sdl2-mixer[mp3,vorbis,wav] - ) -" -# fontconfig used for fc-list -RDEPEND+=" - media-libs/fontconfig -" -# util-linux provides script -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - test? ( - media-libs/fontconfig - sys-apps/util-linux - ) -" - -src_prepare() { - local PATCHES=( - # https://github.com/pygame/pygame/pull/4035 - "${FILESDIR}/${P}-error.patch" - ) - - # some numpy-related crash (not a regression) - # https://github.com/pygame/pygame/issues/4049 - sed -e 's:import numpy:raise ImportError(""):' \ - -i test/pixelcopy_test.py || die - - distutils-r1_src_prepare -} - -python_configure() { - PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \ - "${EPYTHON}" "${S}"/buildconfig/config.py || die -} - -python_configure_all() { - find src_c/cython -name '*.pyx' -exec touch {} + || die - "${EPYTHON}" setup.py cython_only || die -} - -python_test() { - local -x SDL_VIDEODRIVER=dummy - local -x SDL_AUDIODRIVER=disk - script -eqc "${EPYTHON} -m pygame.tests -v" || die -} - -python_install() { - distutils-r1_python_install - - # https://bugs.gentoo.org/497720 - rm -fr "${D}$(python_get_sitedir)"/pygame/{docs,examples} || die -} - -python_install_all() { - distutils-r1_python_install_all - use examples && dodoc -r examples -} diff --git a/dev-python/pygame/pygame-2.5.2-r2.ebuild b/dev-python/pygame/pygame-2.5.2-r2.ebuild new file mode 100644 index 000000000000..8229c9fa5e6d --- /dev/null +++ b/dev-python/pygame/pygame-2.5.2-r2.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 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..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for SDL multimedia library" +HOMEPAGE=" + https://www.pygame.org/ + https://github.com/pygame/pygame/ + https://pypi.org/project/pygame/ +" +SRC_URI=" + https://github.com/pygame/pygame/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv x86" +IUSE="examples opengl test X" +RESTRICT="!test? ( test )" + +RDEPEND=" + "${T}"/inputrc || die + local -x INPUTRC="${T}"/inputrc + distutils-r1_src_test +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x COLUMNS=80 + + local EPYTEST_DESELECT=( + # broken by epytest args + testing/test_warnings.py::test_works_with_filterwarnings + + # tend to be broken by random pytest plugins + # (these tests patch PYTEST_DISABLE_PLUGIN_AUTOLOAD out) + testing/test_helpconfig.py::test_version_less_verbose + testing/test_helpconfig.py::test_version_verbose + testing/test_junitxml.py::test_random_report_log_xdist + testing/test_junitxml.py::test_runs_twice_xdist + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_normal_count + testing/test_terminal.py::TestProgressOutputStyle::test_xdist_verbose + testing/test_terminal.py::TestProgressWithTeardown::test_xdist_normal + testing/test_terminal.py::TestTerminalFunctional::test_header_trailer_info + testing/test_terminal.py::TestTerminalFunctional::test_no_header_trailer_info + + # unstable with xdist + testing/test_terminal.py::TestTerminalFunctional::test_verbose_reporting_xdist + + # TODO (XPASS) + testing/test_debugging.py::TestDebuggingBreakpoints::test_pdb_not_altered + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_simple + testing/test_debugging.py::TestPDB::test_pdb_interaction_capturing_twice + testing/test_debugging.py::TestPDB::test_pdb_with_injected_do_debug + testing/test_debugging.py::test_pdb_suspends_fixture_capturing + + # setuptools warnings + testing/acceptance_test.py::TestInvocationVariants::test_cmdline_python_namespace_package + + # PDB tests seem quite flaky (they time out often) + testing/test_debugging.py::TestPDB + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # regressions on pypy3.9 + # https://github.com/pytest-dev/pytest/issues/9787 + testing/test_skipping.py::test_errors_in_xfail_skip_expressions + testing/test_unraisableexception.py + ) + ;; + esac + + local EPYTEST_XDIST=1 + epytest +} diff --git a/dev-python/quart/Manifest b/dev-python/quart/Manifest index 1cfe1b4c9301..285b48e86c07 100644 --- a/dev-python/quart/Manifest +++ b/dev-python/quart/Manifest @@ -1,3 +1,5 @@ DIST quart-0.19.5.gh.tar.gz 494282 BLAKE2B d908638a00d67798dc71bb84ab51b2b35ee55c1b16ba88781642a1b64b70e0206e33c4e61cb397451969d0edde593ac2639ce8000838750e312b1ef47b8b154a SHA512 a764f50b19c84f7b4cf368488a703c726b2e98785cc7e0c15de0c3293f764658bb6e1489be53bb03ca135ccd847383424fdba8706383a45f406c39fdceb26d71 +DIST quart-0.19.6.gh.tar.gz 747457 BLAKE2B 2912e8e951ad94e8f86e553ee8fac2d3ea679f71be54ff6638aa36d3d3027b48de47994a2f264b3cee69b483ffe4e153c7ea0080b8f6904a2ebaddce2fbede96 SHA512 2a28a36638052c26265122771936dbe8a12332c8abe177a9addafc71b4a0987c864c26f73160492d6e849a5b0a576346ac24c961c5e461afd11981c45aecbcd7 EBUILD quart-0.19.5.ebuild 1267 BLAKE2B 34eb6e24291cde9977f1bf8b4acaa6b485f29365141e7051222060b4498f2e95d88d042cb45d48c6365be623f1a691d5f012e5fe44b1b6dbf0614f1a5d556e60 SHA512 bfd67f88462cf2deff687a4609d86be7d4f4bf843b896f1b0279afee3654a606a66412656a469f8c8036367be87fd99715dd29f08578040e894db396a471b03c +EBUILD quart-0.19.6.ebuild 1274 BLAKE2B 6a17c8d8269da51c54221c8a2fd967b003e858ed7afc3ab7b87df6372ffe98e01ad4c5543edd00ba4e4a98710fa3293b05296274ecdac847637b2f345e240940 SHA512 2c3c28beb940069195e33e9898cad6a4152b518fdcfb48b5f485d545d19d42e668e6e0dae23e5c70070d7aebe26bedac305b0d3b1e5ad5895140ab06fa6346e7 MISC metadata.xml 364 BLAKE2B 207d3328ae2624ec61834adc055ca2b01ee1a587c2b6ef8cfde8c72d7370f4bb912dbc5fefdb5432959dcf273b9ebabc394dfd163dab7be00413daa85a0b6162 SHA512 8fc752b94e06ea29021c7e73c67a488f17fbbd6b8dab79c58f8647989e9c613071b539e626bf122e6693b8b670cc57bea115581801d57d3212c037d0f91df7d2 diff --git a/dev-python/quart/quart-0.19.6.ebuild b/dev-python/quart/quart-0.19.6.ebuild new file mode 100644 index 000000000000..ce5f5a18a398 --- /dev/null +++ b/dev-python/quart/quart-0.19.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A Python ASGI web microframework with the same API as Flask" +HOMEPAGE=" + https://github.com/pallets/quart/ + https://pypi.org/project/Quart/ +" +# no tests in sdist as of 0.19.4 +SRC_URI=" + https://github.com/pallets/quart/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/aiofiles[${PYTHON_USEDEP}] + >=dev-python/blinker-1.6[${PYTHON_USEDEP}] + >=dev-python/click-8.0.0[${PYTHON_USEDEP}] + >=dev-python/flask-3.0.0[${PYTHON_USEDEP}] + >=dev-python/hypercorn-0.11.2[${PYTHON_USEDEP}] + dev-python/itsdangerous[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + >=dev-python/werkzeug-3.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index 7ef962791b22..67ec6ad77d01 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1,5 +1,7 @@ DIST rapidfuzz-3.8.1.tar.gz 1592462 BLAKE2B 79062be1bdd2e5aa1c364f2426a8b3cb4fc03e44b7548e475abd60827821414ce4ebcbe90377c0d19eb2c8c741e2e171c73e4672fd8126bf99856ea095e9b85b SHA512 fbebdf804220841257075af51186cde5cf8b0ea71bc4ce208bc64853fd1b1aebf97bfb86d1db058c3fb72a60268e5297fe3691b042d52263c66f8da6ae37f90a DIST rapidfuzz-3.9.0.tar.gz 1591028 BLAKE2B 84b8e4572a596c291d6579cfdffd0d624e00ca1f93a38337ba6ad543d346fea0b9a636cd3814724073588b3cd2e61dea9b8c0527b1630f8f06ea6593537bbde6 SHA512 bfd0d399dc75c6654d5e66522a057298d3914f8b74955e873034b314926127971f1bf4ddca0c2c92e81ba5bae79caf249303b169805d48ef3d6c64fb706c9547 +DIST rapidfuzz-3.9.1.tar.gz 1595099 BLAKE2B 491eb1dd3ea64f361e15e6f828d162b383f2cbe068331c6001fb112966b599199870013bc2e10b5e8dfe1d7c6f676a6d577d9d43b6054874a3b721233d17ba77 SHA512 f8efcc271a823c957b2a00f78ab7bf37133a87027fcb75d9e24cf1629b776d3f970ebe4f596e6685013408637e2e2b3713680c7716e9adb505241b61decee18b EBUILD rapidfuzz-3.8.1.ebuild 1537 BLAKE2B e0bd309839f8cfff82184988ff50d0e5c06bf232770b6cdf4c2118688ba583119259ce7f86ca4a8f64a330db2cd15043f2556ed87dfc0fa4a6a8bd5f9ec0b24e SHA512 806ef90dbe55021782b8124c5dde122fd299c868ba27744b6dd1cda707f7137340f08a8ebc5cab9c66072c637526dde710ebf43a1043e5388e9b7b56d16e9a4b EBUILD rapidfuzz-3.9.0.ebuild 1538 BLAKE2B 6ca8184539287d5817edc7981e458e646c9b28071dfbe8e6b85db2a3b96442062d61c85da9fd3ec0c75553fd6769bb8f115d9259c6d7055fbedbae071e8896f3 SHA512 6c06eb404b2b8f931e773155f33c74cd0bcc5965a9b576ca6dc2d3e0ce9462d71f3451cfbec5d6a2a73519b50d7777ab15f3ca036ccc02323cc3b9a4ecb51b26 +EBUILD rapidfuzz-3.9.1.ebuild 1544 BLAKE2B 27dc0ffb0f0af8988899a34f0c151ef3a4c56630d50518533c668cdfd28399064e52cc27331cf4d600265e136d3e7860ec2a72d29f1881a76f64dcd0b64018de SHA512 1e97a9071b4c517cef15e0ed2efffaaf95cd5c8d15107775b3d120dfef8b8d09d9dc30ead8d35aa7194ce3e7f575bd323759bb3574dc755f18cc5cdf9cb59cab MISC metadata.xml 372 BLAKE2B 79ce98b986a4193ec72cfc1ef0a1e1970e2e6333da3dc0abdc24de4148932c4f81e68a4d85cedf308d79ee5fe61c1d2573889fe4f89025b7b4848caf4380596c SHA512 014b2de4c7eb3976799f76ca01c59585be12ff0718cb8378ce0aabf40113d8fd402e0a8ef26fd8924ee0840fa7e99677e5e31698180a0537a0627c464c29e34e diff --git a/dev-python/rapidfuzz/rapidfuzz-3.9.1.ebuild b/dev-python/rapidfuzz/rapidfuzz-3.9.1.ebuild new file mode 100644 index 000000000000..9bf96f9f14b7 --- /dev/null +++ b/dev-python/rapidfuzz/rapidfuzz-3.9.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +# custom wrapper over setuptools +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Rapid fuzzy string matching in Python using various string metrics" +HOMEPAGE=" + https://github.com/rapidfuzz/RapidFuzz/ + https://pypi.org/project/rapidfuzz/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# all these are header-only libraries +DEPEND=" + >=dev-cpp/taskflow-3.0.0 + >=dev-cpp/rapidfuzz-cpp-3.0.4 + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + dev-python/rapidfuzz-capi[${PYTHON_USEDEP}] + >=dev-python/scikit-build-0.16.2[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # sterilize build flags + sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die + # remove bundled libraries + rm -r extern || die + # force recythonization + find src -name '*.cxx' -delete || die + + distutils-r1_src_prepare + + export RAPIDFUZZ_BUILD_EXTENSION=1 +} + +python_compile() { + distutils-r1_python_compile + + # scikit-build is broken and reuses the same build + # https://github.com/scikit-build/scikit-build/issues/633 + rm -r _skbuild || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/sabctools/Manifest b/dev-python/sabctools/Manifest index 28aab72fe081..0bd474990f66 100644 --- a/dev-python/sabctools/Manifest +++ b/dev-python/sabctools/Manifest @@ -6,6 +6,7 @@ DIST sabctools-8.0.1.gh.tar.gz 8963513 BLAKE2B 40fbd230c40b72f1a74e255f0b715f476 DIST sabctools-8.1.0.gh.tar.gz 8963885 BLAKE2B 36d6bbc34f636ac4e892f941eb6e583166ee1f5f740440b3f07faacddf7715d8b4c642a4e6252ece1bdef69017be3d04ce5d6c8e36479bb176e4cd0635f1567d SHA512 862c39f2e386622b528f120a431f214e1e2e92b7c5a751e47d0768f40ce06ad2736d867f7ac2e1810d676e980312bbfedd29951cbadeddefe75246cdcf53fcc6 DIST sabctools-8.2.0.gh.tar.gz 8974313 BLAKE2B c32dc103996493a207f382588b1ec945bb65af85b9f42d105f4b91af7335eb93d3c565ef33f4c4fda77bc1607051303536054835885619fdfdeee22ec2c29446 SHA512 007bf7087927f73de1f00df825d6aabc5ccdb265288794ca0fecadf9c1b7ae00e10782588528b3026d68866d0500c602879e82857da6cf99ad4cfebffbe68bb7 DIST sabctools-8.2.1.gh.tar.gz 8974265 BLAKE2B d8b0e26e897446a9261689d814a2c83ad78ee68b69bc6ece1af574463e069fc0fdac069d762fbb3dd041c64c8a337bbac76ac46ec60aa8083de06223e6f8fd6c SHA512 db642d8bdb9ee69d35c362386f599b65af809bb2685d0395f84b2d6e873eb24d2ebffbee7d30d78ef7a364214de1f3e9b35ec1e421ad4a5d7cd476de2dcc33ab +DIST sabctools-8.2.2.gh.tar.gz 8974290 BLAKE2B 6be2cd849b5349ce0f98aca57871743ada6d6abdbfecce7307c2b9b8c3dc41242a6060f30b2d250548da8d8fbfe17c769ee09ade036b1e2c2234006b1cf94038 SHA512 9580d1c658a5eb31df1370e133186d45a0aaab1bd73d0b8ffd31650e9341809d99d9ec577b51ea05a296575b94090df8395a6c34cda1a6ff58f0c15c7f20594f EBUILD sabctools-7.0.2.ebuild 762 BLAKE2B cdc9333c738724772186bbe75590def51a2a660598011d20ceab3df376bc693464e365072dae643bb007a9a7d310d4af1fbb9086426847f99698598697b28749 SHA512 edb4485c2d9e69a69dfbc310a92ba498f36d8836ca93423bbb628d772d7940ab781efe4ef093cac5adf89840d5815a1bc1736a1842ad56587263d7e3e978a643 EBUILD sabctools-7.1.1.ebuild 762 BLAKE2B cdc9333c738724772186bbe75590def51a2a660598011d20ceab3df376bc693464e365072dae643bb007a9a7d310d4af1fbb9086426847f99698598697b28749 SHA512 edb4485c2d9e69a69dfbc310a92ba498f36d8836ca93423bbb628d772d7940ab781efe4ef093cac5adf89840d5815a1bc1736a1842ad56587263d7e3e978a643 EBUILD sabctools-7.1.2.ebuild 763 BLAKE2B d9a775d03561bc3a14b6be4f22e9a47aaec3334c3cb8dc50e70b4cc39530391850960fc5c1d66d22031443f4c64234ea0ece75dbff301f6fe59f624b0c605ae9 SHA512 e0afba13f5d81df0805072dc39a46332640b4994227668e019558aaf721a46dfdba60fd0fe84d7da22291f3c7a7dbf2fa2a0b72dbcfee5618d596091726218b6 @@ -14,4 +15,5 @@ EBUILD sabctools-8.0.1.ebuild 763 BLAKE2B d9a775d03561bc3a14b6be4f22e9a47aaec333 EBUILD sabctools-8.1.0.ebuild 762 BLAKE2B 6ca7839b09454d14cebeb9de943f2fbe6b7e1a09734c2bf1190b020d1bbdbc9eed74756051085c47c5bc86c3d0fe8cecfb19706e340a5e770575621c384b07b4 SHA512 82555f53deb0e08a2c46b363664d0ab082ce4e23995f90df3e69435764f3acdc55b3f3f530d2c84a1d6e53dc6cc18e55733635b60489a418d08a6c8ead7cbaf0 EBUILD sabctools-8.2.0.ebuild 763 BLAKE2B 820e12930508b48352b2a2f847384aa5e32043030aa904b0b1cb6ceea47d4fc837de1394d4d8fc13451959fc81561e01f098fc3c004487ff59c368ace2754634 SHA512 0a26ad5fbea52258a37732b50ea753e38c0a189fa18bc3afa0fee6762abc1b1dc2824eb9d49a06e951ea30dddfa7ab782851c3c61136d4827d8544e6aa5e16f8 EBUILD sabctools-8.2.1.ebuild 763 BLAKE2B 820e12930508b48352b2a2f847384aa5e32043030aa904b0b1cb6ceea47d4fc837de1394d4d8fc13451959fc81561e01f098fc3c004487ff59c368ace2754634 SHA512 0a26ad5fbea52258a37732b50ea753e38c0a189fa18bc3afa0fee6762abc1b1dc2824eb9d49a06e951ea30dddfa7ab782851c3c61136d4827d8544e6aa5e16f8 +EBUILD sabctools-8.2.2.ebuild 763 BLAKE2B 820e12930508b48352b2a2f847384aa5e32043030aa904b0b1cb6ceea47d4fc837de1394d4d8fc13451959fc81561e01f098fc3c004487ff59c368ace2754634 SHA512 0a26ad5fbea52258a37732b50ea753e38c0a189fa18bc3afa0fee6762abc1b1dc2824eb9d49a06e951ea30dddfa7ab782851c3c61136d4827d8544e6aa5e16f8 MISC metadata.xml 373 BLAKE2B edc4fca97bbcc667510d4ef70c33512a3b82f05cefe62f9791cae70f5e99d757a4050b60f81bcd7bc5e0227ba12ac36f069ffcfbce37aa9b80e1102d4deed82f SHA512 adc4d0e1a96bf35378f12b93456d06b9c57c3db2be18951a91f6d308c6edd27fc44d81c39f66c6cf8b9de76923fff014487652652ab652a6e3b0f44fbe8721c1 diff --git a/dev-python/sabctools/sabctools-8.2.2.ebuild b/dev-python/sabctools/sabctools-8.2.2.ebuild new file mode 100644 index 000000000000..0632a9976480 --- /dev/null +++ b/dev-python/sabctools/sabctools-8.2.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 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..12} ) + +inherit distutils-r1 + +MY_PN="sabctools" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Module providing raw yEnc encoding/decoding for SABnzbd" +HOMEPAGE=" + https://github.com/sabnzbd/sabctools/ + https://pypi.org/project/sabctools/ +" +SRC_URI=" + https://github.com/sabnzbd/${MY_PN}/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/portend[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.md doc/yenc-draft.1.3.txt ) + +distutils_enable_tests pytest diff --git a/dev-python/scikit-learn/Manifest b/dev-python/scikit-learn/Manifest index 134da811877e..00d3f77a63d7 100644 --- a/dev-python/scikit-learn/Manifest +++ b/dev-python/scikit-learn/Manifest @@ -1,3 +1,3 @@ DIST scikit-learn-1.4.2.gh.tar.gz 7907022 BLAKE2B d52b808ae981883438592ee9155797fedf832181b0fe66c25728aedc43143143d44af190977b22844e3322da77cd21a1ce5c733e254686722df7f4c43029192c SHA512 ac4eea3d1f1f7c7280694d59ccb1e58362e77080f65dc2d4644dc257e874d7ff0d2d5b7abeb18acffc2752382527c6e9bbf5ebc47a8a74a2fab2a543e0220951 -EBUILD scikit-learn-1.4.2.ebuild 1656 BLAKE2B ca94678a5680be66c94d94da969a17718649b785d08df56d3039a764180c01afdfbfe1458b25d9326bfe34dbeb22aa4f079477c3eb096057e8f6ea8cd151a536 SHA512 d96b58e8ad17180adbd5981f5524ee28a7e2f4f1cf4c4aaaf2a091445d8002543d7348fb4149aa399172819ccd3ae82917935a701190bf284c247f1ce8207310 +EBUILD scikit-learn-1.4.2-r1.ebuild 1656 BLAKE2B ca94678a5680be66c94d94da969a17718649b785d08df56d3039a764180c01afdfbfe1458b25d9326bfe34dbeb22aa4f079477c3eb096057e8f6ea8cd151a536 SHA512 d96b58e8ad17180adbd5981f5524ee28a7e2f4f1cf4c4aaaf2a091445d8002543d7348fb4149aa399172819ccd3ae82917935a701190bf284c247f1ce8207310 MISC metadata.xml 614 BLAKE2B b5425c2d022592581647c9b97c0ab22bfc2afe347b2e5ea22f141245238f145322f39406c62318ba1e6af1462b2691267b39976bfde38faaf1d28b1d29c4e015 SHA512 74ac79123848bc385c29fcfdc4a1e780529dda685c1deb5eb722f5d4919ee6ac9d80798d52c4af0be0cc8dbbaea3784963dd97e2b7c1258cc2f5605b0bc8907a diff --git a/dev-python/scikit-learn/scikit-learn-1.4.2-r1.ebuild b/dev-python/scikit-learn/scikit-learn-1.4.2-r1.ebuild new file mode 100644 index 000000000000..dc15a4a085ac --- /dev/null +++ b/dev-python/scikit-learn/scikit-learn-1.4.2-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 2020-2024 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..12} ) + +inherit distutils-r1 + +DESCRIPTION="Machine learning library for Python" +HOMEPAGE=" + https://scikit-learn.org/stable/ + https://github.com/scikit-learn/scikit-learn/ + https://pypi.org/project/scikit-learn/ +" +SRC_URI=" + https://github.com/scikit-learn/scikit-learn/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm64 ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" +IUSE="examples" + +DEPEND=" + virtual/blas:= + virtual/cblas:= + >=dev-python/numpy-1.22.3:=[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/joblib-1.2.0[${PYTHON_USEDEP}] + >=dev-python/scipy-1.6.0[${PYTHON_USEDEP}] + >=dev-python/threadpoolctl-2.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}] + >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +# For some reason this wants to use urllib to fetch things from the internet +# distutils_enable_sphinx doc \ +# dev-python/matplotlib \ +# dev-python/memory-profiler \ +# dev-python/numpydoc \ +# dev-python/pandas \ +# dev-python/pillow \ +# dev-python/seaborn \ +# dev-python/sphinx-gallery \ +# dev-python/sphinx-prompt \ +# dev-python/scikit-image + +python_test() { + rm -rf sklearn || die + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest --pyargs sklearn +} + +python_install_all() { + find "${S}" -name \*LICENSE.txt -delete || die + distutils-r1_python_install_all + use examples && dodoc -r examples +} diff --git a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild b/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild deleted file mode 100644 index dc15a4a085ac..000000000000 --- a/dev-python/scikit-learn/scikit-learn-1.4.2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2020-2024 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..12} ) - -inherit distutils-r1 - -DESCRIPTION="Machine learning library for Python" -HOMEPAGE=" - https://scikit-learn.org/stable/ - https://github.com/scikit-learn/scikit-learn/ - https://pypi.org/project/scikit-learn/ -" -SRC_URI=" - https://github.com/scikit-learn/scikit-learn/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos" -IUSE="examples" - -DEPEND=" - virtual/blas:= - virtual/cblas:= - >=dev-python/numpy-1.22.3:=[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} - dev-python/wheel[${PYTHON_USEDEP}] - >=dev-python/joblib-1.2.0[${PYTHON_USEDEP}] - >=dev-python/scipy-1.6.0[${PYTHON_USEDEP}] - >=dev-python/threadpoolctl-2.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}] - >=dev-python/cython-3.0.8[${PYTHON_USEDEP}] -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -# For some reason this wants to use urllib to fetch things from the internet -# distutils_enable_sphinx doc \ -# dev-python/matplotlib \ -# dev-python/memory-profiler \ -# dev-python/numpydoc \ -# dev-python/pandas \ -# dev-python/pillow \ -# dev-python/seaborn \ -# dev-python/sphinx-gallery \ -# dev-python/sphinx-prompt \ -# dev-python/scikit-image - -python_test() { - rm -rf sklearn || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest --pyargs sklearn -} - -python_install_all() { - find "${S}" -name \*LICENSE.txt -delete || die - distutils-r1_python_install_all - use examples && dodoc -r examples -} diff --git a/dev-python/scipy/Manifest b/dev-python/scipy/Manifest index 70c374bbbcf0..97b9814c7324 100644 --- a/dev-python/scipy/Manifest +++ b/dev-python/scipy/Manifest @@ -2,13 +2,11 @@ DIST scipy-1.11.3.tar.gz 56335652 BLAKE2B 2b35c24522b2bd498b4ebe84a854c8ec1e6291 DIST scipy-1.11.4.tar.gz 56336202 BLAKE2B a2091a1edb54eb73c2de6ed8c62a7e571f37b247c9af50947aa97b739342c96b87b20a82b1a238c859fa532c84249cbadde228366dcea3555e9a506c1ae55031 SHA512 2eb403f6de9723b411d948b8e1b5457078704c605b8e760d42362c82d802e167eaaf701ddb8b480af2bdf2efe4dbf66fcc4e97321519bb8dab19b0e2a8976beb DIST scipy-1.12.0.tar.gz 56811768 BLAKE2B 03c142274f1466747935fa54fab427f3a48c1642406211fa1a0f8ad5e0f194baecf76182e0448a0fb647063871483239cd876ce431cd9406e396e6170912ab64 SHA512 376ed94c4caaf782814bb07047fff0b363f7b608a0399697c6e862432333cbe6d3abb351730a574a3f077b3cdd9cb7474090a460baffcfbd5546bcfee309b6e7 DIST scipy-1.13.0.tar.gz 57204550 BLAKE2B cfbb4e76efae952854e9ff4ed254e9819b58d224906e1ded3c6a914b1e28b5fad15f8bbbb4a9c413969d6e4b1faf4e0038a36729171ff06e640b241a9dd4af94 SHA512 9bd6fd3f76742a07e5bb003edf4c0e3a82edf749077502fbce3d16fe595d455846edcf57db12ec0a9d4792803e974355362d919047414badfcaededf1e4343f7 -DIST scipy-1.13.0rc1.tar.gz 57201979 BLAKE2B 0e257dbe3707b373045eef21384f64847017ffd281e41acb4358e90fec7be5983462849fb199e0bf2ae7944d2a1511c181bd4b1d0ba01f8691062fb9fdebd689 SHA512 de03fdd61bde610bebe7ede8ef22c72e2f65f68e3584b70069b59539a1453a0f1b34baa065ff3cbcb109d3e9a02c705a964116ca11d85700c58ad094772962e2 DIST scipy-html-1.11.0.zip 50421508 BLAKE2B cb5e4a4f8817a80f54ae73b4a47ba22d2438df46ebfe27ef5fdc2695fdd983226f4ccae925bf82b15d01ced4f4b6807384ecadac5e1aa7700aa887ad06b7d065 SHA512 33718bbd5e828687d93fccc441a53b6a2e8f54ac4952d3b69d4c4668f55cb6ef5aba33df9acda20b2400effa5ae71767b2a5602a365ad2045a6edd24ff89c253 DIST scipy-html-1.11.2.zip 50435722 BLAKE2B 460c67509a8bf50986f866ee2f90e634af21ddd71508efeef5681c2ee2130c3f79b4b428bc21277bfb310bb45ccad1fb38221ada43620055377cdc4839b9d1e5 SHA512 986a6e37f9e01dc4925ef22af6ff660bae1e4b66e57270262974c207dfb70285e3f8f548774d6e81d5f457b9198c0ba1c06e6d689fe5d54fdea878c1e5a7f797 DIST scipy-html-1.13.0.zip 65327245 BLAKE2B 5e5ffbf4ff4a28c5a003da0e5170ef5eef1b430ecca0284a89aed5f96f7afc549db001beb2e56b3debbd3527c57b773b25c35579b32d8a6d8e5e97a75db4d38b SHA512 792c32f077d76d47e42d02c5047990a6afdcdc9c31dcc7e9987e7a5aa62c56aec44dcf7d14e3f94ae59f8fb718ce89a2835b87d2aef7a16ce9a534361b7329d7 -EBUILD scipy-1.11.3-r1.ebuild 3648 BLAKE2B 261622d24c0f045e1101ece7b5615714e0c78738294c027d89e0baafba4f9ecf10b0e8070ebfcdafc7a06cf5ccae780d2fe7174530ae384f1e6fcb5ba06ac787 SHA512 6ff8e47c1b90fc6942a0d55e44621dd6e8d442e0af68e6c6878346243dd6e94c7b70bed8908dc624896cd9185778ba4897721fc828074b93bae442c041cd3091 -EBUILD scipy-1.11.4.ebuild 3660 BLAKE2B e5e7918bf5f1abfaa9d2fdec01b5c52d4e0204854326c488b0c68652c295feb9e7d4cd55f4cf0f56b4ecaf4b8cdf89bf2ce788fc1133bedaf6276518a6b861ad SHA512 f761a1cce91457cdc8e8f25298ce62390e1d4beae4b93a5722218988796f28b5b88aaa98bab3d97afbcf1f08ceef72e12e7917fe4e387183e0068c309c641966 -EBUILD scipy-1.12.0.ebuild 3620 BLAKE2B c5c8dfd752b81e16f61a25beabb20a20b3d9087b1a6c514fd7f8d3710435d68b49ad55ba2f082e468a9066f4ad1bff664036c073cfb48cf16d09fcb0b1fafb13 SHA512 e2ebf0e8d464306b0d12b4e831cd7c253b2431fa922d4276c516238d93c4b1f0b0275a3354b31428e9bc43e05eafaf67f92a6b481d9be941421693687bdb513f +EBUILD scipy-1.11.3-r2.ebuild 3648 BLAKE2B 261622d24c0f045e1101ece7b5615714e0c78738294c027d89e0baafba4f9ecf10b0e8070ebfcdafc7a06cf5ccae780d2fe7174530ae384f1e6fcb5ba06ac787 SHA512 6ff8e47c1b90fc6942a0d55e44621dd6e8d442e0af68e6c6878346243dd6e94c7b70bed8908dc624896cd9185778ba4897721fc828074b93bae442c041cd3091 +EBUILD scipy-1.11.4-r1.ebuild 3660 BLAKE2B e5e7918bf5f1abfaa9d2fdec01b5c52d4e0204854326c488b0c68652c295feb9e7d4cd55f4cf0f56b4ecaf4b8cdf89bf2ce788fc1133bedaf6276518a6b861ad SHA512 f761a1cce91457cdc8e8f25298ce62390e1d4beae4b93a5722218988796f28b5b88aaa98bab3d97afbcf1f08ceef72e12e7917fe4e387183e0068c309c641966 +EBUILD scipy-1.12.0-r1.ebuild 3620 BLAKE2B c5c8dfd752b81e16f61a25beabb20a20b3d9087b1a6c514fd7f8d3710435d68b49ad55ba2f082e468a9066f4ad1bff664036c073cfb48cf16d09fcb0b1fafb13 SHA512 e2ebf0e8d464306b0d12b4e831cd7c253b2431fa922d4276c516238d93c4b1f0b0275a3354b31428e9bc43e05eafaf67f92a6b481d9be941421693687bdb513f EBUILD scipy-1.13.0.ebuild 4170 BLAKE2B 5d900c31e66bcf6bac33a5629df7f8bbdb072318793e4e7b15138d1716cc365443ff5fd254cbc88ec5455e742575bf67f7f98e4f26a2174c6f45cbd7b6323124 SHA512 290d1698742b2547862e15cd6b74799b38456193e70f1d3f5d299e7430ec9d6a8f587de303761cb20fa022127c93bcae0311f9aca824654af94e0d8a74d63b23 -EBUILD scipy-1.13.0_rc1.ebuild 3788 BLAKE2B b72f81d31de807ddc7ae7b83618396bef89f820d37bb9d97d03d40129229ae95ea20c7959a32bfa9be98caeed1dcb1341a906d15580ac25d52f4dd9109cacd29 SHA512 5227c0224b62a78c2797ce45efafff987e08b14d025eb2d8dfcea59c36d087bc1a84c1b9497301efde99b7bd0c766006e3ba3f93a2c90f032e2c3d9ad8c55a5b MISC metadata.xml 953 BLAKE2B a09ea1325a175e349fbc3ca77c5e7b373538ea01147e8544f44b7d4e0c55fbbc2012431fcfe9a3457e82d295e4b5630df1ed69c48ef3462ed9b157af30a1e09a SHA512 74a21c6e1a9bef95b3d74a9513c59d302f473725c04fa32a9991b6108113c0f4b78179ce4a628140e7aa870c24ca60bddf7a00063b6b73dd45110112311371d8 diff --git a/dev-python/scipy/scipy-1.11.3-r1.ebuild b/dev-python/scipy/scipy-1.11.3-r1.ebuild deleted file mode 100644 index ada4553734a9..000000000000 --- a/dev-python/scipy/scipy-1.11.3-r1.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2024 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=( pypy3 python3_{10..12} ) -PYTHON_REQ_USE="threads(+)" - -inherit flag-o-matic fortran-2 distutils-r1 multiprocessing - -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} - DOC_PV=1.11.0 - - 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 ppc64 ~riscv ~sparc x86" - fi -fi - -LICENSE="BSD LGPL-2" -SLOT="0" -IUSE="doc +fortran test-rust" - -# umfpack is technically optional but it's preferred to have it available. -DEPEND=" - >=dev-python/numpy-1.21.6:=[lapack,${PYTHON_USEDEP}] - sci-libs/arpack:= - sci-libs/umfpack - virtual/cblas - >=virtual/lapack-3.8 -" -RDEPEND=" - ${DEPEND} - dev-python/pillow[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-lang/swig - >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] - >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}] - >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}] - >=dev-build/meson-1.1.0 - !kernel_Darwin? ( dev-util/patchelf ) - virtual/pkgconfig - doc? ( app-arch/unzip ) - fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) - test-rust? ( - dev-python/pooch[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_unpack() { - default - - if use doc; then - unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die - fi -} - -python_configure_all() { - # https://github.com/scipy/scipy/pull/19857 - # Fixed in 1.13.0 - filter-lto - DISTUTILS_ARGS=( - -Dblas=blas - -Dlapack=lapack - -Duse-pythran=$(usex fortran true false) - ) -} - -python_test() { - 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 - - # Precision issue with diff. blas? - scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799 - - # Crashes with assertion, not a regression - # https://github.com/scipy/scipy/issues/19321 - scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object - - # timeouts - scipy/sparse/linalg/tests/test_propack.py::test_examples - # hang or incredibly slow - scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient - scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient - ) - 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+=( - # fd leaks in tests - # https://github.com/scipy/scipy/issues/19553 - scipy/fft/_pocketfft/tests/test_real_transforms.py - # TODO - 'scipy/special/tests/test_data.py::test_boost[]' - ) - ;; - esac - - epytest -n "$(makeopts_jobs)" --dist=worksteal scipy -} - -python_install_all() { - use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/scipy/scipy-1.11.3-r2.ebuild b/dev-python/scipy/scipy-1.11.3-r2.ebuild new file mode 100644 index 000000000000..ada4553734a9 --- /dev/null +++ b/dev-python/scipy/scipy-1.11.3-r2.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2024 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=( pypy3 python3_{10..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit flag-o-matic fortran-2 distutils-r1 multiprocessing + +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} + DOC_PV=1.11.0 + + 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 ppc64 ~riscv ~sparc x86" + fi +fi + +LICENSE="BSD LGPL-2" +SLOT="0" +IUSE="doc +fortran test-rust" + +# umfpack is technically optional but it's preferred to have it available. +DEPEND=" + >=dev-python/numpy-1.21.6:=[lapack,${PYTHON_USEDEP}] + sci-libs/arpack:= + sci-libs/umfpack + virtual/cblas + >=virtual/lapack-3.8 +" +RDEPEND=" + ${DEPEND} + dev-python/pillow[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-lang/swig + >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] + >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}] + >=dev-build/meson-1.1.0 + !kernel_Darwin? ( dev-util/patchelf ) + virtual/pkgconfig + doc? ( app-arch/unzip ) + fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) + test-rust? ( + dev-python/pooch[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_unpack() { + default + + if use doc; then + unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die + fi +} + +python_configure_all() { + # https://github.com/scipy/scipy/pull/19857 + # Fixed in 1.13.0 + filter-lto + DISTUTILS_ARGS=( + -Dblas=blas + -Dlapack=lapack + -Duse-pythran=$(usex fortran true false) + ) +} + +python_test() { + 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 + + # Precision issue with diff. blas? + scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799 + + # Crashes with assertion, not a regression + # https://github.com/scipy/scipy/issues/19321 + scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object + + # timeouts + scipy/sparse/linalg/tests/test_propack.py::test_examples + # hang or incredibly slow + scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient + scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient + ) + 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+=( + # fd leaks in tests + # https://github.com/scipy/scipy/issues/19553 + scipy/fft/_pocketfft/tests/test_real_transforms.py + # TODO + 'scipy/special/tests/test_data.py::test_boost[]' + ) + ;; + esac + + epytest -n "$(makeopts_jobs)" --dist=worksteal scipy +} + +python_install_all() { + use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/scipy/scipy-1.11.4-r1.ebuild b/dev-python/scipy/scipy-1.11.4-r1.ebuild new file mode 100644 index 000000000000..57a88fe87cf2 --- /dev/null +++ b/dev-python/scipy/scipy-1.11.4-r1.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2024 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=( pypy3 python3_{10..12} ) +PYTHON_REQ_USE="threads(+)" + +inherit flag-o-matic fortran-2 distutils-r1 multiprocessing + +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} + DOC_PV=1.11.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" + +# umfpack is technically optional but it's preferred to have it available. +DEPEND=" + >=dev-python/numpy-1.21.6:=[lapack,${PYTHON_USEDEP}] + sci-libs/arpack:= + sci-libs/umfpack + virtual/cblas + >=virtual/lapack-3.8 +" +RDEPEND=" + ${DEPEND} + dev-python/pillow[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-lang/swig + >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] + >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}] + >=dev-build/meson-1.1.0 + !kernel_Darwin? ( dev-util/patchelf ) + virtual/pkgconfig + doc? ( app-arch/unzip ) + fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) + test-rust? ( + dev-python/pooch[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_unpack() { + default + + if use doc; then + unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die + fi +} + +python_configure_all() { + # https://github.com/scipy/scipy/pull/19857 + # Fixed in 1.13.0 + filter-lto + DISTUTILS_ARGS=( + -Dblas=blas + -Dlapack=lapack + -Duse-pythran=$(usex fortran true false) + ) +} + +python_test() { + 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 + + # Precision issue with diff. blas? + scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799 + + # Crashes with assertion, not a regression + # https://github.com/scipy/scipy/issues/19321 + scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object + + # timeouts + scipy/sparse/linalg/tests/test_propack.py::test_examples + # hang or incredibly slow + scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient + scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient + ) + 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+=( + # fd leaks in tests + # https://github.com/scipy/scipy/issues/19553 + scipy/fft/_pocketfft/tests/test_real_transforms.py + # TODO + 'scipy/special/tests/test_data.py::test_boost[]' + ) + ;; + esac + + epytest -n "$(makeopts_jobs)" --dist=worksteal scipy +} + +python_install_all() { + use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) + + distutils-r1_python_install_all +} diff --git a/dev-python/scipy/scipy-1.11.4.ebuild b/dev-python/scipy/scipy-1.11.4.ebuild deleted file mode 100644 index 57a88fe87cf2..000000000000 --- a/dev-python/scipy/scipy-1.11.4.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2024 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=( pypy3 python3_{10..12} ) -PYTHON_REQ_USE="threads(+)" - -inherit flag-o-matic fortran-2 distutils-r1 multiprocessing - -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} - DOC_PV=1.11.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" - -# umfpack is technically optional but it's preferred to have it available. -DEPEND=" - >=dev-python/numpy-1.21.6:=[lapack,${PYTHON_USEDEP}] - sci-libs/arpack:= - sci-libs/umfpack - virtual/cblas - >=virtual/lapack-3.8 -" -RDEPEND=" - ${DEPEND} - dev-python/pillow[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-lang/swig - >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] - >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}] - >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}] - >=dev-build/meson-1.1.0 - !kernel_Darwin? ( dev-util/patchelf ) - virtual/pkgconfig - doc? ( app-arch/unzip ) - fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) - test? ( - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) - test-rust? ( - dev-python/pooch[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_unpack() { - default - - if use doc; then - unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die - fi -} - -python_configure_all() { - # https://github.com/scipy/scipy/pull/19857 - # Fixed in 1.13.0 - filter-lto - DISTUTILS_ARGS=( - -Dblas=blas - -Dlapack=lapack - -Duse-pythran=$(usex fortran true false) - ) -} - -python_test() { - 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 - - # Precision issue with diff. blas? - scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799 - - # Crashes with assertion, not a regression - # https://github.com/scipy/scipy/issues/19321 - scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object - - # timeouts - scipy/sparse/linalg/tests/test_propack.py::test_examples - # hang or incredibly slow - scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient - scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient - ) - 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+=( - # fd leaks in tests - # https://github.com/scipy/scipy/issues/19553 - scipy/fft/_pocketfft/tests/test_real_transforms.py - # TODO - 'scipy/special/tests/test_data.py::test_boost[]' - ) - ;; - esac - - epytest -n "$(makeopts_jobs)" --dist=worksteal scipy -} - -python_install_all() { - use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/scipy/scipy-1.12.0-r1.ebuild b/dev-python/scipy/scipy-1.12.0-r1.ebuild new file mode 100644 index 000000000000..d3dff15df08b --- /dev/null +++ b/dev-python/scipy/scipy-1.12.0-r1.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2024 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=( pypy3 python3_{10..12} ) +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} + DOC_PV=1.11.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" + +# umfpack is technically optional but it's preferred to have it available. +DEPEND=" + >=dev-python/numpy-1.21.6:=[lapack,${PYTHON_USEDEP}] + sci-libs/arpack:= + sci-libs/umfpack + virtual/cblas + >=virtual/lapack-3.8 +" +RDEPEND=" + ${DEPEND} + dev-python/pillow[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-lang/swig + >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] + >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}] + >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}] + >=dev-build/meson-1.1.0 + !kernel_Darwin? ( dev-util/patchelf ) + virtual/pkgconfig + doc? ( app-arch/unzip ) + fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) + test-rust? ( + dev-python/pooch[${PYTHON_USEDEP}] + ) +" + +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 +} + +python_configure_all() { + # https://github.com/scipy/scipy/pull/19857 + # Fixed in 1.13.0 + filter-lto + DISTUTILS_ARGS=( + -Dblas=blas + -Dlapack=lapack + -Duse-pythran=$(usex fortran true false) + ) +} + +python_test() { + 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 + + # Precision issue with diff. blas? + scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799 + + # Crashes with assertion, not a regression + # https://github.com/scipy/scipy/issues/19321 + scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object + + # timeouts + scipy/sparse/linalg/tests/test_propack.py::test_examples + # hang or incredibly slow + scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient + scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient + ) + 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+=( + # fd leaks in tests + # https://github.com/scipy/scipy/issues/19553 + scipy/fft/_pocketfft/tests/test_real_transforms.py + # TODO + 'scipy/special/tests/test_data.py::test_boost[]' + ) + ;; + esac + + 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.12.0.ebuild b/dev-python/scipy/scipy-1.12.0.ebuild deleted file mode 100644 index d3dff15df08b..000000000000 --- a/dev-python/scipy/scipy-1.12.0.ebuild +++ /dev/null @@ -1,151 +0,0 @@ -# Copyright 1999-2024 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=( pypy3 python3_{10..12} ) -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} - DOC_PV=1.11.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" - -# umfpack is technically optional but it's preferred to have it available. -DEPEND=" - >=dev-python/numpy-1.21.6:=[lapack,${PYTHON_USEDEP}] - sci-libs/arpack:= - sci-libs/umfpack - virtual/cblas - >=virtual/lapack-3.8 -" -RDEPEND=" - ${DEPEND} - dev-python/pillow[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-lang/swig - >=dev-python/cython-0.29.35[${PYTHON_USEDEP}] - >=dev-python/meson-python-0.12.1[${PYTHON_USEDEP}] - >=dev-python/pybind11-2.10.4[${PYTHON_USEDEP}] - >=dev-build/meson-1.1.0 - !kernel_Darwin? ( dev-util/patchelf ) - virtual/pkgconfig - doc? ( app-arch/unzip ) - fortran? ( dev-python/pythran[${PYTHON_USEDEP}] ) - test? ( - dev-python/hypothesis[${PYTHON_USEDEP}] - ) - test-rust? ( - dev-python/pooch[${PYTHON_USEDEP}] - ) -" - -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 -} - -python_configure_all() { - # https://github.com/scipy/scipy/pull/19857 - # Fixed in 1.13.0 - filter-lto - DISTUTILS_ARGS=( - -Dblas=blas - -Dlapack=lapack - -Duse-pythran=$(usex fortran true false) - ) -} - -python_test() { - 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 - - # Precision issue with diff. blas? - scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799 - - # Crashes with assertion, not a regression - # https://github.com/scipy/scipy/issues/19321 - scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object - - # timeouts - scipy/sparse/linalg/tests/test_propack.py::test_examples - # hang or incredibly slow - scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient - scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient - ) - 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+=( - # fd leaks in tests - # https://github.com/scipy/scipy/issues/19553 - scipy/fft/_pocketfft/tests/test_real_transforms.py - # TODO - 'scipy/special/tests/test_data.py::test_boost[]' - ) - ;; - esac - - 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.13.0_rc1.ebuild b/dev-python/scipy/scipy-1.13.0_rc1.ebuild deleted file mode 100644 index 112b769a910a..000000000000 --- a/dev-python/scipy/scipy-1.13.0_rc1.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2024 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=( pypy3 python3_{10..12} ) -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} - DOC_PV=1.11.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" - -# umfpack is technically optional but it's preferred to have it available. -DEPEND=" - >=dev-python/numpy-1.22.4:=[lapack,${PYTHON_USEDEP}] - sci-libs/arpack:= - sci-libs/umfpack - virtual/cblas - >=virtual/lapack-3.8 -" -RDEPEND=" - ${DEPEND} - dev-python/pillow[${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.10.4[${PYTHON_USEDEP}] - >=dev-build/meson-1.1.0 - !kernel_Darwin? ( dev-util/patchelf ) - virtual/pkgconfig - doc? ( app-arch/unzip ) - fortran? ( >=dev-python/pythran-0.14.0[${PYTHON_USEDEP}] ) - test? ( - >=dev-python/hypothesis-6.30[${PYTHON_USEDEP}] - ) - test-rust? ( - dev-python/pooch[${PYTHON_USEDEP}] - ) -" - -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 -} - -python_configure_all() { - # https://github.com/scipy/scipy/pull/19857 - # Fixed in 1.13.0 - filter-lto - DISTUTILS_ARGS=( - -Dblas=blas - -Dlapack=lapack - -Duse-pythran=$(usex fortran true false) - ) -} - -python_test() { - 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 - - # Precision issue with diff. blas? - scipy/optimize/tests/test__basinhopping.py::Test_Metropolis::test_gh7799 - - # Crashes with assertion, not a regression - # https://github.com/scipy/scipy/issues/19321 - scipy/signal/tests/test_signaltools.py::test_lfilter_bad_object - - # timeouts - scipy/sparse/linalg/tests/test_propack.py::test_examples - # hang or incredibly slow - scipy/optimize/tests/test_lsq_linear.py::TestBVLS::test_large_rank_deficient - scipy/optimize/tests/test_lsq_linear.py::TestTRF::test_large_rank_deficient - - # TODO - scipy/optimize/tests/test_minimize_constrained.py::TestTrustRegionConstr::test_list_of_problems - ) - 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+=( - # fd leaks in tests - # https://github.com/scipy/scipy/issues/19553 - scipy/fft/_pocketfft/tests/test_real_transforms.py - # TODO - 'scipy/special/tests/test_data.py::test_boost[]' - ) - ;; - esac - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest scipy -} - -python_install_all() { - use doc && local HTML_DOCS=( "${WORKDIR}"/html/. ) - - distutils-r1_python_install_all -} diff --git a/dev-python/sphinx-autoapi/Manifest b/dev-python/sphinx-autoapi/Manifest index d41c6ff3a161..8246c6b46b39 100644 --- a/dev-python/sphinx-autoapi/Manifest +++ b/dev-python/sphinx-autoapi/Manifest @@ -1,3 +1,5 @@ DIST sphinx-autoapi-3.0.0.gh.tar.gz 62951 BLAKE2B 80c1168b7d6f2d8489139d1daaa00817bf88345b92d962d1b7114ffd078dab5babd00f3837b9a80bd7175f07a50a432be4096140ac3ee8db11d90e1b836cd308 SHA512 fece7ff76de1ad4a58d8128d7c1f4c57a91ffbc2fb788f7bf4ce230860e97279f8ddf32d24dee4b961d89807056abd2f621484ff91e13b98b57d7f7a00d1cd4c +DIST sphinx-autoapi-3.1.0.gh.tar.gz 67664 BLAKE2B 5fefd1cf5ff401db9e309eeed3d8211bd72e43d6f40b088b6e1a2e406a910b2b99ff0e2431d0f8c55b0300c51f65c6892f2068131ecea2524fba3f0dd439bd2b SHA512 22ea54a11d9ecb2a91f3c7fee8561bd42f87fa82894b17cac51daeab94a298a7cc3bc5c0158c4fdead62879e89ea760beb3222e5bf31489b68a3483b47adb499 EBUILD sphinx-autoapi-3.0.0.ebuild 1172 BLAKE2B cb62d7d3c9d33f101731ece4f539f9a842725db53b8259681fdf318b71874fe4995c5532e4a341bd42ba0399ecb3f7562c1a62832725c222cb486290d6174b64 SHA512 b392a5c3651f0e2ece1e3fb8c50f6a3a765b606ef44d187ee8358852d5ace5a495b5be983dfee2a9bd5083818b7c0ef3dedd66cd4d1202361f52fe524c057bdc +EBUILD sphinx-autoapi-3.1.0.ebuild 1204 BLAKE2B a579b2d50c84d93a517f4ce46d56f0989d5332e03adefcacae1d66d9c17ef641c9e8429d926529550e35bc5083defc8871eb3840295bb7cbb5b0a2e5b52f6993 SHA512 87782e5a48582dacdba1a6b1aff2559201db0f4943a5cbf1402f91c4889003fee713f622182a65bf088d14ccc8d3b02d25a49c8cd30b1b893dd30aeffc715a9b MISC metadata.xml 769 BLAKE2B 6f85e487a2d2def289bb54a6addc2338bb8af85b323ec1c95851945f9c407ec22bfadd8079ac8b6e00cfbc85caa0e2b09d82329f1f87a365fc44b69c7bcd9a20 SHA512 68f02a5f98234c2a5cb15aa04ce90077b154a7e3a7a69dc0a1d0a6b5c7b42c60624878a7e2fff1576c8b586fc15e7ef042942274d4e8473835bb3d8bfdbd8393 diff --git a/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.0.ebuild b/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.0.ebuild new file mode 100644 index 000000000000..9182b8aa4e2c --- /dev/null +++ b/dev-python/sphinx-autoapi/sphinx-autoapi-3.1.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="A new approach to API documentation in Sphinx" +HOMEPAGE=" + https://sphinx-autoapi.readthedocs.io/ + https://github.com/readthedocs/sphinx-autoapi/ + https://pypi.org/project/sphinx-autoapi/ +" +# sdist is missing docs, as of 2.1.0 +SRC_URI=" + https://github.com/readthedocs/sphinx-autoapi/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + >=dev-python/astroid-3.0.0[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/sphinx-6.1.0[${PYTHON_USEDEP}] +" + +BDEPEND+=" + test? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}] ) +" + +DOCS=( README.rst CHANGELOG.rst ) + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + tests/python/test_pyintegration.py::TestPEP695::test_integration + tests/python/test_pyintegration.py::TestPipeUnionModule::test_integration + "tests/test_integration.py::TestExtensionErrors::test_extension_setup_errors[dotnetexample" + ) + + distutils-r1_python_test +} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index d7df0bf575ec..56b8d5bfc23d 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -20,9 +20,8 @@ DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea7 DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d DIST sqlglot-23.15.10.tar.gz 13159370 BLAKE2B eb1d675288f33c51938597c4b186ab4727f3149049c5089ea0c4aad8b479bdb0b51fa5bfb9a76fc00ca6c5d74aad1ce1ff347046516aa100c1af0f7640393de9 SHA512 75cca2b9fa17132644bf8cf85f7b35c05cc2d304077ad3b91476daa45216d8fe2a0d1c6ef2161b62714771da373491570022debe64b552b333eeaa0b2f940960 -DIST sqlglot-23.15.8.tar.gz 13118607 BLAKE2B 967590ff24f6a25adc4c227510ab027f695cf12b90dbf3304a6327afcdbfbd7d96d7f77b25876f3e7dce471c78e38498f9c156671f84f25b7eeecd315678a958 SHA512 4d283b9cd09b7bee873c07b9618cd046d1d312bf8e3280a635ccb91c45532c590a152db97cc338be91eafc2e68dd587f48460ad8eea1ab0b4c5ec5f64c2be2d9 -DIST sqlglot-23.15.9.tar.gz 13124523 BLAKE2B 653c443dfb6308ca7dd896f24aa8783a06664ecc636416bef057ad2d8d98f988fcf95bc86bc55ec19a0fe479308dc1f1e2fdc125cf5fefb650955e9e3af20344 SHA512 198788fc3a0cf08f49f37a6dad79e31e909718b7fe27575cc4fc6a426a868fab2849a9923f1628ef03f56925928a70497efa616330281189dba900a84b4926cf DIST sqlglot-23.16.0.tar.gz 13162737 BLAKE2B f15f5ba639368be3268f62e9730cc8bb9c699c523dd7fcdad9fb37f28c7473f0f5ea6253d75c9bef3b2fe6f3f5884697924e9521d21f0efb289edfb4ace660d3 SHA512 33a0b9234ba95d5372b4673dcd877fad648e78d367ed715c8e40900fb10eea03a4bd129e10bd20f2701d504279d1a2a82dbc8256363d348d4019c3ff43927a26 +DIST sqlglot-23.17.0.tar.gz 13185796 BLAKE2B f0ccdf4788e64f03257ced1f05add46989de8ee88629fb6d707993e085edba93e05486e6ca63e5a649728242f39bb497ed4f67ff7f5097d80dbe530ec54e8982 SHA512 db044af314c3b86899073d769f33afed02ebb198eff6bc477569a847a7e5f1c44cf6125c0831c8a8c32258ad1fa661bd48afcbb128a8c7885d56c79802a6e5f7 DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 @@ -36,7 +35,6 @@ DIST windows_x86_64_gnu-0.48.5.crate 801619 BLAKE2B aa7e7e6a6ff9f9553ada3a0a39a9 DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e9f435620ad64b40c579f6d0c3677553ad7a48e5765d12c266b04946402e15c92cff2e4ac4979ce2130750ef426e2672119680284 SHA512 c016d5b5e73832b61ff67929d92fa8c16e154656294357266ad29ce1f44db4ca2d2935dba31a6b571187dc838b1d22f1e3b41fefffd1d719a338439adf1646aa DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 EBUILD sqlglot-23.15.10.ebuild 2602 BLAKE2B 2ebe12c252293a3ff60948e560fb6a49f93e202003fd3a94870eb874cf6be356807cdd62413bc26ae2f01757b913a396d988a856f938d5685162b639fa3ab8f9 SHA512 5386d1a924752114b0c24079e25bc6b4da42b65aacea2e7f8dccce8acb460940dbdc10238ed3e205d76c3ffc4fe5ec69bec0c1d4109f63bc220c89b02ae3e3b2 -EBUILD sqlglot-23.15.8.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 -EBUILD sqlglot-23.15.9.ebuild 2602 BLAKE2B 2ebe12c252293a3ff60948e560fb6a49f93e202003fd3a94870eb874cf6be356807cdd62413bc26ae2f01757b913a396d988a856f938d5685162b639fa3ab8f9 SHA512 5386d1a924752114b0c24079e25bc6b4da42b65aacea2e7f8dccce8acb460940dbdc10238ed3e205d76c3ffc4fe5ec69bec0c1d4109f63bc220c89b02ae3e3b2 EBUILD sqlglot-23.16.0.ebuild 2602 BLAKE2B 2ebe12c252293a3ff60948e560fb6a49f93e202003fd3a94870eb874cf6be356807cdd62413bc26ae2f01757b913a396d988a856f938d5685162b639fa3ab8f9 SHA512 5386d1a924752114b0c24079e25bc6b4da42b65aacea2e7f8dccce8acb460940dbdc10238ed3e205d76c3ffc4fe5ec69bec0c1d4109f63bc220c89b02ae3e3b2 +EBUILD sqlglot-23.17.0.ebuild 2602 BLAKE2B 2ebe12c252293a3ff60948e560fb6a49f93e202003fd3a94870eb874cf6be356807cdd62413bc26ae2f01757b913a396d988a856f938d5685162b639fa3ab8f9 SHA512 5386d1a924752114b0c24079e25bc6b4da42b65aacea2e7f8dccce8acb460940dbdc10238ed3e205d76c3ffc4fe5ec69bec0c1d4109f63bc220c89b02ae3e3b2 MISC metadata.xml 611 BLAKE2B 10bf684677182565c9932d51ed9b3b9c80d376d6db945bd7b0dd0d9a19a85dc0d10cb169ff2048ae5f7f73d0f438d259b6231c13c525b5374ec99377f4ffdd10 SHA512 2b26d0f77962807052b94ad78addcfdce9859042af3be34df267dc6e70b6231dd779563935fd21955cd8646fd0cce3fee8c939387ac8056194a0b777743dd2ae diff --git a/dev-python/sqlglot/sqlglot-23.15.8.ebuild b/dev-python/sqlglot/sqlglot-23.15.8.ebuild deleted file mode 100644 index 058fa81df816..000000000000 --- a/dev-python/sqlglot/sqlglot-23.15.8.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2023-2024 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..12} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-23.15.9.ebuild b/dev-python/sqlglot/sqlglot-23.15.9.ebuild deleted file mode 100644 index 3ecfcc322a3e..000000000000 --- a/dev-python/sqlglot/sqlglot-23.15.9.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2023-2024 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..13} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -inherit cargo distutils-r1 pypi optfeature - -DESCRIPTION="An easily customizable SQL parser and transpiler" -HOMEPAGE=" - https://sqlglot.com/ - https://github.com/tobymao/sqlglot/ - https://pypi.org/project/sqlglot/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || die - distutils-r1_python_compile - cd - >/dev/null || die - fi -} - -python_test() { - local EPYTEST_IGNORE=( - # Tests require pyspark or duckdb which aren't in the tree. - # Pandas would be a requirement normally, but it gets ignored by proxy. - "tests/dataframe/integration/test_dataframe.py" - "tests/dataframe/integration/test_grouped_data.py" - "tests/dataframe/integration/test_session.py" - "tests/test_executor.py" - "tests/test_optimizer.py" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-23.17.0.ebuild b/dev-python/sqlglot/sqlglot-23.17.0.ebuild new file mode 100644 index 000000000000..3ecfcc322a3e --- /dev/null +++ b/dev-python/sqlglot/sqlglot-23.17.0.ebuild @@ -0,0 +1,121 @@ +# Copyright 2023-2024 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..13} ) + +CARGO_OPTIONAL=1 +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + cfg-if@1.0.0 + heck@0.4.1 + indoc@2.0.4 + libc@0.2.150 + lock_api@0.4.11 + memoffset@0.9.0 + once_cell@1.19.0 + parking_lot@0.12.1 + parking_lot_core@0.9.9 + proc-macro2@1.0.70 + pyo3-build-config@0.20.0 + pyo3-ffi@0.20.0 + pyo3-macros-backend@0.20.0 + pyo3-macros@0.20.0 + pyo3@0.20.0 + quote@1.0.33 + redox_syscall@0.4.1 + scopeguard@1.2.0 + smallvec@1.11.2 + syn@2.0.41 + target-lexicon@0.12.12 + unicode-ident@1.0.12 + unindent@0.2.3 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.5 +" + +inherit cargo distutils-r1 pypi optfeature + +DESCRIPTION="An easily customizable SQL parser and transpiler" +HOMEPAGE=" + https://sqlglot.com/ + https://github.com/tobymao/sqlglot/ + https://pypi.org/project/sqlglot/ +" +SRC_URI+=" + native-extensions? ( + ${CARGO_CRATE_URIS} + ) +" + +LICENSE="MIT" +LICENSE+=" native-extensions? (" +# Dependent crate licenses +LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" +LICENSE+=" )" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+native-extensions" + +BDEPEND=" + native-extensions? ( + ${RUST_DEPEND} + dev-util/maturin[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" + +src_unpack() { + cargo_src_unpack +} + +src_prepare() { + # remove fragile timing check + sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + + if use native-extensions; then + local DISTUTILS_USE_PEP517=maturin + cd sqlglotrs || die + distutils-r1_python_compile + cd - >/dev/null || die + fi +} + +python_test() { + local EPYTEST_IGNORE=( + # Tests require pyspark or duckdb which aren't in the tree. + # Pandas would be a requirement normally, but it gets ignored by proxy. + "tests/dataframe/integration/test_dataframe.py" + "tests/dataframe/integration/test_grouped_data.py" + "tests/dataframe/integration/test_session.py" + "tests/test_executor.py" + "tests/test_optimizer.py" + ) + + # make sure not to use an earlier installed version + local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) + rm -rf sqlglotrs || die + epytest +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +} diff --git a/dev-python/tree-sitter/Manifest b/dev-python/tree-sitter/Manifest index d81937627235..17bec931f1d6 100644 --- a/dev-python/tree-sitter/Manifest +++ b/dev-python/tree-sitter/Manifest @@ -16,5 +16,5 @@ DIST tree-sitter-rust-3a56481f8d13b6874a28752502a58520b9139dc7.tar.gz 419237 BLA EBUILD tree-sitter-0.20.1-r1.ebuild 1472 BLAKE2B bfcd5ebcb8b1a1a1e799de1918da3c786e8da7e6a729f0054c1e49c0e0fdf273d58522896b54b385cea4733fefea5c01f39261de90156ef7dfd7a9503eb225a1 SHA512 2f9a69474f454d0e24e669f6bffc577ce5073cc20e8d8c3e609d048e8ef9e4eeaa6d3c8a39b3b9c066f8a67598aaf6171fb414cf20088f12d685127c515ddb5f EBUILD tree-sitter-0.21.0-r1.ebuild 1973 BLAKE2B 70a9e109defdd73ae48095eb78d71736913358882aa9598fddad0cd2fd24b51848293e968c73ae9638a7395420b3873dd377d4075ef91b1dc50e7f3285cafdc8 SHA512 0ed1bc400cfc8854c3379ad1d94d9ff4b555d4bd2fbbcbf822048e93dbd358a5a76d394d11c79dc17e964abf8e703364ea1d3c55d9af431d182aa26c35cc28ed EBUILD tree-sitter-0.21.3.ebuild 1981 BLAKE2B dc55662ac169854a85d177ac9d23007ed9c4bb52e10e8729da68991b9e7d5d70df5979b008e88052d01072f4655e0f419879b28653faee49f79b41185b3ab5ce SHA512 2a1de2831590e26cee3b053799cf32b228e33726bd0cc83d0cc619f237ac04d605f4240e382891f468818ecd8d6558b50f822ee7305417d9172cbf3f891e6c43 -EBUILD tree-sitter-0.22.3.ebuild 1318 BLAKE2B b74a80b9284b07212aea6b8ff3b6c63f3cf33b99b7649ea6d8410ad2a8639b528808e05fa8937908ab285279532a5f1ac9ccb262dceae15a6ea7e8b3f1e8e985 SHA512 0bdc87e9014c3b717ce9eabddbcbf55179112f61184ac1586c7d31e2e05c7f1d896e64ac89138eef337b3a290b574f46f448d8c144341c3ae9f9246127f942f2 +EBUILD tree-sitter-0.22.3.ebuild 1325 BLAKE2B 6a573acc5515eaee6791f311dee560a086d2ea2b5f77076d75125eb61e72a5ca04af9570ad4f3aa40f80fceeb3fbf2003308537e2a951fe5713ed08cd5781973 SHA512 dbe8f848f3127b932b68023390245cf153f6f49ef601afe16a61efbc1ace66894be97ba5f862abea33cc6832ee866a534f20b60688b107c9a894ff1cb0cc9869 MISC metadata.xml 502 BLAKE2B cad33788db5ede6c0c2ea8dd8b80da09f2f8ccac8d77a1a18d65ba639a91eb9d8a89036a52886777024c4a6dc8775993beeb6eaa790562d698123e5b5b261435 SHA512 fb56c5f39e390363c8a3c80bddff9babcf30c74b86192234153f03ba62e21f1a05b1db925e51a3f4b7876a61a606b051a5314f5475d4ba7092a3f89696a78ac3 diff --git a/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild b/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild index 2fa82de5c36b..6232908fbeb2 100644 --- a/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild +++ b/dev-python/tree-sitter/tree-sitter-0.22.3.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/py-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~s390 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~s390 ~x86" # setuptools is needed for distutils import DEPEND=">=dev-libs/tree-sitter-0.22.1:=" -- cgit v1.2.3