From: Asaf Kahlon <asafka7@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/python-bsdiff4: new packge
Date: Thu, 27 Feb 2020 22:43:35 +0200 [thread overview]
Message-ID: <20200227204335.25823-1-asafka7@gmail.com> (raw)
binary diff and patch using the BSDIFF4-format.
License file isn't shipped with the package, so PKG-INFO
is used instead.
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
package/Config.in | 1 +
package/python-bsdiff4/Config.in | 8 ++++++++
package/python-bsdiff4/python-bsdiff4.hash | 5 +++++
package/python-bsdiff4/python-bsdiff4.mk | 14 ++++++++++++++
4 files changed, 28 insertions(+)
create mode 100644 package/python-bsdiff4/Config.in
create mode 100644 package/python-bsdiff4/python-bsdiff4.hash
create mode 100644 package/python-bsdiff4/python-bsdiff4.mk
diff --git a/package/Config.in b/package/Config.in
index dfa3f34b9d..14845436b0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -878,6 +878,7 @@ menu "External python modules"
source "package/python-bluezero/Config.in"
source "package/python-bottle/Config.in"
source "package/python-brotli/Config.in"
+ source "package/python-bsdiff4/Config.in"
source "package/python-bunch/Config.in"
source "package/python-cached-property/Config.in"
source "package/python-can/Config.in"
diff --git a/package/python-bsdiff4/Config.in b/package/python-bsdiff4/Config.in
new file mode 100644
index 0000000000..a383cda0f5
--- /dev/null
+++ b/package/python-bsdiff4/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_BSDIFF4
+ bool "python-bsdiff4"
+ select BR2_PACKAGE_PYTHON_BZIP2 if BR2_PACKAGE_PYTHON # runtime
+ select BR2_PACKAGE_PYTHON3_BZIP2 if BR2_PACKAGE_PYTHON3 # runtime
+ help
+ binary diff and patch using the BSDIFF4-format.
+
+ https://github.com/ilanschnell/bsdiff4
diff --git a/package/python-bsdiff4/python-bsdiff4.hash b/package/python-bsdiff4/python-bsdiff4.hash
new file mode 100644
index 0000000000..6db2535cc1
--- /dev/null
+++ b/package/python-bsdiff4/python-bsdiff4.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/bsdiff4/json
+md5 59ae574a8bc2aae659ce4c282293202c bsdiff4-1.1.9.tar.gz
+sha256 a7c48ec58dc1c4a2b9fb5da05637524d5dbb1643a3df7cdc6ed105636909ff79 bsdiff4-1.1.9.tar.gz
+# Locally computed sha256
+sha256 e60be11b30cb7f07210e4c2d64246b49d20a25caf48efea5c13995788a425468 PKG-INFO
diff --git a/package/python-bsdiff4/python-bsdiff4.mk b/package/python-bsdiff4/python-bsdiff4.mk
new file mode 100644
index 0000000000..7caf535dcf
--- /dev/null
+++ b/package/python-bsdiff4/python-bsdiff4.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-bsdiff4
+#
+################################################################################
+
+PYTHON_BSDIFF4_VERSION = 1.1.9
+PYTHON_BSDIFF4_SOURCE = bsdiff4-$(PYTHON_BSDIFF4_VERSION).tar.gz
+PYTHON_BSDIFF4_SITE = https://files.pythonhosted.org/packages/39/34/bd2ae6cd4b2a5d3af9173a9d7f6ecd2723ea7b0401ad807a0c7e7b50faa3
+PYTHON_BSDIFF4_LICENSE = BSD-2-Clause
+PYTHON_BSDIFF4_LICENSE_FILES = PKG-INFO
+PYTHON_BSDIFF4_SETUP_TYPE = distutils
+
+$(eval $(python-package))
--
2.20.1
next reply other threads:[~2020-02-27 20:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-27 20:43 Asaf Kahlon [this message]
2020-04-25 20:53 ` [Buildroot] [PATCH 1/1] package/python-bsdiff4: new packge Thomas Petazzoni
2020-04-26 18:03 ` Asaf Kahlon
2020-04-27 5:35 ` Thomas Petazzoni
2020-04-27 15:52 ` Asaf Kahlon
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=20200227204335.25823-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