dev-python/poetry-core: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-07-04 10:11:01 +02:00
parent 63cb62ccf6
commit 21a449ac9b
2 changed files with 0 additions and 69 deletions

View File

@@ -1,6 +1,4 @@
DIST poetry_core-2.3.2.tar.gz 382768 BLAKE2B 5c43d9b21664e80c4073d9a35648a835300eff7cbda4a1c161c10e22009e5e0480c467a4832d3dda3914a1f96a947a9ee9e3951ed041bd1be9f94bca7845c3a6 SHA512 804eca3433659215dda7beb9dd3733881640437d6bf6ef41fe0661a442203c392d92dc81d71e7d22c151d9920ba6e35f088fcdb02e1dfd464bdf9e2ff24d5c7e
DIST poetry_core-2.3.2.tar.gz.provenance 9892 BLAKE2B abeb5aabd1d9ad669489c65f431b6798830cc14beda1cd5ada44c14f2ef13981dd3814e8cbda1915429ad76c091cf04f0317fc851a761c27bf24c00ccb8477df SHA512 97877bb92d950dbdc0fd7bd118e95359238ce96b1dce715362ccf459882c4f2bc13af7703db1ba1b5425a0aa1b7c8955192b25cc17af929bcec3c307213040b7
DIST poetry_core-2.4.0.tar.gz 413541 BLAKE2B 0f3ca81d311a8421759c1a99189b320f3a1506b9afb788454e1ac8e44d5467bb8b4d3fb00aec90cff8d896f0d704ab199a0d176a178c964072799934a54789ac SHA512 07452eb3d5c640891be58d7d882be327ddb38e4d59499ca2100c854640c174f666e1175e8bb739a31631b5df44b04be0354b7bc59878340cdda3a30f9f2c3dfa
DIST poetry_core-2.4.0.tar.gz.provenance 9571 BLAKE2B 5dd1a32af4cc5e537e44655b3b762f90d70ebdd6db4041b06614d8ebd136ad93cffd9dee70fb39c5d8e679312e959433db7f14a06c6dfe649d9a6184e93f4529 SHA512 c5e301d8bcb86c4cd57c16c1c27cbfe2b3bd8934a01c4defe50ea61f4ca01473f82ded0517a15ded77daf282c1ce650bce1b829800f41cea5d412baa2de8dd7d
DIST poetry_core-2.4.1.tar.gz 413699 BLAKE2B a4277944756924003e715fdd09e6ae5eddd1510cd0c7282105eeef0f1f9029f2b91e1dcb79fb11bd170f2a24b699f0da34e6b3913f9df17955e16fc341657e00 SHA512 13fbaa062eafa59a3d4ef1dbc681d834bc61e1d3218e908aabc198dea26135a307bc4b34abdb1043d453b9de9755653f1dc261cbd8e508bdce8477cc6ca4ee54
DIST poetry_core-2.4.1.tar.gz.provenance 9524 BLAKE2B 975aedf84fd8e8a88f010d462613131cc1e20b2a7d4a0b99a15c58f2f7fab641b83776fb976b4f91f1f56fbf03aedc23d578eb6909f34c3f228a8033e167305c SHA512 1bd8a0bd785990c214fb51e44e1dd4020b2e799a5ac231c07316b37bcf789fda0fc87da4ca7a79bdf3cba70996ffc796da2f27da3936c010be5eed805f689998

View File

@@ -1,67 +0,0 @@
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=standalone
PYPI_VERIFY_REPO=https://github.com/python-poetry/poetry-core
PYTHON_TESTED=( pypy3_11 python3_{11..14} )
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_15 )
inherit distutils-r1 pypi
DESCRIPTION="Poetry PEP 517 Build Backend"
HOMEPAGE="
https://github.com/python-poetry/poetry-core/
https://pypi.org/project/poetry-core/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos"
IUSE="test"
RESTRICT="!test? ( test )"
# check inside vendors/pyproject.toml
# (note that some are indirect deps)
RDEPEND="
>=dev-python/fastjsonschema-2.21.2[${PYTHON_USEDEP}]
>=dev-python/lark-1.3.1[${PYTHON_USEDEP}]
>=dev-python/packaging-26.2[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
test? (
$(python_gen_cond_dep '
dev-python/build[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/tomli-w[${PYTHON_USEDEP}]
>=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}]
>=dev-python/virtualenv-20.21[${PYTHON_USEDEP}]
dev-vcs/git
' "${PYTHON_TESTED[@]}")
)
"
src_prepare() {
# remove vendoring of dependencies
rm -r src/poetry/core/_vendor || die
sed -e '/__vendor_site__/d' -i src/poetry/core/__init__.py || die
distutils-r1_src_prepare
}
python_test() {
if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then
einfo "Skipping tests on ${EPYTHON} (unported deps)"
return
fi
# Poetry expects test to be run inside a git repository, otherwise
# VCS-related logic doesn't get triggered. An empty repository
# suffices, though.
git init || die
local EPYTEST_PLUGINS=( pytest-mock )
epytest
}