debian/0000775000000000000000000000000013357436353007204 5ustar debian/watch0000664000000000000000000000011112262644643010223 0ustar version=3 http://pypi.python.org/packages/source/s/six/six-(.+)\.tar\.gz debian/source/0000775000000000000000000000000012262644643010501 5ustar debian/source/format0000664000000000000000000000001412262644643011707 0ustar 3.0 (quilt) debian/control0000664000000000000000000000377713357436431010622 0ustar Source: six Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Colin Watson Uploaders: Barry Warsaw Standards-Version: 3.9.5 Build-Depends: debhelper (>= 7.2.11~), python (>= 2.6.6-3~), python-all, python3 (>= 3.1.2-8~), python3-all, python-pytest, python3-pytest, python-setuptools, python3-setuptools, python3-wheel, dh-python Homepage: http://pythonhosted.org/six/ Vcs-Git: git://anonscm.debian.org/collab-maint/six.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/six.git X-Python-Version: >= 2.5 X-Python3-Version: >= 3.0 Package: python-six Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: Python 2 and 3 compatibility library (Python 2 interface) 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. . This package provides Six on the Python 2 module path. It is complemented by python3-six. Package: python3-six Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Description: Python 2 and 3 compatibility library (Python 3 interface) 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. . This package provides Six on the Python 3 module path. It is complemented by python-six. Package: python-six-whl Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Description: Python 2 and 3 compatibility library (universal wheel) 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. . This package provides Six as a universal wheel. debian/python-six-whl.install0000664000000000000000000000003012365004115013460 0ustar usr/share/python-wheels debian/rules0000775000000000000000000000044512502132657010256 0ustar #! /usr/bin/make -f export PYBUILD_NAME=six export PYBUILD_TEST_PYTEST=1 %: dh $@ --with python2,python3 --buildsystem=pybuild override_dh_auto_install: dh_auto_install USE_SETUPTOOLS=yes python3 setup.py bdist_wheel \ --universal \ -d $(CURDIR)/debian/tmp/usr/share/python-wheels debian/changelog0000664000000000000000000000300513357436423011052 0ustar six (1.5.2-1ubuntu1.1) trusty-security; urgency=medium * No change rebuild in -security pocket. -- Leonidas S. Barbosa Wed, 10 Oct 2018 14:54:48 -0300 six (1.5.2-1ubuntu1) trusty-proposed; urgency=medium * SRU, update python3.4 for trusty. LP: #1433324. * Build a -whl package (setuptools is needed to build the wheel package). -- Matthias Klose Sat, 26 Jul 2014 21:55:03 +0200 six (1.5.2-1) unstable; urgency=medium * New upstream release. * Switch to git; adjust Vcs-* fields. * Policy version 3.9.5: no changes required. -- Colin Watson Tue, 07 Jan 2014 01:00:45 +0000 six (1.4.1-1) unstable; urgency=low * New upstream release (closes: #721765). -- Colin Watson Wed, 04 Sep 2013 06:44:27 +0100 six (1.3.0-1) unstable; urgency=low * New upstream release. -- Colin Watson Sat, 27 Apr 2013 12:31:44 +0100 six (1.2.0-1) unstable; urgency=low * New upstream release. * Add a watch file. * Policy version 3.9.4: no changes required. * Run the upstream test suite. -- Colin Watson Fri, 21 Sep 2012 22:53:29 +0100 six (1.1.0-2) unstable; urgency=low * Convert to source format 3.0 (quilt). * Remove the build directory on clean. -- Colin Watson Tue, 17 Jan 2012 22:40:53 +0000 six (1.1.0-1) unstable; urgency=low * Initial release (closes: #656234). -- Colin Watson Tue, 17 Jan 2012 17:23:12 +0000 debian/patches/0000775000000000000000000000000012502132625010615 5ustar debian/patches/series0000664000000000000000000000004312502132552012026 0ustar use-setuptools-for-wheel-only.diff debian/patches/use-setuptools-for-wheel-only.diff0000664000000000000000000000060412502132625017327 0ustar Index: b/setup.py =================================================================== --- a/setup.py +++ b/setup.py @@ -1,8 +1,10 @@ from __future__ import with_statement -try: +# just build the wheel using setuptools +import os +if os.getenv("USE_SETUPTOOLS") == "yes": from setuptools import setup -except ImportError: +else: from distutils.core import setup import six debian/compat0000664000000000000000000000000212262644643010377 0ustar 7 debian/copyright0000664000000000000000000000252712262647162011141 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: six Source: http://pypi.python.org/pypi/six/ Files: * Copyright: Copyright (c) 2010-2014 Benjamin Peterson License: Expat Files: debian/* Copyright: Copyright (C) 2012 Colin Watson License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.