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 143B5158094 for ; Fri, 29 Jul 2022 10:12:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5328BE0DE0; Fri, 29 Jul 2022 10:12:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 22C7FE0DE1 for ; Fri, 29 Jul 2022 10:12:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E028D34121C for ; Fri, 29 Jul 2022 10:12:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E7414FB for ; Fri, 29 Jul 2022 10:12:16 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1659089518.6b41a32cb303ce39a6fe91081aa748ba748268e7.arthurzam@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.0.3.ebuild X-VCS-Directories: dev-python/pdm-pep517/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 6b41a32cb303ce39a6fe91081aa748ba748268e7 X-VCS-Branch: master Date: Fri, 29 Jul 2022 10:12:16 +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: 4f279dc3-21ff-4525-96ec-68556cb29936 X-Archives-Hash: c2a648e6df1374b1f254b971cc03de6f commit: 6b41a32cb303ce39a6fe91081aa748ba748268e7 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 29 08:00:49 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 29 10:11:58 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b41a32c dev-python/pdm-pep517: add 1.0.3 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pdm-pep517/Manifest | 1 + dev-python/pdm-pep517/pdm-pep517-1.0.3.ebuild | 58 +++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest index e4b3ed5e2496..010aed3362a1 100644 --- a/dev-python/pdm-pep517/Manifest +++ b/dev-python/pdm-pep517/Manifest @@ -1,2 +1,3 @@ DIST pdm-pep517-1.0.1.gh.tar.gz 307357 BLAKE2B f833179b0ea011c4304625f08d3eca85b17163d4af6144f72e6faa2fe1091f9607f53ae051fca4e837009c3132ad6f06ae69cc5288ca8731ffb1ff2ef555d0d0 SHA512 7d90829a351e95f7b53f53d356a60cb170036059f5e6311df46989253b33f126f384a93cd6aa22c95b1ec7aa501e13773ccafabbb41e5237e84537b73dc43f58 DIST pdm-pep517-1.0.2.gh.tar.gz 307938 BLAKE2B 711cc77c4ec4a3002557b5537c931215254d6fd724bf80f5457750100d55aba580b0f5fdbf8b17a31e5b02b42a94b62bc72eb99693fb59c3ab76364666b51b15 SHA512 bb827a6130299acab18714c7380f81fa530b95e3bc1e78bca810c116472269f050df45d04ef69d90a1ad96dd6bc965a50edc01bc9c429b96eefb76d62c66b8ae +DIST pdm-pep517-1.0.3.gh.tar.gz 314957 BLAKE2B d0beff961b3f324c4d4c74943387e82cbeca90e5441391347b2ea06639af9965ea27426cab9e8dbbdceb296eb1461319fb375a3e078d673bbdf386b578b8f35c SHA512 ca9983e95f803243fb04b1add424449adfac472a94973013f669440d18d2118bdaf6610830f686cc700e86973935df26a7fea0ceed415b2c7604330de3325d05 diff --git a/dev-python/pdm-pep517/pdm-pep517-1.0.3.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.0.3.ebuild new file mode 100644 index 000000000000..65915f36678c --- /dev/null +++ b/dev-python/pdm-pep517/pdm-pep517-1.0.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +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-pep517/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-pep517/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}] + dev-python/license-expression[${PYTHON_USEDEP}] + >=dev-python/packaging-21.0[${PYTHON_USEDEP}] + >=dev-python/tomli-2[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + 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 +}