From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Mon, 21 Sep 2020 23:28:05 +0200 From: Roland Hieber Message-ID: <20200921212805.wpjshw2vho5z2o44@pengutronix.de> References: <20200921123308.25821-1-bst@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200921123308.25821-1-bst@pengutronix.de> Subject: Re: [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror 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: Bastian Krause Cc: ptxdist@pengutronix.de On Mon, Sep 21, 2020 at 02:32:51PM +0200, Bastian Krause wrote: > From: Roland Hieber > > Make it possible to use a short macro for all pypi URLs, e.g: > > $(call ptx/mirror, PYPI, c/chardet/chardet-2.3.0.tar.gz) > > Signed-off-by: Roland Hieber You should probably also sign off on this :-) - Roland > --- > No changes since v1 (RFC). > Original message-id: 20200917193415.24800-1-rhi@pengutronix.de > --- > config/setup/Kconfig | 7 +++++++ > config/setup/ptxdistrc.default | 1 + > 2 files changed, 8 insertions(+) > > diff --git a/config/setup/Kconfig b/config/setup/Kconfig > index 4b1a769da..1697d88de 100644 > --- a/config/setup/Kconfig > +++ b/config/setup/Kconfig > @@ -172,6 +172,13 @@ config SETUP_KERNELMIRROR > help > For all kernel.org related packages enter an available mirror here. > > +config SETUP_PYPIMIRROR > + string > + default "https://files.pythonhosted.org/packages/source" > + prompt "Python pypi source mirror" > + help > + For all packages available on pypi, enter an available mirror here. > + > choice > prompt "archive check" > default SETUP_CHECK_ALWAYS > diff --git a/config/setup/ptxdistrc.default b/config/setup/ptxdistrc.default > index 29b8bfe37..7973fdfe4 100644 > --- a/config/setup/ptxdistrc.default > +++ b/config/setup/ptxdistrc.default > @@ -37,6 +37,7 @@ PTXCONF_SETUP_SFMIRROR="http://downloads.sourceforge.net/sourceforge" > PTXCONF_SETUP_GNUMIRROR="https://ftp.gnu.org/gnu http://ftp.uni-kl.de/pub/gnu" > PTXCONF_SETUP_XORGMIRROR="https://ftp.x.org/archive https://xorg.freedesktop.org/releases" > PTXCONF_SETUP_KERNELMIRROR="https://www.kernel.org/pub/linux http://www.linux-mips.org/pub/linux/mips http://mirror.linux.org.au/linux" > +PTXCONF_SETUP_PYPIMIRROR="https://files.pythonhosted.org/packages/source" > PTXCONF_SETUP_CHECK_ALWAYS=y > # PTXCONF_SETUP_CHECK_NOTEMPTY is not set > # PTXCONF_SETUP_CHECK_NEVER is not set > -- > 2.28.0 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- Roland Hieber, Pengutronix e.K. | r.hieber@pengutronix.de | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de