python-jsonpath-ng: Update to 1.5.3
authorJeffery To <jeffery.to@gmail.com>
Mon, 7 Aug 2023 06:45:11 +0000 (14:45 +0800)
committerTianling Shen <cnsztl@gmail.com>
Sun, 13 Aug 2023 02:54:54 +0000 (10:54 +0800)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python/python-jsonpath-ng/Makefile

index a1deb68e4b7431c7a9899133e4528f9332aca3e8..8214743e581cdd17d258480a2d071489846ad00a 100644 (file)
@@ -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čí <cynerd@email.cz>
 
 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))