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 CBFDD15A7D9 for ; Thu, 23 Mar 2023 16:36:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84EFCE08A2; Thu, 23 Mar 2023 16:36:41 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E9C6BE0893 for ; Thu, 23 Mar 2023 16:36:39 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 397EF335D84 for ; Thu, 23 Mar 2023 16:36:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A4C7290A for ; Thu, 23 Mar 2023 16:36:35 +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: <1679589381.d43d8153f526c42de9a09c10ae0a665f2e1087a2.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pdm-pep517/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pdm-pep517/Manifest dev-python/pdm-pep517/pdm-pep517-1.1.3.ebuild X-VCS-Directories: dev-python/pdm-pep517/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d43d8153f526c42de9a09c10ae0a665f2e1087a2 X-VCS-Branch: master Date: Thu, 23 Mar 2023 16:36:35 +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: e09b0d36-0111-41db-a158-9333dc07e9f4 X-Archives-Hash: cfabe4246e99ca162ca2b3e1ba12ee76 commit: d43d8153f526c42de9a09c10ae0a665f2e1087a2 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 23 15:27:56 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Mar 23 16:36:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d43d8153 dev-python/pdm-pep517: Bump to 1.1.3 Signed-off-by: Michał Górny gentoo.org> dev-python/pdm-pep517/Manifest | 1 + dev-python/pdm-pep517/pdm-pep517-1.1.3.ebuild | 63 +++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest index 3ee06f10b8f3..8361ad5747de 100644 --- a/dev-python/pdm-pep517/Manifest +++ b/dev-python/pdm-pep517/Manifest @@ -1 +1,2 @@ DIST pdm-pep517-1.1.2.gh.tar.gz 231983 BLAKE2B b2225da24f52d4d2c1a903db57f000a1fb2ba8435083d956ff740d272ee2fa8f00cf001673e32800fc0437ae2d1016cac661fda24f8b5f34c83a342fd3e8c353 SHA512 8f6140492ef8323044f01887895e6664019092f964e1fae3a829bcefb3d5d9c9223ef163183899681270f95b4a3a517951b7e44629ec3f37598c04ccbb221cac +DIST pdm-pep517-1.1.3.gh.tar.gz 232038 BLAKE2B 8d7e4cbd439c8cd5fd541043da93fcee4737d47c27ce049743c0944bff66b4784b00e3650e088e1ddfabcdfd4398e5fe90f3029a8353d91cc4b11ec8625d44eb SHA512 ed29b2c5a2030ceb103eb9df3d399efa316c02fb97b2000d770591c9f1abe0adeabf1cbdb9b5863dc82a1adfb67dd6385c362963145779fbf63dd39e0ff533f0 diff --git a/dev-python/pdm-pep517/pdm-pep517-1.1.3.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.1.3.ebuild new file mode 100644 index 000000000000..0e5c54867e4a --- /dev/null +++ b/dev-python/pdm-pep517/pdm-pep517-1.1.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 + +# upstream has renamed the repo but the legacy branch is still published +# as pdm-pep517, sigh +MY_P=pdm-backend-${PV} +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" +HOMEPAGE=" + https://pypi.org/project/pdm-pep517/ + https://github.com/pdm-project/pdm-backend/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}] + dev-python/license-expression[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] + >=dev-python/tomli-2[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + dev-vcs/git + ) +" +# setuptools are used to build C extensions +RDEPEND+=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r pdm/pep517/_vendor || die + find -name '*.py' -exec sed \ + -e 's:from pdm\.pep517\._vendor\.:from :' \ + -e 's:from pdm\.pep517\._vendor ::' \ + -i {} + || die + distutils-r1_src_prepare +} + +src_test() { + git config --global user.email "test@example.com" || die + git config --global user.name "Test User" || die + distutils-r1_src_test +}