[Python-modules-commits] [tox] 17/69: tox (1.5.0-1) unstable; urgency=low
Barry Warsaw
barry at moszumanska.debian.org
Fri Sep 5 23:26:24 UTC 2014
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository tox.
commit 1fe271cdaad5a8db7475e2611cfbf9360293c2b2
Author: Barry Warsaw <barry at debian.org>
Date: Mon Jul 15 13:47:06 2013 -0400
tox (1.5.0-1) unstable; urgency=low
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
[ Barry Warsaw ]
* New upstream release. (Closes: #702009)
* d/control: Update maintainer email.
* d/patches/no-download.patch: Refreshed.
* d/patches/pytest-dep-version.patch: Disable instafail dependency
for now until that package clears NEW.
* d/rules: Remove get-orig-source since upstream now releases a .tar.gz.
* d/python-tox.docs: README.txt was renamed to README.rst.
---
debian/changelog | 46 ++++
debian/compat | 1 +
debian/control | 38 ++++
debian/copyright | 358 +++++++++++++++++++++++++++++++
debian/manpage/Makefile | 153 +++++++++++++
debian/manpage/conf.py | 243 +++++++++++++++++++++
debian/manpage/tox-man.rst | 43 ++++
debian/patches/fix-doctree.patch | 13 ++
debian/patches/intersphinx_mapping.patch | 37 ++++
debian/patches/no-download.patch | 13 ++
debian/patches/pytest-dep-version.patch | 18 ++
debian/patches/series | 3 +
debian/patches/test-problems.patch | 30 +++
debian/patches/upstream-issue58.patch | 13 ++
debian/python-tox.doc-base | 14 ++
debian/python-tox.docs | 2 +
debian/python-tox.pyremove | 1 +
debian/rules | 49 +++++
debian/source/format | 1 +
debian/tests/built | 20 ++
debian/tests/control | 2 +
debian/watch | 2 +
22 files changed, 1100 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7687cee
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,46 @@
+tox (1.5.0-1) unstable; urgency=low
+
+ [ Jakub Wilk ]
+ * Use canonical URIs for Vcs-* fields.
+
+ [ Barry Warsaw ]
+ * New upstream release. (Closes: #702009)
+ * d/control: Update maintainer email.
+ * d/patches/no-download.patch: Refreshed.
+ * d/patches/pytest-dep-version.patch: Disable instafail dependency
+ for now until that package clears NEW.
+ * d/rules: Remove get-orig-source since upstream now releases a .tar.gz.
+ * d/python-tox.docs: README.txt was renamed to README.rst.
+
+ -- Barry Warsaw <barry at debian.org> Mon, 15 Jul 2013 13:47:06 -0400
+
+tox (1.4.3-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/watch: Update URL since upstream now releases tar.gz files.
+ * debian/rules: No more need for $FAKEHOME.
+ * debian/patches/no-download.patch: Refreshed.
+
+ -- Barry Warsaw <barry at python.org> Fri, 01 Mar 2013 10:25:03 -0500
+
+tox (1.4.2-2) unstable; urgency=low
+
+ * debian/patches/no-download.patch: Modify tox's own tox.ini file to
+ prevent unintended downloads of dependencies from remote Python
+ package servers.
+ * debian/control: Add B-D for python-pytest.
+ * debian/rules:
+ + Hack $PYTHONPATH to include the system Python's dist-packages when
+ running tox's own tox test. Without this, the system installed
+ dependencies will not be found (since they aren't downloaded as per
+ above).
+ + Export $http_proxy to additionally prevent unintended internet
+ access by setuptools.
+
+ -- Barry Warsaw <barry at python.org> Wed, 28 Nov 2012 14:59:23 -0500
+
+tox (1.4.2-1) unstable; urgency=low
+
+ * Initial release. (Closes: #664759)
+
+ -- Barry Warsaw <barry at python.org> Fri, 09 Nov 2012 18:07:19 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..90118ea
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,38 @@
+Source: tox
+Section: python
+Priority: optional
+Maintainer: Barry Warsaw <barry at debian.org>
+Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Homepage: http://codespeak.net/tox
+Build-Depends: debhelper (>= 8),
+ python-all,
+ python-argparse,
+ python-doc,
+ python-pkg-resources,
+ python-py,
+ python-pytest,
+ python-setuptools,
+ python-sphinx (>= 1.0.7+dfsg),
+ python-virtualenv
+Standards-Version: 3.9.4
+Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/tox/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/tox/trunk/
+X-Python-Version: >= 2.6
+#XS-Testsuite: autopkgtest
+
+Package: python-tox
+Architecture: all
+Depends: python-pkg-resources,
+ ${misc:Depends},
+ ${python:Depends},
+ ${sphinxdoc:Depends}
+Description: virtualenv-based automation of test activities
+ Tox as is a generic virtualenv management and test command line tool
+ you can use for:
+ .
+ * checking your package installs correctly with different Python
+ versions and interpreters
+ * running your tests in each of the environments, configuring your
+ test tool of choice
+ * acting as a frontend to Continuous Integration servers, greatly
+ reducing boilerplate and merging CI and shell-based testing.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7355fa9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,358 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: tox
+Upstream-Contact: Holger Krekel <holger at merlinux.eu>
+Source: http://pypi.python.org/pypi/tox
+
+Files: *
+Copyright: 2011 Holger Kregel <holger at merlinux.eu>
+License: GPL-2+
+
+Files: toxbootstrap.py
+Copyright: 2010-2011 Holger Kregel, Sridhar Ratnakumar
+License: Expat
+Comment: See also CONTRIBUTORS
+
+Files: tox/_verlib.py
+Copyright: 2010 Tarek Ziade and others
+License: Python
+
+Files: debian/*
+Copyright: 2012 Bradley Froehle <brad.froehle at gmail.com>
+License: GPL-2+
+
+Files: debian/watch debian/tests/* files/manpage/*
+Copyright: 2012 Barry Warsaw <barry at python.org>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+ .
+ On Debian systems, the complete text of the GPL-2 can be found in
+ /usr/share/common-licenses/GPL-2
+
+License: Expat
+ Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
+ .
+ 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.
+
+License: Python
+ A. HISTORY OF THE SOFTWARE
+ ==========================
+ .
+ Python was created in the early 1990s by Guido van Rossum at Stichting
+ Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
+ as a successor of a language called ABC. Guido remains Python's
+ principal author, although it includes many contributions from others.
+ .
+ In 1995, Guido continued his work on Python at the Corporation for
+ National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
+ in Reston, Virginia where he released several versions of the
+ software.
+ .
+ In May 2000, Guido and the Python core development team moved to
+ BeOpen.com to form the BeOpen PythonLabs team. In October of the same
+ year, the PythonLabs team moved to Digital Creations (now Zope
+ Corporation, see http://www.zope.com). In 2001, the Python Software
+ Foundation (PSF, see http://www.python.org/psf/) was formed, a
+ non-profit organization created specifically to own Python-related
+ Intellectual Property. Zope Corporation is a sponsoring member of
+ the PSF.
+ .
+ All Python releases are Open Source (see http://www.opensource.org for
+ the Open Source Definition). Historically, most, but not all, Python
+ releases have also been GPL-compatible; the table below summarizes
+ the various releases.
+ .
+ Release Derived Year Owner GPL-
+ from compatible? (1)
+ .
+ 0.9.0 thru 1.2 1991-1995 CWI yes
+ 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
+ 1.6 1.5.2 2000 CNRI no
+ 2.0 1.6 2000 BeOpen.com no
+ 1.6.1 1.6 2001 CNRI yes (2)
+ 2.1 2.0+1.6.1 2001 PSF no
+ 2.0.1 2.0+1.6.1 2001 PSF yes
+ 2.1.1 2.1+2.0.1 2001 PSF yes
+ 2.2 2.1.1 2001 PSF yes
+ 2.1.2 2.1.1 2002 PSF yes
+ 2.1.3 2.1.2 2002 PSF yes
+ 2.2.1 2.2 2002 PSF yes
+ 2.2.2 2.2.1 2002 PSF yes
+ 2.2.3 2.2.2 2003 PSF yes
+ 2.3 2.2.2 2002-2003 PSF yes
+ 2.3.1 2.3 2002-2003 PSF yes
+ 2.3.2 2.3.1 2002-2003 PSF yes
+ 2.3.3 2.3.2 2002-2003 PSF yes
+ 2.3.4 2.3.3 2004 PSF yes
+ 2.3.5 2.3.4 2005 PSF yes
+ 2.4 2.3 2004 PSF yes
+ 2.4.1 2.4 2005 PSF yes
+ 2.4.2 2.4.1 2005 PSF yes
+ 2.4.3 2.4.2 2006 PSF yes
+ 2.4.4 2.4.3 2006 PSF yes
+ 2.5 2.4 2006 PSF yes
+ 2.5.1 2.5 2007 PSF yes
+ 2.5.2 2.5.1 2008 PSF yes
+ 2.5.3 2.5.2 2008 PSF yes
+ 2.6 2.5 2008 PSF yes
+ 2.6.1 2.6 2008 PSF yes
+ 2.6.2 2.6.1 2009 PSF yes
+ 2.6.3 2.6.2 2009 PSF yes
+ 2.6.4 2.6.3 2009 PSF yes
+ 2.6.5 2.6.4 2010 PSF yes
+ 3.0 2.6 2008 PSF yes
+ 3.0.1 3.0 2009 PSF yes
+ 3.1 3.0.1 2009 PSF yes
+ 3.1.1 3.1 2009 PSF yes
+ 3.1.2 3.1.1 2010 PSF yes
+ 3.1.3 3.1.2 2010 PSF yes
+ 3.1.4 3.1.3 2011 PSF yes
+ 3.2 3.1 2011 PSF yes
+ 3.2.1 3.2 2011 PSF yes
+ 3.2.2 3.2.1 2011 PSF yes
+ 3.2.3 3.2.2 2012 PSF yes
+ 3.3.0 3.2 2012 PSF yes
+ 3.4.0 3.3.0 2014 PSF yes
+ .
+ Footnotes:
+ .
+ (1) GPL-compatible doesn't mean that we're distributing Python under
+ the GPL. All Python licenses, unlike the GPL, let you distribute
+ a modified version without making your changes open source. The
+ GPL-compatible licenses make it possible to combine Python with
+ other software that is released under the GPL; the others don't.
+ .
+ (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
+ because its license has a choice of law clause. According to
+ CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
+ is "not incompatible" with the GPL.
+ .
+ Thanks to the many outside volunteers who have worked under Guido's
+ direction to make these releases possible.
+ .
+ .
+ B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
+ ===============================================================
+ .
+ PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
+ --------------------------------------------
+ .
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
+ otherwise using this software ("Python") in source or binary form and
+ its associated documentation.
+ .
+ 2. Subject to the terms and conditions of this License Agreement, PSF hereby
+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
+ analyze, test, perform and/or display publicly, prepare derivative works,
+ distribute, and otherwise use Python alone or in any derivative version,
+ provided, however, that PSF's License Agreement and PSF's notice of copyright,
+ i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+ 2011, 2012 Python Software Foundation; All Rights Reserved" are retained in Python
+ alone or in any derivative version prepared by Licensee.
+ .
+ 3. In the event Licensee prepares a derivative work that is based on
+ or incorporates Python or any part thereof, and wants to make
+ the derivative work available to others as provided herein, then
+ Licensee hereby agrees to include in any such work a brief summary of
+ the changes made to Python.
+ .
+ 4. PSF is making Python available to Licensee on an "AS IS"
+ basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
+ INFRINGE ANY THIRD PARTY RIGHTS.
+ .
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+ .
+ 6. This License Agreement will automatically terminate upon a material
+ breach of its terms and conditions.
+ .
+ 7. Nothing in this License Agreement shall be deemed to create any
+ relationship of agency, partnership, or joint venture between PSF and
+ Licensee. This License Agreement does not grant permission to use PSF
+ trademarks or trade name in a trademark sense to endorse or promote
+ products or services of Licensee, or any third party.
+ .
+ 8. By copying, installing or otherwise using Python, Licensee
+ agrees to be bound by the terms and conditions of this License
+ Agreement.
+ .
+ .
+ BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
+ -------------------------------------------
+ .
+ BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
+ .
+ 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
+ office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
+ Individual or Organization ("Licensee") accessing and otherwise using
+ this software in source or binary form and its associated
+ documentation ("the Software").
+ .
+ 2. Subject to the terms and conditions of this BeOpen Python License
+ Agreement, BeOpen hereby grants Licensee a non-exclusive,
+ royalty-free, world-wide license to reproduce, analyze, test, perform
+ and/or display publicly, prepare derivative works, distribute, and
+ otherwise use the Software alone or in any derivative version,
+ provided, however, that the BeOpen Python License is retained in the
+ Software, alone or in any derivative version prepared by Licensee.
+ .
+ 3. BeOpen is making the Software available to Licensee on an "AS IS"
+ basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
+ INFRINGE ANY THIRD PARTY RIGHTS.
+ .
+ 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
+ SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
+ AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
+ DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+ .
+ 5. This License Agreement will automatically terminate upon a material
+ breach of its terms and conditions.
+ .
+ 6. This License Agreement shall be governed by and interpreted in all
+ respects by the law of the State of California, excluding conflict of
+ law provisions. Nothing in this License Agreement shall be deemed to
+ create any relationship of agency, partnership, or joint venture
+ between BeOpen and Licensee. This License Agreement does not grant
+ permission to use BeOpen trademarks or trade names in a trademark
+ sense to endorse or promote products or services of Licensee, or any
+ third party. As an exception, the "BeOpen Python" logos available at
+ http://www.pythonlabs.com/logos.html may be used according to the
+ permissions granted on that web page.
+ .
+ 7. By copying, installing or otherwise using the software, Licensee
+ agrees to be bound by the terms and conditions of this License
+ Agreement.
+ .
+ .
+ CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
+ ---------------------------------------
+ .
+ 1. This LICENSE AGREEMENT is between the Corporation for National
+ Research Initiatives, having an office at 1895 Preston White Drive,
+ Reston, VA 20191 ("CNRI"), and the Individual or Organization
+ ("Licensee") accessing and otherwise using Python 1.6.1 software in
+ source or binary form and its associated documentation.
+ .
+ 2. Subject to the terms and conditions of this License Agreement, CNRI
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
+ license to reproduce, analyze, test, perform and/or display publicly,
+ prepare derivative works, distribute, and otherwise use Python 1.6.1
+ alone or in any derivative version, provided, however, that CNRI's
+ License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
+ 1995-2001 Corporation for National Research Initiatives; All Rights
+ Reserved" are retained in Python 1.6.1 alone or in any derivative
+ version prepared by Licensee. Alternately, in lieu of CNRI's License
+ Agreement, Licensee may substitute the following text (omitting the
+ quotes): "Python 1.6.1 is made available subject to the terms and
+ conditions in CNRI's License Agreement. This Agreement together with
+ Python 1.6.1 may be located on the Internet using the following
+ unique, persistent identifier (known as a handle): 1895.22/1013. This
+ Agreement may also be obtained from a proxy server on the Internet
+ using the following URL: http://hdl.handle.net/1895.22/1013".
+ .
+ 3. In the event Licensee prepares a derivative work that is based on
+ or incorporates Python 1.6.1 or any part thereof, and wants to make
+ the derivative work available to others as provided herein, then
+ Licensee hereby agrees to include in any such work a brief summary of
+ the changes made to Python 1.6.1.
+ .
+ 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
+ basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
+ INFRINGE ANY THIRD PARTY RIGHTS.
+ .
+ 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+ 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+ .
+ 6. This License Agreement will automatically terminate upon a material
+ breach of its terms and conditions.
+ .
+ 7. This License Agreement shall be governed by the federal
+ intellectual property law of the United States, including without
+ limitation the federal copyright law, and, to the extent such
+ U.S. federal law does not apply, by the law of the Commonwealth of
+ Virginia, excluding Virginia's conflict of law provisions.
+ Notwithstanding the foregoing, with regard to derivative works based
+ on Python 1.6.1 that incorporate non-separable material that was
+ previously distributed under the GNU General Public License (GPL), the
+ law of the Commonwealth of Virginia shall govern this License
+ Agreement only as to issues arising under or with respect to
+ Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
+ License Agreement shall be deemed to create any relationship of
+ agency, partnership, or joint venture between CNRI and Licensee. This
+ License Agreement does not grant permission to use CNRI trademarks or
+ trade name in a trademark sense to endorse or promote products or
+ services of Licensee, or any third party.
+ .
+ 8. By clicking on the "ACCEPT" button where indicated, or by copying,
+ installing or otherwise using Python 1.6.1, Licensee agrees to be
+ bound by the terms and conditions of this License Agreement.
+ .
+ ACCEPT
+ .
+ .
+ CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
+ --------------------------------------------------
+ .
+ Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
+ The Netherlands. All rights reserved.
+ .
+ Permission to use, copy, modify, and distribute this software and its
+ documentation for any purpose and without fee is hereby granted,
+ provided that the above copyright notice appear in all copies and that
+ both that copyright notice and this permission notice appear in
+ supporting documentation, and that the name of Stichting Mathematisch
+ Centrum or CWI not be used in advertising or publicity pertaining to
+ distribution of the software without specific, written prior
+ permission.
+ .
+ STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
+ THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
+ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/debian/manpage/Makefile b/debian/manpage/Makefile
new file mode 100644
index 0000000..b1835d2
--- /dev/null
+++ b/debian/manpage/Makefile
@@ -0,0 +1,153 @@
+# Makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS =
+SPHINXBUILD = sphinx-build
+PAPER =
+BUILDDIR = _build
+
+# Internal variables.
+PAPEROPT_a4 = -D latex_paper_size=a4
+PAPEROPT_letter = -D latex_paper_size=letter
+ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
+# the i18n builder cannot share the environment and doctrees with the others
+I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
+
+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
+
+help:
+ @echo "Please use \`make <target>' where <target> is one of"
+ @echo " html to make standalone HTML files"
+ @echo " dirhtml to make HTML files named index.html in directories"
+ @echo " singlehtml to make a single large HTML file"
+ @echo " pickle to make pickle files"
+ @echo " json to make JSON files"
+ @echo " htmlhelp to make HTML files and a HTML help project"
+ @echo " qthelp to make HTML files and a qthelp project"
+ @echo " devhelp to make HTML files and a Devhelp project"
+ @echo " epub to make an epub"
+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
+ @echo " latexpdf to make LaTeX files and run them through pdflatex"
+ @echo " text to make text files"
+ @echo " man to make manual pages"
+ @echo " texinfo to make Texinfo files"
+ @echo " info to make Texinfo files and run them through makeinfo"
+ @echo " gettext to make PO message catalogs"
+ @echo " changes to make an overview of all changed/added/deprecated items"
+ @echo " linkcheck to check all external links for integrity"
+ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
+
+clean:
+ -rm -rf $(BUILDDIR)/*
+
+html:
+ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
+ @echo
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
+
+dirhtml:
+ $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
+ @echo
+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
+
+singlehtml:
+ $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
+ @echo
+ @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
+
+pickle:
+ $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
+ @echo
+ @echo "Build finished; now you can process the pickle files."
+
+json:
+ $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
+ @echo
+ @echo "Build finished; now you can process the JSON files."
+
+htmlhelp:
+ $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
+ @echo
+ @echo "Build finished; now you can run HTML Help Workshop with the" \
+ ".hhp project file in $(BUILDDIR)/htmlhelp."
+
+qthelp:
+ $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
+ @echo
+ @echo "Build finished; now you can run "qcollectiongenerator" with the" \
+ ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/tox.qhcp"
+ @echo "To view the help file:"
+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/tox.qhc"
+
+devhelp:
+ $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
+ @echo
+ @echo "Build finished."
+ @echo "To view the help file:"
+ @echo "# mkdir -p $$HOME/.local/share/devhelp/tox"
+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/tox"
+ @echo "# devhelp"
+
+epub:
+ $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
+ @echo
+ @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
+
+latex:
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ @echo
+ @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
+ @echo "Run \`make' in that directory to run these through (pdf)latex" \
+ "(use \`make latexpdf' here to do that automatically)."
+
+latexpdf:
+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ @echo "Running LaTeX files through pdflatex..."
+ $(MAKE) -C $(BUILDDIR)/latex all-pdf
+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+
+text:
+ $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
+ @echo
+ @echo "Build finished. The text files are in $(BUILDDIR)/text."
+
+man:
+ $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
+ @echo
+ @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
+
+texinfo:
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
+ @echo
+ @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
+ @echo "Run \`make' in that directory to run these through makeinfo" \
+ "(use \`make info' here to do that automatically)."
+
+info:
+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
+ @echo "Running Texinfo files through makeinfo..."
+ make -C $(BUILDDIR)/texinfo info
+ @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
+
+gettext:
+ $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
+ @echo
+ @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
+
+changes:
+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
+ @echo
+ @echo "The overview file is in $(BUILDDIR)/changes."
+
+linkcheck:
+ $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
+ @echo
+ @echo "Link check complete; look for any errors in the above output " \
+ "or in $(BUILDDIR)/linkcheck/output.txt."
+
+doctest:
+ $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
+ @echo "Testing of doctests in the sources finished, look at the " \
+ "results in $(BUILDDIR)/doctest/output.txt."
diff --git a/debian/manpage/conf.py b/debian/manpage/conf.py
new file mode 100644
index 0000000..88ea8fe
--- /dev/null
+++ b/debian/manpage/conf.py
@@ -0,0 +1,243 @@
+# -*- coding: utf-8 -*-
+#
+# tox documentation build configuration file, created by
+# sphinx-quickstart on Fri Nov 9 19:00:14 2012.
+#
+# This file is execfile()d with the current directory set to its containing dir.
+#
+# Note that not all possible configuration values are present in this
+# autogenerated file.
+#
+# All configuration values have a default; values that are commented out
+# serve to show the default.
+
+import sys, os
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+#sys.path.insert(0, os.path.abspath('.'))
+
+# -- General configuration -----------------------------------------------------
+
+# If your documentation needs a minimal Sphinx version, state it here.
+#needs_sphinx = '1.0'
+
+# Add any Sphinx extension module names here, as strings. They can be extensions
+# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+extensions = ['sphinx.ext.autodoc']
+
+# Add any paths that contain templates here, relative to this directory.
+templates_path = ['_templates']
+
+# The suffix of source filenames.
+source_suffix = '.rst'
+
+# The encoding of source files.
+#source_encoding = 'utf-8-sig'
+
+# The master toctree document.
+master_doc = 'tox-man'
+
+# General information about the project.
+project = u'tox'
+copyright = u'Manual page (C) 2012, Barry Warsaw'
+
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+#
+# The short X.Y version.
+version = '1.4.2'
+# The full version, including alpha/beta/rc tags.
+release = '1.4.2'
+
+# The language for content autogenerated by Sphinx. Refer to documentation
+# for a list of supported languages.
+#language = None
+
+# There are two options for replacing |today|: either, you set today to some
+# non-false value, then it is used:
+#today = ''
+# Else, today_fmt is used as the format for a strftime call.
+#today_fmt = '%B %d, %Y'
+
+# List of patterns, relative to source directory, that match files and
+# directories to ignore when looking for source files.
+exclude_patterns = ['_build']
+
+# The reST default role (used for this markup: `text`) to use for all documents.
+#default_role = None
+
+# If true, '()' will be appended to :func: etc. cross-reference text.
+#add_function_parentheses = True
+
+# If true, the current module name will be prepended to all description
+# unit titles (such as .. function::).
+#add_module_names = True
+
+# If true, sectionauthor and moduleauthor directives will be shown in the
+# output. They are ignored by default.
+#show_authors = False
+
+# The name of the Pygments (syntax highlighting) style to use.
+pygments_style = 'sphinx'
+
+# A list of ignored prefixes for module index sorting.
+#modindex_common_prefix = []
+
+
+# -- Options for HTML output ---------------------------------------------------
+
+# The theme to use for HTML and HTML Help pages. See the documentation for
+# a list of builtin themes.
+html_theme = 'default'
+
+# Theme options are theme-specific and customize the look and feel of a theme
+# further. For a list of options available for each theme, see the
+# documentation.
+#html_theme_options = {}
+
+# Add any paths that contain custom themes here, relative to this directory.
+#html_theme_path = []
+
+# The name for this set of Sphinx documents. If None, it defaults to
+# "<project> v<release> documentation".
+#html_title = None
+
+# A shorter title for the navigation bar. Default is the same as html_title.
+#html_short_title = None
+
+# The name of an image file (relative to this directory) to place at the top
+# of the sidebar.
+#html_logo = None
+
+# The name of an image file (within the static path) to use as favicon of the
+# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
+# pixels large.
+#html_favicon = None
+
+# Add any paths that contain custom static files (such as style sheets) here,
+# relative to this directory. They are copied after the builtin static files,
+# so a file named "default.css" will overwrite the builtin "default.css".
+html_static_path = ['_static']
+
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+#html_last_updated_fmt = '%b %d, %Y'
+
+# If true, SmartyPants will be used to convert quotes and dashes to
+# typographically correct entities.
+#html_use_smartypants = True
+
+# Custom sidebar templates, maps document names to template names.
+#html_sidebars = {}
+
+# Additional templates that should be rendered to pages, maps page names to
+# template names.
+#html_additional_pages = {}
+
+# If false, no module index is generated.
+#html_domain_indices = True
+
+# If false, no index is generated.
+#html_use_index = True
+
+# If true, the index is split into individual pages for each letter.
+#html_split_index = False
+
+# If true, links to the reST sources are added to the pages.
+#html_show_sourcelink = True
+
+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
+#html_show_sphinx = True
+
+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
+#html_show_copyright = True
+
+# If true, an OpenSearch description file will be output, and all pages will
+# contain a <link> tag referring to it. The value of this option must be the
+# base URL from which the finished HTML is served.
+#html_use_opensearch = ''
+
+# This is the file name suffix for HTML files (e.g. ".xhtml").
+#html_file_suffix = None
+
+# Output file base name for HTML help builder.
+htmlhelp_basename = 'toxdoc'
+
+
+# -- Options for LaTeX output --------------------------------------------------
+
+latex_elements = {
+# The paper size ('letterpaper' or 'a4paper').
+#'papersize': 'letterpaper',
+
+# The font size ('10pt', '11pt' or '12pt').
+#'pointsize': '10pt',
+
+# Additional stuff for the LaTeX preamble.
+#'preamble': '',
+}
+
+# Grouping the document tree into LaTeX files. List of tuples
+# (source start file, target name, title, author, documentclass [howto/manual]).
+latex_documents = [
+ ('tox-man', 'tox.tex', u'tox Documentation',
+ u'Holger Krekel <holger at merlinux.eu>', 'manual'),
+]
+
+# The name of an image file (relative to this directory) to place at the top of
+# the title page.
+#latex_logo = None
+
+# For "manual" documents, if this is true, then toplevel headings are parts,
+# not chapters.
+#latex_use_parts = False
+
+# If true, show page references after internal links.
+#latex_show_pagerefs = False
+
+# If true, show URL addresses after external links.
+#latex_show_urls = False
+
+# Documents to append as an appendix to all manuals.
+#latex_appendices = []
+
+# If false, no module index is generated.
+#latex_domain_indices = True
+
+
+# -- Options for manual page output --------------------------------------------
+
+# One entry per manual page. List of tuples
+# (source start file, name, description, authors, manual section).
+man_pages = [
+ ('tox-man', 'tox', u'A generic virtualenv management and test tool.',
+ [u'Holger Krekel <holger at merlinux.eu>',
+ u'Barry Warsaw <barry at python.org>'], 1)
+]
+
+# If true, show URL addresses after external links.
+#man_show_urls = False
+
+
+# -- Options for Texinfo output ------------------------------------------------
+
+# Grouping the document tree into Texinfo files. List of tuples
+# (source start file, target name, title, author,
+# dir menu entry, description, category)
+texinfo_documents = [
+ ('tox-man', 'tox', u'tox(1)',
+ u'Barry Warsaw', 'tox', 'A generic virtualenv management and test tool.',
+ 'Miscellaneous'),
+]
+
+# Documents to append as an appendix to all manuals.
+#texinfo_appendices = []
+
+# If false, no module index is generated.
+#texinfo_domain_indices = True
+
+# How to display URL addresses: 'footnote', 'no', or 'inline'.
+#texinfo_show_urls = 'footnote'
diff --git a/debian/manpage/tox-man.rst b/debian/manpage/tox-man.rst
new file mode 100644
index 0000000..4fc8fe3
--- /dev/null
+++ b/debian/manpage/tox-man.rst
@@ -0,0 +1,43 @@
+:orphan:
+
+tox manual page
+===============
+
+Synopsis
+--------
+
+**tox** [*options*] [*args*]
+
+
+Description
+-----------
+
+:program:`tox` is a generic `virtualenv`_ management and test command line
+tool you can use for:
+
+ * checking that your package installs correctly with different Python
+ versions and interpreters
+ * running your tests in each of the environments, configuring your test tool
+ of choice
+ * acting as a front-end to Continuous Integration servers, greatly reducing
+ boilerplate and merging CI and shell-based testing
+
+
+Options
+-------
+
+-h, --help Show the help message and exit.
+--version Report version information to stdout.
+-v Increase the verbosity of reporting output.
+--showconfig Show configuration information.
+-c <path> Use the specified path as the configuration file.
+-e <envlist> Work against specified environments. ``ALL`` selects all
+ available environments.
+--notest Skip invoking test commands.
+--sdistonly Only perform the sdist packaging activity.
+-i <url> Set indexserver url (if ``url`` is of form ``name=url`` set
+ the url for the ``name`` indexserver, specifically)
+-r, --recreate Force recreation of virtual environments.
+
+
+.. _`virtualenv`: http://pypi.python.org/pypi/virtualenv
diff --git a/debian/patches/fix-doctree.patch b/debian/patches/fix-doctree.patch
new file mode 100644
index 0000000..6ec2043
--- /dev/null
+++ b/debian/patches/fix-doctree.patch
@@ -0,0 +1,13 @@
+Description: There is no config-v1 document.
+Author: Barry Warsaw <barry at python.org>
+Bug: https://bitbucket.org/hpk42/tox/issue/57/doc-indextxt-refers-to-non-existent
+--- a/doc/index.txt
++++ b/doc/index.txt
+@@ -93,7 +93,6 @@
+ install
+ examples
+ config
+- config-v1
+ support
+ changelog
+ links
diff --git a/debian/patches/intersphinx_mapping.patch b/debian/patches/intersphinx_mapping.patch
new file mode 100644
index 0000000..7021fe0
--- /dev/null
+++ b/debian/patches/intersphinx_mapping.patch
@@ -0,0 +1,37 @@
+Description: Use local object inventory files for sphinx
+ Use the local object inventory files to prevent sphinx-build from
+ downloading them during build.
+ This patch makes the intersphinx mappings depend on the existence of
+ these files, thus passing Debian Policy 12.3 while still maintaining
+ a level of comfort for the reader of the documentation.
+Author: Fladischer Michael <FladischerMichael at fladi.at>
+Forwarded: not-needed
+Last-Update: 2011-03-03
+
+--- a/doc/conf.py
++++ b/doc/conf.py
+@@ -253,7 +253,23 @@
+
+
+ # Example configuration for intersphinx: refer to the Python standard library.
+-intersphinx_mapping = {'http://docs.python.org/': None}
++def check_object_path(key, url, path):
++ if os.path.isfile(path):
++ return {key: (url, path)}
++ return {}
++
++intersphinx_mapping = {}
++intersphinx_mapping.update(
++ check_object_path('python',
++ 'http://docs.python.org/',
++ '/usr/share/doc/python'
++ + '.'.join([str(x) for x in sys.version_info[0:2]])
++ + '/html/objects.inv'))
++intersphinx_mapping.update(
++ check_object_path('sphinx',
++ 'http://sphinx.pocoo.org/',
++ '/usr/share/doc/python-sphinx/html/objects.inv'))
++
+
+ def setup(app):
+ #from sphinx.ext.autodoc import cut_lines
diff --git a/debian/patches/no-download.patch b/debian/patches/no-download.patch
new file mode 100644
index 0000000..77c6852
--- /dev/null
+++ b/debian/patches/no-download.patch
@@ -0,0 +1,13 @@
+Description: Prevent internet access when running tox's own tests.
+Author: Barry Warsaw <barry at python.org>
+Forwarded: not-needed
+
+--- a/tox.ini
++++ b/tox.ini
+@@ -1,5 +1,6 @@
+ [tox]
+ envlist=py27,py26,py25,py32,py33,docs,pypy
++sitepackages=True
+
+ [testenv:X]
+ commands=echo {posargs}
diff --git a/debian/patches/pytest-dep-version.patch b/debian/patches/pytest-dep-version.patch
new file mode 100644
index 0000000..6a20bd9
--- /dev/null
+++ b/debian/patches/pytest-dep-version.patch
@@ -0,0 +1,18 @@
+--- a/tox.ini
++++ b/tox.ini
+@@ -6,9 +6,12 @@
+ commands=echo {posargs}
+
+ [testenv]
+-commands=py.test --instafail --junitxml={envlogdir}/junit-{envname}.xml {posargs}
+-deps=pytest==2.3.4
+- pytest-instafail
++#commands=py.test --instafail --junitxml={envlogdir}/junit-{envname}.xml {posargs}
++#deps=
++# pytest-instafail
++
++commands=py.test --junitxml={envlogdir}/junit-{envname}.xml {posargs}
++deps=
+
+ [testenv:py25]
+ setenvs =
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9941198
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+intersphinx_mapping.patch
+no-download.patch
+pytest-dep-version.patch
diff --git a/debian/patches/test-problems.patch b/debian/patches/test-problems.patch
new file mode 100644
index 0000000..02ae0c6
--- /dev/null
+++ b/debian/patches/test-problems.patch
@@ -0,0 +1,30 @@
+Description: Fix various problems in the test suite, which become evident in
+ an sbuild and other builder environments.
+ + In an sbuild environment, $USER will not match $HOME.
+ + argv[0] should not contribute to test string.
+Author: Barry Warsaw <barry at python.org>
+Bug: https://bitbucket.org/hpk42/tox/issue/60/home-does-not-always-equal-user
+Bug: https://bitbucket.org/hpk42/tox/issue/61/test-incorrectly-includes-argv-0
+
+--- a/tests/test_config.py
++++ b/tests/test_config.py
+@@ -429,7 +429,7 @@
+ assert argv[3][0] == conf.envbindir
+ assert argv[4][0] == conf.envtmpdir
+ assert argv[5][0] == conf.envpython
+- assert argv[6][0] == os.path.expanduser("~")
++ assert argv[6][0] == os.environ['HOME']
+ assert argv[7][0] == config.homedir.join(".tox", "distshare")
+ assert argv[8][0] == conf.envlogdir
+
+--- a/tests/test_venv.py
++++ b/tests/test_venv.py
+@@ -189,7 +189,7 @@
+ venv.install_deps()
+ # two different index servers, two calls
+ assert len(l) == 2
+- args = " ".join(l[0].args)
++ args = " ".join(l[0].args[1:])
+ assert "-i" not in args
+ assert "dep1" in args
+
diff --git a/debian/patches/upstream-issue58.patch b/debian/patches/upstream-issue58.patch
new file mode 100644
index 0000000..bff7596
--- /dev/null
+++ b/debian/patches/upstream-issue58.patch
@@ -0,0 +1,13 @@
+Description: Fix typos in the LICENSE file.
+Author: Barry Warsaw <barry at python.org>
+Forwarded: not-needed
+Bug: https://bitbucket.org/hpk42/tox/issue/58/typos-in-license-file
+
+--- a/LICENSE
++++ b/LICENSE
+@@ -1,4 +1,4 @@
+-The execnet package is released under the provisions of the Gnu Public
++The tox package is released under the provisions of the GNU General Public
+ License (GPL), version 2 or later.
+
+ See http://www.fsf.org/licensing/licenses/ for more information.
diff --git a/debian/python-tox.doc-base b/debian/python-tox.doc-base
new file mode 100644
index 0000000..7011027
--- /dev/null
+++ b/debian/python-tox.doc-base
@@ -0,0 +1,14 @@
+Document: python-tox
+Title: tox readme, issues, and workarounds
+Author: Holger Krekel
+Abstract: This manual briefly describes what tox is, and presents some issues
+ you might encounter while using tox, along with some workarounds for how to
+ deal with these issues.
+Section: Programming/Python
+
+Format: Text
+Files: /usr/share/doc/python-tox/*.txt
+
+Format: HTML
+Index: /usr/share/doc/python-tox/html/index.html
+Files: /usr/share/doc/python-tox/html/*
diff --git a/debian/python-tox.docs b/debian/python-tox.docs
new file mode 100644
index 0000000..c10df70
--- /dev/null
+++ b/debian/python-tox.docs
@@ -0,0 +1,2 @@
+ISSUES.txt
+README.rst
diff --git a/debian/python-tox.pyremove b/debian/python-tox.pyremove
new file mode 100644
index 0000000..456b388
--- /dev/null
+++ b/debian/python-tox.pyremove
@@ -0,0 +1 @@
+tox-*.egg-info/SOURCES.txt
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..cdf5944
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,49 @@
+#!/usr/bin/make -f
+
+PYTHON2=$(shell pyversions -dv)
+#PYTHON3=$(shell py3versions -sv)
+
+# $HOME must exist for tox to be happy, but an sbuild environment sets it to a
+# non-existent directory. Use this tempdir as the fake $HOME for testing
+# purposes.
+FAKEHOME=$(shell mktemp -dq)
+
+# Prevent setuptools/distribute from accessing the internet.
+export http_proxy = http://127.0.9.1:9
+
+%:
+ dh $@ --buildsystem=python_distutils --with=python2,sphinxdoc
+
+override_dh_installdocs:
+ python setup.py build_sphinx
+ dh_installdocs build/sphinx/html
+
+override_dh_installman:
+ (cd debian/manpage; \
+ sphinx-build -b man -d _build/doctrees . _build/man)
+ dh_installman debian/manpage/_build/man/tox.1
+
+override_dh_installchangelogs:
+ dh_installchangelogs CHANGELOG
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf build
+ rm -rf *.egg-info
+ rm -rf debian/manpage/_build
+
+# $HOME must exist for tox to be happy.
+#
+# https://bitbucket.org/hpk42/tox/issue/105/hidden-dependency-on-home#comment-5176027
+#
+# Also, because the tox(1) script doesn't exist until the package is
+# installed (although I suppose we could run it out of the built
+# location), invoke the main() function explicitly.
+
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+test-python%:
+ PYTHONPATH=.:/usr/lib/python$*/dist-packages \
+ HOME=/tmp python$* -c 'from tox._cmdline import main; main(["-e", "py"+"$*".replace(".", "")])'
+
+override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
+endif
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/built b/debian/tests/built
new file mode 100644
index 0000000..ab808b3
--- /dev/null
+++ b/debian/tests/built
@@ -0,0 +1,20 @@
+#!/usr/bin/python3
+
+# autopkgtest check: Run the upstream tox tests using tox itself. We control
+# the test environment though, since the list of upstream supported Python
+# versions may not match the list of installed Python versions.
+
+from subprocess import check_output
+
+py2versions = check_output(['pyversions', '-iv']).splitlines()
+py3versions = check_output(['py3versions', '-iv']).splitlines()
+
+pyenvs = [
+ 'py' + version.decode('us-ascii').replace('.', '')
+ for version in py2versions + py3versions
+ ]
+
+command = ['tox', '-e']
+command.extend(pyenvs)
+
+check_output(command)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..0aa0404
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: built
+Depends: python-all, python3-all, @
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..dd7cf9d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/t/tox/tox-(.*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/tox.git
More information about the Python-modules-commits
mailing list