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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E10A715800A for ; Tue, 22 Aug 2023 04:12:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F3132BC038; Tue, 22 Aug 2023 04:12:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 2F3AD2BC038 for ; Tue, 22 Aug 2023 04:12:34 +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 4162E34124F for ; Tue, 22 Aug 2023 04:12:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E35B91065 for ; Tue, 22 Aug 2023 04:12:29 +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: <1692675743.b397064b11a210d6cc90796cfc38ca76b11580c6.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-1.6.1.ebuild X-VCS-Directories: dev-python/poetry/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b397064b11a210d6cc90796cfc38ca76b11580c6 X-VCS-Branch: master Date: Tue, 22 Aug 2023 04:12:29 +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: 801480e0-8c67-4eb7-86c6-d10c298f12c5 X-Archives-Hash: ebb70e23e1ba012e77e3b63a9544c78c commit: b397064b11a210d6cc90796cfc38ca76b11580c6 Author: Michał Górny gentoo org> AuthorDate: Tue Aug 22 03:42:23 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Aug 22 03:42:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b397064b dev-python/poetry: Bump to 1.6.1 Signed-off-by: Michał Górny gentoo.org> dev-python/poetry/Manifest | 1 + dev-python/poetry/poetry-1.6.1.ebuild | 85 +++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest index beb89ca51a28..3efe38bc1363 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -1,2 +1,3 @@ DIST poetry-1.5.1.tar.gz 1469755 BLAKE2B ac60d6aabe69b1e46a6fbc188579034e716a470384571a611952489d175485cf997636c9206a53e29be073582e672f8010ab5f8f13b58a12dc644279753f903e SHA512 863bc4ea43b6fc5b340f50f007c76d2c253223d6bd55ea5c1ead4bc353c3d4cd85d51372a774276e14d9fca733fac9c2f582892fec950b74f25dc188dafa7a96 DIST poetry-1.6.0.tar.gz 1475454 BLAKE2B 11bdfb5cacee0563d134919619bffeb007c13c632d8ab017521ce191a5ccaace52405ef9afa81ece1042c075b4601069deab99028a187bea73d4d6e4b505b55f SHA512 eef9a4c4d0526d3c71380c00b654852b22b7c5e86f187463977b1f798b5cb377c41983a6c21350c19f13fb1804a8190f5bd158dc5f0a298d0732812e44524063 +DIST poetry-1.6.1.tar.gz 1475487 BLAKE2B 0e49da3473203fcd24aacdf34e886bb4a6e723bc1e03ccc285c94a25f214b31c768462fef0cc24f659132dd5ce33eac71a2329fef4df7dba1c76303fd1987a77 SHA512 3d5aac641c0fa4dd16f8f7b2a55fa1795ced1803886a048167a0a2a2ac419ff1c16734458316100f54ca4e8bcf88b5aa176b0ba2bde74bee6bdd41305b078f3b diff --git a/dev-python/poetry/poetry-1.6.1.ebuild b/dev-python/poetry/poetry-1.6.1.ebuild new file mode 100644 index 000000000000..5104a42c1e2f --- /dev/null +++ b/dev-python/poetry/poetry-1.6.1.ebuild @@ -0,0 +1,85 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..11} ) + +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-1.7.0[${PYTHON_USEDEP}] + >=dev-python/poetry-plugin-export-1.5.0[${PYTHON_USEDEP}] + >=dev-python/build-0.10.0[${PYTHON_USEDEP}] + >=dev-python/cachecontrol-0.13.0[${PYTHON_USEDEP}] + >=dev-python/cleo-2.0.0[${PYTHON_USEDEP}] + >=dev-python/crashtest-0.4.1[${PYTHON_USEDEP}] + >=dev-python/dulwich-0.21.2[${PYTHON_USEDEP}] + >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-4.10.0[${PYTHON_USEDEP}] + >=dev-python/keyring-24.0.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20.4[${PYTHON_USEDEP}] + >=dev-python/pexpect-4.7.0[${PYTHON_USEDEP}] + >=dev-python/pkginfo-1.9.4[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-0.10.1[${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/urllib3-1.26.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.22.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.0[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + # unpin + sed -e 's:\^:>=:' \ + -e '/poetry-core/s:":">=:' \ + -e 's:,<[0-9.]*::' \ + -i pyproject.toml || die + + distutils-r1_src_prepare +} + +EPYTEST_DESELECT=( + # Tests require network (they run `pip install ...`) + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_directories + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_git_with_subdirectories + tests/installation/test_pip_installer.py::test_uninstall_git_package_nspkg_pth_cleanup + tests/installation/test_executor.py::test_executor_should_write_pep610_url_references_for_non_wheel_files + tests/installation/test_installer.py::test_installer_with_pypi_repository + tests/masonry/builders/test_editable_builder.py::test_builder_setup_generation_runs_with_pip_editable + + # Works with network, but otherwise: Backend 'poetry.core.masonry.api' is not available. + tests/installation/test_chef.py::test_prepare_sdist + tests/installation/test_chef.py::test_prepare_directory + tests/installation/test_chef.py::test_prepare_directory_with_extensions + tests/installation/test_chef.py::test_prepare_directory_editable +) + +distutils_enable_tests pytest