Skip to contentSkip to conversation

package/python-bsdiff4: new package

PATCH New Asaf Kahlon 2 participants 2 messages Jul 19, 2020 – Aug 8, 2020

v3 of 7 New Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 package/python-bsdiff4: new package

Binary diff and patch using the BSDIFF4-format.

---
v2->v3: use a higher version, license is now shipped with the version

---
 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
package/Config.in +1 -0
index 22531d4fb5..cdb4c0d4bb 100644
@@ -895,6 +895,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"
package/python-bsdiff4/Config.in new file +8 -0
new file mode 100644
index 0000000000..a383cda0f5
@@ -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
package/python-bsdiff4/python-bsdiff4.hash new file +5 -0
new file mode 100644
index 0000000000..e64e817f9c
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/bsdiff4/json
+md5	a0d047e91429ce67a3b0231facf41169  bsdiff4-1.2.0.tar.gz
+sha256	3c2f7f5504f41a54d238b54b00b4544d0eb4276179edabf02b9d00415a03cc9d  bsdiff4-1.2.0.tar.gz
+# Locally computed sha256
+sha256	c6c921c90383f1c43beb53c49a652d28309a410a7c394c729fd8870271451cf0  LICENSE
package/python-bsdiff4/python-bsdiff4.mk new file +14 -0
new file mode 100644
index 0000000000..7bc607b2d6
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-bsdiff4
+#
+################################################################################
+
+PYTHON_BSDIFF4_VERSION = 1.2.0
+PYTHON_BSDIFF4_SOURCE = bsdiff4-$(PYTHON_BSDIFF4_VERSION).tar.gz
+PYTHON_BSDIFF4_SITE = https://files.pythonhosted.org/packages/9b/ca/06cd939630ca78125c36489f92b52918980cbcfee2dcc0969411eb5ae8a8
+PYTHON_BSDIFF4_LICENSE = BSD-2-Clause, BSD-Protection (core.c)
+PYTHON_BSDIFF4_LICENSE_FILES = LICENSE
+PYTHON_BSDIFF4_SETUP_TYPE = distutils
+
+$(eval $(python-package))
Signature · 1 line
2.26.2
#1 lore raw

PATCH v3 1/1 package/python-bsdiff4: new package

Quoted 5 lines · On Sun, 19 Jul 2020 21:11:28 +0300 Asaf Kahlon <[email protected]> wrote:

Binary diff and patch using the BSDIFF4-format.

---
v2->v3: use a higher version, license is now shipped with the version

Quoted 9 lines
---
 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

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com