From 16f53ee9c84eb553ae125bcfc0e6a45650085634 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Tue, 16 Dec 2014 12:41:14 +0200 Subject: [PATCH 1/2] python-setuptools: use $(PYTHON_PKG_DIR) short-hand Signed-off-by: Xuefer Tinys Signed-off-by: Alexandru Ardelean --- lang/python-setuptools/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/python-setuptools/Makefile b/lang/python-setuptools/Makefile index 0511791a7..6c5cba8df 100644 --- a/lang/python-setuptools/Makefile +++ b/lang/python-setuptools/Makefile @@ -44,10 +44,10 @@ define PyPackage/python-setuptools/filespec endef define Build/InstallDev - $(INSTALL_DIR) $(2)/lib/python$(PYTHON_VERSION)/site-packages + $(INSTALL_DIR) $(2)$(PYTHON_PKG_DIR) $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON_VERSION)/site-packages/* \ - $(HOST_PYTHON_LIB_DIR)/site-packages + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR) \ + $(2)$(PYTHON_PKG_DIR) endef define PyPackage/python-setuptools/install From ca8f3dcf5ca0b988b8cb015d8c75b93c2d624ba9 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Tue, 16 Dec 2014 10:29:24 +0200 Subject: [PATCH 2/2] python-setuptools: remove PyPackage filespec Signed-off-by: Alexandru Ardelean --- lang/python-setuptools/Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lang/python-setuptools/Makefile b/lang/python-setuptools/Makefile index 6c5cba8df..52a124d00 100644 --- a/lang/python-setuptools/Makefile +++ b/lang/python-setuptools/Makefile @@ -39,10 +39,6 @@ define Build/Compile ) endef -define PyPackage/python-setuptools/filespec -+|/usr/lib/python$(PYTHON_VERSION)/site-packages -endef - define Build/InstallDev $(INSTALL_DIR) $(2)$(PYTHON_PKG_DIR) $(CP) \