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 749BC15806E for ; Sat, 3 Jun 2023 06:48:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 848C5E0893; Sat, 3 Jun 2023 06:48:33 +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 65268E0893 for ; Sat, 3 Jun 2023 06:48:33 +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 731BA3413BB for ; Sat, 3 Jun 2023 06:48:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B219AA8B for ; Sat, 3 Jun 2023 06:48: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: <1685774890.2d58c1dcec12c847c3d249d73dcb2f031a47ad07.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pdm-backend/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pdm-backend/Manifest dev-python/pdm-backend/metadata.xml dev-python/pdm-backend/pdm-backend-2.0.7.ebuild X-VCS-Directories: dev-python/pdm-backend/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2d58c1dcec12c847c3d249d73dcb2f031a47ad07 X-VCS-Branch: master Date: Sat, 3 Jun 2023 06:48: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: 2cdf71d6-41f8-4e09-9a85-1ec96b3880ac X-Archives-Hash: 13c8d28044dd41ea613d7ca330612625 commit: 2d58c1dcec12c847c3d249d73dcb2f031a47ad07 Author: Michał Górny gentoo org> AuthorDate: Fri Jun 2 08:49:47 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jun 3 06:48:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d58c1dc dev-python/pdm-backend: Rename of dev-python/pdm-pep517, 2.0.7 Signed-off-by: Michał Górny gentoo.org> dev-python/pdm-backend/Manifest | 1 + dev-python/pdm-backend/metadata.xml | 13 +++++ dev-python/pdm-backend/pdm-backend-2.0.7.ebuild | 65 +++++++++++++++++++++++++ 3 files changed, 79 insertions(+) diff --git a/dev-python/pdm-backend/Manifest b/dev-python/pdm-backend/Manifest new file mode 100644 index 000000000000..185672dc645f --- /dev/null +++ b/dev-python/pdm-backend/Manifest @@ -0,0 +1 @@ +DIST pdm-backend-2.0.7.gh.tar.gz 131573 BLAKE2B 69750ccada51e09886d39b37fe00f842ccc70d1b7fd301ce2a72601f72e6d8d01ed0eef43ce7d9a6d9094e2c547965e91013dec7e7692479a5c9e2d0b7025c83 SHA512 7bfbdd52af739d6b6c85468888b44144fbc4fe542e758b62a09a85d7a503a980a82ef3450ac5c234005bbd7dd399ab7ddbe9b7948820b7ba7e8558c5b0fd9581 diff --git a/dev-python/pdm-backend/metadata.xml b/dev-python/pdm-backend/metadata.xml new file mode 100644 index 000000000000..b27d716c3e92 --- /dev/null +++ b/dev-python/pdm-backend/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + + pdm-backend + pdm-project/pdm-backend + + diff --git a/dev-python/pdm-backend/pdm-backend-2.0.7.ebuild b/dev-python/pdm-backend/pdm-backend-2.0.7.ebuild new file mode 100644 index 000000000000..403a89a30845 --- /dev/null +++ b/dev-python/pdm-backend/pdm-backend-2.0.7.ebuild @@ -0,0 +1,65 @@ +# 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_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" +HOMEPAGE=" + https://pypi.org/project/pdm-backend/ + https://github.com/pdm-project/pdm-backend/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-22.0[${PYTHON_USEDEP}] + >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + + $(python_gen_cond_dep ' + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + ' 3.{9..10}) + $(python_gen_cond_dep ' + >=dev-python/importlib-metadata-3.6[${PYTHON_USEDEP}] + ' 3.9) +" +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 src/pdm/backend/_vendor || die + find -name '*.py' -exec sed \ + -e 's:from pdm\.backend\._vendor\.:from :' \ + -e 's:from pdm\.backend\._vendor ::' \ + -e 's:import pdm\.backend\._vendor\.:import :' \ + -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 +}