Thanks, applied as e5779dfa785de58cbe69ff7ab7342f38a5cf8de8.

Michael

[sent from post-receive hook]

On Tue, 06 Oct 2020 10:18:38 +0200, Bastian Krause <[email protected]> wrote:
> Add macro for pypi URLs, e.g.:
> 
>     $(call ptx/mirror-pypi, aiohttp, 
> $(PYTHON3_AIOHTTP).$(PYTHON3_AIOHTTP_SUFFIX))
> 
> Signed-off-by: Bastian Krause <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> 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
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to