Search
SailfishOS Open Build Service
>
Projects
>
home:nodevel
:
python3-pandas
>
python3-setuptools
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 19
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
[-]
[+]
Added
python3-setuptools.spec
@@ -0,0 +1,362 @@ +# +# 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: