From 2aa66b0a6fb968467266fca44c98ed32d7d9c9af Mon Sep 17 00:00:00 2001 From: Stepan Henek Date: Wed, 5 Dec 2018 13:59:54 +0100 Subject: [PATCH 1/2] 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 804a6de03..37ced1bfb 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)) From 98c704d3f0eefdb0eb3d692ad1f5e55cb15a447a Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Wed, 13 Mar 2019 16:19:50 +0100 Subject: [PATCH 2/2] python3-bottle: update to version 0.12.16 Add LICENSE file Add CPE ID Remove current maintainer and add me as maintainer Signed-off-by: Josef Schlehofer --- lang/python/python3-bottle/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/lang/python/python3-bottle/Makefile b/lang/python/python3-bottle/Makefile index 37ced1bfb..09cd6ee56 100644 --- a/lang/python/python3-bottle/Makefile +++ b/lang/python/python3-bottle/Makefile @@ -8,21 +8,25 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python3-bottle -PKG_VERSION:=0.12.13 +PKG_VERSION:=0.12.16 PKG_RELEASE:=1 PKG_LICENSE:=MIT -PKG_MAINTAINER:=Luka Perkov +PKG_LICENSE_FILES:=LICENSE +PKG_CPE_ID:=cpe:/a:bottlepy:bottle + +PKG_MAINTAINER:=Josef Schlehofer PKG_SOURCE:=bottle-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/b/bottle -PKG_HASH:=39b751aee0b167be8dffb63ca81b735bbf1dd0905b3bc42761efedee8f123355 -PKG_BUILD_DIR:=$(BUILD_DIR)/bottle-$(PKG_VERSION) -PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE) +PKG_HASH:=9c310da61e7df2b6ac257d8a90811899ccb3a9743e77e947101072a2e3186726 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-bottle-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk include ../python3-package.mk +PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE) + define Package/python3-bottle SECTION:=lang CATEGORY:=Languages