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 D3CFF158091 for ; Wed, 8 Jun 2022 19:40:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0B5EDE0839; Wed, 8 Jun 2022 19:40:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 E62E4E0839 for ; Wed, 8 Jun 2022 19:40:39 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 308D9340F1D for ; Wed, 8 Jun 2022 19:40:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3164E4FB for ; Wed, 8 Jun 2022 19:40:36 +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: <1654717233.3587508fdbe3e37263d8f1b046d64cb49235ef99.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-0.12.7.ebuild X-VCS-Directories: dev-python/pdm-pep517/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3587508fdbe3e37263d8f1b046d64cb49235ef99 X-VCS-Branch: master Date: Wed, 8 Jun 2022 19:40:36 +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: 9d9bfe8d-dcfa-4182-86ca-326c36a2e491 X-Archives-Hash: be000a8b0e1ed602396dbc304756e211 commit: 3587508fdbe3e37263d8f1b046d64cb49235ef99 Author: Michał Górny gentoo org> AuthorDate: Wed Jun 8 19:36:10 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jun 8 19:40:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3587508f dev-python/pdm-pep517: Bump to 0.12.7 Signed-off-by: Michał Górny gentoo.org> dev-python/pdm-pep517/Manifest | 1 + dev-python/pdm-pep517/pdm-pep517-0.12.7.ebuild | 58 ++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest index d961118cf2a7..bfda15846669 100644 --- a/dev-python/pdm-pep517/Manifest +++ b/dev-python/pdm-pep517/Manifest @@ -1,2 +1,3 @@ DIST pdm-pep517-0.12.4.gh.tar.gz 304353 BLAKE2B ca2b18af38423f7430a40e5cced207bd4bec8d101204902c89f335c5d08131e95fe17c5af7a3ef0e654c9e2106145ef5242c9015924a2711c90dbb0d2f48128e SHA512 2007a84909147cd48e9ea6114119a63855ddf48e220f8c896d516b6bddd5a7bd62046f090d739a5069b9e06700f0318e57bd1a4b3c7531508b41540357639c5e DIST pdm-pep517-0.12.5.gh.tar.gz 304900 BLAKE2B 0e2b6b126226be4b462a254baedfd689d21250e4cdaf80bc8372a1742c795fc4fc0f4f0c891b5d2546320957223d2be65cd9881ab8a190fc1e928b42ec450990 SHA512 00ab751c69a575c4a51afd39e47265b1a593666649d7b70177c8ce6047c1761b00e3fb2338654a7bbd48063d1f32d03fd59aa3c5e8c82393e23eb797f706c574 +DIST pdm-pep517-0.12.7.gh.tar.gz 304959 BLAKE2B 0571a77803b999f88f38da843c5fcf126eeb538c6812c3e245be2fc14d6cd19929559985efba2d245bbf0efb00e412b2133fca6bbe9e63317e6b7311867e0072 SHA512 45da8ab31071a57062fac5b89abe7d912d787d647eda1b45fe3941c43687fe0fe5c8d11e539290035375e17eef808489000513e3128708fcefd851e792757b8f diff --git a/dev-python/pdm-pep517/pdm-pep517-0.12.7.ebuild b/dev-python/pdm-pep517/pdm-pep517-0.12.7.ebuild new file mode 100644 index 000000000000..ce38d4f05e82 --- /dev/null +++ b/dev-python/pdm-pep517/pdm-pep517-0.12.7.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 ~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 +}