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 47243158088 for ; Sun, 16 Jan 2022 17:53:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5718A2BC013; Sun, 16 Jan 2022 17:53: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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 16F022BC00C for ; Sun, 16 Jan 2022 17:53:19 +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 2D90D342EE4 for ; Sun, 16 Jan 2022 17:53:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 682BD29A for ; Sun, 16 Jan 2022 17:53:16 +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: <1642355001.a30df55de0e3da42ca86ebe3d855d09d79c2eb3f.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/metadata.xml dev-python/pdm-pep517/pdm-pep517-0.10.0.ebuild X-VCS-Directories: dev-python/pdm-pep517/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a30df55de0e3da42ca86ebe3d855d09d79c2eb3f X-VCS-Branch: master Date: Sun, 16 Jan 2022 17:53: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: ae6bf42c-7f4e-4f44-b19b-8184b86f7d0e X-Archives-Hash: 063075ea6a0238e349059a3b4a16a57a commit: a30df55de0e3da42ca86ebe3d855d09d79c2eb3f Author: Michał Górny gentoo org> AuthorDate: Thu Jan 13 15:49:53 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jan 16 17:43:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a30df55d dev-python/pdm-pep517: New NIH build system, v0.10.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pdm-pep517/Manifest | 1 + dev-python/pdm-pep517/metadata.xml | 13 +++++++ dev-python/pdm-pep517/pdm-pep517-0.10.0.ebuild | 50 ++++++++++++++++++++++++++ 3 files changed, 64 insertions(+) diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest new file mode 100644 index 000000000000..f9273745987d --- /dev/null +++ b/dev-python/pdm-pep517/Manifest @@ -0,0 +1 @@ +DIST pdm-pep517-0.10.0.gh.tar.gz 189457 BLAKE2B 5a51b62dbc828aec5bca6ada8c7ecb479dd7491f22251392198a3d8e183f2d3d86fd4264addd9a428c37a24041365f3eeecec0a33c3f1a39ea8a1a8e6827be91 SHA512 7eb76bdf3db99ec1cf76a467617ce15423eaa465800efa9ccb248efb3c3cb5644b8e6a9ce04d6181dc9f3b5287a167f62f25d5e3334929f3e947a62ca9633d01 diff --git a/dev-python/pdm-pep517/metadata.xml b/dev-python/pdm-pep517/metadata.xml new file mode 100644 index 000000000000..f00d2775021c --- /dev/null +++ b/dev-python/pdm-pep517/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + + pdm-pep517 + pdm-project/pdm-pep517 + + diff --git a/dev-python/pdm-pep517/pdm-pep517-0.10.0.ebuild b/dev-python/pdm-pep517/pdm-pep517-0.10.0.ebuild new file mode 100644 index 000000000000..9c1dcf99a0c9 --- /dev/null +++ b/dev-python/pdm-pep517/pdm-pep517-0.10.0.ebuild @@ -0,0 +1,50 @@ +# 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..10} 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" + +# setuptools are used to build C extensions +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +src_test() { + git config --global user.email "test@example.com" || die + git config --global user.name "Test User" || die + distutils-r1_src_test +} + +python_test() { + local EPYTEST_DESELECT=() + if [[ ${EPYTHON} == pypy3 ]]; then + EPYTEST_DESELECT+=( + tests/test_wheel.py::test_override_tags_in_wheel_filename + ) + fi + epytest +}