From: Jacek Konieczny Date: Tue, 31 Mar 2015 11:45:19 +0000 (+0200) Subject: Version: 14.3.1 X-Git-Tag: auto/th/python-setuptools-14.3.1-1~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython-setuptools.git;a=commitdiff_plain;h=64c5aa5e97487c2879a621605724e4e64f85a933 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. --- 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)