dev-python/pdm: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-02-26 15:12:17 +01:00
parent 949615dd59
commit 818743f0e9
2 changed files with 0 additions and 82 deletions

View File

@@ -1,2 +1 @@
DIST pdm-2.12.3.tar.gz 2599533 BLAKE2B 4d7687a7c98af4d6111acae4fe391d63f7bbc2c5ceedb699f9e3e11b8dfa60718b75fa1716ef0d6127b8332c091768a844877bad703bc3d34c4863ef0b307aef SHA512 de51b4ad3837c5e4e70691fb25117e62fde239fcb164c2e66808758d0e1543f756ff17ded0acec50a022aa57a0e71bdf7804982597abd071910ae557adaf9a5f
DIST pdm-2.12.4.tar.gz 2598160 BLAKE2B 9eecae679a577c9d6172a07ad633be8b840ac5d972ad0e468b368dabc716203d10c5f0c78e87b815aa30af3be37f6370bcb6623fc5d272a52b6c3e4490112455 SHA512 12cabaff90f962ac195a484ea2bafa8a5ec9debdaf90b59b81d28eee51f854b9ac6d894e22a16c5ad8b69740c5df6a6573942a82c4ea5482819e60bc903c8358

View File

@@ -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-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
}