[Python-modules-commits] [tox] 50/69: merge patched into master

Barry Warsaw barry at moszumanska.debian.org
Fri Sep 5 23:26:29 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 ddab71f4dd833f1eeb50e3c65e1569b55f9b43fc
Merge: 5c8cb43 cc0fe1d
Author: Barry Warsaw <barry at python.org>
Date:   Fri Sep 5 18:20:48 2014 -0400

    merge patched into master

 CHANGELOG                                |  23 ++++
 CONTRIBUTORS                             |   5 +
 PKG-INFO                                 |   2 +-
 debian/.git-dpm                          |   6 +-
 debian/patches/build-time-tests.patch    |  88 ++++++++-------
 debian/patches/de-google-ify.patch       |   2 +-
 debian/patches/hack-requires.patch       |   7 +-
 debian/patches/intersphinx_mapping.patch |   4 +-
 doc/conf.py                              |   2 +-
 doc/config-v2.txt                        |   2 +-
 doc/config.txt                           |  51 +++++++--
 doc/example/basic.txt                    |  16 ++-
 doc/example/jenkins.txt                  |   7 +-
 doc/example/pytest.txt                   |   2 +-
 doc/index.txt                            |   4 +-
 setup.py                                 |   2 +-
 tests/conftest.py                        |   2 +-
 tests/test_config.py                     |  83 +++++++++++---
 tests/test_interpreters.py               |   2 +-
 tests/test_quickstart.py                 | 180 +++++++++++++++++++++++++------
 tests/test_venv.py                       |  10 +-
 tests/test_z_cmdline.py                  |  37 ++++++-
 tox.egg-info/PKG-INFO                    |   2 +-
 tox.egg-info/requires.txt                |   2 +-
 tox.ini                                  |   6 +-
 tox/__init__.py                          |   4 +-
 tox/_cmdline.py                          |  25 ++++-
 tox/_config.py                           |  80 ++++++++------
 tox/_quickstart.py                       |   2 +-
 tox/_venv.py                             |   8 +-
 tox/_verlib.py                           |   1 -
 tox/interpreters.py                      |   4 +-
 32 files changed, 499 insertions(+), 172 deletions(-)

diff --cc debian/.git-dpm
index 555dd1e,0000000..0e09fce
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,8 -1,0 +1,8 @@@
 +# see git-dpm(1) from git-dpm package
- c18cfd98fed46b27e17c84bb8c610b1a7a61beb9
- c18cfd98fed46b27e17c84bb8c610b1a7a61beb9
- ef389f22ef7e0bcb93f1977c5357b6d33337d92b
++cc0fe1d486afb46cef6d2f2be63de4c4c8c22ad8
++cc0fe1d486afb46cef6d2f2be63de4c4c8c22ad8
++3a2a218f1d633f16ab8874da292a70aaa8ff6d28
 +3a2a218f1d633f16ab8874da292a70aaa8ff6d28
 +tox_1.7.2.orig.tar.gz
 +b8a0a36ad3e0169058d36c9df670f43332f2a72c
 +84875
diff --cc debian/patches/build-time-tests.patch
index a79ddf5,0000000..18e735e
mode 100644,000000..100644
--- a/debian/patches/build-time-tests.patch
+++ b/debian/patches/build-time-tests.patch
@@@ -1,261 -1,0 +1,277 @@@
- From a8f88609774f7118bef56f46ae42a509aff2e68f Mon Sep 17 00:00:00 2001
++From 572b40983a7c6c40e89d18480bf5a52fd78f6ead Mon Sep 17 00:00:00 2001
 +From: Barry Warsaw <barry at debian.org>
 +Date: Sat, 21 Jun 2014 18:44:45 -0400
 +Subject: Various fixes to get some semblance of the test suite passing at
 +
 + package build time.  This isn't perfect because tox's tests depend on tox
 + being built and installed - a catch 22.  However, we can do a lot and there
 + are DEP-8 tests to handle the rest of it.
 +Forwarded: not-needed
 +
 +Patch-Name: build-time-tests.patch
 +---
 + tests/test_config.py    |  1 +
