Skip to contentSkip to conversation

package/python-pyrsistent: new package

PATCH Applied James Hilliard 2 participants 4 messages Jun 15, 2022 – Jul 23, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/python-pyrsistent: new package

---
 package/Config.in                                |  1 +
 package/python-pyrsistent/Config.in              |  6 ++++++
 package/python-pyrsistent/python-pyrsistent.hash |  5 +++++
 package/python-pyrsistent/python-pyrsistent.mk   | 14 ++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/python-pyrsistent/Config.in
 create mode 100644 package/python-pyrsistent/python-pyrsistent.hash
 create mode 100644 package/python-pyrsistent/python-pyrsistent.mk
package/Config.in +1 -0
index 3b089166da..0752ea1faf 100644
@@ -1178,6 +1178,7 @@ menu "External python modules"
 	source "package/python-pyqt5/Config.in"
 	source "package/python-pyratemp/Config.in"
 	source "package/python-pyroute2/Config.in"
+	source "package/python-pyrsistent/Config.in"
 	source "package/python-pysendfile/Config.in"
 	source "package/python-pysftp/Config.in"
 	source "package/python-pysmb/Config.in"
package/python-pyrsistent/Config.in new file +6 -0
new file mode 100644
index 0000000000..49f97a00d9
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_PYRSISTENT
+	bool "python-pyrsistent"
+	help
+	  Persistent/Functional/Immutable data structures.
+
+	  http://github.com/tobgu/pyrsistent/
package/python-pyrsistent/python-pyrsistent.hash new file +5 -0
new file mode 100644
index 0000000000..70d1cc6fa2
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pyrsistent/json
+md5  cef3da08455664bf917dcf8cd00d49a4  pyrsistent-0.18.1.tar.gz
+sha256  d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96  pyrsistent-0.18.1.tar.gz
+# Locally computed sha256 checksums
+sha256  3ea56753cbd0cc897d3f4414a902f5694991db7c1b3abb8230216381185f9112  LICENSE.mit
package/python-pyrsistent/python-pyrsistent.mk new file +14 -0
new file mode 100644
index 0000000000..27ec41028f
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pyrsistent
+#
+################################################################################
+
+PYTHON_PYRSISTENT_VERSION = 0.18.1
+PYTHON_PYRSISTENT_SOURCE = pyrsistent-$(PYTHON_PYRSISTENT_VERSION).tar.gz
+PYTHON_PYRSISTENT_SITE = https://files.pythonhosted.org/packages/42/ac/455fdc7294acc4d4154b904e80d964cc9aae75b087bbf486be04df9f2abd
+PYTHON_PYRSISTENT_SETUP_TYPE = setuptools
+PYTHON_PYRSISTENT_LICENSE = MIT
+PYTHON_PYRSISTENT_LICENSE_FILES = LICENSE.mit
+
+$(eval $(python-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/python-jsonschema: bump to version 4.5.1

Add new python-pyrsistent runtime dependency.

Drop unused host-python-vcversioner build dependency.

---
 package/python-jsonschema/Config.in              | 1 +
 package/python-jsonschema/python-jsonschema.hash | 8 ++++----
 package/python-jsonschema/python-jsonschema.mk   | 5 ++---
 3 files changed, 7 insertions(+), 7 deletions(-)
package/python-jsonschema/Config.in +1 -0
index 7002653722..7b30d46fc6 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_JSONSCHEMA
 	bool "python-jsonschema"
+	select BR2_PACKAGE_PYTHON_PYRSISTENT # runtime
 	help
 	  An implementation of JSON Schema validation for Python.
 
package/python-jsonschema/python-jsonschema.hash +4 -4
index c631fe981e..a2766f78cc 100644
@@ -1,6 +1,6 @@
-# md5 from https://pypi.python.org/pypi/jsonschema/json
-md5	374e848fdb69a3ce8b7e778b47c30640  jsonschema-2.5.1.tar.gz
-# Locally computed
-sha256	36673ac378feed3daa5956276a829699056523d7961027911f064b52255ead41  jsonschema-2.5.1.tar.gz
+# md5, sha256 from https://pypi.org/pypi/jsonschema/json
+md5  c3f7a29c187bf1d038c66a5d5763eab1  jsonschema-4.5.1.tar.gz
+sha256  7c6d882619340c3347a1bf7315e147e6d3dae439033ae6383d6acb908c101dfc  jsonschema-4.5.1.tar.gz
+# Locally computed sha256 checksums
 sha256  4f92a015a13c4d1a040bef018aa13430b4f1bc73b41b16bb846c346766de7439  COPYING
 sha256  837402bd25fad9b704265801ca3f92566a98157c1f9a7acd6f446299ba1c305a  json/LICENSE
package/python-jsonschema/python-jsonschema.mk +2 -3
index 0fb2be869f..013a5c1293 100644
@@ -4,12 +4,11 @@
 #
 ################################################################################
 
-PYTHON_JSONSCHEMA_VERSION = 2.5.1
+PYTHON_JSONSCHEMA_VERSION = 4.5.1
 PYTHON_JSONSCHEMA_SOURCE = jsonschema-$(PYTHON_JSONSCHEMA_VERSION).tar.gz
-PYTHON_JSONSCHEMA_SITE = https://pypi.python.org/packages/58/0d/c816f5ea5adaf1293a1d81d32e4cdfdaf8496973aa5049786d7fdb14e7e7
+PYTHON_JSONSCHEMA_SITE = https://files.pythonhosted.org/packages/9e/62/93a54db0e44c4de57868a7d638d7a8abce113c8bc43a20b10b1109b2a517
 PYTHON_JSONSCHEMA_SETUP_TYPE = setuptools
 PYTHON_JSONSCHEMA_LICENSE = MIT
 PYTHON_JSONSCHEMA_LICENSE_FILES = COPYING json/LICENSE
-PYTHON_JSONSCHEMA_DEPENDENCIES = host-python-vcversioner
 
 $(eval $(python-package))
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH 2/2] package/python-jsonschema: bump to version 4.5.1

Quoted 10 lines · On Wed, 15 Jun 2022 17:17:30 -0600 James Hilliard <[email protected]>…

Add new python-pyrsistent runtime dependency.

Drop unused host-python-vcversioner build dependency.

---
 package/python-jsonschema/Config.in              | 1 +
 package/python-jsonschema/python-jsonschema.hash | 8 ++++----
 package/python-jsonschema/python-jsonschema.mk   | 5 ++---
 3 files changed, 7 insertions(+), 7 deletions(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
In reply to James Hilliard
Quoted 10 lines · On Wed, 15 Jun 2022 17:17:29 -0600 James Hilliard <[email protected]>…
---
 package/Config.in                                |  1 +
 package/python-pyrsistent/Config.in              |  6 ++++++
 package/python-pyrsistent/python-pyrsistent.hash |  5 +++++
 package/python-pyrsistent/python-pyrsistent.mk   | 14 ++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/python-pyrsistent/Config.in
 create mode 100644 package/python-pyrsistent/python-pyrsistent.hash
 create mode 100644 package/python-pyrsistent/python-pyrsistent.mk

Thanks but about a month before, Yegor had submitted the same patch, which I have now applied. Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot