From 7964fbf4b24bd2f78c0296fd40ce5421296febc6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Wed, 19 Aug 2015 16:35:10 +0200 Subject: [PATCH] python-setuptools: revamp installation procedure, update to 18.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It's better to install setuptools-enabled Python packages with a special flag that makes a flatter structure of the egg and does not create site.py file. Already done for python-pip recently. Also, version was bumped to 18.1. Signed-off-by: Jan Čermák --- lang/python-setuptools/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lang/python-setuptools/Makefile b/lang/python-setuptools/Makefile index 22cff0cec6..35054f5dd5 100644 --- a/lang/python-setuptools/Makefile +++ b/lang/python-setuptools/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-setuptools -PKG_VERSION:=18.0.1 +PKG_VERSION:=18.1 PKG_RELEASE:=1 PKG_SOURCE:=setuptools-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://pypi.python.org/packages/source/s/setuptools/ -PKG_MD5SUM:=cecd172c9ff7fd5f2e16b2fcc88bba51 +PKG_MD5SUM:=f72e87f34fbf07f299f6cb46256a0b06 PKG_BUILD_DIR:=$(BUILD_DIR)/setuptools-$(PKG_VERSION) @@ -35,7 +35,8 @@ endef define Build/Compile $(call Build/Compile/PyMod,,\ - install --prefix="$(PKG_INSTALL_DIR)/usr" \ + install --root="$(PKG_INSTALL_DIR)" --prefix="/usr" \ + --single-version-externally-managed \ ) endef -- 2.30.2