-  tests/test_z_cmdline.py | 29 +++++++++++++++++++++++++++--
++ tests/test_z_cmdline.py | 31 +++++++++++++++++++++++++++++--
 + tox.ini                 |  2 +-
-  3 files changed, 29 insertions(+), 3 deletions(-)
++ 3 files changed, 31 insertions(+), 3 deletions(-)
 +
 +diff --git a/tests/test_config.py b/tests/test_config.py
- index b8d0aa3..860a250 100644
++index bc5a683..52572dd 100644
 +--- a/tests/test_config.py
 ++++ b/tests/test_config.py
- @@ -1101,6 +1101,7 @@ class TestParseEnv:
++@@ -1160,6 +1160,7 @@ class TestParseEnv:
 +         config = newconfig([], inisource)
 +         assert config.envconfigs['hello'].recreate
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + class TestCmdInvocation:
 +     def test_help(self, cmd):
 +         result = cmd.run("tox", "-h")
 +diff --git a/tests/test_z_cmdline.py b/tests/test_z_cmdline.py
- index 343c142..b38734a 100644
++index 283c993..30a7838 100644
 +--- a/tests/test_z_cmdline.py
 ++++ b/tests/test_z_cmdline.py
 +@@ -1,3 +1,4 @@
 ++import os
 + import tox
 + import py
 + import pytest
