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 08A6D15800F for ; Tue, 31 Jan 2023 00:11:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16655E0BA1; Tue, 31 Jan 2023 00:11:58 +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 EB704E0BA1 for ; Tue, 31 Jan 2023 00:11:57 +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 4CD14340D36 for ; Tue, 31 Jan 2023 00:11:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1A4585B for ; Tue, 31 Jan 2023 00:11:53 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1675123903.4a7c016117bdacf946bc0857d6eb78779fd7cf97.chutzpah@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.1.ebuild X-VCS-Directories: dev-python/pdm-pep517/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 4a7c016117bdacf946bc0857d6eb78779fd7cf97 X-VCS-Branch: master Date: Tue, 31 Jan 2023 00:11:53 +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: b46db65a-13e0-4517-bbd6-b0d81bc67861 X-Archives-Hash: 8982ddf4fcc40f96b89d417e9cacd2d4 commit: 4a7c016117bdacf946bc0857d6eb78779fd7cf97 Author: Patrick McLean gentoo org> AuthorDate: Tue Jan 31 00:11:43 2023 +0000 Commit: Patrick McLean gentoo org> CommitDate: Tue Jan 31 00:11:43 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a7c0161 dev-python/pdm-pep517: add 1.1.1 Signed-off-by: Patrick McLean gentoo.org> dev-python/pdm-pep517/Manifest | 1 + dev-python/pdm-pep517/pdm-pep517-1.1.1.ebuild | 63 +++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest index 9f8c051dde70..2223c9ca6d29 100644 --- a/dev-python/pdm-pep517/Manifest +++ b/dev-python/pdm-pep517/Manifest @@ -1,2 +1,3 @@ DIST pdm-pep517-1.0.6.gh.tar.gz 315755 BLAKE2B 7b221d9ddc9683521e901177cafd2ffd2908af4acbe083b4a7d6525a81ece64d3768331135451d45ffc5c40c67c8c72802d75d52fdf85fa89a13f30110436a13 SHA512 5aeef3179d508d2acaedf4b99df41e64b26537120e586a01870651d2b379e2e5a1bf42934ee28a4b285cb83fe10ead073408b6b7d022ca1f55653533d12a2da1 DIST pdm-pep517-1.1.0.gh.tar.gz 315971 BLAKE2B 679cdd14633a5d745be4dcb215986386464dbdcc91a69a7aaec4910cca7a6c1f65dab8e1a4710715873fae9b0fd07732e8df8a4859155864df330bfda7bfd120 SHA512 b12eeaf294556cdf79e4dc5bfd1d0dc57df64ed632ae678b00452f62b6d48eaf8b7f9437a8f7eec9ecc779d4da3155f3c4923fcdba814cbd1a4575e8f79cecd4 +DIST pdm-pep517-1.1.1.gh.tar.gz 234424 BLAKE2B 7bf64c741c6e0e135d8d2358c7eee0777af792a32a825813e1d8dddbfeeeacfb232861dec063ba18a8f8f3587748bb63706a225114eaa60dcc02b40ce8a9ae5c SHA512 5ea8beb0275a2faae9b13c0f13da0f6d3ed8f3bf8f46572b9805daec6174fbfadc093158608b7b6ede4b682240d39edf904d2ad412c1fbdf4054ecb0b6d01283 diff --git a/dev-python/pdm-pep517/pdm-pep517-1.1.1.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.1.1.ebuild new file mode 100644 index 000000000000..b2eb1913f560 --- /dev/null +++ b/dev-python/pdm-pep517/pdm-pep517-1.1.1.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-23*[${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 +}