Search
SailfishOS Open Build Service
>
Projects
>
home:nodevel
:
python3-pandas
>
python3-six
> python3-six.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3-six.spec of Package python3-six
# # spec file for package python3-six # # Copyright (c) 2016 SUSE LINUX 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 python3_sitearch /usr/lib/python3.4/site-packages/ %global python3_sitelib /usr/lib/python3.4/site-packages/ Name: python3-six Version: 1.10.0 Release: 35.1 Url: http://pypi.python.org/pypi/six/ Summary: Python 2 and 3 compatibility utilities License: MIT Group: Development/Libraries/Python Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-devel BuildArch: noarch %description Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions. See the documentation for more information on what is provided. %prep %setup -q -n six-%{version} %build python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} # due to cyclic requirements between Sphinx and six, # documentation is build in its own package <hpj@urpla.net> # Run tests in -doc package to avoid dependency loop # %check # python3 test_six.py %pre # previous versions of the package installed .egg-info as a directory, # the new update now installs it as a file. Clean out the directory, should it # exist. if [ -d %{python3_sitelib}/six-%{version}-py%{py3_ver}.egg-info ]; then rm -rf %{python3_sitelib}/six-%{version}-py%{py3_ver}.egg-info fi %files %defattr(-,root,root) %doc LICENSE README %{python3_sitelib}/six.py* %{python3_sitelib}/six-%{version}-py*.egg-info %{python3_sitelib}/__pycache__/six.* %changelog * Sun May 8 2016 arun@gmx.de - specfile: * changed to https for source url * updated source url to files.pythonhosted.org * Thu Jan 28 2016 tchvatal@suse.com - Fix issue with directory -> folder cpio error * Tue Jan 19 2016 toddrme2178@gmail.com - Run tests in -doc package to avoid dependency loops * python3-setuptools -> python3-six -> python3-py -> python3-setuptools * python3-setuptools -> python3-six -> python3-pytest -> python3-setuptools - Actually run the tests. They weren't previously being run. * Thu Oct 8 2015 arun@gmx.de - update to version 1.10.0: * Issue #122: Improve the performance of `six.int2byte` on Python 3. * Pull request #55 and issue #99: Don't add the `winreg` module to `six.moves` on non-Windows platforms. * Pull request #60 and issue #108: Add `six.moves.getcwd` and `six.moves.getcwdu`. * Pull request #64: Add `create_unbound_method` to create unbound methods. * Wed Jul 8 2015 toddrme2178@gmail.com - Split documentation into separate package to avoid build loop * Wed Jan 7 2015 arun@gmx.de - specfile: update copyright year - update to version 1.9.0: * Issue #106: Support the `flush` parameter to `six.print_`. * Pull request #48 and issue #15: Add the `python_2_unicode_compatible` decorator. * Pull request #57 and issue #50: Add several compatibility methods for unittest assertions that were renamed between Python 2 and 3. * Issue #105 and pull request #58: Ensure `six.wraps` respects the *updated* and * assigned* arguments. * Issue #102: Add `raise_from` to abstract out Python 3's raise from syntax. * Issue #97: Optimize `six.iterbytes` on Python 2. * Issue #98: Fix `six.moves` race condition in multi-threaded code. * Pull request #51: Add `six.view(keys|values|itmes)`, which provide dictionary views on Python 2.7+. * Tue Sep 16 2014 toddrme2178@gmail.com - update to version 1.8.0: * Issue #90: Add six.moves.shlex_quote. * Issue #59: Add six.moves.intern. * Add six.urllib.parse.uses_(fragment|netloc|params|query|relative). * Issue #88: Fix add_metaclass when the class has __slots__ containing "__weakref__" or "__dict__". * Issue #89: Make six use absolute imports. * Issue #85: Always accept *updated* and *assigned* arguments for wraps(). * Issue #86: In reraise(), instantiate the exception if the second argument is None. * Pull request #45: Add six.moves.email_mime_nonmultipart. * Issue #81: Add six.urllib.request.splittag mapping. * Issue #80: Add six.urllib.request.splituser mapping. - update to 1.7.3: - Issue #77: Fix import six on Python 3.4 with a custom loader. - Issue #74: six.moves.xmlrpc_server should map to SimpleXMLRPCServer on Python 2 as documented not xmlrpclib. - update to 1.7.2: - Issue #72: Fix installing on Python 2. - Issue #71: Make the six.moves meta path importer handle reloading of the six module gracefully. - Pull request #30: Implement six.moves with a PEP 302 meta path hook. - Pull request #32: Add six.wraps, which is like functools.wraps but always sets the __wrapped__ attribute. - Pull request #35: Improve add_metaclass, so that it doesn't end up inserting another class into the hierarchy. - Pull request #34: Add import mappings for dummy_thread. - Pull request #33: Add import mappings for UserDict and UserList. - Pull request #31: Select the implementations of dictionary iterator routines at import time for a 20%% speed boost. * Thu May 8 2014 toddrme2178@gmail.com - update to 1.6.1: - Raise an AttributeError for six.moves.X when X is a module not available in the current interpreter. - Raise an AttributeError for every attribute of unimportable modules. - Issue #56: Make the fake modules six.moves puts into sys.modules appear not to have a __path__ unless they are loaded. - Pull request #28: Add support for SplitResult. - Issue #55: Add move mapping for xmlrpc.server. - Pull request #29: Add move for urllib.parse.splitquery. * Mon Feb 24 2014 mvyskocil@suse.com - update to 1.5.2 - Removed support for Python 2.4. This is because py.test no longer supports 2.4. - Fix various import problems including issues #19 and #41. six.moves modules are now lazy wrappers over the underlying modules instead of the actual modules themselves. - Issue #49: Add six.moves mapping for tkinter.ttk. - Pull request #24: Add __dir__ special method to six.moves modules. - Issue #47: Fix add_metaclass on classes with a string for the __slots__ variable. - Issue #44: Fix interpretation of backslashes on Python 2 in the u() function. - Pull request #21: Add import mapping for urllib's proxy_bypass function. - Issue #43: Add import mapping for the Python 2 xmlrpclib module. - Issue #39: Add import mapping for the Python 2 thread module. - Issue #40: Add import mapping for the Python 2 gdbm module. - Issue #35: On Python versions less than 2.7, print_ now encodes unicode strings when outputing to standard streams. (Python 2.7 handles this automatically.) - put documentation to python3-six-doc package * Mon Dec 23 2013 ocefpaf@gmail.com - updated to 1.4.1 - Issue #32: urllib module wrappings don't work when six is not a toplevel file. - updates from 1.4.0 - Issue #31: Add six.moves mapping for UserString. - Pull request #12: Add six.add_metaclass, a decorator for adding a metaclass to a class. - Add six.moves.zip_longest and six.moves.filterfalse, which correspond respectively to itertools.izip_longest and itertools.ifilterfalse on Python 2 and itertools.zip_longest and itertools.filterfalse on Python 3. - Issue #25: Add the unichr function, which returns a string for a Unicode codepoint. - Issue #26: Add byte2int function, which complements int2byte. - Add a PY2 constant with obvious semantics. - Add helpers for indexing and iterating over bytes: iterbytes and indexbytes. - Add create_bound_method() wrapper. - Issue #23: Allow multiple base classes to be passed to with_metaclass. - Issue #24: Add six.moves.range alias. This exactly the same as the current xrange alias. - Pull request #5: Create six.moves.urllib, which contains abstractions for a bunch of things which are in urllib in Python 3 and spread out across urllib, urllib2, and urlparse in Python 2. * Tue Jul 30 2013 speilicke@suse.com - Don't remove __pycache__ - Run testsuite - Build and package HTML documentation * Mon Apr 29 2013 dmueller@suse.com - update to 1.3.0: - In six.iter(items/keys/values/lists), passed keyword arguments through to the underlying method. - Add six.iterlists(). - Fix Jython detection. * Thu Nov 22 2012 toddrme2178@gmail.com - Removed openSUSE 11.4 spec file workarounds * Wed Sep 12 2012 os-dev@jacraig.com - Update to 1.2.0: * Issue #13: Make iterkeys/itervalues/iteritems return iterators on Python 3 instead of iterables. * Issue #11: Fix maxsize support on Jython. * Add six.next() as an alias for six.advance_iterator(). * Use the builtin next() function for advance_iterator() where is available (2.6+), not just Python 3. * Add the Iterator class for writing portable iterators. * Tue Jun 5 2012 toddrme2178@gmail.com - Initial spec file