mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror
@ 2020-09-21 12:32 Bastian Krause
  2020-09-21 12:32 ` [ptxdist] [PATCH v2 02/18] rules/pre/mirror: add ptx/mirror-pypi Bastian Krause
                   ` (17 more replies)
  0 siblings, 18 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

From: Roland Hieber <rhi@pengutronix.de>

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 <rhi@pengutronix.de>
---
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

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2020-09-22 12:00 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
2020-09-21 12:32 ` [ptxdist] [PATCH v2 02/18] rules/pre/mirror: add ptx/mirror-pypi Bastian Krause
2020-09-21 12:32 ` [ptxdist] [PATCH v2 03/18] package templates: add python3-pypi template Bastian Krause
2020-09-21 21:31   ` Roland Hieber
2020-09-22  8:09     ` Michael Olbrich
2020-09-21 12:32 ` [ptxdist] [PATCH v2 04/18] python3-async-timeout: version bump 2.0.0 -> 3.0.1 Bastian Krause
2020-09-21 12:32 ` [ptxdist] [PATCH v2 05/18] python3-chardet: version bump 2.3.0 -> 3.0.4 Bastian Krause
2020-09-21 12:32 ` [ptxdist] [PATCH v2 06/18] python3-attrs: version bump 19.3.0 -> 20.2.0 Bastian Krause
2020-09-21 12:32 ` [ptxdist] [PATCH v2 07/18] python3-idna: new package Bastian Krause
2020-09-21 12:32 ` [ptxdist] [PATCH v2 08/18] python3-yarl: version bump 0.8.1 -> 1.5.1 Bastian Krause
2020-09-21 12:32 ` [ptxdist] [PATCH v2 09/18] python3-multidict: version bump 2.1.4 -> 4.7.6 Bastian Krause
2020-09-21 12:33 ` [ptxdist] [PATCH v2 10/18] python3-aiohttp: mark dependencies as RUNTIME Bastian Krause
2020-09-21 12:33 ` [ptxdist] [PATCH v2 11/18] python3-aiohttp: add missing PYTHON3_ATTRS runtime dependency Bastian Krause
2020-09-21 12:33 ` [ptxdist] [PATCH v2 12/18] python3-aiohttp: version bump 3.4.4 -> 3.6.2 Bastian Krause
2020-09-21 12:33 ` [ptxdist] [PATCH v2 13/18] python3-aiohttp-wsgi: version bump 0.2.5 -> 0.8.2 Bastian Krause
2020-09-21 12:33 ` [ptxdist] [PATCH v2 14/18] python3-markupsafe: new package Bastian Krause
2020-09-21 12:33 ` [ptxdist] [PATCH v2 15/18] python3-jinja2: " Bastian Krause
2020-09-21 12:33 ` [ptxdist] [PATCH v2 16/18] python3-pytz: version bump 2018.5 -> 2020.1 Bastian Krause
2020-09-21 12:58   ` [ptxdist] ?==?utf-8?q? ?==?utf-8?q? [PATCH v2 16/18]?==?utf-8?q? python3-pytz: version bump 2018.5?==?utf-8?q? ->?==?utf-8?q? 2020.1 Artur Wiebe
2020-09-22  8:13     ` [ptxdist] ?= [PATCH v2 16/18] python3-pytz: version bump 2018.5 ->=?utf-8?q? 2020.1 Bastian Krause
2020-09-21 12:33 ` [ptxdist] [PATCH v2 17/18] python3-sqlparse: new package Bastian Krause
2020-09-21 12:33 ` [ptxdist] [PATCH v2 18/18] python3-django: version bump 1.8.7 -> 2.2.16 Bastian Krause
2020-09-22 11:49   ` Michael Olbrich
2020-09-22 12:00     ` Bastian Krause
2020-09-21 21:28 ` [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox