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.

43 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2015 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:=python3-bottle
  9. PKG_VERSION:=0.12.19
  10. PKG_RELEASE:=1
  11. PYPI_NAME:=bottle
  12. PKG_HASH:=a9d73ffcbc6a1345ca2d7949638db46349f5b2b77dac65d6494d45c23628da2c
  13. PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
  14. PKG_LICENSE:=MIT
  15. PKG_LICENSE_FILES:=LICENSE
  16. PKG_CPE_ID:=cpe:/a:bottlepy:bottle
  17. include ../pypi.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-bottle
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. SUBMENU:=Python
  24. TITLE:=Fast and simple WSGI-framework for small web-applications
  25. URL:=https://bottlepy.org
  26. DEPENDS:=+python3
  27. endef
  28. define Package/python3-bottle/description
  29. Bottle is a fast, simple and lightweight WSGI micro web-framework for Python.
  30. It is distributed as a single file module and has no dependencies other than the
  31. Python Standard Library.
  32. endef
  33. $(eval $(call Py3Package,python3-bottle))
  34. $(eval $(call BuildPackage,python3-bottle))
  35. $(eval $(call BuildPackage,python3-bottle-src))