From b5914a701cd7d5cdf1eeefd33ea0fa5217a99818 Mon Sep 17 00:00:00 2001 From: Peter Steenbergen Date: Mon, 28 Oct 2019 16:05:40 +0100 Subject: [PATCH 1/1] Downgrade python-ifaddr to 0.1.4 --- package/python-ifaddr/python-ifaddr.hash | 6 ++---- package/python-ifaddr/python-ifaddr.mk | 14 +++++++++----- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/package/python-ifaddr/python-ifaddr.hash b/package/python-ifaddr/python-ifaddr.hash index 18df40ac4c..6c0a802b4b 100644 --- a/package/python-ifaddr/python-ifaddr.hash +++ b/package/python-ifaddr/python-ifaddr.hash @@ -1,5 +1,3 @@ # md5, sha256 from https://pypi.org/pypi/ifaddr/json -md5 cc1b7f0a587ef38491f07e50bf91d82e ifaddr-0.1.6.tar.gz -sha256 c19c64882a7ad51a394451dabcbbed72e98b5625ec1e79789924d5ea3e3ecb93 ifaddr-0.1.6.tar.gz -# Locally calculated -sha256 926c6fdac9ede91ae54c67066597466b04f9b4f956a24f9c77931e7765607b2c setup.py +md5 37bf17655723fc085156bf7c595abd04 ifaddr-0.1.4.zip +sha256 cf2a8fbb578da2844d999a0a453825f660ed2d3fc47dcffc5f673dd8de4f0f8b ifaddr-0.1.4.zip diff --git a/package/python-ifaddr/python-ifaddr.mk b/package/python-ifaddr/python-ifaddr.mk index 23c4ee365e..d2044f39ca 100644 --- a/package/python-ifaddr/python-ifaddr.mk +++ b/package/python-ifaddr/python-ifaddr.mk @@ -4,11 +4,15 @@ # ################################################################################ -PYTHON_IFADDR_VERSION = 0.1.6 -PYTHON_IFADDR_SOURCE = ifaddr-$(PYTHON_IFADDR_VERSION).tar.gz -PYTHON_IFADDR_SITE = https://files.pythonhosted.org/packages/9f/54/d92bda685093ebc70e2057abfa83ef1b3fb0ae2b6357262a3e19dfe96bb8 +PYTHON_IFADDR_VERSION = 0.1.4 +PYTHON_IFADDR_SOURCE = ifaddr-$(PYTHON_IFADDR_VERSION).zip +PYTHON_IFADDR_SITE = https://files.pythonhosted.org/packages/12/40/97ef30db32e0c798fc557af403ea263dbeae8d334571603f02e19f4021a0 PYTHON_IFADDR_SETUP_TYPE = setuptools -PYTHON_IFADDR_LICENSE = MIT -PYTHON_IFADDR_LICENSE_FILES = setup.py + +define PYTHON_IFADDR_EXTRACT_CMDS + $(UNZIP) -d $(@D) $(DL_DIR)/python-ifaddr/$(PYTHON_IFADDR_SOURCE) + mv $(@D)/ifaddr-$(PYTHON_IFADDR_VERSION)/* $(@D) + $(RM) -r $(@D)/ifaddr-$(PYTHON_IFADDR_VERSION) +endef $(eval $(python-package)) -- 2.11.0