diff options
Diffstat (limited to 'dev-python/poetry')
| -rw-r--r-- | dev-python/poetry/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/poetry/poetry-2.4.1.ebuild | 82 |
2 files changed, 84 insertions, 0 deletions
diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest index 9176823b9cd6..e1a7d896e635 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -4,3 +4,5 @@ DIST poetry-2.3.3.tar.gz 3465814 BLAKE2B e9447c2cf5e4dc67fee721567433e0a3a5c2a1c DIST poetry-2.3.3.tar.gz.provenance 9763 BLAKE2B 90f8dafa4453e8229da3abc190c88bb21c014ebc54a49e33bb38cc1df0dac1d0eadc6f0310d88e079f629e25b5756c4cc65d5c5a386cb604e1813b0b13500e7b SHA512 699413f9722ab6cf1a9d6012f84cc86910aece4fc85c1cd831ba1c0db06363eb84bea31eb0473755596d9d8c018a1f3bd4c8870f0777d7b58ef9e32a9ce3c1c3 DIST poetry-2.3.4.tar.gz 3467967 BLAKE2B 178243c66673b2a447552c3747b0bd4474c486b4f99b104fab5ae37ccfe813a0f2c71b5a5fbaec9f3220a864406f367606d6c55581c91274eeccbabde8ddc82b SHA512 331e8225568e7080d22a4fe85520dedcf73db09aa7638d55e3af52df1104d1f8ea158b76197799ecbc792c4657bd88c87bcb759ab8225cb34aa467178371d503 DIST poetry-2.3.4.tar.gz.provenance 9293 BLAKE2B 7ea6dd2b4aaf8be261b8f8356cfb4e06626befe7140a9a3337d5a4c75ab13142f1888327c0ac6abac73387409b762576c812ea3efde4042cc625f2c77bf44147 SHA512 20dd95f18e65262c2f4e628d4becd572c0e49b8f29395220a3894b4d2f077583c21d70b2f1c383bd458460dbfb1f6fe87b508ec010ae870665ee5f3d44f658ba +DIST poetry-2.4.1.tar.gz 3282327 BLAKE2B 6b4a12d419ef0845acc862b4b4b0f7afe515cc97e303d39d0b936d200bec26ab71f0898107af89160b98ce8aaeebb30b5548c5c86f4e163f1a730bead74fc472 SHA512 71f0a959058fe8c1d2495f486c8f7771de0ec7166fc1ed1d6b7a2813e448b5ffb1c7429c5d5d1930fce33caf3f0f2f5c5a0b9fd199a53c7aa1d2ca6e9d25645b +DIST poetry-2.4.1.tar.gz.provenance 9481 BLAKE2B a90a89ba0260090b09e831b6f21a7c42b590fd43e56f81a3d75a63b64ba527dbdae2c8b7fde2eaf233dc67b9505935db8785905fcfb9426f4a15b1b74eda9b8e SHA512 f33ea62e05153d3f4d884bfb746c062411b1b999ae3bea512c79fece60b5f8e7360e4746b321454d4d8a8bc92714a628c5ae08693d2837d17bc6f3dce71f9515 diff --git a/dev-python/poetry/poetry-2.4.1.ebuild b/dev-python/poetry/poetry-2.4.1.ebuild new file mode 100644 index 000000000000..c63ac44f19e6 --- /dev/null +++ b/dev-python/poetry/poetry-2.4.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-poetry/poetry +PYTHON_COMPAT=( python3_{10..14} ) + +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-$(ver_cut 1-2)*[${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.25.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.06.10[${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/jaraco-classes-3.3.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] + dev-python/responses[${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]' + + # whitespace differences + # https://github.com/python-poetry/poetry/issues/10796 + 'tests/console/commands/python/test_python_list.py::test_list_poetry_managed[False]' +) + +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" +} |
