From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E77CF15813A for ; Sun, 12 Jan 2025 18:40:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C705E07D9; Sun, 12 Jan 2025 18:40:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 026E9E07D9 for ; Sun, 12 Jan 2025 18:40:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 30D6F340CC9 for ; Sun, 12 Jan 2025 18:40:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9DE62082 for ; Sun, 12 Jan 2025 18:39:58 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1736707193.e06cd24fc0d9f4ef8de77725ad94f4fa6c0fedbb.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/poetry/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/poetry/Manifest dev-python/poetry/poetry-2.0.1.ebuild X-VCS-Directories: dev-python/poetry/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e06cd24fc0d9f4ef8de77725ad94f4fa6c0fedbb X-VCS-Branch: master Date: Sun, 12 Jan 2025 18:39:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 84a1272c-5d0e-41b1-97e3-4c892dd8f55f X-Archives-Hash: caf443c680307a08a2d341a3c4cc71ac commit: e06cd24fc0d9f4ef8de77725ad94f4fa6c0fedbb Author: Michał Górny gentoo org> AuthorDate: Sun Jan 12 18:34:20 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jan 12 18:39:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e06cd24f dev-python/poetry: Bump to 2.0.1 Signed-off-by: Michał Górny gentoo.org> dev-python/poetry/Manifest | 1 + dev-python/poetry/poetry-2.0.1.ebuild | 81 +++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest index dcb2da62554d..90d45bb57d0b 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -1,2 +1,3 @@ DIST poetry-1.8.5.tar.gz 1519790 BLAKE2B 378cb327fe6762e8dd09d7f08fb11cd17963c382754a20fba3cc000ac07ab93672b54d967ba6d609d00e9f303461e55ec40eb9549a0b9329f50c4af363fd2343 SHA512 91c2902e5dfb8f3319de53472b1da20b1d8f570a7a3212e6e55883e364295a9e58ce5b7c59450e741f97692e897283d9f624f3d2128db017476d94fd2ea7839c DIST poetry-2.0.0.tar.gz 2844621 BLAKE2B 17c3c91c839e3a7bd5f27b7659cd4906bfc5337d64699d92614bd880f1c9351ab2dd05d8486ce7304860b1705c0f6e16526f10e2f7f71ec2ad5234807fca3327 SHA512 82ecf902dfa804ff54f4d77557d51d781f29a532699d3d901a844c9ed5906d421869d90789468d563febaa838ad6b237c0021eb4b27953233e351929ca556c1d +DIST poetry-2.0.1.tar.gz 2846041 BLAKE2B 691ffcd39799d0794f8853cdb9742d95d5dd64a62488af56f58b6ac1d8b7e734b109375d595f975e7b310bd3c36a5b5c846dd37e2ffd7bf2fe7d25bd1835cff1 SHA512 9a53fe5cbaea7c923e8af6920b545a54402d49937f31c5812dcc8939f8db44ea2557302f54e015fd7f7e96de66d8fc90596cd06a30dc53ef474a8bb54fdc2c97 diff --git a/dev-python/poetry/poetry-2.0.1.ebuild b/dev-python/poetry/poetry-2.0.1.ebuild new file mode 100644 index 000000000000..4a1a7a62b64b --- /dev/null +++ b/dev-python/poetry/poetry-2.0.1.ebuild @@ -0,0 +1,81 @@ +# 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_{10..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" + +RDEPEND=" + >=dev-python/poetry-core-2.0.1[${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.22.6[${PYTHON_USEDEP}] + >=dev-python/fastjsonschema-2.18.0[${PYTHON_USEDEP}] + >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] + >=dev-python/keyring-25.1.0[${PYTHON_USEDEP}] + >=dev-python/packaging-24.0[${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.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.10) +" + +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}] + ) +" + +src_prepare() { + # unpin + sed -e 's:,<[0-9.]*::' -e 's:==:>=:' -i pyproject.toml || die + + distutils-r1_src_prepare +} + +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 + + # TODO + 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]' +) + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network" -p pytest_mock +}