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.

65 lines
1.5 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 ../python-package.mk
  19. include ../python3-package.mk
  20. PYTHON_PKG_SETUP_ARGS:=
  21. PYTHON3_PKG_SETUP_ARGS:=
  22. define Package/python-parsley/Default
  23. SECTION:=lang
  24. CATEGORY:=Languages
  25. SUBMENU:=Python
  26. TITLE:=Parsing and pattern matching
  27. URL:=http://launchpad.net/parsley
  28. endef
  29. define Package/python-parsley
  30. $(call Package/python-parsley/Default)
  31. DEPENDS:=+PACKAGE_python-parsley:python-light
  32. VARIANT:=python
  33. endef
  34. define Package/python3-parsley
  35. $(call Package/python-parsley/Default)
  36. DEPENDS:=+PACKAGE_python3-parsley:python3-light
  37. VARIANT:=python3
  38. endef
  39. define Package/python-parsley/description
  40. Parsing and pattern matching made easy.
  41. endef
  42. define Package/python3-parsley/description
  43. $(call Package/python-parsley/description)
  44. .
  45. (Variant for Python3)
  46. endef
  47. $(eval $(call PyPackage,python-parsley))
  48. $(eval $(call BuildPackage,python-parsley))
  49. $(eval $(call BuildPackage,python-parsley-src))
  50. $(eval $(call Py3Package,python3-parsley))
  51. $(eval $(call BuildPackage,python3-parsley))
  52. $(eval $(call BuildPackage,python3-parsley-src))