mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
Changes since 1.0.1: - Support for multi-select list/hash expressions with enhanced function argument validation - Minor performance improvements in expression parsing Also add test.sh to verify field access, wildcards, and filters. Link: https://github.com/jmespath/jmespath.py/blob/develop/CHANGELOG.rst Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
35 lines
887 B
Makefile
35 lines
887 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-jmespath
|
|
PKG_VERSION:=1.1.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=jmespath
|
|
PKG_HASH:=472c87d80f36026ae83c6ddd0f1d05d4e510134ed462851fd5f754c8c3cbb88d
|
|
|
|
PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE.txt
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-jmespath
|
|
SUBMENU:=Python
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
TITLE:=JSON Matching Expressions
|
|
URL:=https://github.com/jmespath/jmespath.py
|
|
DEPENDS:=+python3-light
|
|
endef
|
|
|
|
define Package/python3-jmespath/description
|
|
JMESPath (pronounced “james path”) allows you to declaratively specify
|
|
how to extract elements from a JSON document.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-jmespath))
|
|
$(eval $(call BuildPackage,python3-jmespath))
|
|
$(eval $(call BuildPackage,python3-jmespath-src))
|