blob: e3b0669bcf959ca27143a14e92dfd66205d70f7f [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001# This is free software, licensed under the GNU General Public License v2.
2# See /LICENSE for more information.
3#
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=python-jsonpath-ng
8PKG_VERSION:=1.5.3
9PKG_RELEASE:=1
10PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com
11
12PYPI_NAME:=jsonpath-ng
13PKG_HASH:=a273b182a82c1256daab86a313b937059261b5c5f8c4fa3fc38b882b344dd567
14
15PKG_LICENSE:=Apache-2.0
16PKG_LICENSE_FILES:=LICENSE
17
18include ../pypi.mk
19include $(INCLUDE_DIR)/package.mk
20include ../python3-package.mk
21
22define Package/python3-jsonpath-ng
23 SECTION:=lang
24 CATEGORY:=Languages
25 SUBMENU:=Python
26 URL:=https://github.com/h2non/jsonpath-ng
27 TITLE:=Standard compliant implementation of JSONPath
28 DEPENDS:= \
29 +python3-light \
30 +python3-logging \
31 +python3-ply \
32 +python3-six \
33 +python3-decorator
34endef
35
36define Package/python3-jsonpath-ng/description
37A final implementation of JSONPath for Python that aims to be standard
38compliant, including arithmetic and binary comparison operators, as
39defined in the original JSONPath proposal.
40
41This packages merges both jsonpath-rw and jsonpath-rw-ext and provides
42several AST API enhancements, such as the ability to update or removes
43nodes in the tree.
44endef
45
46$(eval $(call Py3Package,python3-jsonpath-ng))
47$(eval $(call BuildPackage,python3-jsonpath-ng))
48$(eval $(call BuildPackage,python3-jsonpath-ng-src))