diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-11 18:17:16 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-06-11 18:17:16 +0000 |
| commit | 85fe6227619af56367e1670799de1bf809229043 (patch) | |
| tree | 88c49e86fa0f978c1a70d307adf04fba938c88aa /dev-python | |
| parent | cff06d5565935c9a723651c848f62424dd2f7eea (diff) | |
| download | baldeagleos-repo-85fe6227619af56367e1670799de1bf809229043.tar.gz baldeagleos-repo-85fe6227619af56367e1670799de1bf809229043.tar.xz baldeagleos-repo-85fe6227619af56367e1670799de1bf809229043.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
26 files changed, 381 insertions, 851 deletions
diff --git a/dev-python/GitPython/GitPython-3.1.43.ebuild b/dev-python/GitPython/GitPython-3.1.43.ebuild index 05a3295b57b7..9d340bef3b54 100644 --- a/dev-python/GitPython/GitPython-3.1.43.ebuild +++ b/dev-python/GitPython/GitPython-3.1.43.ebuild @@ -39,6 +39,9 @@ BDEPEND=" test? ( >=dev-python/ddt-1.1.1[${PYTHON_USEDEP}] dev-python/pytest-mock[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/typing-extensions[${PYTHON_USEDEP}] + ' 3.10) ) " diff --git a/dev-python/autopage/autopage-0.5.2.ebuild b/dev-python/autopage/autopage-0.5.2.ebuild index b254cd8460ce..a0fbc4549ac2 100644 --- a/dev-python/autopage/autopage-0.5.2.ebuild +++ b/dev-python/autopage/autopage-0.5.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/cmd2/cmd2-2.4.3.ebuild b/dev-python/cmd2/cmd2-2.4.3.ebuild index 70b7316786cf..57ab67fc2c47 100644 --- a/dev-python/cmd2/cmd2-2.4.3.ebuild +++ b/dev-python/cmd2/cmd2-2.4.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/dask-expr/Manifest b/dev-python/dask-expr/Manifest deleted file mode 100644 index 2452d0574a05..000000000000 --- a/dev-python/dask-expr/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST dask-expr-1.0.11.gh.tar.gz 242347 BLAKE2B 38b35e4558fc589738d98b59bcaa378351dfa11110c3a7fd7919b709db1ef5b5b97fd431aa2fc07ba69ec41012c91667873615fea763efee2d8f07b99eee910e SHA512 ddd4cd3582dc843a3dd7702f5a457df44d97b7b3828629d702c209f4b84fc1410b059029f82dc167ebefbf3de148aed7f54ecc69241c179c86bf66f9bbd19f41 -DIST dask-expr-1.0.12.gh.tar.gz 253354 BLAKE2B 566075d45e3d3b0521cf686b231c0e17f8f445ac95f81f8f32a10c2627cba62e243c02b4ef8d8eed88771df6ce52f88923c5d6fad94a84f950c33ffc70ea550f SHA512 423797cb6142761bbaf56970f474ecf96b047675c8032f2e73427158320f3dd012e861cd9c86560c75c51b9e1350b1081ad5bd0943cde6522b3c21a799fee307 -DIST dask-expr-1.0.13.gh.tar.gz 253953 BLAKE2B a3261ef74ec46835b29223a81ac7a69ae36599af4a092ac87876ca64fc764c1b042b14d39bf624132b2d3623979263ed382f6938793d0d7e1ded7679d0971b32 SHA512 5d32b7cdcc9004ca761ab1c16cccab8bd9487f528d0b09a98b5557ff24bf0a4e432e86b1fcb4e4a1ca78b38848ca85a0b6760a904917141cb73d8d27d80a876c -DIST dask-expr-1.0.14.gh.tar.gz 254618 BLAKE2B 02da3b565eb484f7caf75c871d032dfdb747fa683fa163178ab4322d7fd23d025a97cb15c21a8b3d5ba4c8fb8721dc552f533c3155f198c6e825a837c43ace9c SHA512 430bbb0fbf06ffb4d22a8753b9850da063cc834337b431ded2c9dc32272d4984b9e2b058ce33a4a76d1c8b42410c5a9315344768cf303bc3aea21cc6ca698f30 -DIST dask-expr-1.0.5.gh.tar.gz 239409 BLAKE2B 0fae8540f40cbdead823f300a68df239bb838bb88d34c000b6d29ee451609a4cfc4422586cbf1fc3d2e10b50ffab6e8a2414c14c00635d929d92d7e40b1abff5 SHA512 3baf9e1aca78bc8158bce0e6beb323e511fa5717578bb10bfce27ec38a8f7b6e25b21edeffc669a1ac5f4a987dbbd948bba0f4375f3c5b329d13fab7093708ea diff --git a/dev-python/dask-expr/dask-expr-1.0.11.ebuild b/dev-python/dask-expr/dask-expr-1.0.11.ebuild deleted file mode 100644 index d25b632845ca..000000000000 --- a/dev-python/dask-expr/dask-expr-1.0.11.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="High Level Expressions for Dask" -HOMEPAGE=" - https://github.com/dask/dask-expr/ - https://pypi.org/project/dask-expr/ -" -# pypi tarball removes tests, as of 1.0.1 -SRC_URI=" - https://github.com/dask/dask-expr/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/dask-2024.4.1[${PYTHON_USEDEP}] - >=dev-python/pyarrow-7.0.0[${PYTHON_USEDEP}] - >=dev-python/pandas-2[${PYTHON_USEDEP}] -" -# TODO: make pandas depend on pyarrow unconditionally? we're having -# transitive deps here. -BDEPEND=" - dev-python/versioneer[${PYTHON_USEDEP}] - test? ( - dev-libs/apache-arrow[parquet,snappy] - dev-python/pyarrow[parquet,${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin - sed -i -e '/dask/s:==:>=:' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # requires distributed - 'dask_expr/tests/test_shuffle.py::test_respect_context_shuffle[shuffle]' - ) - local EPYTEST_IGNORE=( - # requires distributed - dask_expr/io/tests/test_parquet.py - dask_expr/tests/test_diagnostics.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/dask-expr/dask-expr-1.0.12.ebuild b/dev-python/dask-expr/dask-expr-1.0.12.ebuild deleted file mode 100644 index bca25c79d026..000000000000 --- a/dev-python/dask-expr/dask-expr-1.0.12.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="High Level Expressions for Dask" -HOMEPAGE=" - https://github.com/dask/dask-expr/ - https://pypi.org/project/dask-expr/ -" -# pypi tarball removes tests, as of 1.0.1 -SRC_URI=" - https://github.com/dask/dask-expr/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/dask-2024.4.2[${PYTHON_USEDEP}] - >=dev-python/pyarrow-7.0.0[${PYTHON_USEDEP}] - >=dev-python/pandas-2[${PYTHON_USEDEP}] -" -# TODO: make pandas depend on pyarrow unconditionally? we're having -# transitive deps here. -BDEPEND=" - dev-python/versioneer[${PYTHON_USEDEP}] - test? ( - dev-libs/apache-arrow[parquet,snappy] - dev-python/pyarrow[parquet,${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin - sed -i -e '/dask/s:==:>=:' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # requires distributed - 'dask_expr/tests/test_shuffle.py::test_respect_context_shuffle[shuffle]' - ) - local EPYTEST_IGNORE=( - # requires distributed - dask_expr/io/tests/test_parquet.py - dask_expr/tests/test_diagnostics.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/dask-expr/dask-expr-1.0.13.ebuild b/dev-python/dask-expr/dask-expr-1.0.13.ebuild deleted file mode 100644 index 1c0c21cf70ab..000000000000 --- a/dev-python/dask-expr/dask-expr-1.0.13.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="High Level Expressions for Dask" -HOMEPAGE=" - https://github.com/dask/dask-expr/ - https://pypi.org/project/dask-expr/ -" -# pypi tarball removes tests, as of 1.0.1 -SRC_URI=" - https://github.com/dask/dask-expr/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/dask-2024.4.2[${PYTHON_USEDEP}] - >=dev-python/pyarrow-7.0.0[${PYTHON_USEDEP}] - >=dev-python/pandas-2[${PYTHON_USEDEP}] -" -# TODO: make pandas depend on pyarrow unconditionally? we're having -# transitive deps here. -BDEPEND=" - dev-python/versioneer[${PYTHON_USEDEP}] - test? ( - dev-libs/apache-arrow[parquet,snappy] - dev-python/pyarrow[parquet,${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin - sed -i -e '/dask/s:==:>=:' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # requires distributed - 'dask_expr/tests/test_shuffle.py::test_respect_context_shuffle[shuffle]' - # TODO - dask_expr/tests/test_groupby.py::test_groupby_index_array - ) - local EPYTEST_IGNORE=( - # requires distributed - dask_expr/io/tests/test_parquet.py - dask_expr/tests/test_diagnostics.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/dask-expr/dask-expr-1.0.14.ebuild b/dev-python/dask-expr/dask-expr-1.0.14.ebuild deleted file mode 100644 index 1c0c21cf70ab..000000000000 --- a/dev-python/dask-expr/dask-expr-1.0.14.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="High Level Expressions for Dask" -HOMEPAGE=" - https://github.com/dask/dask-expr/ - https://pypi.org/project/dask-expr/ -" -# pypi tarball removes tests, as of 1.0.1 -SRC_URI=" - https://github.com/dask/dask-expr/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/dask-2024.4.2[${PYTHON_USEDEP}] - >=dev-python/pyarrow-7.0.0[${PYTHON_USEDEP}] - >=dev-python/pandas-2[${PYTHON_USEDEP}] -" -# TODO: make pandas depend on pyarrow unconditionally? we're having -# transitive deps here. -BDEPEND=" - dev-python/versioneer[${PYTHON_USEDEP}] - test? ( - dev-libs/apache-arrow[parquet,snappy] - dev-python/pyarrow[parquet,${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin - sed -i -e '/dask/s:==:>=:' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # requires distributed - 'dask_expr/tests/test_shuffle.py::test_respect_context_shuffle[shuffle]' - # TODO - dask_expr/tests/test_groupby.py::test_groupby_index_array - ) - local EPYTEST_IGNORE=( - # requires distributed - dask_expr/io/tests/test_parquet.py - dask_expr/tests/test_diagnostics.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/dask-expr/dask-expr-1.0.5.ebuild b/dev-python/dask-expr/dask-expr-1.0.5.ebuild deleted file mode 100644 index 8cd1b31cfd84..000000000000 --- a/dev-python/dask-expr/dask-expr-1.0.5.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="High Level Expressions for Dask" -HOMEPAGE=" - https://github.com/dask/dask-expr/ - https://pypi.org/project/dask-expr/ -" -# pypi tarball removes tests, as of 1.0.1 -SRC_URI=" - https://github.com/dask/dask-expr/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/dask-2024.3.1[${PYTHON_USEDEP}] - >=dev-python/pyarrow-7.0.0[${PYTHON_USEDEP}] - >=dev-python/pandas-2[${PYTHON_USEDEP}] -" -# TODO: make pandas depend on pyarrow unconditionally? we're having -# transitive deps here. -BDEPEND=" - dev-python/versioneer[${PYTHON_USEDEP}] - test? ( - dev-libs/apache-arrow[parquet,snappy] - dev-python/pyarrow[parquet,${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # unpin - sed -i -e '/dask/s:==:>=:' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # requires distributed - 'dask_expr/tests/test_shuffle.py::test_respect_context_shuffle[shuffle]' - ) - local EPYTEST_IGNORE=( - # requires distributed - dask_expr/io/tests/test_parquet.py - dask_expr/tests/test_diagnostics.py - ) - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/dask-expr/metadata.xml b/dev-python/dask-expr/metadata.xml deleted file mode 100644 index a0d4c5913ba0..000000000000 --- a/dev-python/dask-expr/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - </maintainer> - - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/dask/Manifest b/dev-python/dask/Manifest deleted file mode 100644 index 0370fa1f55b9..000000000000 --- a/dev-python/dask/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST dask-2024.2.0.gh.tar.gz 9335533 BLAKE2B c23bf3da4624b187f30cf0ca5fe885a705e8e4be9b9d919ff491399d1029d43c4343159acf9bd6a61611af7ecacd8c00bd1cb199176b742ad3c556e2a5da65c9 SHA512 8a0b5c17aa34b309aed370852ddfb25cde220de87fe9c1afd8d88f7a4abad9f4523c90424f8a5cc1d7186850f35071ee10e7a33396ca2c4c4be975783cc5fe2e -DIST dask-2024.2.1.gh.tar.gz 9341330 BLAKE2B f5d02fd7389711c5d7b048e541c28af87a8425931277ce035163c16699d7275b802afc90c71256ac268f67390afc9dd4a393df2ddeedac6e378bf787edf43e41 SHA512 3863ec9126ba9fa0cf067a62d3d763d7cf52c6e49cdbfc258336b4536922c46f23443ff8aa4eb49176a38d2a70e03e2d5ca8a2c4b96c98d474654eec4e44c9c5 -DIST dask-2024.3.1.gh.tar.gz 9342821 BLAKE2B 2d85be59caa48005b1951d56c4af5991bc378932cac34fc9fcfdd4a55027cacf60738af11eab87d13f764b90d7cba74ba239e10949a8231d0e08d4e5a2eaf936 SHA512 465a489cdfd59eb7b20a4736549a0cee9bedb5b864339b1040c5490c70a4a7486a83bdf4d951a1ea15529685838dcdc4d2554b03ebd9b8227cce0d270e80a7cd -DIST dask-2024.4.1.gh.tar.gz 9345547 BLAKE2B 5ac11e23e10985eb9641734d016b84600a67b4d30dfe999f1c7b6c4bb279ba622adf58262721b4c37701a265c02e22d989e94031a1d0b53435d1ecef054704d5 SHA512 683f548da4f0004181b912c1672d6bbefc33f7ab4f3fecee6634c13691ea718560cbaed6391e2380ae776ee1db850fc90bcc8feeea34dc85dd87332cff484726 -DIST dask-2024.4.2.gh.tar.gz 9364544 BLAKE2B b058b6219c5abde7fd91641e962bc4b13a8533a9f8be53f779b196f81f5c2f7bd5f8fcbbb383d6c05b5f5e4b4b0a0dae105f00fe237d2cc7d990ef5607c18695 SHA512 1562cc3ad55973e14526d07d965aff0a41b0521a212070f4dc191bb9c4c48a4ea03c1c196b288b91ee1e917ec91faa1cab227476bbf619aa9cc7beae4bb60042 diff --git a/dev-python/dask/dask-2024.2.0.ebuild b/dev-python/dask/dask-2024.2.0.ebuild deleted file mode 100644 index 670d7b244bc8..000000000000 --- a/dev-python/dask/dask-2024.2.0.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" -HOMEPAGE=" - https://www.dask.org/ - https://github.com/dask/dask/ - https://pypi.org/project/dask/ -" -SRC_URI=" - https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/click-8.1[${PYTHON_USEDEP}] - >=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}] - >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21[${PYTHON_USEDEP}] - >=dev-python/pandas-1.3[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/partd-1.2.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - >=dev-python/toolz-0.10.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/toolz[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - dev-python/moto[${PYTHON_USEDEP}] - dev-python/numexpr[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # fails with sqlalchemy-2.0, even though we don't use it x_x - sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die - sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # more tests relying on -Werror - "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" - dask/array/tests/test_random.py::test_RandomState_only_funcs - dask/dataframe/tests/test_dataframe.py::test_view - dask/dataframe/tests/test_shuffle.py::test_npartitions_auto_raises_deprecation_warning - # TODO - dask/array/tests/test_reductions.py::test_mean_func_does_not_warn - dask/tests/test_config.py::test__get_paths - dask/array/tests/test_linalg.py::test_solve_assume_a - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" - dask/array/tests/test_image.py::test_preprocess - dask/tests/test_system.py::test_cpu_count_cgroups_v2 - # require sqlalchemy<2.0 - dask/dataframe/io/tests/test_sql.py - # crashes - dask/tests/test_base.py::test_tokenize_object_with_recursion_error - # regression with new pandas (?) - dask/dataframe/tests/test_multi.py::test_concat5 - ) - - if ! has_version -b "dev-python/pyarrow[parquet,${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # fails if pyarrow is installed without USE=parquet - # (optional dep, skipped if it's not installed at all) - dask/dataframe/io/tests/test_parquet.py::test_pyarrow_filter_divisions - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pytest_rerunfailures -m "not network" -} diff --git a/dev-python/dask/dask-2024.2.1.ebuild b/dev-python/dask/dask-2024.2.1.ebuild deleted file mode 100644 index 1db872a98f0a..000000000000 --- a/dev-python/dask/dask-2024.2.1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" -HOMEPAGE=" - https://www.dask.org/ - https://github.com/dask/dask/ - https://pypi.org/project/dask/ -" -SRC_URI=" - https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/click-8.1[${PYTHON_USEDEP}] - >=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}] - >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21[${PYTHON_USEDEP}] - >=dev-python/pandas-1.3[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/partd-1.2.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - >=dev-python/toolz-0.10.0[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/toolz[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - dev-python/moto[${PYTHON_USEDEP}] - dev-python/numexpr[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # fails with sqlalchemy-2.0, even though we don't use it x_x - sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die - sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # more tests relying on -Werror - "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" - dask/array/tests/test_random.py::test_RandomState_only_funcs - dask/dataframe/tests/test_dataframe.py::test_view - dask/dataframe/tests/test_shuffle.py::test_npartitions_auto_raises_deprecation_warning - # TODO - dask/array/tests/test_reductions.py::test_mean_func_does_not_warn - dask/tests/test_config.py::test__get_paths - dask/array/tests/test_linalg.py::test_solve_assume_a - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" - dask/array/tests/test_image.py::test_preprocess - dask/tests/test_system.py::test_cpu_count_cgroups_v2 - # require sqlalchemy<2.0 - dask/dataframe/io/tests/test_sql.py - # crashes - dask/tests/test_base.py::test_tokenize_object_with_recursion_error - # regression with new pandas (?) - dask/dataframe/tests/test_multi.py::test_concat5 - ) - - if ! has_version -b "dev-python/pyarrow[parquet,${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # fails if pyarrow is installed without USE=parquet - # (optional dep, skipped if it's not installed at all) - dask/dataframe/io/tests/test_parquet.py::test_pyarrow_filter_divisions - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pytest_rerunfailures -m "not network" -o xfail_strict=False -} diff --git a/dev-python/dask/dask-2024.3.1.ebuild b/dev-python/dask/dask-2024.3.1.ebuild deleted file mode 100644 index 0643525be6b4..000000000000 --- a/dev-python/dask/dask-2024.3.1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" -HOMEPAGE=" - https://www.dask.org/ - https://github.com/dask/dask/ - https://pypi.org/project/dask/ -" -SRC_URI=" - https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/click-8.1[${PYTHON_USEDEP}] - >=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21[${PYTHON_USEDEP}] - >=dev-python/pandas-1.3[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/partd-1.2.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - >=dev-python/toolz-0.10.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] - ' 3.{10..11}) -" -BDEPEND=" - dev-python/toolz[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - dev-libs/apache-arrow[parquet,snappy] - dev-python/dask-expr[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/numexpr[${PYTHON_USEDEP}] - dev-python/pyarrow[parquet,${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # fails with sqlalchemy-2.0, even though we don't use it x_x - sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die - sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # more tests relying on -Werror - "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" - dask/array/tests/test_random.py::test_RandomState_only_funcs - dask/dataframe/tests/test_dataframe.py::test_view - dask/dataframe/tests/test_shuffle.py::test_npartitions_auto_raises_deprecation_warning - # TODO - dask/array/tests/test_reductions.py::test_mean_func_does_not_warn - dask/tests/test_config.py::test__get_paths - dask/array/tests/test_linalg.py::test_solve_assume_a - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" - dask/array/tests/test_image.py::test_preprocess - dask/tests/test_system.py::test_cpu_count_cgroups_v2 - # require sqlalchemy<2.0 - dask/dataframe/io/tests/test_sql.py - # crashes - dask/tests/test_base.py::test_tokenize_object_with_recursion_error - # regression with new pandas (?) - dask/dataframe/tests/test_multi.py::test_concat5 - ) - - if ! has_version -b "dev-python/pyarrow[parquet,${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # fails if pyarrow is installed without USE=parquet - # (optional dep, skipped if it's not installed at all) - dask/dataframe/io/tests/test_parquet.py::test_pyarrow_filter_divisions - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pytest_rerunfailures -m "not network" -o xfail_strict=False -} diff --git a/dev-python/dask/dask-2024.4.1.ebuild b/dev-python/dask/dask-2024.4.1.ebuild deleted file mode 100644 index d05b52b6a329..000000000000 --- a/dev-python/dask/dask-2024.4.1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" -HOMEPAGE=" - https://www.dask.org/ - https://github.com/dask/dask/ - https://pypi.org/project/dask/ -" -SRC_URI=" - https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/click-8.1[${PYTHON_USEDEP}] - >=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21[${PYTHON_USEDEP}] - >=dev-python/pandas-1.3[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/partd-1.2.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - >=dev-python/toolz-0.10.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] - ' 3.{10..11}) -" -BDEPEND=" - dev-python/toolz[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - dev-libs/apache-arrow[parquet,snappy] - dev-python/dask-expr[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/numexpr[${PYTHON_USEDEP}] - dev-python/pyarrow[parquet,${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # fails with sqlalchemy-2.0, even though we don't use it x_x - sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die - sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # more tests relying on -Werror - "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" - dask/array/tests/test_random.py::test_RandomState_only_funcs - dask/dataframe/tests/test_dataframe.py::test_view - dask/dataframe/tests/test_shuffle.py::test_npartitions_auto_raises_deprecation_warning - # TODO - dask/array/tests/test_reductions.py::test_mean_func_does_not_warn - dask/tests/test_config.py::test__get_paths - dask/array/tests/test_linalg.py::test_solve_assume_a - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" - dask/array/tests/test_image.py::test_preprocess - dask/tests/test_system.py::test_cpu_count_cgroups_v2 - dask/dataframe/tests/test_dataframe.py::test_attribute_assignment - # require sqlalchemy<2.0 - dask/dataframe/io/tests/test_sql.py - # crashes - dask/tests/test_base.py::test_tokenize_object_with_recursion_error - # regression with new pandas (?) - dask/dataframe/tests/test_multi.py::test_concat5 - ) - - if ! has_version -b "dev-python/pyarrow[parquet,${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # fails if pyarrow is installed without USE=parquet - # (optional dep, skipped if it's not installed at all) - dask/dataframe/io/tests/test_parquet.py::test_pyarrow_filter_divisions - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pytest_rerunfailures -m "not network" -o xfail_strict=False -} diff --git a/dev-python/dask/dask-2024.4.2.ebuild b/dev-python/dask/dask-2024.4.2.ebuild deleted file mode 100644 index d05b52b6a329..000000000000 --- a/dev-python/dask/dask-2024.4.2.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# 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_{8,9,10,11,12} ) - -inherit distutils-r1 - -DESCRIPTION="Task scheduling and blocked algorithms for parallel processing" -HOMEPAGE=" - https://www.dask.org/ - https://github.com/dask/dask/ - https://pypi.org/project/dask/ -" -SRC_URI=" - https://github.com/dask/dask/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" - -RDEPEND=" - >=dev-python/click-8.1[${PYTHON_USEDEP}] - >=dev-python/cloudpickle-1.5.0[${PYTHON_USEDEP}] - >=dev-python/fsspec-2021.9.0[${PYTHON_USEDEP}] - >=dev-python/numpy-1.21[${PYTHON_USEDEP}] - >=dev-python/pandas-1.3[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - >=dev-python/partd-1.2.0[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - >=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}] - >=dev-python/toolz-0.10.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/importlib-metadata-4.13.0[${PYTHON_USEDEP}] - ' 3.{10..11}) -" -BDEPEND=" - dev-python/toolz[${PYTHON_USEDEP}] - >=dev-python/versioneer-0.28[${PYTHON_USEDEP}] - test? ( - dev-libs/apache-arrow[parquet,snappy] - dev-python/dask-expr[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - dev-python/numexpr[${PYTHON_USEDEP}] - dev-python/pyarrow[parquet,${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - # fails with sqlalchemy-2.0, even though we don't use it x_x - sed -i -e '/RemovedIn20Warning/d' pyproject.toml || die - sed -i -e 's:--cov-config=pyproject.toml::' pyproject.toml || die - distutils-r1_src_prepare -} - -python_test() { - local EPYTEST_DESELECT=( - # more tests relying on -Werror - "dask/array/tests/test_overlap.py::test_map_overlap_no_depth[None]" - dask/array/tests/test_random.py::test_RandomState_only_funcs - dask/dataframe/tests/test_dataframe.py::test_view - dask/dataframe/tests/test_shuffle.py::test_npartitions_auto_raises_deprecation_warning - # TODO - dask/array/tests/test_reductions.py::test_mean_func_does_not_warn - dask/tests/test_config.py::test__get_paths - dask/array/tests/test_linalg.py::test_solve_assume_a - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>0-float-5-1-True]" - "dask/dataframe/tests/test_dataframe.py::test_repartition_npartitions[<lambda>1-float-5-1-True]" - dask/array/tests/test_image.py::test_preprocess - dask/tests/test_system.py::test_cpu_count_cgroups_v2 - dask/dataframe/tests/test_dataframe.py::test_attribute_assignment - # require sqlalchemy<2.0 - dask/dataframe/io/tests/test_sql.py - # crashes - dask/tests/test_base.py::test_tokenize_object_with_recursion_error - # regression with new pandas (?) - dask/dataframe/tests/test_multi.py::test_concat5 - ) - - if ! has_version -b "dev-python/pyarrow[parquet,${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - # fails if pyarrow is installed without USE=parquet - # (optional dep, skipped if it's not installed at all) - dask/dataframe/io/tests/test_parquet.py::test_pyarrow_filter_divisions - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p pytest_rerunfailures -m "not network" -o xfail_strict=False -} diff --git a/dev-python/dask/metadata.xml b/dev-python/dask/metadata.xml deleted file mode 100644 index 5c694cf6243f..000000000000 --- a/dev-python/dask/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>cluster@gentoo.org</email> - <name>Gentoo Cluster Project</name> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <longdescription lang="en"> - Dask is a simple task scheduling system that uses directed acyclic - graphs (DAGs) of tasks to break up large computations into many - small ones. - </longdescription> - <upstream> - <remote-id type="cpe">cpe:/a:anaconda:dask</remote-id> - </upstream> - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/gitdb/gitdb-4.0.11.ebuild b/dev-python/gitdb/gitdb-4.0.11.ebuild index be6f118c54ad..91358b15db04 100644 --- a/dev-python/gitdb/gitdb-4.0.11.ebuild +++ b/dev-python/gitdb/gitdb-4.0.11.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/parse/Manifest b/dev-python/parse/Manifest index c292fa58c18c..22996e212c3c 100644 --- a/dev-python/parse/Manifest +++ b/dev-python/parse/Manifest @@ -1 +1,2 @@ DIST parse-1.20.1.tar.gz 29122 BLAKE2B b201f0cc491c964909bf0e4f0b406922ad7dcc0f1e232785efdf434e4c7643aaff53ac46b24c893eaa262d35021fd86001541fcb5e289a10e5163e7c2626e02f SHA512 6aee92558496e9eca2fc1647131671dd88934687fbb23a04a99213b7885f4da776235cd380a7ea237b5f5b018522f92b6d702bd58858a0957a2213baca0e2a5c +DIST parse-1.20.2.tar.gz 29391 BLAKE2B 974633d8e7f910acdd1d06a85f863bee848e8203595e4cb6ce20b925dd69d058c71ac7cee7b6649663b12a78278ab626768baeef944e9fb3f1d47e7c565923cc SHA512 c609a66b0fdbc090c1b7aa2a6c681d3c4e0ea23410046bc7f6082d3f35b554d85278fd91320df11d5c0f87e66b978b4509a5b26d676e80e311988fba58fff6a4 diff --git a/dev-python/parse/parse-1.20.2.ebuild b/dev-python/parse/parse-1.20.2.ebuild new file mode 100644 index 000000000000..443c5404d23a --- /dev/null +++ b/dev-python/parse/parse-1.20.2.ebuild @@ -0,0 +1,17 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +inherit distutils-r1 pypi + +DESCRIPTION="Parse strings using a specification based on the Python format() syntax" +HOMEPAGE="https://github.com/r1chardj0n3s/parse/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/pyperclip/pyperclip-1.8.2-r1.ebuild b/dev-python/pyperclip/pyperclip-1.8.2-r1.ebuild index 2e72e84809a5..441cd00e9c52 100644 --- a/dev-python/pyperclip/pyperclip-1.8.2-r1.ebuild +++ b/dev-python/pyperclip/pyperclip-1.8.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/scikit-image/scikit-image-0.23.1.ebuild b/dev-python/scikit-image/scikit-image-0.23.1.ebuild index 6370fde1999b..653c97c7f60c 100644 --- a/dev-python/scikit-image/scikit-image-0.23.1.ebuild +++ b/dev-python/scikit-image/scikit-image-0.23.1.ebuild @@ -89,7 +89,6 @@ python_test() { pkg_postinst() { optfeature "FITS io capability" dev-python/astropy optfeature "GTK" dev-python/pygtk - optfeature "Parallel computation" dev-python/dask optfeature "io plugin providing most standard formats" dev-python/imread optfeature "plotting" dev-python/matplotlib optfeature "wavelet transformations" dev-python/pywavelets diff --git a/dev-python/scikit-image/scikit-image-0.23.2.ebuild b/dev-python/scikit-image/scikit-image-0.23.2.ebuild index 6370fde1999b..653c97c7f60c 100644 --- a/dev-python/scikit-image/scikit-image-0.23.2.ebuild +++ b/dev-python/scikit-image/scikit-image-0.23.2.ebuild @@ -89,7 +89,6 @@ python_test() { pkg_postinst() { optfeature "FITS io capability" dev-python/astropy optfeature "GTK" dev-python/pygtk - optfeature "Parallel computation" dev-python/dask optfeature "io plugin providing most standard formats" dev-python/imread optfeature "plotting" dev-python/matplotlib optfeature "wavelet transformations" dev-python/pywavelets diff --git a/dev-python/setuptools-rust/files/setuptools-rust-1.9.0-delay-non-stdlib-imports.patch b/dev-python/setuptools-rust/files/setuptools-rust-1.9.0-delay-non-stdlib-imports.patch new file mode 100644 index 000000000000..ea36c235beea --- /dev/null +++ b/dev-python/setuptools-rust/files/setuptools-rust-1.9.0-delay-non-stdlib-imports.patch @@ -0,0 +1,156 @@ +From 06d236045b6a69c94c68f255dc683219ec833c83 Mon Sep 17 00:00:00 2001 +From: Eli Schwartz <eschwartz93@gmail.com> +Date: Fri, 7 Jun 2024 00:15:26 -0400 +Subject: [PATCH 1/2] Delay imports of non-stdlib dependencies until time of + use + +This is a bit of a hack, but we do this to ensure that when setuptools +loads entrypoint based hooks it cannot (will not?) crash. + +The issue is that setuptools plugins are autoloaded, whether any given +project uses them at all or not. So if setuptools-rust is installed, +setuptools always tries to use it, and crashes if setuptools-rust is +broken. + +Of course, setuptools-rust can't be broken, because it's a wonderful +project. + +BUT. + +As it happens, third-party vendors providing setuptools-rust can get +into a situation where multiple packages need to be installed, including +setuptools-rust, and also build yet other packages from source. In the +middle of this, setuptools-rust itself could be installed but in +"half-configured" state, i.e. its dependencies were queued for +afterwards due to complicated dependency graph magic. + +In such a scenario, it should be nominally all right to have an inert +package installed, since if nothing actually uses setuptools-rust it +doesn't need to *work* yet. And in fact, it is all right, as long as +setuptools can import the autoloaded plugin hooks (and do nothing with +them). + +Bug: https://bugs.gentoo.org/933553 +Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> +--- + setuptools_rust/extension.py | 7 ++++++- + setuptools_rust/rustc_info.py | 8 ++++++-- + 2 files changed, 12 insertions(+), 3 deletions(-) + +diff --git a/setuptools_rust/extension.py b/setuptools_rust/extension.py +index 2d6e5aa..9ba1cf5 100644 +--- a/setuptools_rust/extension.py ++++ b/setuptools_rust/extension.py +@@ -1,3 +1,5 @@ ++from __future__ import annotations ++ + import json + import os + import re +@@ -14,11 +16,13 @@ from typing import ( + NewType, + Optional, + Sequence, ++ TYPE_CHECKING, + Union, + cast, + ) + +-from semantic_version import SimpleSpec ++if TYPE_CHECKING: ++ from semantic_version import SimpleSpec + + from ._utils import format_called_process_error + +@@ -185,6 +189,7 @@ class RustExtension: + if self.rust_version is None: + return None + try: ++ from semantic_version import SimpleSpec + return SimpleSpec(self.rust_version) + except ValueError: + raise SetupError( +diff --git a/setuptools_rust/rustc_info.py b/setuptools_rust/rustc_info.py +index 070be0c..d1d4748 100644 +--- a/setuptools_rust/rustc_info.py ++++ b/setuptools_rust/rustc_info.py +@@ -1,15 +1,19 @@ ++from __future__ import annotations ++ + import subprocess + from setuptools.errors import PlatformError + from functools import lru_cache +-from typing import Dict, List, NewType, Optional ++from typing import Dict, List, NewType, Optional, TYPE_CHECKING + +-from semantic_version import Version ++if TYPE_CHECKING: ++ from semantic_version import Version + + + def get_rust_version() -> Optional[Version]: # type: ignore[no-any-unimported] + try: + # first line of rustc -Vv is something like + # rustc 1.61.0 (fe5b13d68 2022-05-18) ++ from semantic_version import Version + return Version(_rust_version().split(" ")[1]) + except (subprocess.CalledProcessError, OSError): + return None +-- +2.44.2 + + +From a98e8a8d31d30c5d304e9ee7b48ba739946dea6f Mon Sep 17 00:00:00 2001 +From: Eli Schwartz <eschwartz93@gmail.com> +Date: Fri, 7 Jun 2024 00:34:59 -0400 +Subject: [PATCH 2/2] Try extra hard to pick up an existing tomli library from + setuptools + +Since setuptools-rust already depends on setuptools, it is reasonable to +assume that even if tomli isn't installed, setuptools is. And setuptools +includes a vendored copy of tomli. + +If the copy in setuptools has been devendored, it will be available via +"tomli". If it isn't devendored, it will be available via +"setuptools.extern.tomli" unless setuptools changes their vendoring +approach which has lasted many years so far. Either way, we are sure to +have a fallback tomli without explicitly depending on one, which means +one less dependency to install in the common case. + +Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> +--- + pyproject.toml | 1 - + setuptools_rust/setuptools_ext.py | 5 ++++- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index cae0536..148d85b 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -26,7 +26,6 @@ classifiers = [ + dependencies = [ + "setuptools>=62.4", + "semantic_version>=2.8.2,<3", +- 'tomli>=1.2.1; python_version<"3.11"' + ] + + [project.entry-points."distutils.commands"] +diff --git a/setuptools_rust/setuptools_ext.py b/setuptools_rust/setuptools_ext.py +index d4a0204..0ea6f58 100644 +--- a/setuptools_rust/setuptools_ext.py ++++ b/setuptools_rust/setuptools_ext.py +@@ -26,7 +26,10 @@ except ImportError: + if sys.version_info[:2] >= (3, 11): + from tomllib import load as toml_load + else: +- from tomli import load as toml_load ++ try: ++ from tomli import load as toml_load ++ except ImportError: ++ from setuptools.extern.tomli import load as toml_load + + + logger = logging.getLogger(__name__) +-- +2.44.2 + diff --git a/dev-python/setuptools-rust/setuptools-rust-1.9.0-r1.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.9.0-r1.ebuild new file mode 100644 index 000000000000..7713007c49c8 --- /dev/null +++ b/dev-python/setuptools-rust/setuptools-rust-1.9.0-r1.ebuild @@ -0,0 +1,198 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CARGO_OPTIONAL=yes +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +CRATES=" + autocfg@1.1.0 + bitflags@1.3.2 + byteorder@1.4.3 + cfg-if@1.0.0 + convert_case@0.4.0 + cssparser-macros@0.6.0 + cssparser@0.27.2 + derive_more@0.99.17 + dtoa-short@0.3.3 + dtoa@0.4.8 + futf@0.1.5 + fxhash@0.2.1 + getrandom@0.1.16 + heck@0.4.1 + html5ever@0.25.1 + indoc@2.0.4 + instant@0.1.12 + itoa@0.4.8 + kuchiki@0.8.1 + lazy_static@1.4.0 + libc@0.2.121 + libc@0.2.147 + lock_api@0.4.10 + lock_api@0.4.6 + log@0.4.14 + mac@0.1.1 + markup5ever@0.10.1 + matches@0.1.9 + memoffset@0.9.0 + new_debug_unreachable@1.0.4 + nodrop@0.1.14 + once_cell@1.10.0 + once_cell@1.18.0 + parking_lot@0.11.2 + parking_lot@0.12.1 + parking_lot_core@0.8.5 + parking_lot_core@0.9.8 + phf@0.8.0 + phf_codegen@0.8.0 + phf_generator@0.8.0 + phf_macros@0.8.0 + phf_shared@0.10.0 + phf_shared@0.8.0 + portable-atomic@1.6.0 + ppv-lite86@0.2.16 + precomputed-hash@0.1.1 + proc-macro-hack@0.5.19 + proc-macro2@1.0.66 + proc-macro2@1.0.69 + pyo3-build-config@0.20.3 + pyo3-ffi@0.20.3 + pyo3-macros-backend@0.20.3 + pyo3-macros@0.20.3 + pyo3@0.20.3 + quote@1.0.32 + quote@1.0.33 + rand@0.7.3 + rand_chacha@0.2.2 + rand_core@0.5.1 + rand_hc@0.2.0 + rand_pcg@0.2.1 + redox_syscall@0.2.11 + redox_syscall@0.3.5 + rustc_version@0.4.0 + scopeguard@1.1.0 + scopeguard@1.2.0 + selectors@0.22.0 + semver@1.0.6 + serde@1.0.136 + servo_arc@0.1.1 + siphasher@0.3.10 + smallvec@1.11.0 + smallvec@1.8.0 + stable_deref_trait@1.2.0 + string_cache@0.8.3 + string_cache_codegen@0.5.1 + syn@1.0.89 + syn@2.0.32 + syn@2.0.38 + target-lexicon@0.12.11 + target-lexicon@0.12.3 + tendril@0.4.3 + thin-slice@0.1.1 + unicode-ident@1.0.11 + unicode-ident@1.0.12 + unicode-xid@0.2.2 + unindent@0.2.3 + utf-8@0.7.6 + wasi@0.9.0+wasi-snapshot-preview1 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-targets@0.48.1 + windows-targets@0.48.5 + windows_aarch64_gnullvm@0.48.0 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.48.0 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.48.0 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.48.0 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.48.0 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.48.0 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.48.0 + windows_x86_64_msvc@0.48.5 +" + +inherit distutils-r1 cargo + +DESCRIPTION="A plugin for setuptools to build Rust Python extensions" +HOMEPAGE=" + https://github.com/PyO3/setuptools-rust/ + https://pypi.org/project/setuptools-rust/ +" +SRC_URI=" + https://github.com/PyO3/setuptools-rust/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( ${CARGO_CRATE_URIS} ) +" + +# crates are used at test time only, update via pycargoebuild -L -i ... +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + virtual/rust + <dev-python/semantic-version-3[${PYTHON_USEDEP}] + >=dev-python/semantic-version-2.8.2[${PYTHON_USEDEP}] + >=dev-python/setuptools-62.4[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools-62.4[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${P}-delay-non-stdlib-imports.patch +) + +src_unpack() { + cargo_src_unpack +} + +python_test() { + local -x UNSAFE_PYO3_SKIP_VERSION_CHECK=1 + + local examples=( + html-py-ever + namespace_package + rust_with_cffi + ) + for example_dir in ${examples[@]}; do + pushd examples/${example_dir} >/dev/null || die + einfo "Running ${example_dir} test" + esetup.py build --build-lib=build/lib + + case ${example_dir} in + html-py-ever) + pushd tests >/dev/null || die + local -x PYTHONPATH=../build/lib + ${EPYTHON} run_all.py || die "Tests failed with ${EPYTHON}" + popd >/dev/null || die + ;; + *) + pushd build/lib >/dev/null || die + epytest ../../tests + popd >/dev/null || die + ;; + esac + + rm -rf build || die + popd >/dev/null || die + done +} diff --git a/dev-python/smmap/smmap-6.0.0.ebuild b/dev-python/smmap/smmap-6.0.0.ebuild index e093c6c16ac0..d27c5ec111dd 100644 --- a/dev-python/smmap/smmap-6.0.0.ebuild +++ b/dev-python/smmap/smmap-6.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ HOMEPAGE=" " LICENSE="BSD" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" distutils_enable_tests unittest |
