2019-02-04 21:01:10 +08:00
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
|
|
PKG_NAME:=python-jsonpath-ng
|
2023-08-07 14:45:11 +08:00
|
|
|
|
PKG_VERSION:=1.5.3
|
2020-10-20 19:49:52 +08:00
|
|
|
|
PKG_RELEASE:=1
|
2023-09-04 17:08:43 +08:00
|
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
|
2019-02-04 21:01:10 +08:00
|
|
|
|
|
2019-10-21 03:03:12 +08:00
|
|
|
|
PYPI_NAME:=jsonpath-ng
|
2023-08-07 14:45:11 +08:00
|
|
|
|
PKG_HASH:=a273b182a82c1256daab86a313b937059261b5c5f8c4fa3fc38b882b344dd567
|
|
|
|
|
|
|
|
|
|
PKG_LICENSE:=Apache-2.0
|
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
2019-02-04 21:01:10 +08:00
|
|
|
|
|
2019-10-21 03:03:12 +08:00
|
|
|
|
include ../pypi.mk
|
2019-02-04 21:01:10 +08:00
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
include ../python3-package.mk
|
|
|
|
|
|
|
|
|
|
define Package/python3-jsonpath-ng
|
|
|
|
|
SECTION:=lang
|
|
|
|
|
CATEGORY:=Languages
|
|
|
|
|
SUBMENU:=Python
|
|
|
|
|
URL:=https://github.com/h2non/jsonpath-ng
|
2023-08-07 14:45:11 +08:00
|
|
|
|
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.
|
2019-02-04 21:01:10 +08:00
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
$(eval $(call Py3Package,python3-jsonpath-ng))
|
|
|
|
|
$(eval $(call BuildPackage,python3-jsonpath-ng))
|
|
|
|
|
$(eval $(call BuildPackage,python3-jsonpath-ng-src))
|