[packages/python3] - disable setuptools and pip installation by --without-ensurepip
qboosh
qboosh at pld-linux.org
Thu Nov 13 18:53:45 CET 2014
commit 4f87a49d2266e3650d846d3f0a7e0fff8491017b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Nov 13 18:54:11 2014 +0100
- disable setuptools and pip installation by --without-ensurepip
python3.spec | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
---
diff --git a/python3.spec b/python3.spec
index 3590181..4febd68 100644
--- a/python3.spec
+++ b/python3.spec
@@ -508,6 +508,7 @@ fi
--with-cxx-main="%{__cxx}" \
--with-dbmliborder=gdbm:bdb \
--with-doc-strings \
+ --without-ensurepip \
--with-fpectl \
%{?with_debug:--with-pydebug} \
--with-signal-module \
@@ -609,16 +610,6 @@ install -p Tools/scripts/reindent.py $RPM_BUILD_ROOT%{_bindir}/pyreindent%{py_ve
# currently provided by python-2to3, consider switching to this one
%{__rm} $RPM_BUILD_ROOT%{_bindir}/2to3
-# packaged separately (python-setuptools.spec)
-%{__rm} $RPM_BUILD_ROOT%{_bindir}/easy_install-3.4 \
- $RPM_BUILD_ROOT%{py_sitescriptdir}/{easy_install.py,pkg_resources.py} \
- $RPM_BUILD_ROOT%{py_sitescriptdir}/__pycache__/{easy_install,pkg_resources}.*.pyc
-%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/{_markerlib,setuptools,setuptools-2.1.dist-info}
-
-# packaged separately (python-pip.spec)
-%{__rm} $RPM_BUILD_ROOT%{_bindir}/{pip3,pip3.4}
-%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/{pip,pip-1.5.6.dist-info}
-
# that seems to be only an empty extension template,
# which seems to be built only {with tests}
%{__rm} -f $RPM_BUILD_ROOT%{py_dyndir}/xxlimited.*.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/4f87a49d2266e3650d846d3f0a7e0fff8491017b
More information about the pld-cvs-commit
mailing list