commit:     116b02a3a20337982c732ef01f0ffcb7c5039593
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 15 02:08:21 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 15 20:21:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=116b02a3

dev-python/poetry: Bump to 2.2.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/poetry/Manifest            |  1 +
 dev-python/poetry/poetry-2.2.0.ebuild | 86 +++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)

diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest
index 624c88466fa3..c920afdef349 100644
--- a/dev-python/poetry/Manifest
+++ b/dev-python/poetry/Manifest
@@ -1 +1,2 @@
 DIST poetry-2.1.3.tar.gz 3435640 BLAKE2B 
cb4f9cd8613d5ef77b51a6431efdc9b2e32b296cd62353dcbe12d1fa4b98d3cdf04fc15eeecaddc41ae9074b131e4148193c11136c7e8956a5d26f5573800a0f
 SHA512 
15c0bec8bf7922f277ec3e6f5f4aeca50488af6eb632d292a6140b351a28dad522d218f9abc70b3da80bf6db42f63947c9967edfb4dd29f0cf85d005171e6ee3
+DIST poetry-2.2.0.tar.gz 3441561 BLAKE2B 
d201cc5643dced3a89e6505ee1ec09524e5277cfc9f2697deeabff90484c563d9c43e0ef199cfaca081630419ab94ea5229b1127fb715867e6970b315e8c15ff
 SHA512 
8677519a673534bebcea1f7d8894e4422e8f27d7cc29aa1361be2c15e8730c3b149c6086a475fefc11eb02e5268e3c2476a8acda92f090eac30737d9eac8e672

diff --git a/dev-python/poetry/poetry-2.2.0.ebuild 
b/dev-python/poetry/poetry-2.2.0.ebuild
new file mode 100644
index 000000000000..ad7f025edf98
--- /dev/null
+++ b/dev-python/poetry/poetry-2.2.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A frontend for poetry - a python dependency management and 
packaging tool"
+HOMEPAGE="
+       https://python-poetry.org/
+       https://github.com/python-poetry/poetry
+       https://pypi.org/project/poetry/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+       >=dev-python/poetry-core-${PV}[${PYTHON_USEDEP}]
+       >=dev-python/poetry-plugin-export-1.6.0[${PYTHON_USEDEP}]
+       >=dev-python/build-1.2.1[${PYTHON_USEDEP}]
+       >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}]
+       >=dev-python/cleo-2.1.0[${PYTHON_USEDEP}]
+       >=dev-python/dulwich-0.24.0[${PYTHON_USEDEP}]
+       >=dev-python/fastjsonschema-2.18.0[${PYTHON_USEDEP}]
+       >=dev-python/findpython-0.6.2[${PYTHON_USEDEP}]
+       >=dev-python/installer-0.7.0[${PYTHON_USEDEP}]
+       >=dev-python/keyring-25.1.0[${PYTHON_USEDEP}]
+       >=dev-python/packaging-24.2[${PYTHON_USEDEP}]
+       >=dev-python/pbs-installer-2025.01.06[${PYTHON_USEDEP}]
+       >=dev-python/pkginfo-1.12[${PYTHON_USEDEP}]
+       >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}]
+       >=dev-python/requests-2.26[${PYTHON_USEDEP}]
+       >=dev-python/requests-toolbelt-1.0.0[${PYTHON_USEDEP}]
+       >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}]
+       >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}]
+       >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}]
+       >=dev-python/virtualenv-20.26.6[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+       test? (
+               >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}]
+               >=dev-python/httpretty-1.1[${PYTHON_USEDEP}]
+               >=dev-python/jaraco-classes-3.3.1[${PYTHON_USEDEP}]
+               >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}]
+               dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=( pytest-mock )
+EPYTEST_RERUNS=5
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # Internal test for lockfile being up-to-date
+       # Meaningless, also sdist does not include lockfile
+       tests/installation/test_installer.py::test_not_fresh_lock
+
+       # broken if poetry-plugin-export is installed
+       
'tests/console/test_application_command_not_found.py::test_application_command_not_found_messages[x-None]'
+
+       # TODO
+       
tests/console/commands/env/test_activate.py::test_no_additional_output_in_verbose_mode
+       tests/installation/test_executor.py::test_executor_known_hashes
+       
tests/puzzle/test_provider.py::test_search_for_directory_setup_read_setup_with_no_dependencies
+       
tests/utils/env/test_env_manager.py::test_create_venv_finds_no_python_executable
+       tests/utils/test_python_manager.py::test_python_get_preferred_default
+       
'tests/inspection/test_info.py::test_info_setup_missing_mandatory_should_trigger_pep517[name]'
+)
+
+src_prepare() {
+       # unpin
+       sed -e 's:,<[0-9.]*::' -e 's:==\([0-9]\):>=\1:' -i pyproject.toml || die
+
+       distutils-r1_src_prepare
+}
+
+python_test() {
+       epytest -m "not network"
+}

Reply via email to