From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Bastian Krause Date: Mon, 21 Sep 2020 14:32:52 +0200 Message-Id: <20200921123308.25821-2-bst@pengutronix.de> In-Reply-To: <20200921123308.25821-1-bst@pengutronix.de> References: <20200921123308.25821-1-bst@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2 02/18] 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 --- 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