Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 4/7] pypi.eclass: Add `--unpack` to usage error in pypi_wheel_url
Date: Sat, 11 Feb 2023 09:17:36
Message-Id: 20230211091614.879528-5-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/7] pypi.eclass: Filename and version normalization by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/pypi.eclass | 2 +-
4 1 file changed, 1 insertion(+), 1 deletion(-)
5
6 diff --git a/eclass/pypi.eclass b/eclass/pypi.eclass
7 index c7b9604807eb..a3c38aa5f3ec 100644
8 --- a/eclass/pypi.eclass
9 +++ b/eclass/pypi.eclass
10 @@ -134,7 +134,7 @@ pypi_wheel_url() {
11 fi
12
13 if [[ ${#} -gt 4 ]]; then
14 - die "Usage: ${FUNCNAME} <project> [<version> [<python-tag> [<abi-platform-tag>]]]"
15 + die "Usage: ${FUNCNAME} [--unpack] <project> [<version> [<python-tag> [<abi-platform-tag>]]]"
16 fi
17
18 local filename=$(pypi_wheel_name "${@}")
19 --
20 2.39.1