- @@ -179,6 +180,7 @@ def XXX_test_package(cmd, initproj):
++@@ -177,6 +178,7 @@ def XXX_test_package(cmd, initproj):
 +         "*created sdist package at*",
 +     ])
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_minversion(cmd, initproj):
 +     initproj("interp123-0.5", filedefs={
 +         'tests': {'test_hello.py': "def test_hello(): pass"},
- @@ -193,6 +195,7 @@ def test_minversion(cmd, initproj):
++@@ -191,6 +193,7 @@ def test_minversion(cmd, initproj):
++     ])
++     assert result.ret
++ 
+++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
++ def test_run_custom_install_command_error(cmd, initproj):
++     initproj("interp123-0.5", filedefs={
++         'tox.ini': '''
++@@ -204,6 +207,7 @@ def test_run_custom_install_command_error(cmd, initproj):
 +     ])
 +     assert result.ret
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_unknown_interpreter_and_env(cmd, initproj):
 +     initproj("interp123-0.5", filedefs={
 +         'tests': {'test_hello.py': "def test_hello(): pass"},
- @@ -215,6 +218,7 @@ def test_unknown_interpreter_and_env(cmd, initproj):
++@@ -226,6 +230,7 @@ def test_unknown_interpreter_and_env(cmd, initproj):
 +         "*ERROR*unknown*",
 +     ])
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_unknown_interpreter(cmd, initproj):
 +     initproj("interp123-0.5", filedefs={
 +         'tests': {'test_hello.py': "def test_hello(): pass"},
- @@ -231,6 +235,7 @@ def test_unknown_interpreter(cmd, initproj):
++@@ -242,6 +247,7 @@ def test_unknown_interpreter(cmd, initproj):
 +         "*ERROR*InterpreterNotFound*xyz_unknown_interpreter*",
 +     ])
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
++ def test_skip_unknown_interpreter(cmd, initproj):
++     initproj("interp123-0.5", filedefs={
++         'tests': {'test_hello.py': "def test_hello(): pass"},
++@@ -258,6 +264,7 @@ def test_skip_unknown_interpreter(cmd, initproj):
++         "*SKIPPED*InterpreterNotFound*xyz_unknown_interpreter*",
++     ])
++ 
+++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_unknown_dep(cmd, initproj):
 +     initproj("dep123-0.7", filedefs={
 +         'tests': {'test_hello.py': "def test_hello(): pass"},
- @@ -246,6 +251,7 @@ def test_unknown_dep(cmd, initproj):
++@@ -273,6 +280,7 @@ def test_unknown_dep(cmd, initproj):
 +         "*ERROR*could not install*qweqwe123*",
 +     ])
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_unknown_environment(cmd, initproj):
 +     initproj("env123-0.7", filedefs={
 +         'tox.ini': ''
- @@ -256,6 +262,7 @@ def test_unknown_environment(cmd, initproj):
++@@ -283,6 +291,7 @@ def test_unknown_environment(cmd, initproj):
 +         "*ERROR*unknown*environment*qpwoei*",
 +     ])
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_skip_sdist(cmd, initproj):
 +     initproj("pkg123-0.7", filedefs={
 +         'tests': {'test_hello.py': "def test_hello(): pass"},
- @@ -273,6 +280,7 @@ def test_skip_sdist(cmd, initproj):
++@@ -300,6 +309,7 @@ def test_skip_sdist(cmd, initproj):
 +     result = cmd.run("tox", )
 +     assert result.ret == 0
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_minimal_setup_py_empty(cmd, initproj):
 +     initproj("pkg123-0.7", filedefs={
 +         'tests': {'test_hello.py': "def test_hello(): pass"},
- @@ -288,6 +296,7 @@ def test_minimal_setup_py_empty(cmd, initproj):
++@@ -315,6 +325,7 @@ def test_minimal_setup_py_empty(cmd, initproj):
 +         "*ERROR*empty*",
 +     ])
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_minimal_setup_py_comment_only(cmd, initproj):
 +     initproj("pkg123-0.7", filedefs={
 +         'tests': {'test_hello.py': "def test_hello(): pass"},
- @@ -304,6 +313,7 @@ def test_minimal_setup_py_comment_only(cmd, initproj):
++@@ -331,6 +342,7 @@ def test_minimal_setup_py_comment_only(cmd, initproj):
 +         "*ERROR*empty*",
 +     ])
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_minimal_setup_py_non_functional(cmd, initproj):
 +     initproj("pkg123-0.7", filedefs={
 +         'tests': {'test_hello.py': "def test_hello(): pass"},
- @@ -321,6 +331,7 @@ def test_minimal_setup_py_non_functional(cmd, initproj):
++@@ -348,6 +360,7 @@ def test_minimal_setup_py_non_functional(cmd, initproj):
 +         "*ERROR*check setup.py*",
 +     ])
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_sdist_fails(cmd, initproj):
 +     initproj("pkg123-0.7", filedefs={
 +         'tests': {'test_hello.py': "def test_hello(): pass"},
- @@ -336,6 +347,7 @@ def test_sdist_fails(cmd, initproj):
++@@ -363,6 +376,7 @@ def test_sdist_fails(cmd, initproj):
 +         "*FAIL*could not package project*",
 +     ])
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_package_install_fails(cmd, initproj):
 +     initproj("pkg123-0.7", filedefs={
 +         'tests': {'test_hello.py': "def test_hello(): pass"},
- @@ -362,6 +374,7 @@ def test_package_install_fails(cmd, initproj):
++@@ -389,6 +403,7 @@ def test_package_install_fails(cmd, initproj):
 + 
 + 
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + class TestToxRun:
 +     @pytest.fixture
 +     def example123(self, initproj):
- @@ -376,7 +389,7 @@ class TestToxRun:
++@@ -403,7 +418,7 @@ class TestToxRun:
 +                 changedir=tests
 +                 commands= py.test --basetemp={envtmpdir} \
 +                                   --junitxml=junit-{envname}.xml
 +-                deps=pytest
 ++                sitepackages=True
 +             '''
 +         })
 + 
