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

* [ptxdist] [PATCH v2 02/18] rules/pre/mirror: add ptx/mirror-pypi
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
@ 2020-09-21 12:32 ` Bastian Krause
  2020-09-21 12:32 ` [ptxdist] [PATCH v2 03/18] package templates: add python3-pypi template Bastian Krause
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:32 UTC (permalink / raw)
  To: ptxdist; +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 <bst@pengutronix.de>
---
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

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

* [ptxdist] [PATCH v2 03/18] package templates: add python3-pypi template
  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 ` Bastian Krause
  2020-09-21 21:31   ` Roland Hieber
  2020-09-21 12:32 ` [ptxdist] [PATCH v2 04/18] python3-async-timeout: version bump 2.0.0 -> 3.0.1 Bastian Krause
                   ` (15 subsequent siblings)
  17 siblings, 1 reply; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No previous version.
---
 rules/templates/template-python3-pypi-in   |  8 ++++
 rules/templates/template-python3-pypi-make | 51 ++++++++++++++++++++++
 scripts/lib/ptxd_lib_template.sh           | 10 +++++
 3 files changed, 69 insertions(+)
 create mode 100644 rules/templates/template-python3-pypi-in
 create mode 100644 rules/templates/template-python3-pypi-make

diff --git a/rules/templates/template-python3-pypi-in b/rules/templates/template-python3-pypi-in
new file mode 100644
index 000000000..5f758f5bd
--- /dev/null
+++ b/rules/templates/template-python3-pypi-in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_@PACKAGE@
+	tristate
+	select PYTHON3
+	prompt "@package@"
+	help
+	  FIXME
diff --git a/rules/templates/template-python3-pypi-make b/rules/templates/template-python3-pypi-make
new file mode 100644
index 000000000..9bd8cec6d
--- /dev/null
+++ b/rules/templates/template-python3-pypi-make
@@ -0,0 +1,51 @@
+# -*-makefile-*-
+#
+# Copyright (C) @YEAR@ by @AUTHOR@
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_@PACKAGE@) += python3-@package@
+
+#
+# Paths and names
+#
+PYTHON3_@PACKAGE@_VERSION	:= @VERSION@
+PYTHON3_@PACKAGE@_MD5		:=
+PYTHON3_@PACKAGE@		:= @package@-$(PYTHON3_@PACKAGE@_VERSION)
+PYTHON3_@PACKAGE@_SUFFIX	:= tar.gz
+PYTHON3_@PACKAGE@_URL		:= $(call ptx/mirror-pypi, @package@, $(PYTHON3_@PACKAGE@).$(PYTHON3_@PACKAGE@_SUFFIX))
+PYTHON3_@PACKAGE@_SOURCE	:= $(SRCDIR)/$(PYTHON3_@PACKAGE@).$(PYTHON3_@PACKAGE@_SUFFIX)
+PYTHON3_@PACKAGE@_DIR		:= $(BUILDDIR)/$(PYTHON3_@PACKAGE@)
+PYTHON3_@PACKAGE@_LICENSE	:= unknown
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_@PACKAGE@_CONF_TOOL	:= python3
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-@package@.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-@package@)
+	@$(call install_fixup, python3-@package@,PRIORITY,optional)
+	@$(call install_fixup, python3-@package@,SECTION,base)
+	@$(call install_fixup, python3-@package@,AUTHOR,"@AUTHOR@")
+	@$(call install_fixup, python3-@package@,DESCRIPTION,missing)
+
+	@$(call install_glob, python3-@package@, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES),, *.py)
+
+	@$(call install_finish, python3-@package@)
+
+	@$(call touch)
+
+# vim: syntax=make
diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh
index 5fdb805eb..f3f03a8d1 100644
--- a/scripts/lib/ptxd_lib_template.sh
+++ b/scripts/lib/ptxd_lib_template.sh
@@ -407,6 +407,16 @@ export -f ptxd_template_new_cross
 ptxd_template_help_list[${#ptxd_template_help_list[@]}]="cross"
 ptxd_template_help_list[${#ptxd_template_help_list[@]}]="create cross development package"
 
+ptxd_template_new_python3_pypi() {
+    ptxd_template_read_basic &&
+    ptxd_template_read_author
+    package_filename="python3-${package_filename}"
+    ptxd_template_write_rules
+}
+export -f ptxd_template_new_python3_pypi
+ptxd_template_help_list[${#ptxd_template_help_list[@]}]="python3-pypi"
+ptxd_template_help_list[${#ptxd_template_help_list[@]}]="create python3-pypi package for embedded target"
+
 ptxd_template_new_src_autoconf_lib() {
     ptxd_template_autoconf_base
 }
-- 
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

* [ptxdist] [PATCH v2 04/18] python3-async-timeout: version bump 2.0.0 -> 3.0.1
  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 12:32 ` Bastian Krause
  2020-09-21 12:32 ` [ptxdist] [PATCH v2 05/18] python3-chardet: version bump 2.3.0 -> 3.0.4 Bastian Krause
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
- use ptx/mirror-pypi macro for URL
---
 rules/python3-async-timeout.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/python3-async-timeout.make b/rules/python3-async-timeout.make
index 620e73e9a..38a751ed4 100644
--- a/rules/python3-async-timeout.make
+++ b/rules/python3-async-timeout.make
@@ -14,11 +14,11 @@ PACKAGES-$(PTXCONF_PYTHON3_ASYNC_TIMEOUT) += python3-async-timeout
 #
 # Paths and names
 #
-PYTHON3_ASYNC_TIMEOUT_VERSION	:= 2.0.0
-PYTHON3_ASYNC_TIMEOUT_MD5	:= 36e75397e54c6b899ffabdfe295a9f7c
+PYTHON3_ASYNC_TIMEOUT_VERSION	:= 3.0.1
+PYTHON3_ASYNC_TIMEOUT_MD5	:= 305c4fa529f2485c403d0dbe14390175
 PYTHON3_ASYNC_TIMEOUT		:= async-timeout-$(PYTHON3_ASYNC_TIMEOUT_VERSION)
 PYTHON3_ASYNC_TIMEOUT_SUFFIX	:= tar.gz
-PYTHON3_ASYNC_TIMEOUT_URL	:= https://pypi.python.org/packages/78/10/7fd2551dc51f6065bdbba07d395865df4582cc18169297e7a5c8d90f5bd2/$(PYTHON3_ASYNC_TIMEOUT).$(PYTHON3_ASYNC_TIMEOUT_SUFFIX)
+PYTHON3_ASYNC_TIMEOUT_URL	:= $(call ptx/mirror-pypi, async-timeout, $(PYTHON3_ASYNC_TIMEOUT).$(PYTHON3_ASYNC_TIMEOUT_SUFFIX))
 PYTHON3_ASYNC_TIMEOUT_SOURCE	:= $(SRCDIR)/$(PYTHON3_ASYNC_TIMEOUT).$(PYTHON3_ASYNC_TIMEOUT_SUFFIX)
 PYTHON3_ASYNC_TIMEOUT_DIR	:= $(BUILDDIR)/$(PYTHON3_ASYNC_TIMEOUT)
 PYTHON3_ASYNC_TIMEOUT_LICENSE	:= Apache-2.0
-- 
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

* [ptxdist] [PATCH v2 05/18] python3-chardet: version bump 2.3.0 -> 3.0.4
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (2 preceding siblings ...)
  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 ` Bastian Krause
  2020-09-21 12:32 ` [ptxdist] [PATCH v2 06/18] python3-attrs: version bump 19.3.0 -> 20.2.0 Bastian Krause
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
- use ptx/mirror-pypi macro for URL
---
 rules/python3-chardet.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/python3-chardet.make b/rules/python3-chardet.make
index ab3c99f56..ee15e3c2c 100644
--- a/rules/python3-chardet.make
+++ b/rules/python3-chardet.make
@@ -14,11 +14,11 @@ PACKAGES-$(PTXCONF_PYTHON3_CHARDET) += python3-chardet
 #
 # Paths and names
 #
-PYTHON3_CHARDET_VERSION	:= 2.3.0
-PYTHON3_CHARDET_MD5	:= 25274d664ccb5130adae08047416e1a8
+PYTHON3_CHARDET_VERSION	:= 3.0.4
+PYTHON3_CHARDET_MD5	:= 7dd1ba7f9c77e32351b0a0cfacf4055c
 PYTHON3_CHARDET		:= chardet-$(PYTHON3_CHARDET_VERSION)
 PYTHON3_CHARDET_SUFFIX	:= tar.gz
-PYTHON3_CHARDET_URL	:= https://pypi.python.org/packages/source/c/chardet/$(PYTHON3_CHARDET).$(PYTHON3_CHARDET_SUFFIX)
+PYTHON3_CHARDET_URL	:= $(call ptx/mirror-pypi, chardet, $(PYTHON3_CHARDET).$(PYTHON3_CHARDET_SUFFIX))
 PYTHON3_CHARDET_SOURCE	:= $(SRCDIR)/$(PYTHON3_CHARDET).$(PYTHON3_CHARDET_SUFFIX)
 PYTHON3_CHARDET_DIR	:= $(BUILDDIR)/$(PYTHON3_CHARDET)
 PYTHON3_CHARDET_LICENSE	:= LGPL-2.1-or-later
-- 
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

* [ptxdist] [PATCH v2 06/18] python3-attrs: version bump 19.3.0 -> 20.2.0
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (3 preceding siblings ...)
  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 ` Bastian Krause
  2020-09-21 12:32 ` [ptxdist] [PATCH v2 07/18] python3-idna: new package Bastian Krause
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
- use ptx/mirror-pypi macro for URL
---
 rules/python3-attrs.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/python3-attrs.make b/rules/python3-attrs.make
index cd32a351f..78656d083 100644
--- a/rules/python3-attrs.make
+++ b/rules/python3-attrs.make
@@ -14,11 +14,11 @@ PACKAGES-$(PTXCONF_PYTHON3_ATTRS) += python3-attrs
 #
 # Paths and names
 #
-PYTHON3_ATTRS_VERSION	:= 19.3.0
-PYTHON3_ATTRS_MD5	:= 5b2db50fcc31be34d32798183c9bd062
+PYTHON3_ATTRS_VERSION	:= 20.2.0
+PYTHON3_ATTRS_MD5	:= 7be95e1b35e9385d71a0017a48217efc
 PYTHON3_ATTRS		:= attrs-$(PYTHON3_ATTRS_VERSION)
 PYTHON3_ATTRS_SUFFIX	:= tar.gz
-PYTHON3_ATTRS_URL	:= https://pypi.python.org/packages/source/a/attrs/$(PYTHON3_ATTRS).$(PYTHON3_ATTRS_SUFFIX)
+PYTHON3_ATTRS_URL	:= $(call ptx/mirror-pypi, attrs, $(PYTHON3_ATTRS).$(PYTHON3_ATTRS_SUFFIX))
 PYTHON3_ATTRS_SOURCE	:= $(SRCDIR)/$(PYTHON3_ATTRS).$(PYTHON3_ATTRS_SUFFIX)
 PYTHON3_ATTRS_DIR	:= $(BUILDDIR)/$(PYTHON3_ATTRS)
 PYTHON3_ATTRS_LICENSE	:= MIT
-- 
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

* [ptxdist] [PATCH v2 07/18] python3-idna: new package
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (4 preceding siblings ...)
  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 ` Bastian Krause
  2020-09-21 12:32 ` [ptxdist] [PATCH v2 08/18] python3-yarl: version bump 0.8.1 -> 1.5.1 Bastian Krause
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

python3-yarl requires this.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
- use ptx/mirror-pypi macro for URL
---
 rules/python3-idna.in   |  8 +++++++
 rules/python3-idna.make | 52 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 rules/python3-idna.in
 create mode 100644 rules/python3-idna.make

diff --git a/rules/python3-idna.in b/rules/python3-idna.in
new file mode 100644
index 000000000..864f128e2
--- /dev/null
+++ b/rules/python3-idna.in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_IDNA
+	tristate
+	select PYTHON3
+	prompt "python3-idna"
+	help
+	  Support for the Internationalised Domain Names in Applications (IDNA) protocol
diff --git a/rules/python3-idna.make b/rules/python3-idna.make
new file mode 100644
index 000000000..378342b91
--- /dev/null
+++ b/rules/python3-idna.make
@@ -0,0 +1,52 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Bastian Krause <bst@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_IDNA) += python3-idna
+
+#
+# Paths and names
+#
+PYTHON3_IDNA_VERSION	:= 2.10
+PYTHON3_IDNA_MD5	:= 7a910c706db30d758f377db2762c0f9a
+PYTHON3_IDNA		:= idna-$(PYTHON3_IDNA_VERSION)
+PYTHON3_IDNA_SUFFIX	:= tar.gz
+PYTHON3_IDNA_URL	:= $(call ptx/mirror-pypi, idna, $(PYTHON3_IDNA).$(PYTHON3_IDNA_SUFFIX))
+PYTHON3_IDNA_SOURCE	:= $(SRCDIR)/$(PYTHON3_IDNA).$(PYTHON3_IDNA_SUFFIX)
+PYTHON3_IDNA_DIR	:= $(BUILDDIR)/$(PYTHON3_IDNA)
+PYTHON3_IDNA_LICENSE	:= BSD-3-Clause
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_IDNA_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-idna.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-idna)
+	@$(call install_fixup, python3-idna, PRIORITY, optional)
+	@$(call install_fixup, python3-idna, SECTION, base)
+	@$(call install_fixup, python3-idna, AUTHOR, "Bastian Krause <bst@pengutronix.de>")
+	@$(call install_fixup, python3-idna, DESCRIPTION, missing)
+
+	@$(call install_glob, python3-idna, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES),, *.py)
+
+	@$(call install_finish, python3-idna)
+
+	@$(call touch)
+
+# 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

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

* [ptxdist] [PATCH v2 08/18] python3-yarl: version bump 0.8.1 -> 1.5.1
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (5 preceding siblings ...)
  2020-09-21 12:32 ` [ptxdist] [PATCH v2 07/18] python3-idna: new package Bastian Krause
@ 2020-09-21 12:32 ` Bastian Krause
  2020-09-21 12:32 ` [ptxdist] [PATCH v2 09/18] python3-multidict: version bump 2.1.4 -> 4.7.6 Bastian Krause
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

yarl requires idna since v0.17.0 .

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
- use ptx/mirror-pypi macro for URL
---
 rules/python3-yarl.in   | 1 +
 rules/python3-yarl.make | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/rules/python3-yarl.in b/rules/python3-yarl.in
index 0a933fe28..78d9a4311 100644
--- a/rules/python3-yarl.in
+++ b/rules/python3-yarl.in
@@ -4,6 +4,7 @@ config PYTHON3_YARL
 	tristate
 	select PYTHON3
 	select PYTHON3_MULTIDICT
+	select PYTHON3_IDNA
 	prompt "python3-yarl"
 	help
 	  Yet another URL library for Python
diff --git a/rules/python3-yarl.make b/rules/python3-yarl.make
index 79aafc17f..d6831493f 100644
--- a/rules/python3-yarl.make
+++ b/rules/python3-yarl.make
@@ -14,11 +14,11 @@ PACKAGES-$(PTXCONF_PYTHON3_YARL) += python3-yarl
 #
 # Paths and names
 #
-PYTHON3_YARL_VERSION	:= 0.8.1
-PYTHON3_YARL_MD5	:= 34f60a148ab55e3bfde2c0efd7026308
+PYTHON3_YARL_VERSION	:= 1.5.1
+PYTHON3_YARL_MD5	:= a9b20bf0b8a6962e1101b28908a67bf8
 PYTHON3_YARL		:= yarl-$(PYTHON3_YARL_VERSION)
 PYTHON3_YARL_SUFFIX	:= tar.gz
-PYTHON3_YARL_URL	:= https://pypi.python.org/packages/10/1b/be30529bde22c85c2975a4e21cf7f13edbcb291350fbbde8bc13938620c8/$(PYTHON3_YARL).$(PYTHON3_YARL_SUFFIX)
+PYTHON3_YARL_URL	:= $(call ptx/mirror-pypi, yarl, $(PYTHON3_YARL).$(PYTHON3_YARL_SUFFIX))
 PYTHON3_YARL_SOURCE	:= $(SRCDIR)/$(PYTHON3_YARL).$(PYTHON3_YARL_SUFFIX)
 PYTHON3_YARL_DIR	:= $(BUILDDIR)/$(PYTHON3_YARL)
 PYTHON3_YARL_LICENSE	:= Apache-2.0
-- 
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

* [ptxdist] [PATCH v2 09/18] python3-multidict: version bump 2.1.4 -> 4.7.6
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (6 preceding siblings ...)
  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 ` Bastian Krause
  2020-09-21 12:33 ` [ptxdist] [PATCH v2 10/18] python3-aiohttp: mark dependencies as RUNTIME Bastian Krause
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:32 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
- use ptx/mirror-pypi macro for URL
---
 rules/python3-multidict.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/python3-multidict.make b/rules/python3-multidict.make
index b8be29bdc..bb7bae017 100644
--- a/rules/python3-multidict.make
+++ b/rules/python3-multidict.make
@@ -14,11 +14,11 @@ PACKAGES-$(PTXCONF_PYTHON3_MULTIDICT) += python3-multidict
 #
 # Paths and names
 #
-PYTHON3_MULTIDICT_VERSION	:= 2.1.4
-PYTHON3_MULTIDICT_MD5		:= 051d92edec87fd98e43ea83f3ce6072d
+PYTHON3_MULTIDICT_VERSION	:= 4.7.6
+PYTHON3_MULTIDICT_MD5		:= 40b6ca77171ac8af55f7aa60049f3cdf
 PYTHON3_MULTIDICT		:= multidict-$(PYTHON3_MULTIDICT_VERSION)
 PYTHON3_MULTIDICT_SUFFIX	:= tar.gz
-PYTHON3_MULTIDICT_URL		:= https://pypi.python.org/packages/2a/df/eaea73e46a58fd780c35ecc304ca42364fa3c1f4cd03568ed33b9d2c7547/$(PYTHON3_MULTIDICT).$(PYTHON3_MULTIDICT_SUFFIX)
+PYTHON3_MULTIDICT_URL		:= $(call ptx/mirror-pypi, multidict, $(PYTHON3_MULTIDICT).$(PYTHON3_MULTIDICT_SUFFIX))
 PYTHON3_MULTIDICT_SOURCE	:= $(SRCDIR)/$(PYTHON3_MULTIDICT).$(PYTHON3_MULTIDICT_SUFFIX)
 PYTHON3_MULTIDICT_DIR		:= $(BUILDDIR)/$(PYTHON3_MULTIDICT)
 PYTHON3_MULTIDICT_LICENSE	:= Apache-2.0
-- 
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

* [ptxdist] [PATCH v2 10/18] python3-aiohttp: mark dependencies as RUNTIME
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (7 preceding siblings ...)
  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 ` Bastian Krause
  2020-09-21 12:33 ` [ptxdist] [PATCH v2 11/18] python3-aiohttp: add missing PYTHON3_ATTRS runtime dependency Bastian Krause
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

None of these packages are actually required during build/install.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No changes since (implicit) v1.
---
 rules/python3-aiohttp.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/rules/python3-aiohttp.in b/rules/python3-aiohttp.in
index 17b9cec25..f9a70b352 100644
--- a/rules/python3-aiohttp.in
+++ b/rules/python3-aiohttp.in
@@ -4,10 +4,10 @@ config PYTHON3_AIOHTTP
 	tristate
 	select PYTHON3
 	select PYTHON3_SSL
-	select PYTHON3_CHARDET
-	select PYTHON3_MULTIDICT
-	select PYTHON3_YARL
-	select PYTHON3_ASYNC_TIMEOUT
+	select PYTHON3_CHARDET		if RUNTIME
+	select PYTHON3_MULTIDICT	if RUNTIME
+	select PYTHON3_YARL		if RUNTIME
+	select PYTHON3_ASYNC_TIMEOUT	if RUNTIME
 	prompt "aiohttp"
 	help
 	  http client/server for asyncio
-- 
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

* [ptxdist] [PATCH v2 11/18] python3-aiohttp: add missing PYTHON3_ATTRS runtime dependency
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (8 preceding siblings ...)
  2020-09-21 12:33 ` [ptxdist] [PATCH v2 10/18] python3-aiohttp: mark dependencies as RUNTIME Bastian Krause
@ 2020-09-21 12:33 ` Bastian Krause
  2020-09-21 12:33 ` [ptxdist] [PATCH v2 12/18] python3-aiohttp: version bump 3.4.4 -> 3.6.2 Bastian Krause
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

attrs is required since aiohttp v3.0.0 .

Fixes: 35f441cec ("python3-aiohttp: version bump 1.2.0 -> 3.4.4")
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No changes since (implicit) v1.
---
 rules/python3-aiohttp.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/python3-aiohttp.in b/rules/python3-aiohttp.in
index f9a70b352..6e9d4a2db 100644
--- a/rules/python3-aiohttp.in
+++ b/rules/python3-aiohttp.in
@@ -8,6 +8,7 @@ config PYTHON3_AIOHTTP
 	select PYTHON3_MULTIDICT	if RUNTIME
 	select PYTHON3_YARL		if RUNTIME
 	select PYTHON3_ASYNC_TIMEOUT	if RUNTIME
+	select PYTHON3_ATTRS		if RUNTIME
 	prompt "aiohttp"
 	help
 	  http client/server for asyncio
-- 
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

* [ptxdist] [PATCH v2 12/18] python3-aiohttp: version bump 3.4.4 -> 3.6.2
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (9 preceding siblings ...)
  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 ` 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
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
- use ptx/mirror-pypi macro for URL
---
 rules/python3-aiohttp.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/python3-aiohttp.make b/rules/python3-aiohttp.make
index 2cfec8749..7ced97fd3 100644
--- a/rules/python3-aiohttp.make
+++ b/rules/python3-aiohttp.make
@@ -14,11 +14,11 @@ PACKAGES-$(PTXCONF_PYTHON3_AIOHTTP) += python3-aiohttp
 #
 # Paths and names
 #
-PYTHON3_AIOHTTP_VERSION	:= 3.4.4
-PYTHON3_AIOHTTP_MD5	:= 80a6e0c6c452d511d1d37755d6f0995a
+PYTHON3_AIOHTTP_VERSION	:= 3.6.2
+PYTHON3_AIOHTTP_MD5	:= ca40144c199a09fc1a141960cf6295f0
 PYTHON3_AIOHTTP		:= aiohttp-$(PYTHON3_AIOHTTP_VERSION)
 PYTHON3_AIOHTTP_SUFFIX	:= tar.gz
-PYTHON3_AIOHTTP_URL	:= https://pypi.io/packages/source/a/aiohttp/$(PYTHON3_AIOHTTP).$(PYTHON3_AIOHTTP_SUFFIX)
+PYTHON3_AIOHTTP_URL	:= $(call ptx/mirror-pypi, aiohttp, $(PYTHON3_AIOHTTP).$(PYTHON3_AIOHTTP_SUFFIX))
 PYTHON3_AIOHTTP_SOURCE	:= $(SRCDIR)/$(PYTHON3_AIOHTTP).$(PYTHON3_AIOHTTP_SUFFIX)
 PYTHON3_AIOHTTP_DIR	:= $(BUILDDIR)/$(PYTHON3_AIOHTTP)
 PYTHON3_AIOHTTP_LICENSE	:= Apache-2.0
-- 
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

* [ptxdist] [PATCH v2 13/18] python3-aiohttp-wsgi: version bump 0.2.5 -> 0.8.2
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (10 preceding siblings ...)
  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 ` Bastian Krause
  2020-09-21 12:33 ` [ptxdist] [PATCH v2 14/18] python3-markupsafe: new package Bastian Krause
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
- use ptx/mirror-pypi macro for URL
---
 rules/python3-aiohttp-wsgi.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/python3-aiohttp-wsgi.make b/rules/python3-aiohttp-wsgi.make
index 7b1832130..1e0535684 100644
--- a/rules/python3-aiohttp-wsgi.make
+++ b/rules/python3-aiohttp-wsgi.make
@@ -14,11 +14,11 @@ PACKAGES-$(PTXCONF_PYTHON3_AIOHTTP_WSGI) += python3-aiohttp-wsgi
 #
 # Paths and names
 #
-PYTHON3_AIOHTTP_WSGI_VERSION	:= 0.2.5
-PYTHON3_AIOHTTP_WSGI_MD5	:= ab630af7b72622a8f1534639cf48cd2d
+PYTHON3_AIOHTTP_WSGI_VERSION	:= 0.8.2
+PYTHON3_AIOHTTP_WSGI_MD5	:= 39c883cbe15c7532452a707924814c40
 PYTHON3_AIOHTTP_WSGI		:= aiohttp-wsgi-$(PYTHON3_AIOHTTP_WSGI_VERSION)
 PYTHON3_AIOHTTP_WSGI_SUFFIX	:= tar.gz
-PYTHON3_AIOHTTP_WSGI_URL	:= https://pypi.python.org/packages/source/a/aiohttp-wsgi/$(PYTHON3_AIOHTTP_WSGI).$(PYTHON3_AIOHTTP_WSGI_SUFFIX)
+PYTHON3_AIOHTTP_WSGI_URL	:= $(call ptx/mirror-pypi, aiohttp-wsgi, $(PYTHON3_AIOHTTP_WSGI).$(PYTHON3_AIOHTTP_WSGI_SUFFIX))
 PYTHON3_AIOHTTP_WSGI_SOURCE	:= $(SRCDIR)/$(PYTHON3_AIOHTTP_WSGI).$(PYTHON3_AIOHTTP_WSGI_SUFFIX)
 PYTHON3_AIOHTTP_WSGI_DIR	:= $(BUILDDIR)/$(PYTHON3_AIOHTTP_WSGI)
 PYTHON3_AIOHTTP_WSGI_LICENSE	:= BSD
-- 
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

* [ptxdist] [PATCH v2 14/18] python3-markupsafe: new package
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (11 preceding siblings ...)
  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 ` Bastian Krause
  2020-09-21 12:33 ` [ptxdist] [PATCH v2 15/18] python3-jinja2: " Bastian Krause
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

python3-jinja (which will be introduced in a later commit) requires
this.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
- use ptx/mirror-pypi macro for URL
---
 rules/python3-markupsafe.in   |  8 ++++++
 rules/python3-markupsafe.make | 52 +++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 rules/python3-markupsafe.in
 create mode 100644 rules/python3-markupsafe.make

diff --git a/rules/python3-markupsafe.in b/rules/python3-markupsafe.in
new file mode 100644
index 000000000..7425a73a8
--- /dev/null
+++ b/rules/python3-markupsafe.in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_MARKUPSAFE
+	tristate
+	select PYTHON3
+	prompt "markupsafe"
+	help
+	  Safely add untrusted strings to HTML/XML markup.
diff --git a/rules/python3-markupsafe.make b/rules/python3-markupsafe.make
new file mode 100644
index 000000000..e70c63558
--- /dev/null
+++ b/rules/python3-markupsafe.make
@@ -0,0 +1,52 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Bastian Krause <bst@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_MARKUPSAFE) += python3-markupsafe
+
+#
+# Paths and names
+#
+PYTHON3_MARKUPSAFE_VERSION	:= 1.1.1
+PYTHON3_MARKUPSAFE_MD5		:= 43fd756864fe42063068e092e220c57b
+PYTHON3_MARKUPSAFE		:= MarkupSafe-$(PYTHON3_MARKUPSAFE_VERSION)
+PYTHON3_MARKUPSAFE_SUFFIX	:= tar.gz
+PYTHON3_MARKUPSAFE_URL		:= $(call ptx/mirror-pypi, MarkupSafe, $(PYTHON3_MARKUPSAFE).$(PYTHON3_MARKUPSAFE_SUFFIX))
+PYTHON3_MARKUPSAFE_SOURCE	:= $(SRCDIR)/$(PYTHON3_MARKUPSAFE).$(PYTHON3_MARKUPSAFE_SUFFIX)
+PYTHON3_MARKUPSAFE_DIR		:= $(BUILDDIR)/$(PYTHON3_MARKUPSAFE)
+PYTHON3_MARKUPSAFE_LICENSE	:= BSD-3-Clause
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_MARKUPSAFE_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-markupsafe.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-markupsafe)
+	@$(call install_fixup, python3-markupsafe, PRIORITY, optional)
+	@$(call install_fixup, python3-markupsafe, SECTION, base)
+	@$(call install_fixup, python3-markupsafe, AUTHOR, "Bastian Krause <bst@pengutronix.de>")
+	@$(call install_fixup, python3-markupsafe, DESCRIPTION, missing)
+
+	@$(call install_glob, python3-markupsafe, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES),, *.py)
+
+	@$(call install_finish, python3-markupsafe)
+
+	@$(call touch)
+
+# 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

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

* [ptxdist] [PATCH v2 15/18] python3-jinja2: new package
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (12 preceding siblings ...)
  2020-09-21 12:33 ` [ptxdist] [PATCH v2 14/18] python3-markupsafe: new package Bastian Krause
@ 2020-09-21 12:33 ` Bastian Krause
  2020-09-21 12:33 ` [ptxdist] [PATCH v2 16/18] python3-pytz: version bump 2018.5 -> 2020.1 Bastian Krause
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
- use ptx/mirror-pypi macro for URL
---
 rules/python3-jinja2.in   |  9 +++++++
 rules/python3-jinja2.make | 49 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)
 create mode 100644 rules/python3-jinja2.in
 create mode 100644 rules/python3-jinja2.make

diff --git a/rules/python3-jinja2.in b/rules/python3-jinja2.in
new file mode 100644
index 000000000..6e493cfdd
--- /dev/null
+++ b/rules/python3-jinja2.in
@@ -0,0 +1,9 @@
+## SECTION=python3
+
+config PYTHON3_JINJA2
+	tristate
+	select PYTHON3
+	select PYTHON3_MARKUPSAFE	if RUNTIME
+	prompt "jinja2"
+	help
+	  Fast, expressive, extensible templating engine
diff --git a/rules/python3-jinja2.make b/rules/python3-jinja2.make
new file mode 100644
index 000000000..3e9c8586c
--- /dev/null
+++ b/rules/python3-jinja2.make
@@ -0,0 +1,49 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Bastian Krause <bst@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_JINJA2) += python3-jinja2
+
+PYTHON3_JINJA2_VERSION	:= 2.11.2
+PYTHON3_JINJA2_MD5	:= 0362203b22547abca06ed1082bc1e7b4
+PYTHON3_JINJA2		:= Jinja2-$(PYTHON3_JINJA2_VERSION)
+PYTHON3_JINJA2_SUFFIX	:= tar.gz
+PYTHON3_JINJA2_URL	:= $(call ptx/mirror-pypi, jinja2, $(PYTHON3_JINJA2).$(PYTHON3_JINJA2_SUFFIX))
+PYTHON3_JINJA2_SOURCE	:= $(SRCDIR)/$(PYTHON3_JINJA2).$(PYTHON3_JINJA2_SUFFIX)
+PYTHON3_JINJA2_DIR	:= $(BUILDDIR)/$(PYTHON3_JINJA2)
+PYTHON3_JINJA2_LICENSE	:= BSD-3-Clause
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_JINJA2_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-jinja2.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-jinja2)
+	@$(call install_fixup,python3-jinja2,PRIORITY,optional)
+	@$(call install_fixup,python3-jinja2,SECTION,base)
+	@$(call install_fixup,python3-jinja2,AUTHOR,"Bastian Krause <bst@pengutronix.de>")
+	@$(call install_fixup,python3-jinja2,DESCRIPTION,missing)
+
+	@$(call install_glob, python3-jinja2, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES),, *.py)
+
+	@$(call install_finish,python3-jinja2)
+
+	@$(call touch)
+
+# 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

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

* [ptxdist] [PATCH v2 16/18] python3-pytz: version bump 2018.5 -> 2020.1
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (13 preceding siblings ...)
  2020-09-21 12:33 ` [ptxdist] [PATCH v2 15/18] python3-jinja2: " Bastian Krause
@ 2020-09-21 12:33 ` 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-21 12:33 ` [ptxdist] [PATCH v2 17/18] python3-sqlparse: new package Bastian Krause
                   ` (2 subsequent siblings)
  17 siblings, 1 reply; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
- use ptx/mirror-pypi macro for URL
---
 rules/python3-pytz.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/python3-pytz.make b/rules/python3-pytz.make
index bf7bb982a..b0a05a476 100644
--- a/rules/python3-pytz.make
+++ b/rules/python3-pytz.make
@@ -11,11 +11,11 @@
 #
 PACKAGES-$(PTXCONF_PYTHON3_PYTZ) += python3-pytz
 
-PYTHON3_PYTZ_VERSION	:= 2018.5
-PYTHON3_PYTZ_MD5	:= 45409cbfa3927bdd2f3ee914dd5b1060
+PYTHON3_PYTZ_VERSION	:= 2020.1
+PYTHON3_PYTZ_MD5	:= 0349106ac02f2bfe565dd6d5594e3a15
 PYTHON3_PYTZ		:= pytz-$(PYTHON3_PYTZ_VERSION)
 PYTHON3_PYTZ_SUFFIX	:= tar.gz
-PYTHON3_PYTZ_URL	:= https://pypi.python.org/packages/ca/a9/62f96decb1e309d6300ebe7eee9acfd7bccaeedd693794437005b9067b44/$(PYTHON3_PYTZ).$(PYTHON3_PYTZ_SUFFIX)\#md5=$(PYTHON3_PYTZ_MD5)
+PYTHON3_PYTZ_URL	:= $(call ptx/mirror-pypi, pytz, $(PYTHON3_PYTZ).$(PYTHON3_PYTZ_SUFFIX))
 PYTHON3_PYTZ_SOURCE	:= $(SRCDIR)/$(PYTHON3_PYTZ).$(PYTHON3_PYTZ_SUFFIX)
 PYTHON3_PYTZ_DIR	:= $(BUILDDIR)/$(PYTHON3_PYTZ)
 PYTHON3_PYTZ_LICENSE	:= MIT
-- 
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

* [ptxdist] [PATCH v2 17/18] python3-sqlparse: new package
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (14 preceding siblings ...)
  2020-09-21 12:33 ` [ptxdist] [PATCH v2 16/18] python3-pytz: version bump 2018.5 -> 2020.1 Bastian Krause
@ 2020-09-21 12:33 ` 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-21 21:28 ` [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Roland Hieber
  17 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

python3-django requires this since version 2.2 .

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since (implicit) v1:
- use ptx/mirror-pypi macro for URL
---
 rules/python3-sqlparse.in   |  8 ++++++
 rules/python3-sqlparse.make | 52 +++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 rules/python3-sqlparse.in
 create mode 100644 rules/python3-sqlparse.make

diff --git a/rules/python3-sqlparse.in b/rules/python3-sqlparse.in
new file mode 100644
index 000000000..17b4097ba
--- /dev/null
+++ b/rules/python3-sqlparse.in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_SQLPARSE
+	tristate
+	select PYTHON3
+	prompt "sqlparse"
+	help
+	  Non-validating SQL parser for Python
diff --git a/rules/python3-sqlparse.make b/rules/python3-sqlparse.make
new file mode 100644
index 000000000..5590e9473
--- /dev/null
+++ b/rules/python3-sqlparse.make
@@ -0,0 +1,52 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Bastian Krause <bst@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_SQLPARSE) += python3-sqlparse
+
+#
+# Paths and names
+#
+PYTHON3_SQLPARSE_VERSION	:= 0.3.1
+PYTHON3_SQLPARSE_MD5		:= 423047887a3590b04dd18f8caf843a2f
+PYTHON3_SQLPARSE		:= sqlparse-$(PYTHON3_SQLPARSE_VERSION)
+PYTHON3_SQLPARSE_SUFFIX		:= tar.gz
+PYTHON3_SQLPARSE_URL		:= $(call ptx/mirror-pypi, sqlparse, $(PYTHON3_SQLPARSE).$(PYTHON3_SQLPARSE_SUFFIX))
+PYTHON3_SQLPARSE_SOURCE		:= $(SRCDIR)/$(PYTHON3_SQLPARSE).$(PYTHON3_SQLPARSE_SUFFIX)
+PYTHON3_SQLPARSE_DIR		:= $(BUILDDIR)/$(PYTHON3_SQLPARSE)
+PYTHON3_SQLPARSE_LICENSE	:= BSD-3-Clause
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_SQLPARSE_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-sqlparse.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-sqlparse)
+	@$(call install_fixup, python3-sqlparse, PRIORITY, optional)
+	@$(call install_fixup, python3-sqlparse, SECTION, base)
+	@$(call install_fixup, python3-sqlparse, AUTHOR, "Bastian Krause <bst@pengutronix.de>")
+	@$(call install_fixup, python3-sqlparse, DESCRIPTION, missing)
+
+	@$(call install_glob, python3-sqlparse, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES),, *.py)
+
+	@$(call install_finish, python3-sqlparse)
+
+	@$(call touch)
+
+# 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

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

* [ptxdist] [PATCH v2 18/18] python3-django: version bump 1.8.7 -> 2.2.16
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (15 preceding siblings ...)
  2020-09-21 12:33 ` [ptxdist] [PATCH v2 17/18] python3-sqlparse: new package Bastian Krause
@ 2020-09-21 12:33 ` Bastian Krause
  2020-09-22 11:49   ` Michael Olbrich
  2020-09-21 21:28 ` [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Roland Hieber
  17 siblings, 1 reply; 25+ messages in thread
From: Bastian Krause @ 2020-09-21 12:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

This is the latest LTS version.

Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No changes since (implicit) v1.
---
 rules/python3-django.in   | 3 +++
 rules/python3-django.make | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/rules/python3-django.in b/rules/python3-django.in
index 0475108bd..e55bfa582 100644
--- a/rules/python3-django.in
+++ b/rules/python3-django.in
@@ -3,6 +3,9 @@
 menuconfig PYTHON3_DJANGO
 	tristate
 	select PYTHON3
+	select PYTHON3_DISTUTILS	if RUNTIME
+	select PYTHON3_PYTZ		if RUNTIME
+	select PYTHON3_SQLPARSE		if RUNTIME
 	prompt "django                        "
 	help
 	  Django is a high-level Python Web framework that encourages rapid
diff --git a/rules/python3-django.make b/rules/python3-django.make
index ffc73a4b8..64dc291ad 100644
--- a/rules/python3-django.make
+++ b/rules/python3-django.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PYTHON3_DJANGO) += python3-django
 #
 # Paths and names
 #
-PYTHON3_DJANGO_VERSION	:= 1.8.7
-PYTHON3_DJANGO_MD5	:= 44c01355b5efa01938a89b8bd798b1ed
+PYTHON3_DJANGO_VERSION	:= 2.2.16
+PYTHON3_DJANGO_MD5	:= 93faf5bbd54a19ea49f4932a813b9758
 PYTHON3_DJANGO		:= Django-$(PYTHON3_DJANGO_VERSION)
 PYTHON3_DJANGO_SUFFIX	:= tar.gz
 PYTHON3_DJANGO_URL	:= https://www.djangoproject.com/download/$(PYTHON3_DJANGO_VERSION)/tarball/
-- 
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

* Re: [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
  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   ` 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
  0 siblings, 1 reply; 25+ messages in thread
From: Artur Wiebe @ 2020-09-21 12:58 UTC (permalink / raw)
  To: ptxdist

Hi Bastian,

there is also a patch series for pytz: root/patches/pytz-2018.5

Regards,
Artur 
 

 
On Monday, September 21, 2020 14:33 CEST, Bastian Krause <bst@pengutronix.de> wrote: 
 
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> ---
> Changes since (implicit) v1:
> - use ptx/mirror-pypi macro for URL
> ---
>  rules/python3-pytz.make | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/rules/python3-pytz.make b/rules/python3-pytz.make
> index bf7bb982a..b0a05a476 100644
> --- a/rules/python3-pytz.make
> +++ b/rules/python3-pytz.make
> @@ -11,11 +11,11 @@
>  #
>  PACKAGES-$(PTXCONF_PYTHON3_PYTZ) += python3-pytz
>  
> -PYTHON3_PYTZ_VERSION	:= 2018.5
> -PYTHON3_PYTZ_MD5	:= 45409cbfa3927bdd2f3ee914dd5b1060
> +PYTHON3_PYTZ_VERSION	:= 2020.1
> +PYTHON3_PYTZ_MD5	:= 0349106ac02f2bfe565dd6d5594e3a15
>  PYTHON3_PYTZ		:= pytz-$(PYTHON3_PYTZ_VERSION)
>  PYTHON3_PYTZ_SUFFIX	:= tar.gz
> -PYTHON3_PYTZ_URL	:= https://pypi.python.org/packages/ca/a9/62f96decb1e309d6300ebe7eee9acfd7bccaeedd693794437005b9067b44/$(PYTHON3_PYTZ).$(PYTHON3_PYTZ_SUFFIX)\#md5=$(PYTHON3_PYTZ_MD5)
> +PYTHON3_PYTZ_URL	:= $(call ptx/mirror-pypi, pytz, $(PYTHON3_PYTZ).$(PYTHON3_PYTZ_SUFFIX))
>  PYTHON3_PYTZ_SOURCE	:= $(SRCDIR)/$(PYTHON3_PYTZ).$(PYTHON3_PYTZ_SUFFIX)
>  PYTHON3_PYTZ_DIR	:= $(BUILDDIR)/$(PYTHON3_PYTZ)
>  PYTHON3_PYTZ_LICENSE	:= MIT
> -- 
> 2.28.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


_______________________________________________
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

* Re: [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror
  2020-09-21 12:32 [ptxdist] [PATCH v2 01/18] setup: introduce pypi mirror Bastian Krause
                   ` (16 preceding siblings ...)
  2020-09-21 12:33 ` [ptxdist] [PATCH v2 18/18] python3-django: version bump 1.8.7 -> 2.2.16 Bastian Krause
@ 2020-09-21 21:28 ` Roland Hieber
  17 siblings, 0 replies; 25+ messages in thread
From: Roland Hieber @ 2020-09-21 21:28 UTC (permalink / raw)
  To: Bastian Krause; +Cc: ptxdist

On Mon, Sep 21, 2020 at 02:32:51PM +0200, Bastian Krause wrote:
> 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>

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

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

* Re: [ptxdist] [PATCH v2 03/18] package templates: add python3-pypi template
  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
  0 siblings, 1 reply; 25+ messages in thread
From: Roland Hieber @ 2020-09-21 21:31 UTC (permalink / raw)
  To: Bastian Krause; +Cc: ptxdist

On Mon, Sep 21, 2020 at 02:32:53PM +0200, Bastian Krause wrote:
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> ---
> No previous version.
> ---
>  rules/templates/template-python3-pypi-in   |  8 ++++
>  rules/templates/template-python3-pypi-make | 51 ++++++++++++++++++++++
>  scripts/lib/ptxd_lib_template.sh           | 10 +++++
>  3 files changed, 69 insertions(+)
>  create mode 100644 rules/templates/template-python3-pypi-in
>  create mode 100644 rules/templates/template-python3-pypi-make
> 
> diff --git a/rules/templates/template-python3-pypi-in b/rules/templates/template-python3-pypi-in
> new file mode 100644
> index 000000000..5f758f5bd
> --- /dev/null
> +++ b/rules/templates/template-python3-pypi-in
> @@ -0,0 +1,8 @@
> +## SECTION=python3
> +
> +config PYTHON3_@PACKAGE@
> +	tristate
> +	select PYTHON3
> +	prompt "@package@"
> +	help
> +	  FIXME
> diff --git a/rules/templates/template-python3-pypi-make b/rules/templates/template-python3-pypi-make
> new file mode 100644
> index 000000000..9bd8cec6d
> --- /dev/null
> +++ b/rules/templates/template-python3-pypi-make
> @@ -0,0 +1,51 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) @YEAR@ by @AUTHOR@
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_@PACKAGE@) += python3-@package@
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_@PACKAGE@_VERSION	:= @VERSION@
> +PYTHON3_@PACKAGE@_MD5		:=
> +PYTHON3_@PACKAGE@		:= @package@-$(PYTHON3_@PACKAGE@_VERSION)
> +PYTHON3_@PACKAGE@_SUFFIX	:= tar.gz
> +PYTHON3_@PACKAGE@_URL		:= $(call ptx/mirror-pypi, @package@, $(PYTHON3_@PACKAGE@).$(PYTHON3_@PACKAGE@_SUFFIX))
> +PYTHON3_@PACKAGE@_SOURCE	:= $(SRCDIR)/$(PYTHON3_@PACKAGE@).$(PYTHON3_@PACKAGE@_SUFFIX)
> +PYTHON3_@PACKAGE@_DIR		:= $(BUILDDIR)/$(PYTHON3_@PACKAGE@)
> +PYTHON3_@PACKAGE@_LICENSE	:= unknown
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_@PACKAGE@_CONF_TOOL	:= python3

Please add a balancing empty line here... :)

> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-@package@.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, python3-@package@)
> +	@$(call install_fixup, python3-@package@,PRIORITY,optional)
> +	@$(call install_fixup, python3-@package@,SECTION,base)
> +	@$(call install_fixup, python3-@package@,AUTHOR,"@AUTHOR@")
> +	@$(call install_fixup, python3-@package@,DESCRIPTION,missing)
> +
> +	@$(call install_glob, python3-@package@, 0, 0, -, \
> +		$(PYTHON3_SITEPACKAGES),, *.py)
> +
> +	@$(call install_finish, python3-@package@)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make
> diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh
> index 5fdb805eb..f3f03a8d1 100644
> --- a/scripts/lib/ptxd_lib_template.sh
> +++ b/scripts/lib/ptxd_lib_template.sh
> @@ -407,6 +407,16 @@ export -f ptxd_template_new_cross
>  ptxd_template_help_list[${#ptxd_template_help_list[@]}]="cross"
>  ptxd_template_help_list[${#ptxd_template_help_list[@]}]="create cross development package"
>  
> +ptxd_template_new_python3_pypi() {
> +    ptxd_template_read_basic &&
> +    ptxd_template_read_author
> +    package_filename="python3-${package_filename}"
> +    ptxd_template_write_rules
> +}
> +export -f ptxd_template_new_python3_pypi
> +ptxd_template_help_list[${#ptxd_template_help_list[@]}]="python3-pypi"

I think we could also just call it "pypi", or "pypi3", but it's not that
important.

Otherwise the patch looks good to me.

 - Roland

> +ptxd_template_help_list[${#ptxd_template_help_list[@]}]="create python3-pypi package for embedded target"
> +
>  ptxd_template_new_src_autoconf_lib() {
>      ptxd_template_autoconf_base
>  }
> -- 
> 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

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

* Re: [ptxdist] [PATCH v2 03/18] package templates: add python3-pypi template
  2020-09-21 21:31   ` Roland Hieber
@ 2020-09-22  8:09     ` Michael Olbrich
  0 siblings, 0 replies; 25+ messages in thread
From: Michael Olbrich @ 2020-09-22  8:09 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

On Mon, Sep 21, 2020 at 11:31:03PM +0200, Roland Hieber wrote:
> On Mon, Sep 21, 2020 at 02:32:53PM +0200, Bastian Krause wrote:
> > Signed-off-by: Bastian Krause <bst@pengutronix.de>
> > ---
> > No previous version.
> > ---
> >  rules/templates/template-python3-pypi-in   |  8 ++++
> >  rules/templates/template-python3-pypi-make | 51 ++++++++++++++++++++++
> >  scripts/lib/ptxd_lib_template.sh           | 10 +++++
> >  3 files changed, 69 insertions(+)
> >  create mode 100644 rules/templates/template-python3-pypi-in
> >  create mode 100644 rules/templates/template-python3-pypi-make
> > 
> > diff --git a/rules/templates/template-python3-pypi-in b/rules/templates/template-python3-pypi-in
> > new file mode 100644
> > index 000000000..5f758f5bd
> > --- /dev/null
> > +++ b/rules/templates/template-python3-pypi-in
> > @@ -0,0 +1,8 @@
> > +## SECTION=python3
> > +
> > +config PYTHON3_@PACKAGE@
> > +	tristate
> > +	select PYTHON3
> > +	prompt "@package@"
> > +	help
> > +	  FIXME
> > diff --git a/rules/templates/template-python3-pypi-make b/rules/templates/template-python3-pypi-make
> > new file mode 100644
> > index 000000000..9bd8cec6d
> > --- /dev/null
> > +++ b/rules/templates/template-python3-pypi-make
> > @@ -0,0 +1,51 @@
> > +# -*-makefile-*-
> > +#
> > +# Copyright (C) @YEAR@ by @AUTHOR@
> > +#
> > +# For further information about the PTXdist project and license conditions
> > +# see the README file.
> > +#
> > +
> > +#
> > +# We provide this package
> > +#
> > +PACKAGES-$(PTXCONF_PYTHON3_@PACKAGE@) += python3-@package@
> > +
> > +#
> > +# Paths and names
> > +#
> > +PYTHON3_@PACKAGE@_VERSION	:= @VERSION@
> > +PYTHON3_@PACKAGE@_MD5		:=
> > +PYTHON3_@PACKAGE@		:= @package@-$(PYTHON3_@PACKAGE@_VERSION)
> > +PYTHON3_@PACKAGE@_SUFFIX	:= tar.gz
> > +PYTHON3_@PACKAGE@_URL		:= $(call ptx/mirror-pypi, @package@, $(PYTHON3_@PACKAGE@).$(PYTHON3_@PACKAGE@_SUFFIX))
> > +PYTHON3_@PACKAGE@_SOURCE	:= $(SRCDIR)/$(PYTHON3_@PACKAGE@).$(PYTHON3_@PACKAGE@_SUFFIX)
> > +PYTHON3_@PACKAGE@_DIR		:= $(BUILDDIR)/$(PYTHON3_@PACKAGE@)
> > +PYTHON3_@PACKAGE@_LICENSE	:= unknown
> > +
> > +# ----------------------------------------------------------------------------
> > +# Prepare
> > +# ----------------------------------------------------------------------------
> > +
> > +PYTHON3_@PACKAGE@_CONF_TOOL	:= python3
> 
> Please add a balancing empty line here... :)

Indeed.

> > +# ----------------------------------------------------------------------------
> > +# Target-Install
> > +# ----------------------------------------------------------------------------
> > +
> > +$(STATEDIR)/python3-@package@.targetinstall:
> > +	@$(call targetinfo)
> > +
> > +	@$(call install_init, python3-@package@)
> > +	@$(call install_fixup, python3-@package@,PRIORITY,optional)
> > +	@$(call install_fixup, python3-@package@,SECTION,base)
> > +	@$(call install_fixup, python3-@package@,AUTHOR,"@AUTHOR@")
> > +	@$(call install_fixup, python3-@package@,DESCRIPTION,missing)
> > +
> > +	@$(call install_glob, python3-@package@, 0, 0, -, \
> > +		$(PYTHON3_SITEPACKAGES),, *.py)
> > +
> > +	@$(call install_finish, python3-@package@)
> > +
> > +	@$(call touch)
> > +
> > +# vim: syntax=make
> > diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh
> > index 5fdb805eb..f3f03a8d1 100644
> > --- a/scripts/lib/ptxd_lib_template.sh
> > +++ b/scripts/lib/ptxd_lib_template.sh
> > @@ -407,6 +407,16 @@ export -f ptxd_template_new_cross
> >  ptxd_template_help_list[${#ptxd_template_help_list[@]}]="cross"
> >  ptxd_template_help_list[${#ptxd_template_help_list[@]}]="create cross development package"
> >  
> > +ptxd_template_new_python3_pypi() {
> > +    ptxd_template_read_basic &&
> > +    ptxd_template_read_author
> > +    package_filename="python3-${package_filename}"
> > +    ptxd_template_write_rules
> > +}
> > +export -f ptxd_template_new_python3_pypi
> > +ptxd_template_help_list[${#ptxd_template_help_list[@]}]="python3-pypi"
> 
> I think we could also just call it "pypi", or "pypi3", but it's not that
> important.

I think I prefer python3-pypi. Or maybe turn this into a generic 'python3'
template: Use the pypi URL as default when prompting for the URL.

Michael

> Otherwise the patch looks good to me.
> 
>  - Roland
> 
> > +ptxd_template_help_list[${#ptxd_template_help_list[@]}]="create python3-pypi package for embedded target"
> > +
> >  ptxd_template_new_src_autoconf_lib() {
> >      ptxd_template_autoconf_base
> >  }
> > -- 
> > 2.28.0

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://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

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

* Re: [ptxdist] ?= [PATCH v2 16/18] python3-pytz: version bump 2018.5 ->=?utf-8?q? 2020.1
  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     ` Bastian Krause
  0 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-22  8:13 UTC (permalink / raw)
  To: ptxdist, Artur Wiebe

Hi Artur,

On 9/21/20 2:58 PM, Artur Wiebe wrote:
> there is also a patch series for pytz: root/patches/pytz-2018.5

Oh, you're right, I'll fix this in v3.

Regards,
Bastian

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://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

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

* Re: [ptxdist] [PATCH v2 18/18] python3-django: version bump 1.8.7 -> 2.2.16
  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
  0 siblings, 1 reply; 25+ messages in thread
From: Michael Olbrich @ 2020-09-22 11:49 UTC (permalink / raw)
  To: ptxdist; +Cc: Bastian Krause

On Mon, Sep 21, 2020 at 02:33:08PM +0200, Bastian Krause wrote:
> This is the latest LTS version.
> 
> Signed-off-by: Bastian Krause <bst@pengutronix.de>

The old version has patches.

Michael

> ---
> No changes since (implicit) v1.
> ---
>  rules/python3-django.in   | 3 +++
>  rules/python3-django.make | 4 ++--
>  2 files changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/rules/python3-django.in b/rules/python3-django.in
> index 0475108bd..e55bfa582 100644
> --- a/rules/python3-django.in
> +++ b/rules/python3-django.in
> @@ -3,6 +3,9 @@
>  menuconfig PYTHON3_DJANGO
>  	tristate
>  	select PYTHON3
> +	select PYTHON3_DISTUTILS	if RUNTIME
> +	select PYTHON3_PYTZ		if RUNTIME
> +	select PYTHON3_SQLPARSE		if RUNTIME
>  	prompt "django                        "
>  	help
>  	  Django is a high-level Python Web framework that encourages rapid
> diff --git a/rules/python3-django.make b/rules/python3-django.make
> index ffc73a4b8..64dc291ad 100644
> --- a/rules/python3-django.make
> +++ b/rules/python3-django.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_PYTHON3_DJANGO) += python3-django
>  #
>  # Paths and names
>  #
> -PYTHON3_DJANGO_VERSION	:= 1.8.7
> -PYTHON3_DJANGO_MD5	:= 44c01355b5efa01938a89b8bd798b1ed
> +PYTHON3_DJANGO_VERSION	:= 2.2.16
> +PYTHON3_DJANGO_MD5	:= 93faf5bbd54a19ea49f4932a813b9758
>  PYTHON3_DJANGO		:= Django-$(PYTHON3_DJANGO_VERSION)
>  PYTHON3_DJANGO_SUFFIX	:= tar.gz
>  PYTHON3_DJANGO_URL	:= https://www.djangoproject.com/download/$(PYTHON3_DJANGO_VERSION)/tarball/
> -- 
> 2.28.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://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

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

* Re: [ptxdist] [PATCH v2 18/18] python3-django: version bump 1.8.7 -> 2.2.16
  2020-09-22 11:49   ` Michael Olbrich
@ 2020-09-22 12:00     ` Bastian Krause
  0 siblings, 0 replies; 25+ messages in thread
From: Bastian Krause @ 2020-09-22 12:00 UTC (permalink / raw)
  To: ptxdist

On 9/22/20 1:49 PM, Michael Olbrich wrote:
> On Mon, Sep 21, 2020 at 02:33:08PM +0200, Bastian Krause wrote:
>> This is the latest LTS version.
>>
>> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> 
> The old version has patches.

Yes, just realized this as well. I'll fix it in v3.

Regards,
Bastian

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://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

^ 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