diff --git a/package/Config.in b/package/Config.in index dac5058bbe..967091081d 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1276,6 +1276,7 @@ menu "External python modules" source "package/python-redis/Config.in" source "package/python-reedsolo/Config.in" source "package/python-reentry/Config.in" + source "package/python-referencing/Config.in" source "package/python-regex/Config.in" source "package/python-remi/Config.in" source "package/python-request-id/Config.in" diff --git a/package/python-referencing/Config.in b/package/python-referencing/Config.in new file mode 100644 index 0000000000..273c42543e --- /dev/null +++ b/package/python-referencing/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_REFERENCING + bool "python-referencing" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-rpds-py + select BR2_PACKAGE_PYTHON_ATTRS # runtime + select BR2_PACKAGE_PYTHON_RPDS_PY # runtime + help + JSON Referencing + Python. + + https://github.com/python-jsonschema/referencing diff --git a/package/python-referencing/python-referencing.hash b/package/python-referencing/python-referencing.hash new file mode 100644 index 0000000000..d4f3dce5a4 --- /dev/null +++ b/package/python-referencing/python-referencing.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/referencing/json +md5 617d973b9ce86b6f74b2216c6f3af5c9 referencing-0.30.2.tar.gz +sha256 794ad8003c65938edcdbc027f1933215e0d0ccc0291e3ce20a4d87432b59efc0 referencing-0.30.2.tar.gz +# Locally computed sha256 checksums +sha256 42dcd63495f87b4eb7c7757afa379bb55a53f94afd7a5f657d9adf57236e515c COPYING diff --git a/package/python-referencing/python-referencing.mk b/package/python-referencing/python-referencing.mk new file mode 100644 index 0000000000..4d11c99deb --- /dev/null +++ b/package/python-referencing/python-referencing.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# python-referencing +# +################################################################################ + +PYTHON_REFERENCING_VERSION = 0.30.2 +PYTHON_REFERENCING_SOURCE = referencing-$(PYTHON_REFERENCING_VERSION).tar.gz +PYTHON_REFERENCING_SITE = https://files.pythonhosted.org/packages/e1/43/d3f6cf3e1ec9003520c5fb31dc363ee488c517f09402abd2a1c90df63bbb +PYTHON_REFERENCING_SETUP_TYPE = pep517 +PYTHON_REFERENCING_LICENSE = MIT +PYTHON_REFERENCING_LICENSE_FILES = COPYING +PYTHON_REFERENCING_DEPENDENCIES = \ + host-python-hatchling \ + host-python-hatch-vcs + +$(eval $(python-package))