* [Buildroot] [PATCH 1/2] package/python-webencodings: new package
@ 2019-10-09 19:31 Asaf Kahlon
2019-10-09 19:31 ` [Buildroot] [PATCH 2/2] package/python-html5lib: bump to version 1.0.1 Asaf Kahlon
2019-10-10 20:47 ` [Buildroot] [PATCH 1/2] package/python-webencodings: new package Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Asaf Kahlon @ 2019-10-09 19:31 UTC (permalink / raw)
To: buildroot
License is not included in the tarball, so we'll use PKG-INFO
(the license was added to the MANIFEST, and maybe included on the
next release).
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
package/Config.in | 1 +
package/python-webencodings/Config.in | 6 ++++++
.../python-webencodings/python-webencodings.hash | 5 +++++
package/python-webencodings/python-webencodings.mk | 14 ++++++++++++++
4 files changed, 26 insertions(+)
create mode 100644 package/python-webencodings/Config.in
create mode 100644 package/python-webencodings/python-webencodings.hash
create mode 100644 package/python-webencodings/python-webencodings.mk
diff --git a/package/Config.in b/package/Config.in
index 47b602c547..a0205655af 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1123,6 +1123,7 @@ menu "External python modules"
source "package/python-watchdog/Config.in"
source "package/python-wcwidth/Config.in"
source "package/python-web2py/Config.in"
+ source "package/python-webencodings/Config.in"
source "package/python-webob/Config.in"
source "package/python-webpy/Config.in"
source "package/python-websocket-client/Config.in"
diff --git a/package/python-webencodings/Config.in b/package/python-webencodings/Config.in
new file mode 100644
index 0000000000..52c7235452
--- /dev/null
+++ b/package/python-webencodings/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_WEBENCODINGS
+ bool "python-webencodings"
+ help
+ Character encoding aliases for legacy web content.
+
+ https://github.com/SimonSapin/python-webencodings
diff --git a/package/python-webencodings/python-webencodings.hash b/package/python-webencodings/python-webencodings.hash
new file mode 100644
index 0000000000..90f5e66264
--- /dev/null
+++ b/package/python-webencodings/python-webencodings.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/webencodings/json
+md5 32f6e261d52e57bf7e1c4d41546d15b8 webencodings-0.5.1.tar.gz
+sha256 b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923 webencodings-0.5.1.tar.gz
+# Locally computed sha256 checksumms
+sha256 c27693b0174d6d04dafd0242857ae72763f5404b675972c777fd865bc3c0abe1 PKG-INFO
diff --git a/package/python-webencodings/python-webencodings.mk b/package/python-webencodings/python-webencodings.mk
new file mode 100644
index 0000000000..63c6d37373
--- /dev/null
+++ b/package/python-webencodings/python-webencodings.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-webencodings
+#
+################################################################################
+
+PYTHON_WEBENCODINGS_VERSION = 0.5.1
+PYTHON_WEBENCODINGS_SOURCE = webencodings-$(PYTHON_WEBENCODINGS_VERSION).tar.gz
+PYTHON_WEBENCODINGS_SITE = https://files.pythonhosted.org/packages/0b/02/ae6ceac1baeda530866a85075641cec12989bd8d31af6d5ab4a3e8c92f47
+PYTHON_WEBENCODINGS_SETUP_TYPE = setuptools
+PYTHON_WEBENCODINGS_LICENSE = BSD-3-Clause
+PYTHON_WEBENCODINGS_LICENSE_FILES = PKG-INFO
+
+$(eval $(python-package))
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] package/python-html5lib: bump to version 1.0.1
2019-10-09 19:31 [Buildroot] [PATCH 1/2] package/python-webencodings: new package Asaf Kahlon
@ 2019-10-09 19:31 ` Asaf Kahlon
2019-10-10 20:47 ` [Buildroot] [PATCH 1/2] package/python-webencodings: new package Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Asaf Kahlon @ 2019-10-09 19:31 UTC (permalink / raw)
To: buildroot
* Update runtime requirements.
* Add hash for license file.
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
package/python-html5lib/Config.in | 2 ++
package/python-html5lib/python-html5lib.hash | 8 +++++---
package/python-html5lib/python-html5lib.mk | 4 ++--
3 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/package/python-html5lib/Config.in b/package/python-html5lib/Config.in
index c3e9f2a859..34e22049ad 100644
--- a/package/python-html5lib/Config.in
+++ b/package/python-html5lib/Config.in
@@ -1,5 +1,7 @@
config BR2_PACKAGE_PYTHON_HTML5LIB
bool "python-html5lib"
+ select BR2_PACKAGE_PYTHON_SIX # runtime
+ select BR2_PACKAGE_PYTHON_WEBENCODINGS # runtime
help
HTML parser based on the WHATWG HTML specification.
diff --git a/package/python-html5lib/python-html5lib.hash b/package/python-html5lib/python-html5lib.hash
index 7ea082fa70..04c64c10c1 100644
--- a/package/python-html5lib/python-html5lib.hash
+++ b/package/python-html5lib/python-html5lib.hash
@@ -1,3 +1,5 @@
-# md5 from https://pypi.python.org/pypi/html5lib/json, sha256 locally computed
-md5 5ada1243b7a863624b2f35245b2186e9 html5lib-1.0b10.tar.gz
-sha256 0d5fd54d5b2b79b876007a70c033a4023577768d18022c15681c00561432a0f9 html5lib-1.0b10.tar.gz
+# md5, sha256 from https://pypi.org/pypi/html5lib/json
+md5 942a0688d6bdf20d087c9805c40182ad html5lib-1.0.1.tar.gz
+sha256 66cb0dcfdbbc4f9c3ba1a63fdb511ffdbd4f513b2b6d81b80cd26ce6b3fb3736 html5lib-1.0.1.tar.gz
+# Locally computed sha256 checksums
+sha256 16a39991619e92f18680932da2a9199fdf7d95df3ecaedc52ea06218aabafd6f LICENSE
diff --git a/package/python-html5lib/python-html5lib.mk b/package/python-html5lib/python-html5lib.mk
index 38affcbb4e..1d6aef1aad 100644
--- a/package/python-html5lib/python-html5lib.mk
+++ b/package/python-html5lib/python-html5lib.mk
@@ -4,9 +4,9 @@
#
################################################################################
-PYTHON_HTML5LIB_VERSION = 1.0b10
+PYTHON_HTML5LIB_VERSION = 1.0.1
PYTHON_HTML5LIB_SOURCE = html5lib-$(PYTHON_HTML5LIB_VERSION).tar.gz
-PYTHON_HTML5LIB_SITE = https://pypi.python.org/packages/97/16/982214624095c1420c75f3bd295d9e658794aafb95fc075823de107e0ae4
+PYTHON_HTML5LIB_SITE = https://files.pythonhosted.org/packages/85/3e/cf449cf1b5004e87510b9368e7a5f1acd8831c2d6691edd3c62a0823f98f
PYTHON_HTML5LIB_LICENSE = MIT
PYTHON_HTML5LIB_LICENSE_FILES = LICENSE
PYTHON_HTML5LIB_SETUP_TYPE = setuptools
--
2.20.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] package/python-webencodings: new package
2019-10-09 19:31 [Buildroot] [PATCH 1/2] package/python-webencodings: new package Asaf Kahlon
2019-10-09 19:31 ` [Buildroot] [PATCH 2/2] package/python-html5lib: bump to version 1.0.1 Asaf Kahlon
@ 2019-10-10 20:47 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-10-10 20:47 UTC (permalink / raw)
To: buildroot
On Wed, 9 Oct 2019 22:31:36 +0300
Asaf Kahlon <asafka7@gmail.com> wrote:
> License is not included in the tarball, so we'll use PKG-INFO
> (the license was added to the MANIFEST, and maybe included on the
> next release).
>
> Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
> ---
> package/Config.in | 1 +
> package/python-webencodings/Config.in | 6 ++++++
> .../python-webencodings/python-webencodings.hash | 5 +++++
> package/python-webencodings/python-webencodings.mk | 14 ++++++++++++++
> 4 files changed, 26 insertions(+)
> create mode 100644 package/python-webencodings/Config.in
> create mode 100644 package/python-webencodings/python-webencodings.hash
> create mode 100644 package/python-webencodings/python-webencodings.mk
Both applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-10 20:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-09 19:31 [Buildroot] [PATCH 1/2] package/python-webencodings: new package Asaf Kahlon
2019-10-09 19:31 ` [Buildroot] [PATCH 2/2] package/python-html5lib: bump to version 1.0.1 Asaf Kahlon
2019-10-10 20:47 ` [Buildroot] [PATCH 1/2] package/python-webencodings: new package Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox