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.

49 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2015, 2017-2018 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-parsley
  9. PKG_VERSION:=1.3
  10. PKG_RELEASE:=4
  11. PYPI_NAME:=Parsley
  12. PKG_HASH:=9444278d47161d5f2be76a767809a3cbe6db4db822f46a4fd7481d4057208d41
  13. PKG_LICENSE:=MIT
  14. PKG_LICENSE_FILES:=LICENSE
  15. PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python3-package.mk
  19. PYTHON3_PKG_SETUP_ARGS:=
  20. define Package/python-parsley/Default
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. SUBMENU:=Python
  24. TITLE:=Parsing and pattern matching
  25. URL:=http://launchpad.net/parsley
  26. endef
  27. define Package/python3-parsley
  28. $(call Package/python-parsley/Default)
  29. DEPENDS:=+PACKAGE_python3-parsley:python3-light
  30. VARIANT:=python3
  31. endef
  32. define Package/python3-parsley/description
  33. Parsing and pattern matching made easy.
  34. .
  35. (Variant for Python3)
  36. endef
  37. $(eval $(call Py3Package,python3-parsley))
  38. $(eval $(call BuildPackage,python3-parsley))
  39. $(eval $(call BuildPackage,python3-parsley-src))