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 DA1FB15802F for ; Sat, 4 Mar 2023 18:24:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4270CE0207; Sat, 4 Mar 2023 18:24:31 +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 2CACDE07D1 for ; Sat, 4 Mar 2023 18:24:31 +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 49C40341384 for ; Sat, 4 Mar 2023 18:24:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DFACA75 for ; Sat, 4 Mar 2023 18:24:28 +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: <1677954257.bf68177d4026b014f96e64ff3c3a632ecc30a5d2.arthurzam@gentoo> Subject: [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: src/pkgcheck/checks/ X-VCS-Repository: proj/pkgcore/pkgcheck X-VCS-Files: src/pkgcheck/checks/python.py X-VCS-Directories: src/pkgcheck/checks/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: bf68177d4026b014f96e64ff3c3a632ecc30a5d2 X-VCS-Branch: master Date: Sat, 4 Mar 2023 18:24:28 +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: 5ed09deb-5dfb-44f7-888a-550972323d3f X-Archives-Hash: b53cc49ff17ad23708b0c16468d2f810 commit: bf68177d4026b014f96e64ff3c3a632ecc30a5d2 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Mar 4 18:24:17 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sat Mar 4 18:24:17 2023 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=bf68177d PythonMissingSCMDependency: update to new pkg names Signed-off-by: Arthur Zamarin gentoo.org> src/pkgcheck/checks/python.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/pkgcheck/checks/python.py b/src/pkgcheck/checks/python.py index 291a56b4..19b87ef5 100644 --- a/src/pkgcheck/checks/python.py +++ b/src/pkgcheck/checks/python.py @@ -234,16 +234,16 @@ class PythonAnyMismatchedDepHasVersionCheck(results.VersionResult, results.Warni class PythonMissingSCMDependency(results.VersionResult, results.Warning): - """Package is missing BDEPEND on setuptools_scm or alike. + """Package is missing BDEPEND on setuptools-scm or alike. Packages which define ``SETUPTOOLS_SCM_PRETEND_VERSION`` should BDEPEND - on ``dev-python/setuptools_scm`` or a similar package [#]_. + on ``dev-python/setuptools-scm`` or a similar package [#]_. .. [#] https://projects.gentoo.org/python/guide/distutils.html#setuptools-scm-flit-scm-hatch-vcs-and-snapshots """ desc = ( - "defines SETUPTOOLS_SCM_PRETEND_VERSION but is missing BDEPEND on setuptools_scm or alike" + "defines SETUPTOOLS_SCM_PRETEND_VERSION but is missing BDEPEND on setuptools-scm or alike" ) @@ -291,8 +291,10 @@ class PythonCheck(Check): setuptools_scm = frozenset( { - "dev-python/setuptools_scm", - "dev-python/flit_scm", + "dev-python/setuptools-scm", + "dev-python/setuptools_scm", # legacy old name + "dev-python/flit-scm", + "dev-python/flit_scm", # legacy old name "dev-python/hatch-vcs", } )