From 2aa66b0a6fb968467266fca44c98ed32d7d9c9af Mon Sep 17 00:00:00 2001 From: Stepan Henek Date: Wed, 5 Dec 2018 13:59:54 +0100 Subject: [PATCH] python3-bottle: use Py3Package for installation Signed-off-by: Stepan Henek --- lang/python/python3-bottle/Makefile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/lang/python/python3-bottle/Makefile b/lang/python/python3-bottle/Makefile index 804a6de031..37ced1bfb7 100644 --- a/lang/python/python3-bottle/Makefile +++ b/lang/python/python3-bottle/Makefile @@ -30,6 +30,7 @@ define Package/python3-bottle TITLE:=Bottle is a fast, simple and lightweight WSGI micro web-framework for Python URL:=https://bottlepy.org DEPENDS:=+python3 + VARIANT:=python3 endef define Package/python3-bottle/description @@ -38,15 +39,6 @@ define Package/python3-bottle/description Python Standard Library. endef -define Build/Configure -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 Py3Package,python3-bottle)) $(eval $(call BuildPackage,python3-bottle)) +$(eval $(call BuildPackage,python3-bottle-src)) -- 2.30.2