You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
987 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=jmespath
  3. PKG_VERSION:=0.9.3
  4. PKG_RELEASE:=1
  5. PYPI_NAME:=$(PKG_NAME)
  6. PKG_HASH:=6a81d4c9aa62caf061cb517b4d9ad1dd300374cd4706997aff9cd6aedd61fc64
  7. PKG_MAINTAINER:=Daniel Danzberger <daniel@dd-wrt.com>
  8. PKG_LICENSE:=MIT
  9. include ../pypi.mk
  10. include $(INCLUDE_DIR)/package.mk
  11. include ../python3-package.mk
  12. define Package/python-jmespath/Default
  13. SUBMENU:=Python
  14. SECTION:=lang
  15. CATEGORY:=Languages
  16. TITLE:=jmespath
  17. URL:=https://github.com/jmespath/jmespath.py
  18. endef
  19. define Package/python3-jmespath
  20. $(call Package/python-jmespath/Default)
  21. DEPENDS:=+PACKAGE_python3-jmespath:python3
  22. VARIANT:=python3
  23. endef
  24. define Package/python3-jmespath/description
  25. JMESPath (pronounced “james path”) allows you to declaratively specify how to extract
  26. elements from a JSON document.
  27. .
  28. (Variant for Python3)
  29. endef
  30. $(eval $(call Py3Package,python3-jmespath))
  31. $(eval $(call BuildPackage,python3-jmespath))
  32. $(eval $(call BuildPackage,python3-jmespath-src))