diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-01-21 06:54:07 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-01-21 07:21:45 +0100 |
commit | 106c2c7d92bd315324e2ce0ab27e3bd2f0ea45e0 (patch) | |
tree | c7078483b1226830dead66f95e1896f53088edd6 /dev-python/pdm | |
parent | package.mask: Remove obsolete pypy3 mask (diff) | |
download | gentoo-106c2c7d92bd315324e2ce0ab27e3bd2f0ea45e0.tar.gz gentoo-106c2c7d92bd315324e2ce0ab27e3bd2f0ea45e0.tar.bz2 gentoo-106c2c7d92bd315324e2ce0ab27e3bd2f0ea45e0.zip |
dev-python/pdm: Bump to 2.12.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pdm')
-rw-r--r-- | dev-python/pdm/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pdm/pdm-2.12.2.ebuild | 81 |
2 files changed, 82 insertions, 0 deletions
diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index d759fb93663a..537b17992e5f 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,3 +1,4 @@ DIST pdm-2.11.1.tar.gz 2595425 BLAKE2B cebaf5a86045a9826a8d6a77985a064fe3e05af403818a4629f7a978a58a4fd07e4d12ba4a69542cd4cf2a090d28a826ebadf0d703543b0551f49b61039d6d38 SHA512 e62bd64b1b302bffe0f7f18a68244b108a10969108ce98df028bd56662b336db8bf019fb1d516cc1dc579b838c674ef8601b8f7056e8547a89c5d3311cd037d9 DIST pdm-2.11.2.tar.gz 2595716 BLAKE2B 10d1c78160f45099cdbbac6f6ef402b4c9f892e229fe56e54f164b4d7c3317cc8808639b97990e9fefda879d693cba32b48fc7b4c787704e7893c0844351227f SHA512 f27c1b5704469cc846b21a090f2098dacd486b833093af661644717a6dd6cdc627b086027b1c71037d5f3b179e72eac6dde3a98320eaff4f033ae9c96b37ab2c DIST pdm-2.12.1.tar.gz 2598220 BLAKE2B 3aa7ea827b4f38398c8e20ea06d887add3c87c5df26acf627580278eb87ddf508fe7eb03a83ea726541f1233168eb7975dc03715673dffb8d9f30d2843765c6f SHA512 2837f96de13e4d91f0cfe1b632c1fa08d27ce44230c43933e2cf2af2f4b9f3986719104ebc8e3f250f6a005e2a97428d580af0626b55b1e6c2f8f72c14ef67cf +DIST pdm-2.12.2.tar.gz 2598826 BLAKE2B ea3d8dad2593cecfffe070f31998498b3559869bb66513816eee9fb01b4f42f24d33b85380ee95513eff56138a867ed1b80d0e05a32c52d9b8b22d15aad0d8fa SHA512 a0e3332288891f8705f8b4a6b1a08a9784d1e495c938d87294e20ebe3bf62e9802594e1090651742052c1790a6d0b2e498d6b47d0e6743afe37a9054ad8cdb60 diff --git a/dev-python/pdm/pdm-2.12.2.ebuild b/dev-python/pdm/pdm-2.12.2.ebuild new file mode 100644 index 000000000000..170c13d740d0 --- /dev/null +++ b/dev-python/pdm/pdm-2.12.2.ebuild @@ -0,0 +1,81 @@ +# 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-1.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-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 +} |