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.

45 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2019-2020 CZ.NIC z.s.p.o. (http://www.nic.cz/)
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. #
  8. include $(TOPDIR)/rules.mk
  9. PKG_NAME:=python-pyparsing
  10. PKG_VERSION:=2.4.7
  11. PKG_RELEASE:=2
  12. PYPI_NAME:=pyparsing
  13. PKG_HASH:=c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1
  14. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
  15. PKG_LICENSE:=MIT
  16. PKG_LICENSE_FILES:=LICENSE
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-pyparsing
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. SUBMENU:=Python
  24. TITLE:=Library for constructing grammar directly in python
  25. URL:=https://github.com/pyparsing/pyparsing/
  26. DEPENDS:=+python3-light
  27. endef
  28. define Package/python3-pyparsing/description
  29. The pyparsing module is an alternative approach to creating
  30. and executing simple grammars, vs. the traditional lex/yacc
  31. approach, or the use of regular expressions.
  32. The pyparsing module provides a library of classes that
  33. client code uses to construct the grammar directly in Python code.
  34. endef
  35. $(eval $(call Py3Package,python3-pyparsing))
  36. $(eval $(call BuildPackage,python3-pyparsing))
  37. $(eval $(call BuildPackage,python3-pyparsing-src))