Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Asaf Kahlon <asafka7@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] package/python-webencodings: new package
Date: Wed,  9 Oct 2019 22:31:36 +0300	[thread overview]
Message-ID: <20191009193137.19635-1-asafka7@gmail.com> (raw)

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

             reply	other threads:[~2019-10-09 19:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-09 19:31 Asaf Kahlon [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191009193137.19635-1-asafka7@gmail.com \
    --to=asafka7@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox