summaryrefslogtreecommitdiffstats
path: root/lang/python/python-jmespath/Makefile
blob: c3cda14d1189a3180922a9bc3a2677b48d7788d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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))