mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 10:38:21 +04:00
python3-bottle: use Py3Package for installation
Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
This commit is contained in:
committed by
Josef Schlehofer
parent
f9dd076a46
commit
2aa66b0a6f
@@ -30,6 +30,7 @@ define Package/python3-bottle
|
|||||||
TITLE:=Bottle is a fast, simple and lightweight WSGI micro web-framework for Python
|
TITLE:=Bottle is a fast, simple and lightweight WSGI micro web-framework for Python
|
||||||
URL:=https://bottlepy.org
|
URL:=https://bottlepy.org
|
||||||
DEPENDS:=+python3
|
DEPENDS:=+python3
|
||||||
|
VARIANT:=python3
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/python3-bottle/description
|
define Package/python3-bottle/description
|
||||||
@@ -38,15 +39,6 @@ define Package/python3-bottle/description
|
|||||||
Python Standard Library.
|
Python Standard Library.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
$(eval $(call Py3Package,python3-bottle))
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/python3-bottle/install
|
|
||||||
$(INSTALL_DIR) $(1)$(PYTHON3_PKG_DIR)
|
|
||||||
$(CP) $(PKG_BUILD_DIR)/bottle.py $(1)$(PYTHON3_PKG_DIR)
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,python3-bottle))
|
$(eval $(call BuildPackage,python3-bottle))
|
||||||
|
$(eval $(call BuildPackage,python3-bottle-src))
|
||||||
|
|||||||
Reference in New Issue
Block a user