b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=python3-bottle |
| 11 | PKG_VERSION:=0.12.25 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=bottle |
| 15 | PKG_HASH:=e1a9c94970ae6d710b3fb4526294dfeb86f2cb4a81eff3a4b98dc40fb0e5e021 |
| 16 | |
| 17 | PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com> |
| 18 | PKG_LICENSE:=MIT |
| 19 | PKG_LICENSE_FILES:=LICENSE |
| 20 | PKG_CPE_ID:=cpe:/a:bottlepy:bottle |
| 21 | |
| 22 | include ../pypi.mk |
| 23 | include $(INCLUDE_DIR)/package.mk |
| 24 | include ../python3-package.mk |
| 25 | |
| 26 | define Package/python3-bottle |
| 27 | SECTION:=lang |
| 28 | CATEGORY:=Languages |
| 29 | SUBMENU:=Python |
| 30 | TITLE:=Fast and simple WSGI-framework for small web-applications |
| 31 | URL:=https://bottlepy.org |
| 32 | DEPENDS:=+python3 |
| 33 | endef |
| 34 | |
| 35 | define Package/python3-bottle/description |
| 36 | Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. |
| 37 | It is distributed as a single file module and has no dependencies other than the |
| 38 | Python Standard Library. |
| 39 | endef |
| 40 | |
| 41 | $(eval $(call Py3Package,python3-bottle)) |
| 42 | $(eval $(call BuildPackage,python3-bottle)) |
| 43 | $(eval $(call BuildPackage,python3-bottle-src)) |