From 8bf67793bc17a032d9e4315cea518c9510b1c5b0 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Mon, 7 Aug 2023 14:45:11 +0800 Subject: [PATCH] python-jsonpath-ng: Update to 1.5.3 Signed-off-by: Jeffery To --- lang/python/python-jsonpath-ng/Makefile | 26 +++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/lang/python/python-jsonpath-ng/Makefile b/lang/python/python-jsonpath-ng/Makefile index a1deb68e4b..8214743e58 100644 --- a/lang/python/python-jsonpath-ng/Makefile +++ b/lang/python/python-jsonpath-ng/Makefile @@ -5,12 +5,15 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-jsonpath-ng -PKG_VERSION:=1.5.2 +PKG_VERSION:=1.5.3 PKG_RELEASE:=1 PKG_MAINTAINER:=Karel Kočí PYPI_NAME:=jsonpath-ng -PKG_HASH:=144d91379be14d9019f51973bd647719c877bfc07dc6f3f5068895765950c69d +PKG_HASH:=a273b182a82c1256daab86a313b937059261b5c5f8c4fa3fc38b882b344dd567 + +PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:=LICENSE include ../pypi.mk include $(INCLUDE_DIR)/package.mk @@ -21,8 +24,23 @@ define Package/python3-jsonpath-ng CATEGORY:=Languages SUBMENU:=Python URL:=https://github.com/h2non/jsonpath-ng - TITLE:=python3-jsonpath-ng - DEPENDS:=+python3-ply +python3-six +python3-decorator + TITLE:=Standard compliant implementation of JSONPath + DEPENDS:= \ + +python3-light \ + +python3-logging \ + +python3-ply \ + +python3-six \ + +python3-decorator +endef + +define Package/python3-jsonpath-ng/description +A final implementation of JSONPath for Python that aims to be standard +compliant, including arithmetic and binary comparison operators, as +defined in the original JSONPath proposal. + +This packages merges both jsonpath-rw and jsonpath-rw-ext and provides +several AST API enhancements, such as the ability to update or removes +nodes in the tree. endef $(eval $(call Py3Package,python3-jsonpath-ng))