mirror of
https://github.com/openwrt/packages.git
synced 2026-01-12 04:34:50 +00:00
Release notes: https://github.com/bottlepy/bottle/releases/tag/0.13.4 Add setuptools to PKG_BUILD_DEPENDS to fix: ``` pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta' ``` Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2015 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python3-bottle
|
|
PKG_VERSION:=0.13.4
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=bottle
|
|
PKG_HASH:=787e78327e12b227938de02248333d788cfe45987edca735f8f88e03472c3f47
|
|
|
|
PKG_BUILD_DEPENDS:=python-setuptools/host
|
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_CPE_ID:=cpe:/a:bottlepy:bottle
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-bottle
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Fast and simple WSGI-framework for small web-applications
|
|
URL:=https://bottlepy.org
|
|
DEPENDS:=+python3
|
|
endef
|
|
|
|
define Package/python3-bottle/description
|
|
Bottle is a fast, simple and lightweight WSGI micro web-framework for Python.
|
|
It is distributed as a single file module and has no dependencies other than the
|
|
Python Standard Library.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-bottle))
|
|
$(eval $(call BuildPackage,python3-bottle))
|
|
$(eval $(call BuildPackage,python3-bottle-src))
|