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.

66 lines
1.5 KiB

  1. #
  2. # Copyright (C) 2007-2016 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:=flup
  9. PKG_VERSION:=1.0.3
  10. PKG_RELEASE:=3
  11. PYPI_NAME:=$(PKG_NAME)
  12. PKG_HASH:=5eb09f26eb0751f8380d8ac43d1dfb20e1d42eca0fa45ea9289fa532a79cd159
  13. PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
  14. PKG_LICENSE:=BSD-3-Clause
  15. PKG_LICENSE_FILES:=PKG-INFO
  16. include ../pypi.mk
  17. include $(INCLUDE_DIR)/package.mk
  18. include ../python-package.mk
  19. include ../python3-package.mk
  20. define Package/flup/Default
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. SUBMENU:=Python
  24. TITLE:=Random assortment of WSGI servers
  25. URL:=https://www.saddi.com/software/flup/
  26. endef
  27. define Package/python-flup
  28. $(call Package/flup/Default)
  29. DEPENDS+= \
  30. +PACKAGE_python-flup:python-light \
  31. +PACKAGE_python-flup:python-logging
  32. VARIANT:=python
  33. endef
  34. define Package/python3-flup
  35. $(call Package/flup/Default)
  36. DEPENDS+= \
  37. +PACKAGE_python3-flup:python3-light \
  38. +PACKAGE_python3-flup:python3-logging
  39. VARIANT:=python3
  40. endef
  41. define Package/python-flup/description
  42. Random assortment of WSGI servers.
  43. endef
  44. define Package/python3-flup/description
  45. $(call Package/python-flup/description)
  46. .
  47. (Variant for Python3)
  48. endef
  49. $(eval $(call PyPackage,python-flup))
  50. $(eval $(call BuildPackage,python-flup))
  51. $(eval $(call BuildPackage,python-flup-src))
  52. $(eval $(call Py3Package,python3-flup))
  53. $(eval $(call BuildPackage,python3-flup))
  54. $(eval $(call BuildPackage,python3-flup-src))