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.

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