From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1516021-garchives=archives.gentoo.org@lists.gentoo.org> 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 6EFAB158003 for <garchives@archives.gentoo.org>; Sat, 6 May 2023 06:59:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1DA4E094F; Sat, 6 May 2023 06:59:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 85518E094F for <gentoo-commits@lists.gentoo.org>; Sat, 6 May 2023 06:59:32 +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 CCCC63411B9 for <gentoo-commits@lists.gentoo.org>; Sat, 6 May 2023 06:59:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3AEDBA6D for <gentoo-commits@lists.gentoo.org>; Sat, 6 May 2023 06:59:28 +0000 (UTC) From: "Viorel Munteanu" <ceamac@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" <ceamac@gentoo.org> Message-ID: <1683272778.463b08187312d0deac88a7c39126b34367e30dad.ceamac@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/pdm/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/pdm/Manifest dev-python/pdm/pdm-2.5.4.ebuild X-VCS-Directories: dev-python/pdm/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 463b08187312d0deac88a7c39126b34367e30dad X-VCS-Branch: master Date: Sat, 6 May 2023 06:59:28 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 163eaa8f-bec5-455e-b5c2-996e25ea4272 X-Archives-Hash: 61dfae50f4c26196d9391561350d2db8 commit: 463b08187312d0deac88a7c39126b34367e30dad Author: Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail <DOT> com> AuthorDate: Fri May 5 06:08:31 2023 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Fri May 5 07:46:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=463b0818 dev-python/pdm: add 2.5.4 Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail.com> dev-python/pdm/Manifest | 1 + dev-python/pdm/pdm-2.5.4.ebuild | 83 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 86ab50f52..6a0453732 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,2 +1,3 @@ DIST pdm-2.4.9.tar.gz 2883026 BLAKE2B f9b481562d257f54f67d768cb40d6371f97a38880cc4f30e2a8615bdc75baf050301df97ed95c66c2553919d36cac5111b7d8c0efad362e97925fc8064a876fb SHA512 1a8952c99e408c7a37d3f3f1e3655cfbe8674e323a21501cdfe7740580ddb8b854b69c9bec46d091027fe16a310929f58e43c26d28e10a5d0f3a81c356edd1fe DIST pdm-2.5.1.tar.gz 3050818 BLAKE2B bd450e7e1cde0820180910f1ff8a021db1dbf490af3b83cdf56d81ba2082544439257ce51db9b78dd9e5d00f9c17289e4a7d844873220acd631972bd7bf0ee9c SHA512 f91aeda2eb888624e028e041592b981ceff935553623bef770af15e06f57db44c5a0aa12eab07dc6404c6374e03793ea1e82532175cb6b396962cc4b590d132d +DIST pdm-2.5.4.tar.gz 3051088 BLAKE2B 717867fe16bdb02efb41136360afe9d7bd06c1706e30014a0a6f66ee69a676461d86f0efe726d6b2002290fb45c1623e92a7614efd7d15742479187c399afc6a SHA512 0a3d1ae42d1541ce458c77ef2bce41564c000fc599ee596aec25d6153d40723595fd0fa1170d7ece6bf24055670030556582b043505d45484acc99052192c063 diff --git a/dev-python/pdm/pdm-2.5.4.ebuild b/dev-python/pdm/pdm-2.5.4.ebuild new file mode 100644 index 000000000..9b7b24b0a --- /dev/null +++ b/dev-python/pdm/pdm-2.5.4.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm +PYTHON_COMPAT=( python3_{10..11} ) + +inherit bash-completion-r1 distutils-r1 pypi + +DESCRIPTION="Modern Python package and dependency manager supporting latest PEP standards" +HOMEPAGE=" + https://github.com/pdm-project/pdm/ + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND=" + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/certifi[${PYTHON_USEDEP}] + <dev-python/urllib3-2.0.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + >=dev-python/unearth-0.9.0[${PYTHON_USEDEP}] + dev-python/findpython[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + dev-python/resolvelib[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + dev-python/cachecontrol[${PYTHON_USEDEP}] + + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/pdm-2.5.1-build-backend.patch" +) + +distutils_enable_tests pytest + +python_compile_all() { + PDM_CHECK_UPDATE=0 "${EPYTHON}" -m pdm completion bash > completion.bash || die + PDM_CHECK_UPDATE=0 "${EPYTHON}" -m pdm completion zsh > completion.zsh || die +} + +python_test() { + local EPYTEST_DESELECT=() + + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # TODO + tests/cli/test_others.py::test_build_distributions + tests/models/test_candidates.py::test_expand_project_root_in_url + ) + + epytest -m "not network" +} + +python_install_all() { + distutils-r1_python_install_all + + newbashcomp completion.bash pdm + + insinto /usr/share/zsh/site-functions + newins completion.zsh _pdm +}