From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Bastian Krause Date: Tue, 22 Sep 2020 16:14:17 +0200 Message-Id: <20200922141434.8544-2-bst@pengutronix.de> In-Reply-To: <20200922141434.8544-1-bst@pengutronix.de> References: <20200922141434.8544-1-bst@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v3 02/19] rules/pre/mirror: add ptx/mirror-pypi List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Bastian Krause Add macro for pypi URLs, e.g.: $(call ptx/mirror-pypi, aiohttp, $(PYTHON3_AIOHTTP).$(PYTHON3_AIOHTTP_SUFFIX)) Signed-off-by: Bastian Krause --- Changes since v2: No changes. Changes since v1: No previous version. --- rules/pre/mirror.make | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/pre/mirror.make b/rules/pre/mirror.make index db0d39674..66eaf1b36 100644 --- a/rules/pre/mirror.make +++ b/rules/pre/mirror.make @@ -8,4 +8,6 @@ ptx/mirror = $(foreach mirror,$(PTXCONF_SETUP_$(strip $(1))MIRROR),$(mirror)/$(strip $(2))) +ptx/mirror-pypi = $(foreach mirror, $(call ptx/mirror,PYPI,$(shell echo $(1) | head -c1)/$(strip $(1))/$(strip $(2))),$(mirror)) + # vim: syntax=make -- 2.28.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de