From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20200922141434.8544-2-bst@pengutronix.de> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Tue, 06 Oct 2020 10:18:38 +0200 Subject: Re: [ptxdist] [APPLIED] 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 Thanks, applied as e5779dfa785de58cbe69ff7ab7342f38a5cf8de8. Michael [sent from post-receive hook] On Tue, 06 Oct 2020 10:18:38 +0200, Bastian Krause wrote: > Add macro for pypi URLs, e.g.: > > $(call ptx/mirror-pypi, aiohttp, $(PYTHON3_AIOHTTP).$(PYTHON3_AIOHTTP_SUFFIX)) > > Signed-off-by: Bastian Krause > Message-Id: <20200922141434.8544-2-bst@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/pre/mirror.make b/rules/pre/mirror.make > index db0d39674bf7..66eaf1b36823 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 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de