[packages/python-setuptools] Version: 14.3.1

jajcus jajcus at pld-linux.org
Tue Mar 31 13:46:56 CEST 2015


commit 64c5aa5e97487c2879a621605724e4e64f85a933
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Tue Mar 31 13:45:19 2015 +0200

    Version: 14.3.1
    
    Time to get rid of the very old and very obsolete python-distribute and
    python-setuptools in Th.
    
    There will be a new python-distribute package containing the current
    upstream 'distribute', which is just a wrapper for current setuptools.

 python-setuptools.spec | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)
---
diff --git a/python-setuptools.spec b/python-setuptools.spec
index 962a649..cb842ad 100644
--- a/python-setuptools.spec
+++ b/python-setuptools.spec
@@ -4,29 +4,40 @@
 %bcond_with	tests	# "test" action (fails?)
 %bcond_without	python2 # CPython 2.x module
 %bcond_without	python3 # CPython 3.x module
+%bcond_with 	bootstrap # build using old distribute
 
 %define		module	setuptools
 Summary:	A collection of enhancements to the Python distutils
 Summary(pl.UTF-8):	Zestaw rozszerzeń dla pythonowych distutils
 Name:		python-setuptools
-Version:	14.0
+Version:	14.3.1
 Release:	1
 Epoch:		1
 License:	PSF or ZPL
 Group:		Development/Languages/Python
 #Source0Download: https://pypi.python.org/pypi/setuptools
 Source0:	https://pypi.python.org/packages/source/s/setuptools/setuptools-%{version}.tar.gz
-# Source0-md5:	058655fe511deccb4359bf02727f5199
+# Source0-md5:	cdba2741b16acaa3ed06c2252623f6b9
 URL:		https://bitbucket.org/pypa/setuptools
 %if %(locale -a | grep -q '^en_US.UTF-8$'; echo $?)
 BuildRequires:	glibc-localedb-all
 %endif
 %if %{with python2}
-BuildRequires:	python-distribute
+%if %{with bootstrap}
+BuildRequires:        python-distribute < 0.7
+%else
+BuildRequires:     python-setuptools > 7.0
+BuildConflicts:    python-distribute < 0.7
+%endif
 BuildRequires:	python-modules >= 1:2.6
 %endif
 %if %{with python3}
-BuildRequires:	python3-distribute
+%if %{with bootstrap}
+BuildRequires:     python3-distribute < 0.7
+%else
+BuildRequires:     python3-setuptools > 7.0
+BuildConflicts:    python3-distribute < 0.7
+%endif
 BuildRequires:	python3-modules >= 1:3.2
 %endif
 %if %{with apidocs}
@@ -35,7 +46,7 @@ BuildRequires:	sphinx-pdg
 %endif
 BuildRequires:	rpm-pythonprov
 Requires:	python-modules >= 1:2.6
-Obsoletes:	python-distribute
+Obsoletes:	python-distribute < 0.7
 Obsoletes:	python-setuptools-devel
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-setuptools.git/commitdiff/64c5aa5e97487c2879a621605724e4e64f85a933



More information about the pld-cvs-commit mailing list