* [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror
@ 2020-09-22 14:14 Bastian Krause
2020-09-22 14:14 ` [ptxdist] [PATCH v3 02/19] rules/pre/mirror: add ptx/mirror-pypi Bastian Krause
` (18 more replies)
0 siblings, 19 replies; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Roland Hieber, Bastian Krause
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>
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since v2:
- added my SoB
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] 37+ messages in thread
* [ptxdist] [PATCH v3 02/19] rules/pre/mirror: add ptx/mirror-pypi
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 03/19] ptxd_lib_template: allow default url/suffix in ptxd_template_read_url Bastian Krause
` (17 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 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>
---
Changes since v2:
No changes.
Changes since v1:
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] 37+ messages in thread
* [ptxdist] [PATCH v3 03/19] ptxd_lib_template: allow default url/suffix in ptxd_template_read_url
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
2020-09-22 14:14 ` [ptxdist] [PATCH v3 02/19] rules/pre/mirror: add ptx/mirror-pypi Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 04/19] package templates: add python3 template Bastian Krause
` (16 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No previous version.
---
scripts/lib/ptxd_lib_template.sh | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh
index 5fdb805eb..59c2a073e 100644
--- a/scripts/lib/ptxd_lib_template.sh
+++ b/scripts/lib/ptxd_lib_template.sh
@@ -85,11 +85,16 @@ ptxd_template_read_version() {
fi
}
export -f ptxd_template_read_version
-
+#
+# Read URL of basedir and suffix from user input
+#
+# $1 default URL of basedir (optional)
+# $2 default suffix (optional)
+#
ptxd_template_read_url() {
if [ -z "${ptxd_template_have_existing}" ]; then
- ptxd_template_read "enter URL of basedir" URL
- ptxd_template_read "enter suffix" SUFFIX
+ ptxd_template_read "enter URL of basedir" URL "${1}"
+ ptxd_template_read "enter suffix" SUFFIX "${2}"
fi
}
export -f ptxd_template_read_url
--
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] 37+ messages in thread
* [ptxdist] [PATCH v3 04/19] package templates: add python3 template
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
2020-09-22 14:14 ` [ptxdist] [PATCH v3 02/19] rules/pre/mirror: add ptx/mirror-pypi Bastian Krause
2020-09-22 14:14 ` [ptxdist] [PATCH v3 03/19] ptxd_lib_template: allow default url/suffix in ptxd_template_read_url Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 05/19] python3-async-timeout: version bump 2.0.0 -> 3.0.1 Bastian Krause
` (15 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since v2:
- turned into generic python3 template
- add pypi mirror URL/suffix as defaults
---
rules/templates/template-python3-in | 8 +++++
rules/templates/template-python3-make | 52 +++++++++++++++++++++++++++
scripts/lib/ptxd_lib_template.sh | 16 +++++++++
3 files changed, 76 insertions(+)
create mode 100644 rules/templates/template-python3-in
create mode 100644 rules/templates/template-python3-make
diff --git a/rules/templates/template-python3-in b/rules/templates/template-python3-in
new file mode 100644
index 000000000..5f758f5bd
--- /dev/null
+++ b/rules/templates/template-python3-in
@@ -0,0 +1,8 @@
+## SECTION=python3
+
+config PYTHON3_@PACKAGE@
+ tristate
+ select PYTHON3
+ prompt "@package@"
+ help
+ FIXME
diff --git a/rules/templates/template-python3-make b/rules/templates/template-python3-make
new file mode 100644
index 000000000..bed25ea2e
--- /dev/null
+++ b/rules/templates/template-python3-make
@@ -0,0 +1,52 @@
+# -*-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 := @SUFFIX@
+PYTHON3_@PACKAGE@_URL := @URL@
+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 59c2a073e..a75c775a5 100644
--- a/scripts/lib/ptxd_lib_template.sh
+++ b/scripts/lib/ptxd_lib_template.sh
@@ -412,6 +412,22 @@ 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() {
+ ptxd_template_read_basic &&
+ ptxd_template_read_author &&
+ ptxd_template_read_url \
+ "\$(call ptx/mirror-pypi, ${package}, \$(PYTHON3_${PACKAGE}).\$(PYTHON3_${PACKAGE}_SUFFIX))" \
+ "tar.gz"
+ # turn URL of basedir into complete URL
+ [[ "$URL" != "\$(call ptx/mirror"* ]] \
+ && URL="$URL/\$(${PACKAGE}).\$(${PACKAGE}_SUFFIX)"
+ package_filename="python3-${package_filename}"
+ ptxd_template_write_rules
+}
+export -f ptxd_template_new_python3
+ptxd_template_help_list[${#ptxd_template_help_list[@]}]="python3"
+ptxd_template_help_list[${#ptxd_template_help_list[@]}]="create python3 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] 37+ messages in thread
* [ptxdist] [PATCH v3 05/19] python3-async-timeout: version bump 2.0.0 -> 3.0.1
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (2 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 04/19] package templates: add python3 template Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 06/19] python3-chardet: version bump 2.3.0 -> 3.0.4 Bastian Krause
` (14 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No changes since v2.
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] 37+ messages in thread
* [ptxdist] [PATCH v3 06/19] python3-chardet: version bump 2.3.0 -> 3.0.4
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (3 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 05/19] python3-async-timeout: version bump 2.0.0 -> 3.0.1 Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 07/19] python3-attrs: version bump 19.3.0 -> 20.2.0 Bastian Krause
` (13 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No changes since v2.
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] 37+ messages in thread
* [ptxdist] [PATCH v3 07/19] python3-attrs: version bump 19.3.0 -> 20.2.0
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (4 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 06/19] python3-chardet: version bump 2.3.0 -> 3.0.4 Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 08/19] python3-idna: new package Bastian Krause
` (12 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No changes since v2.
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] 37+ messages in thread
* [ptxdist] [PATCH v3 08/19] python3-idna: new package
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (5 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 07/19] python3-attrs: version bump 19.3.0 -> 20.2.0 Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 09/19] python3-yarl: version bump 0.8.1 -> 1.5.1 Bastian Krause
` (11 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
python3-yarl requires this.
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No changes since v2.
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] 37+ messages in thread
* [ptxdist] [PATCH v3 09/19] python3-yarl: version bump 0.8.1 -> 1.5.1
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (6 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 08/19] python3-idna: new package Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 10/19] python3-multidict: version bump 2.1.4 -> 4.7.6 Bastian Krause
` (10 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
yarl requires idna since v0.17.0 .
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No changes since v2.
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] 37+ messages in thread
* [ptxdist] [PATCH v3 10/19] python3-multidict: version bump 2.1.4 -> 4.7.6
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (7 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 09/19] python3-yarl: version bump 0.8.1 -> 1.5.1 Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 11/19] python3-aiohttp: mark dependencies as RUNTIME Bastian Krause
` (9 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No changes since v2.
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] 37+ messages in thread
* [ptxdist] [PATCH v3 11/19] python3-aiohttp: mark dependencies as RUNTIME
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (8 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 10/19] python3-multidict: version bump 2.1.4 -> 4.7.6 Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 12/19] python3-aiohttp: add missing PYTHON3_ATTRS runtime dependency Bastian Krause
` (8 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 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 v2.
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] 37+ messages in thread
* [ptxdist] [PATCH v3 12/19] python3-aiohttp: add missing PYTHON3_ATTRS runtime dependency
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (9 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 11/19] python3-aiohttp: mark dependencies as RUNTIME Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 13/19] python3-aiohttp: version bump 3.4.4 -> 3.6.2 Bastian Krause
` (7 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 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 v2.
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] 37+ messages in thread
* [ptxdist] [PATCH v3 13/19] python3-aiohttp: version bump 3.4.4 -> 3.6.2
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (10 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 12/19] python3-aiohttp: add missing PYTHON3_ATTRS runtime dependency Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 14/19] python3-aiohttp-wsgi: version bump 0.2.5 -> 0.8.2 Bastian Krause
` (6 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No changes since v2.
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] 37+ messages in thread
* [ptxdist] [PATCH v3 14/19] python3-aiohttp-wsgi: version bump 0.2.5 -> 0.8.2
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (11 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 13/19] python3-aiohttp: version bump 3.4.4 -> 3.6.2 Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 15/19] python3-markupsafe: new package Bastian Krause
` (5 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No changes since v2.
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] 37+ messages in thread
* [ptxdist] [PATCH v3 15/19] python3-markupsafe: new package
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (12 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 14/19] python3-aiohttp-wsgi: version bump 0.2.5 -> 0.8.2 Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 16/19] python3-jinja2: " Bastian Krause
` (4 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 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>
---
No changes since v2.
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] 37+ messages in thread
* [ptxdist] [PATCH v3 16/19] python3-jinja2: new package
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (13 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 15/19] python3-markupsafe: new package Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 17/19] python3-pytz: version bump 2018.5 -> 2020.1 Bastian Krause
` (3 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No changes since v2.
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] 37+ messages in thread
* [ptxdist] [PATCH v3 17/19] python3-pytz: version bump 2018.5 -> 2020.1
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (14 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 16/19] python3-jinja2: " Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 18/19] python3-sqlparse: new package Bastian Krause
` (2 subsequent siblings)
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since v2:
- port missed system timezone patch
Changes since (implicit) v1:
- use ptx/mirror-pypi macro for URL
---
patches/pytz-2018.5/series | 1 -
.../0001-use-system-timezone-data.patch | 10 +++-------
patches/pytz-2020.1/series | 4 ++++
rules/python3-pytz.make | 6 +++---
4 files changed, 10 insertions(+), 11 deletions(-)
delete mode 100644 patches/pytz-2018.5/series
rename patches/{pytz-2018.5 => pytz-2020.1}/0001-use-system-timezone-data.patch (86%)
create mode 100644 patches/pytz-2020.1/series
diff --git a/patches/pytz-2018.5/series b/patches/pytz-2018.5/series
deleted file mode 100644
index f205d3297..000000000
--- a/patches/pytz-2018.5/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-use-system-timezone-data.patch
diff --git a/patches/pytz-2018.5/0001-use-system-timezone-data.patch b/patches/pytz-2020.1/0001-use-system-timezone-data.patch
similarity index 86%
rename from patches/pytz-2018.5/0001-use-system-timezone-data.patch
rename to patches/pytz-2020.1/0001-use-system-timezone-data.patch
index def117ee7..113ff9ae9 100644
--- a/patches/pytz-2018.5/0001-use-system-timezone-data.patch
+++ b/patches/pytz-2020.1/0001-use-system-timezone-data.patch
@@ -1,4 +1,3 @@
-From 09acc56fe52e53042c8d2dcb458b017de55a626d Mon Sep 17 00:00:00 2001
From: Artur Wiebe <artur@4wiebe.de>
Date: Tue, 11 Sep 2018 10:07:27 +0200
Subject: [PATCH] use system timezone data
@@ -9,10 +8,10 @@ Subject: [PATCH] use system timezone data
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/pytz/__init__.py b/pytz/__init__.py
-index 120fab4..006db4d 100644
+index 0c065e46b021..7e8bc8e65337 100644
--- a/pytz/__init__.py
+++ b/pytz/__init__.py
-@@ -91,7 +91,7 @@ def open_resource(name):
+@@ -92,7 +92,7 @@ def open_resource(name):
if zoneinfo_dir is not None:
filename = os.path.join(zoneinfo_dir, *name_parts)
else:
@@ -22,7 +21,7 @@ index 120fab4..006db4d 100644
if not os.path.exists(filename):
# http://bugs.launchpad.net/bugs/383171 - we avoid using this
diff --git a/pytz/tzfile.py b/pytz/tzfile.py
-index 25117f3..e06ce77 100644
+index 25117f325257..e06ce774e84d 100644
--- a/pytz/tzfile.py
+++ b/pytz/tzfile.py
@@ -126,7 +126,8 @@ def build_tzinfo(zone, fp):
@@ -35,6 +34,3 @@ index 25117f3..e06ce77 100644
tz = build_tzinfo('Australia/Melbourne',
open(os.path.join(base, 'Australia', 'Melbourne'), 'rb'))
tz = build_tzinfo('US/Eastern',
---
-2.18.0
-
diff --git a/patches/pytz-2020.1/series b/patches/pytz-2020.1/series
new file mode 100644
index 000000000..5e91bdc15
--- /dev/null
+++ b/patches/pytz-2020.1/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-use-system-timezone-data.patch
+# 2736325ecd6cf493887c381d1a571372 - git-ptx-patches magic
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] 37+ messages in thread
* [ptxdist] [PATCH v3 18/19] python3-sqlparse: new package
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (15 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 17/19] python3-pytz: version bump 2018.5 -> 2020.1 Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 19/19] python3-django: version bump 1.8.7 -> 2.2.16 Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] setup: introduce pypi mirror Michael Olbrich
18 siblings, 1 reply; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
python3-django requires this since version 2.2 .
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
No changes since v2.
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] 37+ messages in thread
* [ptxdist] [PATCH v3 19/19] python3-django: version bump 1.8.7 -> 2.2.16
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (16 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 18/19] python3-sqlparse: new package Bastian Krause
@ 2020-09-22 14:14 ` Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] setup: introduce pypi mirror Michael Olbrich
18 siblings, 0 replies; 37+ messages in thread
From: Bastian Krause @ 2020-09-22 14:14 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
This is the latest LTS version.
The lazy regex compile went mainline with 2bb1027d6b ("Fixed #25322 --
Lazily compiled core.validators regular expressions.").
The MigrationLoader pyc patch is no longer needed, "./manage.py migrate"
works fine.
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
Changes since v2:
- drop obsolete v1.8.7 patches
No changes since (implicit) v1.
---
...ly-compiled-core.validators-regular-.patch | 123 ------------------
...002-MigrationLoader-search-for-.py-c.patch | 36 -----
patches/Django-1.8.7/series | 2 -
rules/python3-django.in | 3 +
rules/python3-django.make | 4 +-
5 files changed, 5 insertions(+), 163 deletions(-)
delete mode 100644 patches/Django-1.8.7/0001-Fixed-25322-Lazily-compiled-core.validators-regular-.patch
delete mode 100644 patches/Django-1.8.7/0002-MigrationLoader-search-for-.py-c.patch
delete mode 100644 patches/Django-1.8.7/series
diff --git a/patches/Django-1.8.7/0001-Fixed-25322-Lazily-compiled-core.validators-regular-.patch b/patches/Django-1.8.7/0001-Fixed-25322-Lazily-compiled-core.validators-regular-.patch
deleted file mode 100644
index 3c3b0eac4..000000000
--- a/patches/Django-1.8.7/0001-Fixed-25322-Lazily-compiled-core.validators-regular-.patch
+++ /dev/null
@@ -1,123 +0,0 @@
-From 1753a76267a4dda6858d117858f233c0ed662a7f Mon Sep 17 00:00:00 2001
-From: Jonas Haag <jonas@lophus.org>
-Date: Wed, 26 Aug 2015 09:12:05 +0200
-Subject: [PATCH 1/1] Fixed #25322 -- Lazily compiled core.validators regular
- expressions.
-
-This speeds up import of 'django.core.validators' which can save a
-few hundred milliseconds when importing the module for the first
-time. It can be a significant speedup to the django-admin command.
----
- django/core/validators.py | 34 +++++++++++++++++++++++-----------
- 1 file changed, 23 insertions(+), 11 deletions(-)
-
-diff --git a/django/core/validators.py b/django/core/validators.py
-index 89d184f..7719b40 100644
---- a/django/core/validators.py
-+++ b/django/core/validators.py
-@@ -6,6 +6,7 @@ from django.core.exceptions import ValidationError
- from django.utils import six
- from django.utils.deconstruct import deconstructible
- from django.utils.encoding import force_text
-+from django.utils.functional import SimpleLazyObject
- from django.utils.ipv6 import is_valid_ipv6_address
- from django.utils.six.moves.urllib.parse import urlsplit, urlunsplit
- from django.utils.translation import ugettext_lazy as _, ungettext_lazy
-@@ -14,6 +15,18 @@ from django.utils.translation import ugettext_lazy as _, ungettext_lazy
- EMPTY_VALUES = (None, '', [], (), {})
-
-
-+def _lazy_re_compile(regex, flags=0):
-+ """Lazily compile a regex with flags."""
-+ def _compile():
-+ # Compile the regex if it was not passed pre-compiled.
-+ if isinstance(regex, six.string_types):
-+ return re.compile(regex, flags)
-+ else:
-+ assert not flags, "flags must be empty if regex is passed pre-compiled"
-+ return regex
-+ return SimpleLazyObject(_compile)
-+
-+
- @deconstructible
- class RegexValidator(object):
- regex = ''
-@@ -36,9 +49,7 @@ class RegexValidator(object):
- if self.flags and not isinstance(self.regex, six.string_types):
- raise TypeError("If the flags are set, regex must be a regular expression string.")
-
-- # Compile the regex if it was not passed pre-compiled.
-- if isinstance(self.regex, six.string_types):
-- self.regex = re.compile(self.regex, self.flags)
-+ self.regex = _lazy_re_compile(self.regex, self.flags)
-
- def __call__(self, value):
- """
-@@ -77,7 +88,7 @@ class URLValidator(RegexValidator):
- tld_re = r'\.(?:[a-z' + ul + r']{2,}|xn--[a-z0-9]+)\.?'
- host_re = '(' + hostname_re + domain_re + tld_re + '|localhost)'
-
-- regex = re.compile(
-+ regex = _lazy_re_compile(
- r'^(?:[a-z0-9\.\-]*)://' # scheme is validated separately
- r'(?:\S+(?::\S*)?@)?' # user:pass authentication
- r'(?:' + ipv4_re + '|' + ipv6_re + '|' + host_re + ')'
-@@ -126,7 +137,7 @@ class URLValidator(RegexValidator):
- url = value
-
- integer_validator = RegexValidator(
-- re.compile('^-?\d+\Z'),
-+ _lazy_re_compile('^-?\d+\Z'),
- message=_('Enter a valid integer.'),
- code='invalid',
- )
-@@ -140,16 +151,17 @@ def validate_integer(value):
- class EmailValidator(object):
- message = _('Enter a valid email address.')
- code = 'invalid'
-- user_regex = re.compile(
-+
-+ user_regex = _lazy_re_compile(
- r"(^[-!#$%&'*+/=?^_`{}|~0-9A-Z]+(\.[-!#$%&'*+/=?^_`{}|~0-9A-Z]+)*\Z" # dot-atom
- r'|^"([\001-\010\013\014\016-\037!#-\[\]-\177]|\\[\001-\011\013\014\016-\177])*"\Z)', # quoted-string
- re.IGNORECASE)
-- domain_regex = re.compile(
-+ domain_regex = _lazy_re_compile(
- # max length of the domain is 249: 254 (max email length) minus one
- # period, two characters for the TLD, @ sign, & one character before @.
- r'(?:[A-Z0-9](?:[A-Z0-9-]{0,247}[A-Z0-9])?\.)+(?:[A-Z]{2,6}|[A-Z0-9-]{2,}(?<!-))\Z',
- re.IGNORECASE)
-- literal_regex = re.compile(
-+ literal_regex = _lazy_re_compile(
- # literal form, ipv4 or ipv6 address (SMTP 4.1.3)
- r'\[([A-f0-9:\.]+)\]\Z',
- re.IGNORECASE)
-@@ -209,14 +221,14 @@ class EmailValidator(object):
-
- validate_email = EmailValidator()
-
--slug_re = re.compile(r'^[-a-zA-Z0-9_]+\Z')
-+slug_re = _lazy_re_compile(r'^[-a-zA-Z0-9_]+\Z')
- validate_slug = RegexValidator(
- slug_re,
- _("Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens."),
- 'invalid'
- )
-
--ipv4_re = re.compile(r'^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}\Z')
-+ipv4_re = _lazy_re_compile(r'^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}\Z')
- validate_ipv4_address = RegexValidator(ipv4_re, _('Enter a valid IPv4 address.'), 'invalid')
-
-
-@@ -257,7 +269,7 @@ def ip_address_validators(protocol, unpack_ipv4):
- raise ValueError("The protocol '%s' is unknown. Supported: %s"
- % (protocol, list(ip_address_validator_map)))
-
--comma_separated_int_list_re = re.compile('^[\d,]+\Z')
-+comma_separated_int_list_re = _lazy_re_compile('^[\d,]+\Z')
- validate_comma_separated_integer_list = RegexValidator(
- comma_separated_int_list_re,
- _('Enter only digits separated by commas.'),
---
-2.6.4
-
diff --git a/patches/Django-1.8.7/0002-MigrationLoader-search-for-.py-c.patch b/patches/Django-1.8.7/0002-MigrationLoader-search-for-.py-c.patch
deleted file mode 100644
index a1dc20dff..000000000
--- a/patches/Django-1.8.7/0002-MigrationLoader-search-for-.py-c.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 65d28e3e9a47ad270e7017b6b2b269978c01c428 Mon Sep 17 00:00:00 2001
-From: Florian Scherf <f.scherf@pengutronix.de>
-Date: Wed, 3 Feb 2016 17:32:32 +0100
-Subject: [PATCH] MigrationLoader: search for *.py(c)
-
-The MigrationLoader originally searchs for *.py but we
-are running *.pyc only.
-Without this patch "./manage.py migrate" will crash.
-
-Signed-off-by: Florian Scherf <f.scherf@pengutronix.de>
----
- django/db/migrations/loader.py | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/django/db/migrations/loader.py b/django/db/migrations/loader.py
-index bbd60a6..77b50fd 100644
---- a/django/db/migrations/loader.py
-+++ b/django/db/migrations/loader.py
-@@ -88,10 +88,12 @@ class MigrationLoader(object):
- six.moves.reload_module(module)
- self.migrated_apps.add(app_config.label)
- directory = os.path.dirname(module.__file__)
-- # Scan for .py files
-+ # Scan for .py(c) files
- migration_names = set()
- for name in os.listdir(directory):
-- if name.endswith(".py"):
-+ root, ext = os.path.splitext(name)
-+
-+ if ext in ['.py', '.pyc']:
- import_name = name.rsplit(".", 1)[0]
- if import_name[0] not in "_.~":
- migration_names.add(import_name)
---
-2.7.0.rc3
-
diff --git a/patches/Django-1.8.7/series b/patches/Django-1.8.7/series
deleted file mode 100644
index c644f907c..000000000
--- a/patches/Django-1.8.7/series
+++ /dev/null
@@ -1,2 +0,0 @@
-0001-Fixed-25322-Lazily-compiled-core.validators-regular-.patch
-0002-MigrationLoader-search-for-.py-c.patch
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] 37+ messages in thread
* Re: [ptxdist] [APPLIED] setup: introduce pypi mirror
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
` (17 preceding siblings ...)
2020-09-22 14:14 ` [ptxdist] [PATCH v3 19/19] python3-django: version bump 1.8.7 -> 2.2.16 Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
18 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as d0ee443915624c997057dd15c31d591b598a63a2.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:38 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> 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>
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-1-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/config/setup/Kconfig b/config/setup/Kconfig
> index 4b1a769daab5..1697d88dee98 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 29b8bfe37525..7973fdfe40aa 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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] rules/pre/mirror: add ptx/mirror-pypi
2020-09-22 14:14 ` [ptxdist] [PATCH v3 02/19] rules/pre/mirror: add ptx/mirror-pypi Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as e5779dfa785de58cbe69ff7ab7342f38a5cf8de8.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:38 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> 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>
> Message-Id: <20200922141434.8544-2-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> 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
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] package templates: add python3 template
2020-09-22 14:14 ` [ptxdist] [PATCH v3 04/19] package templates: add python3 template Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as 5595b56bed3a5ebdc1aac2f4b07722177b8fa1bb.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:39 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-4-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/templates/template-python3-in b/rules/templates/template-python3-in
> new file mode 100644
> index 000000000000..5f758f5bd250
> --- /dev/null
> +++ b/rules/templates/template-python3-in
> @@ -0,0 +1,8 @@
> +## SECTION=python3
> +
> +config PYTHON3_@PACKAGE@
> + tristate
> + select PYTHON3
> + prompt "@package@"
> + help
> + FIXME
> diff --git a/rules/templates/template-python3-make b/rules/templates/template-python3-make
> new file mode 100644
> index 000000000000..bed25ea2eb93
> --- /dev/null
> +++ b/rules/templates/template-python3-make
> @@ -0,0 +1,52 @@
> +# -*-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 := @SUFFIX@
> +PYTHON3_@PACKAGE@_URL := @URL@
> +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 59c2a073ed8d..a75c775a5596 100644
> --- a/scripts/lib/ptxd_lib_template.sh
> +++ b/scripts/lib/ptxd_lib_template.sh
> @@ -412,6 +412,22 @@ 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() {
> + ptxd_template_read_basic &&
> + ptxd_template_read_author &&
> + ptxd_template_read_url \
> + "\$(call ptx/mirror-pypi, ${package}, \$(PYTHON3_${PACKAGE}).\$(PYTHON3_${PACKAGE}_SUFFIX))" \
> + "tar.gz"
> + # turn URL of basedir into complete URL
> + [[ "$URL" != "\$(call ptx/mirror"* ]] \
> + && URL="$URL/\$(${PACKAGE}).\$(${PACKAGE}_SUFFIX)"
> + package_filename="python3-${package_filename}"
> + ptxd_template_write_rules
> +}
> +export -f ptxd_template_new_python3
> +ptxd_template_help_list[${#ptxd_template_help_list[@]}]="python3"
> +ptxd_template_help_list[${#ptxd_template_help_list[@]}]="create python3 package for embedded target"
> +
> ptxd_template_new_src_autoconf_lib() {
> ptxd_template_autoconf_base
> }
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] ptxd_lib_template: allow default url/suffix in ptxd_template_read_url
2020-09-22 14:14 ` [ptxdist] [PATCH v3 03/19] ptxd_lib_template: allow default url/suffix in ptxd_template_read_url Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as 5d0ac6852ec815e14dd0c80ba6b484c3b33ecd5f.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:39 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-3-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh
> index 5fdb805ebb51..59c2a073ed8d 100644
> --- a/scripts/lib/ptxd_lib_template.sh
> +++ b/scripts/lib/ptxd_lib_template.sh
> @@ -85,11 +85,16 @@ ptxd_template_read_version() {
> fi
> }
> export -f ptxd_template_read_version
> -
> +#
> +# Read URL of basedir and suffix from user input
> +#
> +# $1 default URL of basedir (optional)
> +# $2 default suffix (optional)
> +#
> ptxd_template_read_url() {
> if [ -z "${ptxd_template_have_existing}" ]; then
> - ptxd_template_read "enter URL of basedir" URL
> - ptxd_template_read "enter suffix" SUFFIX
> + ptxd_template_read "enter URL of basedir" URL "${1}"
> + ptxd_template_read "enter suffix" SUFFIX "${2}"
> fi
> }
> export -f ptxd_template_read_url
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-async-timeout: version bump 2.0.0 -> 3.0.1
2020-09-22 14:14 ` [ptxdist] [PATCH v3 05/19] python3-async-timeout: version bump 2.0.0 -> 3.0.1 Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as 3b77027e083eff4835cdc1a44622b0608cf67859.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:40 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-5-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-async-timeout.make b/rules/python3-async-timeout.make
> index 620e73e9ae5d..38a751ed40b5 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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-chardet: version bump 2.3.0 -> 3.0.4
2020-09-22 14:14 ` [ptxdist] [PATCH v3 06/19] python3-chardet: version bump 2.3.0 -> 3.0.4 Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as c96718d2ec8b1762203047da262170bb84d13161.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:40 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-6-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-chardet.make b/rules/python3-chardet.make
> index ab3c99f562be..ee15e3c2cc17 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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-attrs: version bump 19.3.0 -> 20.2.0
2020-09-22 14:14 ` [ptxdist] [PATCH v3 07/19] python3-attrs: version bump 19.3.0 -> 20.2.0 Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as f9eb7360c07766386aa11b5f6bd113028193026d.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:41 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-7-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-attrs.make b/rules/python3-attrs.make
> index cd32a351f861..78656d08372e 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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-idna: new package
2020-09-22 14:14 ` [ptxdist] [PATCH v3 08/19] python3-idna: new package Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as 166fc2c04f4b041ade309f05e9810581266bfc07.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:42 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> python3-yarl requires this.
>
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-8-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-idna.in b/rules/python3-idna.in
> new file mode 100644
> index 000000000000..864f128e204e
> --- /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 000000000000..378342b91b8e
> --- /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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-yarl: version bump 0.8.1 -> 1.5.1
2020-09-22 14:14 ` [ptxdist] [PATCH v3 09/19] python3-yarl: version bump 0.8.1 -> 1.5.1 Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as 0e57921bf1b914fe0f2893ad99cbcd2c6b160a7d.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:42 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> yarl requires idna since v0.17.0 .
>
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-9-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-yarl.in b/rules/python3-yarl.in
> index 0a933fe28554..78d9a4311828 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 79aafc17fcd9..d6831493f9e3 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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-multidict: version bump 2.1.4 -> 4.7.6
2020-09-22 14:14 ` [ptxdist] [PATCH v3 10/19] python3-multidict: version bump 2.1.4 -> 4.7.6 Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as 41a4110b4a8dba4ee5a33e0555bab3dd16520b2c.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:43 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-10-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-multidict.make b/rules/python3-multidict.make
> index b8be29bdcf98..bb7bae01739a 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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-aiohttp: mark dependencies as RUNTIME
2020-09-22 14:14 ` [ptxdist] [PATCH v3 11/19] python3-aiohttp: mark dependencies as RUNTIME Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as a3fd373d0a2cafa13dc26d41e23bffbe3901ddf0.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:43 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> None of these packages are actually required during build/install.
>
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-11-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-aiohttp.in b/rules/python3-aiohttp.in
> index 17b9cec252e7..f9a70b352d3d 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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-aiohttp: add missing PYTHON3_ATTRS runtime dependency
2020-09-22 14:14 ` [ptxdist] [PATCH v3 12/19] python3-aiohttp: add missing PYTHON3_ATTRS runtime dependency Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as 6ab5c9ea6049d62215edc1b1d357b124256ad82a.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:44 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> 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>
> Message-Id: <20200922141434.8544-12-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-aiohttp.in b/rules/python3-aiohttp.in
> index f9a70b352d3d..6e9d4a2db27c 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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-aiohttp: version bump 3.4.4 -> 3.6.2
2020-09-22 14:14 ` [ptxdist] [PATCH v3 13/19] python3-aiohttp: version bump 3.4.4 -> 3.6.2 Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as 74c41313a39fdb86f31954b48c0740fc730ca5f5.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:44 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-13-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-aiohttp.make b/rules/python3-aiohttp.make
> index 2cfec8749043..7ced97fd30d9 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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-aiohttp-wsgi: version bump 0.2.5 -> 0.8.2
2020-09-22 14:14 ` [ptxdist] [PATCH v3 14/19] python3-aiohttp-wsgi: version bump 0.2.5 -> 0.8.2 Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as 033d37d1b577f5cc1e2f0a8ad6c775e2f30161e3.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:45 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-14-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-aiohttp-wsgi.make b/rules/python3-aiohttp-wsgi.make
> index 7b183213070d..1e0535684d42 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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-markupsafe: new package
2020-09-22 14:14 ` [ptxdist] [PATCH v3 15/19] python3-markupsafe: new package Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as b485670be40e9ee616ba2bbb35b37dac735718a8.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:46 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> python3-jinja (which will be introduced in a later commit) requires
> this.
>
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-15-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-markupsafe.in b/rules/python3-markupsafe.in
> new file mode 100644
> index 000000000000..7425a73a8ee2
> --- /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 000000000000..e70c63558e19
> --- /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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-jinja2: new package
2020-09-22 14:14 ` [ptxdist] [PATCH v3 16/19] python3-jinja2: " Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as fccc6201bbb31ef509a6c8ebeff4b7b3453f2265.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:46 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-16-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-jinja2.in b/rules/python3-jinja2.in
> new file mode 100644
> index 000000000000..6e493cfdd831
> --- /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 000000000000..3e9c8586c230
> --- /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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-sqlparse: new package
2020-09-22 14:14 ` [ptxdist] [PATCH v3 18/19] python3-sqlparse: new package Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as 022de2d13f4a090f8f076c94b5eedc33aed6a387.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:47 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> python3-django requires this since version 2.2 .
>
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-18-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/python3-sqlparse.in b/rules/python3-sqlparse.in
> new file mode 100644
> index 000000000000..17b4097ba855
> --- /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 000000000000..5590e9473e80
> --- /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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [ptxdist] [APPLIED] python3-pytz: version bump 2018.5 -> 2020.1
2020-09-22 14:14 ` [ptxdist] [PATCH v3 17/19] python3-pytz: version bump 2018.5 -> 2020.1 Bastian Krause
@ 2020-10-06 8:18 ` Michael Olbrich
0 siblings, 0 replies; 37+ messages in thread
From: Michael Olbrich @ 2020-10-06 8:18 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Thanks, applied as b4d197a654ff53795279576cef40e401fd6a6759.
Michael
[sent from post-receive hook]
On Tue, 06 Oct 2020 10:18:47 +0200, Bastian Krause <bst@pengutronix.de> wrote:
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> Message-Id: <20200922141434.8544-17-bst@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/patches/pytz-2018.5/series b/patches/pytz-2018.5/series
> deleted file mode 100644
> index f205d32974f1..000000000000
> --- a/patches/pytz-2018.5/series
> +++ /dev/null
> @@ -1 +0,0 @@
> -0001-use-system-timezone-data.patch
> diff --git a/patches/pytz-2018.5/0001-use-system-timezone-data.patch b/patches/pytz-2020.1/0001-use-system-timezone-data.patch
> similarity index 86%
> rename from patches/pytz-2018.5/0001-use-system-timezone-data.patch
> rename to patches/pytz-2020.1/0001-use-system-timezone-data.patch
> index def117ee7099..113ff9ae92a9 100644
> --- a/patches/pytz-2018.5/0001-use-system-timezone-data.patch
> +++ b/patches/pytz-2020.1/0001-use-system-timezone-data.patch
> @@ -1,4 +1,3 @@
> -From 09acc56fe52e53042c8d2dcb458b017de55a626d Mon Sep 17 00:00:00 2001
> From: Artur Wiebe <artur@4wiebe.de>
> Date: Tue, 11 Sep 2018 10:07:27 +0200
> Subject: [PATCH] use system timezone data
> @@ -9,10 +8,10 @@ Subject: [PATCH] use system timezone data
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/pytz/__init__.py b/pytz/__init__.py
> -index 120fab4..006db4d 100644
> +index 0c065e46b021..7e8bc8e65337 100644
> --- a/pytz/__init__.py
> +++ b/pytz/__init__.py
> -@@ -91,7 +91,7 @@ def open_resource(name):
> +@@ -92,7 +92,7 @@ def open_resource(name):
> if zoneinfo_dir is not None:
> filename = os.path.join(zoneinfo_dir, *name_parts)
> else:
> @@ -22,7 +21,7 @@ index 120fab4..006db4d 100644
> if not os.path.exists(filename):
> # http://bugs.launchpad.net/bugs/383171 - we avoid using this
> diff --git a/pytz/tzfile.py b/pytz/tzfile.py
> -index 25117f3..e06ce77 100644
> +index 25117f325257..e06ce774e84d 100644
> --- a/pytz/tzfile.py
> +++ b/pytz/tzfile.py
> @@ -126,7 +126,8 @@ def build_tzinfo(zone, fp):
> @@ -35,6 +34,3 @@ index 25117f3..e06ce77 100644
> tz = build_tzinfo('Australia/Melbourne',
> open(os.path.join(base, 'Australia', 'Melbourne'), 'rb'))
> tz = build_tzinfo('US/Eastern',
> ---
> -2.18.0
> -
> diff --git a/patches/pytz-2020.1/series b/patches/pytz-2020.1/series
> new file mode 100644
> index 000000000000..5e91bdc15bd2
> --- /dev/null
> +++ b/patches/pytz-2020.1/series
> @@ -0,0 +1,4 @@
> +# generated by git-ptx-patches
> +#tag:base --start-number 1
> +0001-use-system-timezone-data.patch
> +# 2736325ecd6cf493887c381d1a571372 - git-ptx-patches magic
> diff --git a/rules/python3-pytz.make b/rules/python3-pytz.make
> index bf7bb982a640..b0a05a476fea 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
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 37+ messages in thread
end of thread, other threads:[~2020-10-06 8:18 UTC | newest]
Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-22 14:14 [ptxdist] [PATCH v3 01/19] setup: introduce pypi mirror Bastian Krause
2020-09-22 14:14 ` [ptxdist] [PATCH v3 02/19] rules/pre/mirror: add ptx/mirror-pypi Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 03/19] ptxd_lib_template: allow default url/suffix in ptxd_template_read_url Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 04/19] package templates: add python3 template Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 05/19] python3-async-timeout: version bump 2.0.0 -> 3.0.1 Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 06/19] python3-chardet: version bump 2.3.0 -> 3.0.4 Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 07/19] python3-attrs: version bump 19.3.0 -> 20.2.0 Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 08/19] python3-idna: new package Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 09/19] python3-yarl: version bump 0.8.1 -> 1.5.1 Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 10/19] python3-multidict: version bump 2.1.4 -> 4.7.6 Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 11/19] python3-aiohttp: mark dependencies as RUNTIME Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 12/19] python3-aiohttp: add missing PYTHON3_ATTRS runtime dependency Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 13/19] python3-aiohttp: version bump 3.4.4 -> 3.6.2 Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 14/19] python3-aiohttp-wsgi: version bump 0.2.5 -> 0.8.2 Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 15/19] python3-markupsafe: new package Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 16/19] python3-jinja2: " Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 17/19] python3-pytz: version bump 2018.5 -> 2020.1 Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 18/19] python3-sqlparse: new package Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] " Michael Olbrich
2020-09-22 14:14 ` [ptxdist] [PATCH v3 19/19] python3-django: version bump 1.8.7 -> 2.2.16 Bastian Krause
2020-10-06 8:18 ` [ptxdist] [APPLIED] setup: introduce pypi mirror Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox