Search
SailfishOS Open Build Service
>
Projects
>
home:nodevel
:
python3-pandas
>
python3-setuptools
> python3-setuptools.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3-setuptools.spec of Package python3-setuptools
# # spec file for package python3-setuptools # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %global _pythonversion 3.4 Name: python3-setuptools Version: 3.4.4 Release: 1.1 Url: http://pypi.python.org/pypi/setuptools Summary: Easily download, build, install, upgrade, and uninstall Python packages License: Python-2.0 or ZPL-2.0 Group: Development/Languages/Python Source: https://pypi.python.org/packages/source/s/setuptools/setuptools-%{version}.tar.gz Source1: psfl.txt #Source2: zpl.txt Patch1: setuptools-0.6c9-create-sitedir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build #!BuildIgnore: python3-pip #NOTE(saschpe): Need 'python3' for the 'xml' module: BuildRequires: python3-base Requires: python3-base BuildRequires: python3-devel Requires(post): update-alternatives Requires(postun): update-alternatives # NOTE(saschpe): Distribute was merged into 0.7.x, so even though distribute # obsoletes setuptools < 0.6.45, current setuptools obsoletes distribute again Provides: python3-distribute = %{version} Obsoletes: python3-distribute < %{version} BuildArch: noarch %description setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages. %prep %setup -q -n setuptools-%{version} %patch1 find . -type f -name "*.orig" -delete #TODO(saschpe): drop failing test for the time being, fix later.. rm setuptools/tests/test_sdist.py %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} rm %{buildroot}%{_bindir}/easy_install mkdir -p %{buildroot}%{_sysconfdir}/alternatives touch %{buildroot}%{_sysconfdir}/alternatives/easy_install ln -sf %{_sysconfdir}/alternatives/easy_install %{buildroot}/%{_bindir}/easy_install %post update-alternatives \ --install %{_bindir}/easy_install easy_install %{_bindir}/easy_install-%{_pythonversion} 30 %postun if [ $1 -eq 0 ] ; then update-alternatives --remove easy_install %{_bindir}/easy_install-%{_pythonversion} fi %files %defattr(-,root,root,-) %doc CHANGES.txt README.txt %{_bindir}/easy_install %{_bindir}/easy_install-%{_pythonversion} %ghost %{_sysconfdir}/alternatives/easy_install /usr/lib/python%{_pythonversion}/site-packages/_markerlib /usr/lib/python%{_pythonversion}/site-packages/setuptools /usr/lib/python%{_pythonversion}/site-packages/setuptools-%{version}-py%{_pythonversion}.egg-info /usr/lib/python%{_pythonversion}/site-packages/easy_install.py* /usr/lib/python%{_pythonversion}/site-packages/pkg_resources.py* /usr/lib/python%{_pythonversion}/site-packages/__pycache__ %changelog * Wed May 7 2014 <nodevel at gmail dot com> - Initial SailfishOS package * Thu Apr 17 2014 toddrme2178@gmail.com - Update to version 3.4.4 * Issue #184: Correct failure where find_package over-matched packages when directory traversal isn't short-circuited. - Update to version 3.4.3 * Issue #183: Really fix test command with Python 3.1. - Update to version 3.4.2 * Issue #183: Fix additional regression in test command on Python 3.1. - Update to version 3.4.1 * Issue #180: Fix regression in test command not caught by py.test-run tests. - Update to version 3.4 * Issue #176: Add parameter to the test command to support a custom test runner: --test-runner or -r. * Issue #177: Now assume most common invocation to install command on platforms/environments without stack support (issuing a warning). Setuptools now installs naturally on IronPython. Behavior on CPython should be unchanged. - Remove %%check, which now depends on pytest and thus introduces a dependency loop (setuptools->pytest->py->setuptools) * Thu Mar 20 2014 speilicke@suse.com - Update to version 3.3: * Add ``include`` parameter to ``setuptools.find_packages()``. - Changes from version 3.2: * Pull Request #39: Add support for C++ targets from Cython ``.pyx`` files. * Issue #162: Update dependency on certifi to 1.0.1. * Issue #164: Update dependency on wincertstore to 0.2. * Wed Mar 19 2014 coolo@suse.com - python3-pip is not required to build this - and we avoid a cycle * Fri Feb 28 2014 speilicke@suse.com - Requires python3 for xml at runtime as well - fix build on 12.2 by requiring python3-xml * Mon Feb 10 2014 speilicke@suse.com - Update to version 2.1: * Issue #129: Suppress inspection of '*.whl' files when searching for files in a zip-imported file. * Issue #131: Fix RuntimeError when constructing an egg fetcher. - Changes from version 2.0.2: * Fix NameError during installation with Python implementations (e.g. Jython) not containing parser module. * Fix NameError in sdist:re_finder. - Changes from version 2.0.1: * Issue #124: Fixed error in list detection in upload_docs. - Changes from version 2.0: * Issue #121: Exempt lib2to3 pickled grammars from DirectorySandbox. * Issue #41: Dropped support for Python 2.4 and Python 2.5. Clients requiring setuptools for those versions of Python should use setuptools 1.x. * Removed setuptools.command.easy_install.HAS_USER_SITE. Clients expecting this boolean variable should use site.ENABLE_USER_SITE instead. * Removed pkg_resources.ImpWrapper. Clients that expected this class should use pkgutil.ImpImporter instead. - Changes from version 1.4.2: * Issue #116: Correct TypeError when reading a local package index on Python 3. - Changes from version 1.4.1: * Issue #114: Use sys.getfilesystemencoding for decoding config in bdist_wininst distributions. * Issue #105 and Issue #113: Establish a more robust technique for determining the terminal encoding - Changes from version 1.4: * Issue #27: easy_install will now use credentials from .pypirc if present for connecting to the package index. * Pull Request #21: Omit unwanted newlines in package_index._encode_auth when the username/password pair length indicates wrapping. - Changes from version 1.3.2: * Issue #99: Fix filename encoding issues in SVN support. - Changes from version 1.3.1: * Remove exuberant warning in SVN support when SVN is not used. - Changes from version 1.3: * Address security vulnerability in SSL match_hostname check as reported in Python #17997. * Prefer backports.ssl_match_hostname <https://pypi.python.org/pypi/backports.ssl_match_hostname>_ for backport implementation if present. * Correct NameError in ssl_support module (socket.error). - Changes from version 1.2: * Issue #26: Add support for SVN 1.7. Special thanks to Philip Thiem for the contribution. * Issue #93: Wheels are now distributed with every release. Note that as reported in Issue #108, as of Pip 1.4, scripts aren't installed properly from wheels. Therefore, if using Pip to install setuptools from a wheel, the easy_install command will not be available. * Setuptools "natural" launcher support, introduced in 1.0, is now officially supported. - Changes from version 1.1.7: * Fixed behavior of NameError handling in 'script template (dev).py' (script launcher for 'develop' installs). * ez_setup.py now ensures partial downloads are cleaned up following a failed download. * Distribute #363 and Issue #55: Skip an sdist test that fails on locales other than UTF-8. - Fix update-alternatives usage * Fri Oct 11 2013 speilicke@suse.com - Update to version 1.1.6: + Distribute #349: ``sandbox.execfile`` now opens the target file in binary mode, thus honoring a BOM in the file when compiled. - Changes from version 1.1.5: + Issue #69: Second attempt at fix (logic was reversed). - Changes from version 1.1.4: + Issue #77: Fix error in upload command (Python 2.4). - Changes from version 1.1.3: + Fix NameError in previous patch. - Changes from version 1.1.2: + Issue #69: Correct issue where 404 errors are returned for URLs with fragments in them (such as #egg=). - Changes from version 1.1.1: + Issue #75: Add ``--insecure`` option to ez_setup.py to accommodate environments where a trusted SSL connection cannot be validated. + Issue #76: Fix AttributeError in upload command with Python 2.4. - Changes from version 1.1: + Issue #71 (Distribute #333): EasyInstall now puts less emphasis on the condition when a host is blocked via ``--allow-hosts``. + Issue #72: Restored Python 2.4 compatibility in ``ez_setup.py``. - Changes from version 1.0: + Issue #60: On Windows, Setuptools supports deferring to another launcher, such as Vinay Sajip's `pylauncher <https://bitbucket.org/pypa/pylauncher>`_ (included with Python 3.3) to launch console and GUI scripts and not install its own launcher executables. This experimental functionality is currently only enabled if the ``SETUPTOOLS_LAUNCHER`` environment variable is set to "natural". In the future, this behavior may become default, but only after it has matured and seen substantial adoption. The ``SETUPTOOLS_LAUNCHER`` also accepts "executable" to force the default behavior of creating launcher executables. + Issue #63: Bootstrap script (ez_setup.py) now prefers Powershell, curl, or wget for retrieving the Setuptools tarball for improved security of the install. The script will still fall back to a simple ``urlopen`` on platforms that do not have these tools. + Issue #65: Deprecated the ``Features`` functionality. + Issue #52: In ``VerifyingHTTPSConn``, handle a tunnelled (proxied) connection. + Backward-Incompatible Changes: This release includes a couple of backward-incompatible changes, but most if not all users will find 1.0 a drop-in replacement for 0.9. - Issue #50: Normalized API of environment marker support. Specifically, removed line number and filename from SyntaxErrors when returned from `pkg_resources.invalid_marker`. Any clients depending on the specific string representation of exceptions returned by that function may need to be updated to account for this change. - Issue #50: SyntaxErrors generated by `pkg_resources.invalid_marker` are normalized for cross-implementation consistency. - Removed ``--ignore-conflicts-at-my-risk`` and ``--delete-conflicting`` options to easy_install. These options have been deprecated since 0.6a11. - Unify changes format - Drop HTML documentation, upstream doesn't pre-build it anymore and setuptools shouldn't depend on python-Sphinx. A seperate doc spec file can be added if people ask for it. * Thu Aug 15 2013 speilicke@suse.com - Buildrequire python3-2to3 on 12.2 * Thu Aug 1 2013 speilicke@suse.com - Buildrequire python3 on 12.2, we need sha512 module * Mon Jul 29 2013 speilicke@suse.com - Update to version 0.9.8: * Issue #53: Fix NameErrors in _vcs_split_rev_from_url. - Changes from version 0.9.7: * Issue #49: Correct AttributeError on PyPy where a hashlib.HASH object does not have a .name attribute. * Issue #34: Documentation now refers to bootstrap script in code repository referenced by bookmark. * Add underscore-separated keys to environment markers (markerlib). - Changes from version 0.9.6: * Issue #44: Test failure on Python 2.4 when MD5 hash doesn't have a .name attribute. - Changes from version 0.9.5: * Python #17980: Fix security vulnerability in SSL certificate validation. - Changes from version 0.9.4: * Issue #43: Fix issue (introduced in 0.9.1) with version resolution when upgrading over other releases of Setuptools. - Changes from version 0.9.3: * Issue #42: Fix new AttributeError introduced in last fix. - Changes from version 0.9.2: * Issue #42: Fix regression where blank checksums would trigger an AttributeError. - Changes from version 0.9.1: * Distribute #386: Allow other positional and keyword arguments to os.open. * Corrected dependency on certifi mis-referenced in 0.9. - Changes from version 0.9: * package_index now validates hashes other than MD5 in download links. - Changes from version 0.8: * Code base now runs on Python 2.4 - Python 3.3 without Python 2to3 conversion. - No need to run 2to3 anymore * Thu Jul 18 2013 speilicke@suse.com - Use update-alternatives to be parallel-installable with python-setuptools * Tue Jun 25 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 2010 saschpe@gmx.de - re-generated spec file with py2pack based on old spec file: * now builds on Fedora and Mandriva * Wed Sep 1 2010 jmatejek@novell.com - update to dev snapshot 0.6c12 - RPM version is set to 0.6c11.99.r84273 so that version 0.6c12 will be an upgrade when it comes - this should fix "AttributeError: 'NoneType' object has no attribute 'clone'" errors with python 2.7 * Tue Jan 12 2010 alexandre@exatati.com.br - Removed obsolete python-setuptools-distutils-log.diff from sources. * Tue Nov 10 2009 alexandre@exatati.com.br - update to version 0.6c11 * Fix "bdist_wininst upload" trying to upload same file twice - additional changes from 0.6c10 * Fix for the Python 2.6.3 build_ext API change * Ensure C libraries (as opposed to extensions) are also built when doing bdist_egg * Support for SVN 1.6 * Wed Nov 4 2009 matejcik@suse.cz - removed obsolete python-setuptools-distutils-log patch * Wed Aug 12 2009 matejcik@suse.cz - improved noarch selection macro * Fri Jul 31 2009 matejcik@suse.cz - added noarch for suse > 11.1 * Fri Apr 3 2009 matejcik@suse.cz - fixed spec compatibility with older versions * Mon Mar 30 2009 matejcik@suse.cz - update to 0.6c9 * python 2.6 compatibility fixes - added patch to create install path if it doesn't exist - removed python-devel from requires * Wed Oct 22 2008 skh@suse.de - add python-setuptools-distutils-log.diff: setuptools/command/sdist.py: import distutils.log [bnc#428177] - add python-setuptools-svn15.diff: setuptools/command/egg_info.py: recognize svn format version 1.5 magic number [also bnc#428177] * Mon Aug 18 2008 cthiel@suse.de - update to version 0.6c8 * Prevent ``--help-commands`` and other junk from showing under Python 2.5 when running ``easy_install --help``. * Fixed GUI scripts sometimes not executing on Windows * Fixed not picking up dependency links from recursive dependencies. * Only make ``.py``, ``.dll`` and ``.so`` files executable when unpacking eggs * Changes for Jython compatibility - changes in version 0.6c7 * ``ftp:`` download URLs now work correctly. * The default ``--index-url`` is now ``http://pypi.python.org/simple``, to use the Python Package Index's new simpler (and faster!) REST API. * Tue Aug 7 2007 cthiel@suse.de - update to version 0.6c6 * EasyInstall no longer aborts the installation process if a URL it wants to retrieve can't be downloaded, unless the URL is an actual package download. Instead, it issues a warning and tries to keep going. * Fixed distutils-style scripts originally built on Windows having their line endings doubled when installed on any platform. * Added ``--local-snapshots-ok`` flag, to allow building eggs from projects installed using ``setup.py develop``. * Fixed not HTML-decoding URLs scraped from web pages * Fri Feb 16 2007 cthiel@suse.de - initial package (version 0.6c5)