- Update to version 0.7.4:
+ Issue #20: Fix comparison of parsed SVN version on Python 3. - Changes from version 0.7.3: + Issue #1: Disable installation of Windows-specific files on non-Windows systems. + Use new sysconfig module with Python 2.7 or >=3.2. - Changes from version 0.7.2: + Issue #14: Use markerlib when the `parser` module is not available. + Issue #10: ``ez_setup.py`` now uses HTTPS to download setuptools from PyPI. - Changes from version 0.7.1: + Fix NameError (Issue #3) again - broken in bad merge. - Changes from version 0.7: + Merged Setuptools and Distribute. See docs/merge.txt for details. + Index URL now defaults to HTTPS. + Added experimental environment marker support. Now clients may designate a PEP-426 environment marker for "extra" dependencies. Setuptools uses this feature in ``setup.py`` for optional SSL and certificate validation support on older platforms. Based on Distutils-SIG discussions, the syntax is somewhat tentative. There should probably be a PEP with a firmer spec before the feature should be considered suitable for use. + Added support for SSL certificate validation when installing packages from an HTTPS service. - Use upstream URL, SDPX style licenses - Provide/obsolete python-distribute, which merged into setuptools-0.7.x OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=39
This commit is contained in:
parent
36139fc71d
commit
27a64cc6fd
@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 25 08:57:08 UTC 2013 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.7.4:
|
||||||
|
+ Issue #20: Fix comparison of parsed SVN version on Python 3.
|
||||||
|
- Changes from version 0.7.3:
|
||||||
|
+ Issue #1: Disable installation of Windows-specific files on non-Windows systems.
|
||||||
|
+ Use new sysconfig module with Python 2.7 or >=3.2.
|
||||||
|
- Changes from version 0.7.2:
|
||||||
|
+ Issue #14: Use markerlib when the `parser` module is not available.
|
||||||
|
+ Issue #10: ``ez_setup.py`` now uses HTTPS to download setuptools from PyPI.
|
||||||
|
- Changes from version 0.7.1:
|
||||||
|
+ Fix NameError (Issue #3) again - broken in bad merge.
|
||||||
|
- Changes from version 0.7:
|
||||||
|
+ Merged Setuptools and Distribute. See docs/merge.txt for details.
|
||||||
|
+ Index URL now defaults to HTTPS.
|
||||||
|
+ Added experimental environment marker support. Now clients may designate a
|
||||||
|
PEP-426 environment marker for "extra" dependencies. Setuptools uses this
|
||||||
|
feature in ``setup.py`` for optional SSL and certificate validation support
|
||||||
|
on older platforms. Based on Distutils-SIG discussions, the syntax is
|
||||||
|
somewhat tentative. There should probably be a PEP with a firmer spec before
|
||||||
|
the feature should be considered suitable for use.
|
||||||
|
+ Added support for SSL certificate validation when installing packages from
|
||||||
|
an HTTPS service.
|
||||||
|
- Use upstream URL, SDPX style licenses
|
||||||
|
- Provide/obsolete python-distribute, which merged into setuptools-0.7.x
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Dec 11 21:16:05 UTC 2010 - saschpe@gmx.de
|
Sat Dec 11 21:16:05 UTC 2010 - saschpe@gmx.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-setuptools
|
# spec file for package python-setuptools
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,74 +15,58 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
||||||
|
|
||||||
%define mod_name setuptools
|
Name: python-setuptools
|
||||||
|
Version: 0.7.4
|
||||||
Name: python-%{mod_name}
|
|
||||||
Version: 0.6c11.99.r84273
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://pypi.python.org/pypi/setuptools
|
Url: http://pypi.python.org/pypi/setuptools
|
||||||
Summary: Download, build, install, upgrade, and uninstall Python packages -- easily!
|
Summary: Easily download, build, install, upgrade, and uninstall Python packages
|
||||||
License: PSF or ZPL
|
License: Python-2.0 or ZPL-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: %{mod_name}-0.6c12dev-r84273.tar.bz2
|
Source: https://pypi.python.org/packages/source/s/setuptools/setuptools-%{version}.tar.gz
|
||||||
Source1: psfl.txt
|
Source1: psfl.txt
|
||||||
Source2: zpl.txt
|
Source2: zpl.txt
|
||||||
Patch1: setuptools-0.6c9-create-sitedir.patch
|
Patch1: setuptools-0.6c9-create-sitedir.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
%if 0%{?suse_version}
|
# NOTE(saschpe): Distribute was merged into 0.7.x, so even though distribute
|
||||||
%py_requires
|
# obsoletes setuptools < 0.6.45, current setuptools obsoletes distribute again
|
||||||
%if 0%{?suse_version} > 1010
|
Provides: python-distribute = %{version}
|
||||||
BuildRequires: fdupes
|
Obsoletes: python-distribute < %{version}
|
||||||
%endif
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%else
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
setuptools is a collection of enhancements to the Python distutils that
|
setuptools is a collection of enhancements to the Python distutils that
|
||||||
allow you to more easily build and distribute Python packages,
|
allow you to more easily build and distribute Python packages,
|
||||||
especially ones that have dependencies on other packages.
|
especially ones that have dependencies on other packages.
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Phillip J. Eby <distutils-sig@python.org>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
export CFLAGS="%{optflags}"
|
%setup -q -n setuptools-%{version}
|
||||||
%setup -q -n %{mod_name}-0.6c12dev-r84273
|
|
||||||
%patch1
|
%patch1
|
||||||
chmod -x *.txt
|
find . -type f -name "*.orig" -delete
|
||||||
find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python}|'
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python} setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} %{?suse_version: --record-rpm=INSTALLED_FILES}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
find %{buildroot}%{python_sitelib} -name '*.txt' -exec chmod -x {} ";"
|
|
||||||
chmod +x %{buildroot}%{python_sitelib}/setuptools/command/easy_install.py
|
|
||||||
%if 0%{?suse_version} > 1010
|
|
||||||
%fdupes %{buildroot}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
%check
|
||||||
%{__rm} -rf %{buildroot}
|
python setup.py test
|
||||||
|
|
||||||
%files %{?suse_version: -f INSTALLED_FILES}
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%if 0%{!?suse_version:1}
|
%doc CHANGES.txt README.txt
|
||||||
%{_bindir}/easy_install*
|
%{_bindir}/easy_install
|
||||||
%python_sitelib/%{mod_name}*
|
%{_bindir}/easy_install-%{py_ver}
|
||||||
|
%{python_sitelib}/_markerlib
|
||||||
|
%{python_sitelib}/setuptools
|
||||||
|
%{python_sitelib}/setuptools-%{version}-py%{py_ver}.egg-info
|
||||||
%python_sitelib/easy_install.py*
|
%python_sitelib/easy_install.py*
|
||||||
%python_sitelib/pkg_resources.py*
|
%python_sitelib/pkg_resources.py*
|
||||||
%python_sitelib/site.py*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b0ec6f0d88f36e346d0904efa2411b3956f63e91f3e5be8d8cffd00ffb443bef
|
|
||||||
size 194138
|
|
Loading…
Reference in New Issue
Block a user