- @@ -423,6 +436,7 @@ class TestToxRun:
++@@ -450,6 +465,7 @@ class TestToxRun:
 +         ])
 + 
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_develop(initproj, cmd):
 +     initproj("example123", filedefs={'tox.ini': """
 +     """})
- @@ -430,6 +444,7 @@ def test_develop(initproj, cmd):
++@@ -457,6 +473,7 @@ def test_develop(initproj, cmd):
 +     assert not result.ret
 +     assert "sdist-make" not in result.stdout.str()
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_usedevelop(initproj, cmd):
 +     initproj("example123", filedefs={'tox.ini': """
 +             [testenv]
- @@ -439,6 +454,7 @@ def test_usedevelop(initproj, cmd):
++@@ -466,6 +483,7 @@ def test_usedevelop(initproj, cmd):
 +     assert not result.ret
 +     assert "sdist-make" not in result.stdout.str()
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_usedevelop_mixed(initproj, cmd):
 +     initproj("example123", filedefs={'tox.ini': """
 +             [testenv:devenv]
- @@ -457,6 +473,7 @@ def test_usedevelop_mixed(initproj, cmd):
++@@ -484,6 +502,7 @@ def test_usedevelop_mixed(initproj, cmd):
 +     assert not result.ret
 +     assert "sdist-make" in result.stdout.str()
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_test_usedevelop(cmd, initproj):
 +     initproj("example123-0.5", filedefs={
 +         'tests': {'test_hello.py': """
- @@ -470,7 +487,7 @@ def test_test_usedevelop(cmd, initproj):
++@@ -497,7 +516,7 @@ def test_test_usedevelop(cmd, initproj):
 +             changedir=tests
 +             commands=
 +                 py.test --basetemp={envtmpdir} --junitxml=junit-{envname}.xml []
 +-            deps=pytest
 ++            sitepackages=True
 +         '''
 +     })
 +     result = cmd.run("tox", "-v")
- @@ -510,6 +527,7 @@ def test_test_usedevelop(cmd, initproj):
++@@ -537,6 +556,7 @@ def test_test_usedevelop(cmd, initproj):
 +     ])
 + 
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_test_piphelp(initproj, cmd):
 +     initproj("example123", filedefs={'tox.ini': """
 +         # content of: tox.ini
- @@ -523,6 +541,7 @@ def test_test_piphelp(initproj, cmd):
++@@ -550,6 +570,7 @@ def test_test_piphelp(initproj, cmd):
 +     result = cmd.run("tox")
 +     assert not result.ret
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_notest(initproj, cmd):
 +     initproj("example123", filedefs={'tox.ini': """
 +         # content of: tox.ini
- @@ -541,6 +560,7 @@ def test_notest(initproj, cmd):
++@@ -568,6 +589,7 @@ def test_notest(initproj, cmd):
 +         "*py26*reusing*",
 +     ])
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_PYC(initproj, cmd, monkeypatch):
 +     initproj("example123", filedefs={'tox.ini': ''})
 +     monkeypatch.setenv("PYTHONDOWNWRITEBYTECODE", 1)
- @@ -550,6 +570,7 @@ def test_PYC(initproj, cmd, monkeypatch):
++@@ -577,6 +599,7 @@ def test_PYC(initproj, cmd, monkeypatch):
 +         "*create*",
 +     ])
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_env_VIRTUALENV_PYTHON(initproj, cmd, monkeypatch):
 +     initproj("example123", filedefs={'tox.ini': ''})
 +     monkeypatch.setenv("VIRTUALENV_PYTHON", '/FOO')
- @@ -559,6 +580,7 @@ def test_env_VIRTUALENV_PYTHON(initproj, cmd, monkeypatch):
++@@ -586,6 +609,7 @@ def test_env_VIRTUALENV_PYTHON(initproj, cmd, monkeypatch):
 +         "*create*",
 +     ])
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_sdistonly(initproj, cmd):
 +     initproj("example123", filedefs={'tox.ini': """
 +     """})
- @@ -569,6 +591,7 @@ def test_sdistonly(initproj, cmd):
++@@ -596,6 +620,7 @@ def test_sdistonly(initproj, cmd):
 +     ])
-      assert "virtualenv" not in result.stdout.str()
++     assert "-mvirtualenv" not in result.stdout.str()
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_separate_sdist_no_sdistfile(cmd, initproj):
 +     distshare = cmd.tmpdir.join("distshare")
 +     initproj("pkg123-0.7", filedefs={
- @@ -583,6 +606,7 @@ def test_separate_sdist_no_sdistfile(cmd, initproj):
-      assert len(l) == 1
++@@ -611,6 +636,7 @@ def test_separate_sdist_no_sdistfile(cmd, initproj):
 +     sdistfile = l[0]
++     assert 'pkg123-0.7.zip' in str(sdistfile)
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + def test_separate_sdist(cmd, initproj):
 +     distshare = cmd.tmpdir.join("distshare")
 +     initproj("pkg123-0.7", filedefs={
- @@ -625,6 +649,7 @@ def test_installpkg(tmpdir, newconfig):
++@@ -652,6 +678,7 @@ def test_installpkg(tmpdir, newconfig):
 +     sdist_path = session.sdist()
 +     assert sdist_path == p
 + 
 ++ at pytest.mark.skipif(os.environ.get('DEB_SKIP_TOX_TESTS'), reason='Use DEP-8')
 + @pytest.mark.xfail("sys.platform == 'win32' and sys.version_info < (2,6)",
 +                    reason="test needs better impl")
 + def test_envsitepackagesdir(cmd, initproj):
 +diff --git a/tox.ini b/tox.ini
- index f2fc791..c1fc9a1 100644
++index 6bcca5e..02aa79c 100644
 +--- a/tox.ini
 ++++ b/tox.ini
- @@ -5,7 +5,7 @@ envlist=py27,py33,py26,py32,pypy
++@@ -5,7 +5,7 @@ envlist=py27,py26,py34,py33,py32,pypy,flakes
 + commands=echo {posargs}
 + 
 + [testenv]
 +-commands=py.test  --junitxml={envlogdir}/junit-{envname}.xml {posargs}
 ++commands=py.test-3  --junitxml={envlogdir}/junit-{envname}.xml {posargs}
 + deps=pytest>=2.3.5
 + 
 + [testenv:docs]
diff --cc debian/patches/de-google-ify.patch
index 5b9f1ec,0000000..14667da
mode 100644,000000..100644
--- a/debian/patches/de-google-ify.patch
+++ b/debian/patches/de-google-ify.patch
@@@ -1,28 -1,0 +1,28 @@@
- From c18cfd98fed46b27e17c84bb8c610b1a7a61beb9 Mon Sep 17 00:00:00 2001
++From cc0fe1d486afb46cef6d2f2be63de4c4c8c22ad8 Mon Sep 17 00:00:00 2001
 +From: Barry Warsaw <barry at debian.org>
 +Date: Sat, 21 Jun 2014 18:44:45 -0400
 +Subject: de-google-ify
 +
 +Patch-Name: de-google-ify.patch
 +---
 + doc/_templates/layout.html | 9 ---------
 + 1 file changed, 9 deletions(-)
 +
 +diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
 +index 1892483..66e6fdd 100644
 +--- a/doc/_templates/layout.html
 ++++ b/doc/_templates/layout.html
 +@@ -3,13 +3,4 @@
 + 
 + {% block footer %}
 + {{ super() }}
 +-<script type="text/javascript">
 +-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
 +-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
 +-</script>
 +-<script type="text/javascript">
 +-try {
 +-var pageTracker = _gat._getTracker("UA-17241637-3");
 +-pageTracker._trackPageview();
 +-} catch(err) {}</script>
 + {% endblock %}
diff --cc debian/patches/hack-requires.patch
index fdca9dc,0000000..ff3d2ca
mode 100644,000000..100644
--- a/debian/patches/hack-requires.patch
+++ b/debian/patches/hack-requires.patch
@@@ -1,48 -1,0 +1,47 @@@
- From f266b48c48bb15d157967ba18364ef853798e908 Mon Sep 17 00:00:00 2001
++From 9efcca44e29e9a24a2a2a286473eb2b494ed4491 Mon Sep 17 00:00:00 2001
 +From: Barry Warsaw <barry at debian.org>
 +Date: Tue, 17 Jun 2014 16:05:44 -0400
 +Subject: Remove the virtualenv versioned requirements.
 +
 + We'll ensure that the proper dependencies are available via Depends, but
 + the requires.txt line tries to do an import to verify the requirement, and
 + we don't build the Python 3 version of virtualenv yet.
 +Forwarded: not-needed
 +
 +Patch-Name: hack-requires.patch
 +---
 + setup.py                  | 6 ------
 + tox.egg-info/requires.txt | 1 -
 + 2 files changed, 7 deletions(-)
 +
 +diff --git a/setup.py b/setup.py
- index 582d315..26ec961 100644
++index 8e2f8f0..fb5c1b3 100644
 +--- a/setup.py
 ++++ b/setup.py
 +@@ -18,11 +18,6 @@ class Tox(TestCommand):
 + 
 + def main():
 +     version = sys.version_info[:2]
 +-    install_requires = ['virtualenv>=1.11.2', 'py>=1.4.17', ]
 +-    if version < (2, 7) or (3, 0) <= version <= (3, 1):
 +-        install_requires += ['argparse']
 +-    if version < (2,6):
 +-        install_requires += ["simplejson"]
 +     setup(
 +         name='tox',
 +         description='virtualenv-based automation of test activities',
 +@@ -39,7 +34,6 @@ def main():
 +         # "deps" definition for the required dependencies
 +         tests_require=['tox'],
 +         cmdclass={"test": Tox},
 +-        install_requires=install_requires,
 +         classifiers=[
 +             'Development Status :: 5 - Production/Stable',
 +             'Intended Audience :: Developers',
 +diff --git a/tox.egg-info/requires.txt b/tox.egg-info/requires.txt
- index 8372a2a..0a141c6 100644
++index 82f5918..2219bdb 100644
 +--- a/tox.egg-info/requires.txt
 ++++ b/tox.egg-info/requires.txt
 +@@ -1,2 +1 @@
 +-virtualenv>=1.11.2
 + py>=1.4.17
- \ No newline at end of file
diff --cc debian/patches/intersphinx_mapping.patch
index eb22635,0000000..256be93
mode 100644,000000..100644
--- a/debian/patches/intersphinx_mapping.patch
+++ b/debian/patches/intersphinx_mapping.patch
@@@ -1,47 -1,0 +1,47 @@@
- From c09f29179cfd1dff368ab313e26bfc2a3449052d Mon Sep 17 00:00:00 2001
++From cc2fc5f5af8508983d562a4c07508f85be960803 Mon Sep 17 00:00:00 2001
 +From: Fladischer Michael <FladischerMichael at fladi.at>
 +Date: Tue, 17 Jun 2014 16:05:44 -0400
 +Subject: 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.
 +Forwarded: not-needed
 +Last-Update: 2011-03-03
 +
 +Patch-Name: intersphinx_mapping.patch
 +---
 + doc/conf.py | 18 +++++++++++++++++-
 + 1 file changed, 17 insertions(+), 1 deletion(-)
 +
 +diff --git a/doc/conf.py b/doc/conf.py
- index fda4ac9..9782193 100644
++index 76dc4c3..c563e82 100644
 +--- a/doc/conf.py
 ++++ b/doc/conf.py
 +@@ -253,7 +253,23 @@ epub_copyright = u'2010, holger krekel'
 + 
 + 
 + # 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

-- 
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