This removes: * Python 3 variants (VARIANT:=python3) * "for Python3" from package titles * Package selection condition from package dependencies, e.g. +PACKAGE_python3-six:python3-light replaced with +python3-light * "Default" package information sections, e.g. Package/python-six/Default removed and package details merged into Package/python3-six * "(Variant for Python3)" from package descriptions Signed-off-by: Jeffery To <jeffery.to@gmail.com>
43 lines
1.1 KiB
Makefile
43 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.12.17
|
|
PKG_RELEASE:=2
|
|
|
|
PYPI_NAME:=bottle
|
|
PKG_HASH:=e9eaa412a60cc3d42ceb42f58d15864d9ed1b92e9d630b8130c871c5bb16107c
|
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
|
|
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))
|