Skip to contentSkip to conversation

package/python-jc: bump to version 1.25.4

PATCH Superseded James Hilliard 2 participants 3 messages Jan 9, 2025 – Jan 10, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-jc: bump to version 1.25.4

Add new python-pygments runtime dependency.

Add new python-ruamel-yaml runtime dependency.

Add new python-xmltodict runtime dependency.

---
 package/python-jc/Config.in      | 3 +++
 package/python-jc/python-jc.hash | 4 ++--
 package/python-jc/python-jc.mk   | 4 ++--
 3 files changed, 7 insertions(+), 4 deletions(-)
package/python-jc/Config.in +3 -0
index b88150e069..1933db253b 100644
@@ -1,5 +1,8 @@
 config BR2_PACKAGE_PYTHON_JC
 	bool "python-jc"
+	select BR2_PACKAGE_PYTHON_PYGMENTS # runtime
+	select BR2_PACKAGE_PYTHON_RUAMEL_YAML # runtime
+	select BR2_PACKAGE_PYTHON_XMLTODICT # runtime
 	help
 	  Converts the output of popular command-line tools and file-
 	  types to JSON.
package/python-jc/python-jc.hash +2 -2
index 75d64da7bf..d8ee918ac7 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/jc/json
-md5  7e9454e01eafa7c8c6e415fddc7d2638  jc-1.25.3.tar.gz
-sha256  fa3140ceda6cba1210d1362f363cd79a0514741e8a1dd6167db2b2e2d5f24f7b  jc-1.25.3.tar.gz
+md5  77e798f2c3fbe89c0dbf7b31dc35fc69  jc-1.25.4.tar.gz
+sha256  a32eaf029c56b582dadae48895f20784d0f84f2fa28a8e2b32f377a8bffa8b39  jc-1.25.4.tar.gz
 # Locally computed sha256 checksums
 sha256  6493f2db400f4166ca0956cf192a41aa092bd1396ff463e7fdaf51f257c10497  LICENSE.md
package/python-jc/python-jc.mk +2 -2
index 202884f3dc..9a3754a0fa 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_JC_VERSION = 1.25.3
+PYTHON_JC_VERSION = 1.25.4
 PYTHON_JC_SOURCE = jc-$(PYTHON_JC_VERSION).tar.gz
-PYTHON_JC_SITE = https://files.pythonhosted.org/packages/a5/82/bfb1ec7d9667bc2f922254bc62e12fd460a5de3b711518f5089df0a17180
+PYTHON_JC_SITE = https://files.pythonhosted.org/packages/5b/82/146ef4c94297ef87c6a732c92dd57761bea2c2179e1b8ca8a6b9b8dd6ff7
 PYTHON_JC_SETUP_TYPE = setuptools
 PYTHON_JC_LICENSE = MIT, BSD-3-Clause (bundled pbPlist)
 PYTHON_JC_LICENSE_FILES = LICENSE.md
Signature · 6 lines
2.34.1

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

Hi James,

Quoted 5 lines · James Hilliard

Add new python-pygments runtime dependency.

Add new python-ruamel-yaml runtime dependency.

Add new python-xmltodict runtime dependency.

All of these are considered optional dependencies.[1][2] It's supported to use this package without these dependencies, some functionality will not be supported then. We also have a buildroot test that verifies that this works.

[1] https://github.com/kellyjonbrazil/jc/releases/tag/v1.25.1
[2] https://github.com/kellyjonbrazil/jc/issues/537

Marcus

Quoted 39 lines
---
  package/python-jc/Config.in      | 3 +++
  package/python-jc/python-jc.hash | 4 ++--
  package/python-jc/python-jc.mk   | 4 ++--
  3 files changed, 7 insertions(+), 4 deletions(-)
package/python-jc/Config.in +3 -0
index b88150e069..1933db253b 100644
@@ -1,5 +1,8 @@
  config BR2_PACKAGE_PYTHON_JC
  	bool "python-jc"
+	select BR2_PACKAGE_PYTHON_PYGMENTS # runtime
+	select BR2_PACKAGE_PYTHON_RUAMEL_YAML # runtime
+	select BR2_PACKAGE_PYTHON_XMLTODICT # runtime
  	help
  	  Converts the output of popular command-line tools and file-
  	  types to JSON.
package/python-jc/python-jc.hash +2 -2
index 75d64da7bf..d8ee918ac7 100644
@@ -1,5 +1,5 @@
  # md5, sha256 from https://pypi.org/pypi/jc/json
-md5  7e9454e01eafa7c8c6e415fddc7d2638  jc-1.25.3.tar.gz
-sha256  fa3140ceda6cba1210d1362f363cd79a0514741e8a1dd6167db2b2e2d5f24f7b  jc-1.25.3.tar.gz
+md5  77e798f2c3fbe89c0dbf7b31dc35fc69  jc-1.25.4.tar.gz
+sha256  a32eaf029c56b582dadae48895f20784d0f84f2fa28a8e2b32f377a8bffa8b39  jc-1.25.4.tar.gz
  # Locally computed sha256 checksums
  sha256  6493f2db400f4166ca0956cf192a41aa092bd1396ff463e7fdaf51f257c10497  LICENSE.md
