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.

46 lines
1.3 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.6
  11. PKG_RELEASE:=1
  12. PYPI_NAME:=pyparsing
  13. PKG_HASH:=4c830582a84fb022400b85429791bc551f1f4871c33f23e44f353119e92f969f
  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. VARIANT:=python3
  28. endef
  29. define Package/python3-pyparsing/description
  30. The pyparsing module is an alternative approach to creating
  31. and executing simple grammars, vs. the traditional lex/yacc
  32. approach, or the use of regular expressions.
  33. The pyparsing module provides a library of classes that
  34. client code uses to construct the grammar directly in Python code.
  35. endef
  36. $(eval $(call Py3Package,python3-pyparsing))
  37. $(eval $(call BuildPackage,python3-pyparsing))
  38. $(eval $(call BuildPackage,python3-pyparsing-src))