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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 42C63158020 for ; Sat, 29 Oct 2022 18:46:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98186E0825; Sat, 29 Oct 2022 18:46:05 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7F5F8E0825 for ; Sat, 29 Oct 2022 18:46:05 +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 775F3340D39 for ; Sat, 29 Oct 2022 18:46:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF718615 for ; Sat, 29 Oct 2022 18:46:02 +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: <1667069123.01b68ca982ce815c46330b9fabf2aefb7fd965b6.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: 01b68ca982ce815c46330b9fabf2aefb7fd965b6 X-VCS-Branch: master Date: Sat, 29 Oct 2022 18:46:02 +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: 3f5ab026-b7f4-4eb6-9ee8-9e9c415e2604 X-Archives-Hash: 318e5feffbe8476562abae2132fabb4d commit: 01b68ca982ce815c46330b9fabf2aefb7fd965b6 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Oct 29 18:45:23 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sat Oct 29 18:45:23 2022 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=01b68ca9 PythonGHDistfileSuffix: add common solution to docs Signed-off-by: Arthur Zamarin gentoo.org> src/pkgcheck/checks/python.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pkgcheck/checks/python.py b/src/pkgcheck/checks/python.py index fc9a58e7..5d6a8a1a 100644 --- a/src/pkgcheck/checks/python.py +++ b/src/pkgcheck/checks/python.py @@ -621,6 +621,10 @@ class PythonGHDistfileSuffix(results.VersionResult, results.Warning): published on PyPI. Since both kinds of distfiles often have the same name, ".gh.tar.gz" suffix is often used for the former to avoid filename collisions with official archives published upstream. + + To solve this warning, rename the distfile in ``SRC_URI`` to include the + suffix. There is no need to contact upstream, as it is done simply by + adding ``-> ${P}.gh.tar.gz`` after the URI. """ def __init__(self, filename, uri, **kwargs):