From 9d352bec7c48de973d3fa345f92f733fe075f19a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 3 Nov 2023 21:56:14 +0000 Subject: gentoo auto-resync : 03:11:2023 - 21:56:13 --- dev-python/poetry/Manifest | 2 + dev-python/poetry/poetry-1.7.0.ebuild | 88 +++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 dev-python/poetry/poetry-1.7.0.ebuild (limited to 'dev-python/poetry') diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest index 9976cea30fdb..8d61b4a0de55 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -1,8 +1,10 @@ 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 +DIST poetry-1.7.0.tar.gz 1482460 BLAKE2B 3bf91881bd38967a95cc5a881a74a91932488d4ad11b89c237c1c497107f3ce2ed1df7bccb01a415377082612f1905dc057c1ef680e1bf2aa5efa3b852b80417 SHA512 fc0d358d62100fcd14dec3bb13cc8162339ba4947c2118abb4ccefd788ea3e10750f92f4a51c8feb7f2d5cebf0ac670092e730518463c61bc49bd044a9a8e9c7 EBUILD poetry-1.5.1-r2.ebuild 4205 BLAKE2B c47e2786a7f7ef77a59bf2584278febabe8fdf3952a56023d716c3f8c1724055feb78f800ef0862b353ddf2db54460daf1897e6ec60a1d82209704a5858969b1 SHA512 c0f928e7e073eabd13a8abffb0713c47b517eff8987654a0770d9a6f5aed96009f4e1aea668a355f2f00d7520c9d2196724a3d550001651eb57420facb7517cc EBUILD poetry-1.6.0.ebuild 3086 BLAKE2B 8880c9480fedda0a7b79bbe86da129ef655d2292ee74ea37fbf0942cb4cb653873e3e51a37435dc5e61e97c98f697b0552c61e49d9fee2e91f715d9e370428ae SHA512 6edc0b8ed14dd3b6534b15befbec75348bda618349078a4cba63886c8d9cbb00b4a749391b1f499ef373ef96038107bf947e2378573755da42ab4490f3ff303c EBUILD poetry-1.6.1-r1.ebuild 3193 BLAKE2B 79ebdaf68abda70dac08c81412e129ad55745b7ae46bf1a8c2b59dfe2068a529afdfc360c5ad4b9cd1e460552a553a04076e43ecb4dd76e94a114c453c43c6a5 SHA512 f6c3a2347607b707d86c766a1d1604a6ae1d2265621579a2deee513cc40efabaf3aa93d66c47c4e64fdb1ad80b66c41743abe2d1bdd441a95348fae055486838 EBUILD poetry-1.6.1.ebuild 3087 BLAKE2B 821bc5a170adb4d5271836d52d5a3988ac37bd6ef0eae18399fbb2ffd1299252df09f67ea34aa63b7746926b58ca35d0dcdd4d090a3f1b8e96e285fa42d65dd7 SHA512 587c808f8b8f609777046699fb4e5f9028114db30a5414c1d3585dfaf405de6401e0591340a8ca5ee2860e2b16de5d7b1ce8d0ebb881d4c329a8eb91f9a1cffb +EBUILD poetry-1.7.0.ebuild 3266 BLAKE2B f58064bb0021b5d1616ef080090dfd8422d613260518049a2a1336e38927e633867d6f08e996eef6a550471769bc868699cdcdf6ae5fc0ab25faf6f73c857628 SHA512 236377b52df91550025c26817831cd8365b385bab5117f2dc635e4e2cc7df4b25f8e40f87b4de4757ee672f328c4d1ba7175f987b09648726dd1377ae1aa5854 MISC metadata.xml 486 BLAKE2B 7757afe2f964f49a04a600ec80af8511387c3a80105c9050755e1815cac148734f540e4da8c1da401c15a63bf5d0a8200ed6a5e1c09e5dacc7d39f5f59dd343f SHA512 541063e55b4dc5b927ef4ff6b385663bbf978d13ac6644c2537483ec42f211780cab4d881b159894dfe86519b4655c80bcfe17cdb90a2e033077b390a3842f46 diff --git a/dev-python/poetry/poetry-1.7.0.ebuild b/dev-python/poetry/poetry-1.7.0.ebuild new file mode 100644 index 000000000000..35f6dc860f18 --- /dev/null +++ b/dev-python/poetry/poetry-1.7.0.ebuild @@ -0,0 +1,88 @@ +# 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" + +# dev-python/build: 1.0 breaks backward compatibility +# https://github.com/python-poetry/poetry/issues/8434 +RDEPEND=" + >=dev-python/poetry-core-1.8.1[${PYTHON_USEDEP}] + >=dev-python/poetry-plugin-export-1.6.0[${PYTHON_USEDEP}] + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/cachecontrol-0.13.0[${PYTHON_USEDEP}] + >=dev-python/cleo-2.1.0[${PYTHON_USEDEP}] + >=dev-python/crashtest-0.4.1[${PYTHON_USEDEP}] + >=dev-python/dulwich-0.21.2[${PYTHON_USEDEP}] + >=dev-python/fastjsonschema-2.18.0[${PYTHON_USEDEP}] + >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] + >=dev-python/keyring-24.0.0[${PYTHON_USEDEP}] + >=dev-python/packaging-20.5[${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.23.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_chef.py::test_isolated_env_install_success + 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_executor.py::test_executor_should_write_pep610_url_references_for_non_wheel_files + tests/installation/test_installer.py::test_installer_with_pypi_repository + tests/installation/test_pip_installer.py::test_uninstall_git_package_nspkg_pth_cleanup + 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 -- cgit v1.2.3