From 556821951d62937bc546cacfb313d19cf35fa9f8 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 9 Nov 2016 09:28:31 +0200 Subject: [PATCH 1/2] python-dns: use --prefix & --root config options Does not fix anything, just brings it inline with the other python packages. Signed-off-by: Alexandru Ardelean --- lang/python-dns/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/python-dns/Makefile b/lang/python-dns/Makefile index d36f4d9e0..ae26cc43b 100644 --- a/lang/python-dns/Makefile +++ b/lang/python-dns/Makefile @@ -36,7 +36,7 @@ endef define Build/Compile $(call Build/Compile/PyMod,,\ - install --prefix="$(PKG_INSTALL_DIR)/usr" \ + install --prefix=/usr --root="$(PKG_INSTALL_DIR)" \ ) endef From ee512fa36f734feffdf8ec8fff6dbfdd2a87aefe Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 9 Nov 2016 09:30:37 +0200 Subject: [PATCH 2/2] python-dns: add python-setuptools/host as build dependency After commit a4b0c0a9fb4a767f1e7fe344423f77ef1f10d991 python host does not install/have the built-in setuptools package. So, for python-dns, we need to add it explicitly (since it's required). Signed-off-by: Alexandru Ardelean --- lang/python-dns/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lang/python-dns/Makefile b/lang/python-dns/Makefile index ae26cc43b..b8658d9c1 100644 --- a/lang/python-dns/Makefile +++ b/lang/python-dns/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-dns -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_VERSION:=1.15.0 PKG_SOURCE_URL:=http://www.dnspython.org/kits/$(PKG_VERSION) PKG_MD5SUM:=63a679089822fb86127867c315286dc5 @@ -18,6 +18,8 @@ PKG_LICENSE:=ISC PKG_LICENSE_FILES:=LICENSE PKG_BUILD_DIR:=$(BUILD_DIR)/dnspython-$(PKG_VERSION) +PKG_BUILD_DEPENDS:=python-setuptools/host + include $(INCLUDE_DIR)/package.mk $(call include_mk, python-package.mk)