From 6243676c91946098c06d42bc87b5eb99aac40bf0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 25 Apr 2024 23:59:45 +0100 Subject: gentoo auto-resync : 25:04:2024 - 23:59:45 --- dev-python/pdm/Manifest | 8 +-- dev-python/pdm/pdm-2.12.4.ebuild | 81 --------------------------- dev-python/pdm/pdm-2.13.3.ebuild | 115 -------------------------------------- dev-python/pdm/pdm-2.14.0.ebuild | 117 --------------------------------------- dev-python/pdm/pdm-2.15.1.ebuild | 117 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 119 insertions(+), 319 deletions(-) delete mode 100644 dev-python/pdm/pdm-2.12.4.ebuild delete mode 100644 dev-python/pdm/pdm-2.13.3.ebuild delete mode 100644 dev-python/pdm/pdm-2.14.0.ebuild create mode 100644 dev-python/pdm/pdm-2.15.1.ebuild (limited to 'dev-python/pdm') diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index f75728bcb86f..628de196753e 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,9 +1,5 @@ -DIST pdm-2.12.4.tar.gz 2598160 BLAKE2B 9eecae679a577c9d6172a07ad633be8b840ac5d972ad0e468b368dabc716203d10c5f0c78e87b815aa30af3be37f6370bcb6623fc5d272a52b6c3e4490112455 SHA512 12cabaff90f962ac195a484ea2bafa8a5ec9debdaf90b59b81d28eee51f854b9ac6d894e22a16c5ad8b69740c5df6a6573942a82c4ea5482819e60bc903c8358 -DIST pdm-2.13.3.tar.gz 2609678 BLAKE2B 58eb9fda4bc30fc37ef43b38fa140252242c22a062c4ddef49e90c0ece102cb36ea2186b02fb995a895c6eb80c0da9e602c42c15e83158b3e19fa5d0f55e8d6a SHA512 ea4b0e51d13effe8749a95237799de304047dcec8efc22a41d0985c97ff39447065a9fc84f4510b18055527dd64695bcee4129abcf34221573b2b9d39c2a3c92 -DIST pdm-2.14.0.tar.gz 2610646 BLAKE2B d0b6c6fc576315b1bcc81c2555731cc0945c0482d912dab9d26edae3bf24dc2c933afc8f9bfb72c482e40540892d1c53fc01d164578dad9245d3c54b72109849 SHA512 07f3b7840dc577d3884e1149c15c33e8618c4ab922ac7c5b69f0b32f8481c3532ca77a5a650cf33d32bdb4437610727894b55fa622b002d54144bbbf5e66483f DIST pdm-2.15.0.tar.gz 2612107 BLAKE2B 51edda53cef30b84e29cc16eafed52e682e5ee50ba48a5e28821c40ababdc0dafe9b193a916c0451b1b463708da934f3f66ddf73f59f7d6f706f3c410fac0302 SHA512 0499ce2b7d48300a379ceaacd6ff5d107006929b8ab7bd017794d5802be8e807725b187a2aba4c11131c23db2acb626d1934d9f95621fde985a133391a6acf0d -EBUILD pdm-2.12.4.ebuild 2704 BLAKE2B 5bc1fc583ed61400cb41cf923f8a2bd4118cc83980d7bd666d419c698241b4ad3762e2d97663568365ef275f2890d3c838de2007ea33b5a9232c1f996ee4a43e SHA512 2b1c4a2b619d7c0a8531f3068bbaa36e85c1f6a77639f0209cf9ef47422abf10303eb7d8a4a71001e45d877247805c30d5751115c490a8808293f5b3a9c31f28 -EBUILD pdm-2.13.3.ebuild 4861 BLAKE2B 805987c40bc80d8fd83b5f9ce0a2f4c6c746792e0d18325ec77a87d6db6147633fe76ef83617871e3b7de526d6b30a3cf7caf2002bd22bcb294532843d4fe698 SHA512 14b29f23b24f746639c235e9e25ff219e986c79733bf1e044e4814b29bdab5cac48401a0e221b60210009b19d5d510e00016e31fdc51d51c50ce6f8071f799a3 -EBUILD pdm-2.14.0.ebuild 5006 BLAKE2B c66c1b7a281b37c88b292ca642f10ec5a951f27e9fbd3bb3a502dcedf9dcc3abfe87aeb7a66396ae5b815eff2a541438ac8e5a450554cdb94023768887ff6e29 SHA512 e55e9dda4bd9c8c15c68449bc9dab28b8e1533fe5fbf783a31295bf0b394bee3d53f4969ee3a63c8e7ca0986c0134c7f8e534f5bdac058605971fdba772e3617 +DIST pdm-2.15.1.tar.gz 2612654 BLAKE2B 043f4d3ca54cd277f8c6fdd35fb423497eb7b172e085df5bffdd21d9ff5103b112a659fb61c342991211c9630333c713272ba43c65eff52c8dd6b88e4f81e563 SHA512 b6a1028767f154a5a594cd8523d31cec16df46e1c63bb73541a516877879480ffc6916316289f67cda0ae5e4740cab448b029a694743b9816604b2eb175a8722 EBUILD pdm-2.15.0.ebuild 5006 BLAKE2B c66c1b7a281b37c88b292ca642f10ec5a951f27e9fbd3bb3a502dcedf9dcc3abfe87aeb7a66396ae5b815eff2a541438ac8e5a450554cdb94023768887ff6e29 SHA512 e55e9dda4bd9c8c15c68449bc9dab28b8e1533fe5fbf783a31295bf0b394bee3d53f4969ee3a63c8e7ca0986c0134c7f8e534f5bdac058605971fdba772e3617 +EBUILD pdm-2.15.1.ebuild 5006 BLAKE2B c66c1b7a281b37c88b292ca642f10ec5a951f27e9fbd3bb3a502dcedf9dcc3abfe87aeb7a66396ae5b815eff2a541438ac8e5a450554cdb94023768887ff6e29 SHA512 e55e9dda4bd9c8c15c68449bc9dab28b8e1533fe5fbf783a31295bf0b394bee3d53f4969ee3a63c8e7ca0986c0134c7f8e534f5bdac058605971fdba772e3617 MISC metadata.xml 474 BLAKE2B c1471e124a955920e30f73dfa43a87999c30c2bb9615590f601befcc07f7d939ec68908e67c7345fca4cb0f0524d33507aeac9936fa30d449d1dde17094048d3 SHA512 a07256061dda5a8cf8b0e15205ac36651a4e5b594fdedbfe16d1d3264e1ac42847d1dc222d2857232ac5206d67feda432751695d85d0c4c7b03fd7228db8b1ab diff --git a/dev-python/pdm/pdm-2.12.4.ebuild b/dev-python/pdm/pdm-2.12.4.ebuild deleted file mode 100644 index 2275630b637f..000000000000 --- a/dev-python/pdm/pdm-2.12.4.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# 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/certifi[${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/pyproject-hooks[${PYTHON_USEDEP}] - dev-python/requests-toolbelt[${PYTHON_USEDEP}] - >=dev-python/unearth-0.12.1[${PYTHON_USEDEP}] - =dev-python/findpython-0.4.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}] - dev-python/cachecontrol[${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/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]' - # 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 - ) - [[ ${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/pdm/pdm-2.13.3.ebuild b/dev-python/pdm/pdm-2.13.3.ebuild deleted file mode 100644 index 79d9646a54be..000000000000 --- a/dev-python/pdm/pdm-2.13.3.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# 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" - -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/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]" - # 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/pdm/pdm-2.14.0.ebuild b/dev-python/pdm/pdm-2.14.0.ebuild deleted file mode 100644 index 89154bdbedff..000000000000 --- a/dev-python/pdm/pdm-2.14.0.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# 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" - -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/pdm/pdm-2.15.1.ebuild b/dev-python/pdm/pdm-2.15.1.ebuild new file mode 100644 index 000000000000..89154bdbedff --- /dev/null +++ b/dev-python/pdm/pdm-2.15.1.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" + +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 +} -- cgit v1.2.3