package/python-referencing: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
James Hilliard 2023-11-05 01:55:44 -07:00 committed by Arnout Vandecappelle
parent aaa315b6a7
commit 2a36024a63
4 changed files with 32 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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))