summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-08-07 14:45:11 +0800
committerTianling Shen <cnsztl@gmail.com>2023-08-13 10:54:54 +0800
commit8bf67793bc17a032d9e4315cea518c9510b1c5b0 (patch)
tree099fffebccb8763a324662fd8bd470fa7777442a /lang/python
parentcde28d04e67a522bc7b6ecce90a3664d0c1a6f03 (diff)
python-jsonpath-ng: Update to 1.5.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/python-jsonpath-ng/Makefile26
1 files changed, 22 insertions, 4 deletions
diff --git a/lang/python/python-jsonpath-ng/Makefile b/lang/python/python-jsonpath-ng/Makefile
index a1deb68e4..8214743e5 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čí <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))