package/python-jc/python-jc.mk +0 -0
index 202884f3dc..9a3754a0fa 100644
@@ -4,9 +4,9 @@
  #

package/python-jc/python-jc.mk line 12

Quoted 10 lines
package/python-jc/python-jc.mk +2 -2
  ################################################################################
 
-PYTHON_JC_VERSION = 1.25.3
+PYTHON_JC_VERSION = 1.25.4
  PYTHON_JC_SOURCE = jc-$(PYTHON_JC_VERSION).tar.gz
-PYTHON_JC_SITE = https://files.pythonhosted.org/packages/a5/82/bfb1ec7d9667bc2f922254bc62e12fd460a5de3b711518f5089df0a17180
+PYTHON_JC_SITE = https://files.pythonhosted.org/packages/5b/82/146ef4c94297ef87c6a732c92dd57761bea2c2179e1b8ca8a6b9b8dd6ff7
  PYTHON_JC_SETUP_TYPE = setuptools
  PYTHON_JC_LICENSE = MIT, BSD-3-Clause (bundled pbPlist)
  PYTHON_JC_LICENSE_FILES = LICENSE.md

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

#2 lore raw
Quoted 6 lines · Marcus Hoffmann

Hi James,

Quoted 2 lines · James Hilliard

Add new python-pygments runtime dependency.

Quoted 8 lines
Quoted 3 lines

Add new python-ruamel-yaml runtime dependency.

Add new python-xmltodict runtime dependency.

All of these are considered optional dependencies.[1][2] It's supported to use this package without these dependencies, some functionality will not be supported then. We also have a buildroot test that verifies that this works.

Yeah, looks like they aren't flagged as optional here which is why I assumed they were required:
https://github.com/kellyjonbrazil/jc/blob/v1.25.4/setup.py#L12-L16

Removed the deps in v2:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 47 lines

[1] https://github.com/kellyjonbrazil/jc/releases/tag/v1.25.1
[2] https://github.com/kellyjonbrazil/jc/issues/537

Marcus

Quoted 41 lines
---
  package/python-jc/Config.in      | 3 +++
  package/python-jc/python-jc.hash | 4 ++--
  package/python-jc/python-jc.mk   | 4 ++--
  3 files changed, 7 insertions(+), 4 deletions(-)
package/python-jc/Config.in +3 -0
index b88150e069..1933db253b 100644
@@ -1,5 +1,8 @@
  config BR2_PACKAGE_PYTHON_JC
      bool "python-jc"
+     select BR2_PACKAGE_PYTHON_PYGMENTS # runtime
+     select BR2_PACKAGE_PYTHON_RUAMEL_YAML # runtime
+     select BR2_PACKAGE_PYTHON_XMLTODICT # runtime
      help
        Converts the output of popular command-line tools and file-
        types to JSON.
package/python-jc/python-jc.hash +2 -2
index 75d64da7bf..d8ee918ac7 100644
@@ -1,5 +1,5 @@
  # md5, sha256 from https://pypi.org/pypi/jc/json
-md5  7e9454e01eafa7c8c6e415fddc7d2638  jc-1.25.3.tar.gz
-sha256  fa3140ceda6cba1210d1362f363cd79a0514741e8a1dd6167db2b2e2d5f24f7b  jc-1.25.3.tar.gz
+md5  77e798f2c3fbe89c0dbf7b31dc35fc69  jc-1.25.4.tar.gz
+sha256  a32eaf029c56b582dadae48895f20784d0f84f2fa28a8e2b32f377a8bffa8b39  jc-1.25.4.tar.gz
  # Locally computed sha256 checksums
  sha256  6493f2db400f4166ca0956cf192a41aa092bd1396ff463e7fdaf51f257c10497  LICENSE.md
package/python-jc/python-jc.mk +0 -0
index 202884f3dc..9a3754a0fa 100644
@@ -4,9 +4,9 @@
  #
  ################################################################################
 
Quoted 9 lines

package/python-jc/python-jc.mk line 12

Quoted 8 lines
package/python-jc/python-jc.mk +2 -2
-PYTHON_JC_VERSION = 1.25.3
+PYTHON_JC_VERSION = 1.25.4
  PYTHON_JC_SOURCE = jc-$(PYTHON_JC_VERSION).tar.gz
-PYTHON_JC_SITE = https://files.pythonhosted.org/packages/a5/82/bfb1ec7d9667bc2f922254bc62e12fd460a5de3b711518f5089df0a17180
+PYTHON_JC_SITE = https://files.pythonhosted.org/packages/5b/82/146ef4c94297ef87c6a732c92dd57761bea2c2179e1b8ca8a6b9b8dd6ff7
  PYTHON_JC_SETUP_TYPE = setuptools
  PYTHON_JC_LICENSE = MIT, BSD-3-Clause (bundled pbPlist)
  PYTHON_JC_LICENSE_FILES = LICENSE.md

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