dev-python/pytest: remove old versions
authorDirkjan Ochtman <djc@gentoo.org>
Sun, 20 Mar 2016 10:16:39 +0000 (11:16 +0100)
committerDirkjan Ochtman <djc@gentoo.org>
Sun, 20 Mar 2016 10:18:56 +0000 (11:18 +0100)
Package-Manager: portage-2.2.26

dev-python/pytest/Manifest
dev-python/pytest/files/pytest-2.8.5-skip-test-on-pypy.patch [deleted file]
dev-python/pytest/pytest-2.7.2.ebuild [deleted file]
dev-python/pytest/pytest-2.8.3.ebuild [deleted file]
dev-python/pytest/pytest-2.8.4.ebuild [deleted file]
dev-python/pytest/pytest-2.8.5.ebuild [deleted file]

index acd5abdcd47834a29c74620b06462b1f9caf7ed1..f02adbeb4386328b815a725740b82873a4b84064 100644 (file)
@@ -1,6 +1,2 @@
-DIST pytest-2.7.2.tar.gz 532836 SHA256 b30457f735420d0000d10a44bbd478cf03f8bf20e25bd77248f9bab40f4fd6a4 SHA512 5474a4fe58437a4971fb21b1b37dad3c08e18e5d154931ff23e597f881100a3515bf0cf71d06b143465594ad2a91a96f84f4836d84c39691143c8d88ca7a4360 WHIRLPOOL 6ab7371f952109ac476774222883e1381fe5ee6a54d967f2d90765f6c59c90634a16c42e8e2e1661169db6a9cb1327242ff2281cf1caeabd86a4dacd24f4bb06
 DIST pytest-2.8.2.tar.gz 563955 SHA256 da2fc57320dd11f621d166634c52b989aa2291af1296c32a27a11777aa4128b9 SHA512 0df6e0421d1575e1efc0bb0550c5993f802777cb616ab1514bf12ed11eb5ec35a142dd837ff65659989268c36e441e18108369991cd3d458d357aac6ba433991 WHIRLPOOL ea917f4aaec444d6edc830b4ec66f7adb305031f11328e47d12a609ec92368a5c56e9cf8e24bd1a9a4a6a0746b43133f0d9821cf27d74c15ed2a83a705ee6030
-DIST pytest-2.8.3.tar.gz 880441 SHA256 37d950e93c1fd7e04d816a3ca4a5226ea2531c6d531c8284ad9b88848417e720 SHA512 04dd9041729d83b98a15cef22aac65dfb95cd3bf6b71a580ff91e8738f9a1ad5ee46fae45c950342e4a0162e38c875299a46fc69ec74702f36a1e36ef76dc0d6 WHIRLPOOL 78149cdcc25dc478ae004b0a54b333edcad0268ce5e66efe9878b0bcaff0e33d227513f84040f3aa53967afa5ffc51ecef0e6003814c09925fdf9e6a4921d88a
-DIST pytest-2.8.4.tar.gz 568888 SHA256 ca8afa5e216acfba6df7f26f2ef8a45baedf6a952e6b2f033ab55ec7e0a679eb SHA512 42e2949b66184cf2cecb7c803871639c1a3c887a48fc43580fe87f432507b9457c3a7c0b3bb620060e3eeb2db2178dfc35aba19022812497a917fdfa2ce5fd45 WHIRLPOOL 7ee539c61216463ccdaf5e09581cc1de82ffc6f6fb99dba04fa7d4eefb628c457c828ce9f8307477b5f95b997a4fd917f4818262ef4e1867cf0c10f9d2467bc2
-DIST pytest-2.8.5.zip 664063 SHA256 44bb32fb3925b5a284ceee1af55e0a63d25436ec415232089403eed3a347667e SHA512 6489225732aa3b2130d5e533f9e013fc7cfeb820d43c341e0adefa2b397713366787d68461805b368a7c04dfeb421b5195ff96a44a9d10377b1da8b9760bdc8f WHIRLPOOL cd264e72db332163570641d7b7c5def59d0f3357697168a3418c50f0eb5461d5abdb17a7164bcd35c285a1221e4f51619029253c4eea18b327c45d2213ebcaad
 DIST pytest-2.8.7.tar.gz 564943 SHA256 fc4c86be54fce08e4b85b646a736efa18c6cde7599c1d2919f4f74629e018baf SHA512 c7f626ceb599811caeab4646389a2c489dd22d766c772d6ca686098cef9a11dca47ef41a4a4b811110f358bca1f1a678b549b2adfea48317ae70cf166289b371 WHIRLPOOL c3849f1a9f62c05c1ce20593f32ee513aee87853914be4099503cd47b068732df99605a0a4db9a3a7add4ef2a85f4d5376acf1a2e3f48f5d438433f200cb6196
diff --git a/dev-python/pytest/files/pytest-2.8.5-skip-test-on-pypy.patch b/dev-python/pytest/files/pytest-2.8.5-skip-test-on-pypy.patch
deleted file mode 100644 (file)
index ecf7935..0000000
+++ /dev/null
@@ -1,602 +0,0 @@
- testing/acceptance_test.py    |  5 +++++
- testing/python/collect.py     |  3 +++
- testing/python/fixture.py     | 14 ++++++++++++++
- testing/python/integration.py |  1 +
- testing/python/metafunc.py    |  3 +++
- testing/test_assertion.py     |  5 +++++
- testing/test_assertrewrite.py |  3 +++
- testing/test_capture.py       |  6 ++++++
- testing/test_collection.py    |  1 +
- testing/test_config.py        |  3 +++
- testing/test_conftest.py      |  3 +++
- testing/test_doctest.py       |  7 ++++++-
- testing/test_helpconfig.py    |  1 +
- testing/test_junitxml.py      |  1 +
- testing/test_mark.py          |  1 +
- testing/test_monkeypatch.py   |  1 +
- testing/test_skipping.py      |  3 +++
- testing/test_terminal.py      |  2 ++
- testing/test_unittest.py      |  3 +++
- 19 files changed, 65 insertions(+), 1 deletion(-)
-
-diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py
-index c9e8fbf..0815a01 100644
---- a/testing/acceptance_test.py
-+++ b/testing/acceptance_test.py
-@@ -127,6 +127,7 @@ class TestGeneralUsage:
-             "*ERROR: not found:*%s" %(p2.basename,)\r
-         ])\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_issue486_better_reporting_on_conftest_load_failure(self, testdir):\r
-         testdir.makepyfile("")\r
-         testdir.makeconftest("import qwerty")\r
-@@ -209,6 +210,8 @@ class TestGeneralUsage:
-         result = testdir.runpython(p)\r
-         assert not result.ret\r
\r
-+    # https://github.com/pytest-dev/pytest/issues/1162\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_issue109_sibling_conftests_not_loaded(self, testdir):\r
-         sub1 = testdir.tmpdir.mkdir("sub1")\r
-         sub2 = testdir.tmpdir.mkdir("sub2")\r
-@@ -350,6 +353,7 @@ class TestGeneralUsage:
-         res = testdir.runpytest(p.basename)\r
-         assert res.ret == 0\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_unknown_option(self, testdir):\r
-         result = testdir.runpytest("--qwlkej")\r
-         result.stderr.fnmatch_lines("""\r
-@@ -657,6 +661,7 @@ class TestDurations:
-         ])\r
\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- class TestDurationWithFixture:\r
-     source = """\r
-         import time\r
-diff --git a/testing/python/collect.py b/testing/python/collect.py
-index df4ecc2..9458971 100644
---- a/testing/python/collect.py
-+++ b/testing/python/collect.py
-@@ -27,6 +27,7 @@ class TestModule:
-             "*HINT*",\r
-         ])\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_import_prepend_append(self, testdir, monkeypatch):\r
-         syspath = list(sys.path)\r
-         monkeypatch.setattr(sys, "path", syspath)\r
-@@ -57,6 +58,7 @@ class TestModule:
-         pytest.raises(ImportError, lambda: modcol.obj)\r
\r
- class TestClass:\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_class_with_init_warning(self, testdir):\r
-         testdir.makepyfile("""\r
-             class TestClass1:\r
-@@ -659,6 +661,7 @@ class TestConftestCustomization:
-         l = modcol.collect()\r
-         assert '_hello' not in l\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_setup_only_available_in_subdir(testdir):\r
-     sub1 = testdir.mkpydir("sub1")\r
-     sub2 = testdir.mkpydir("sub2")\r
-diff --git a/testing/python/fixture.py b/testing/python/fixture.py
-index 9f14a23..6d09271 100644
---- a/testing/python/fixture.py
-+++ b/testing/python/fixture.py
-@@ -83,6 +83,7 @@ class TestFillFixtures:
-             "*1 passed*"\r
-         ])\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_conftest_funcargs_only_available_in_subdir(self, testdir):\r
-         sub1 = testdir.mkpydir("sub1")\r
-         sub2 = testdir.mkpydir("sub2")\r
-@@ -606,6 +607,7 @@ class TestRequestBasic:
-         reprec = testdir.inline_run("-v")\r
-         reprec.assertoutcome(passed=3)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_fixtures_sub_subdir_normalize_sep(self, testdir):\r
-         # this tests that normalization of nodeids takes place\r
-         b = testdir.mkdir("tests").mkdir("unit")\r
-@@ -953,6 +955,7 @@ class TestFixtureUsages:
-             "*2 passed*"\r
-         ])\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_factory_uses_unknown_funcarg_as_dependency_error(self, testdir):\r
-         testdir.makepyfile("""\r
-             import pytest\r
-@@ -1049,6 +1052,7 @@ class TestFixtureUsages:
-         reprec = testdir.inline_run()\r
-         reprec.assertoutcome(passed=2)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_usefixtures_seen_in_showmarkers(self, testdir):\r
-         result = testdir.runpytest("--markers")\r
-         result.stdout.fnmatch_lines("""\r
-@@ -1157,6 +1161,7 @@ class TestFixtureManagerParseFactories:
-         reprec = testdir.inline_run("-s")\r
-         reprec.assertoutcome(passed=1)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_parsefactories_relative_node_ids(self, testdir):\r
-         # example mostly taken from:\r
-         # https://mail.python.org/pipermail/pytest-dev/2014-September/002617.html\r
-@@ -1305,6 +1310,7 @@ class TestAutouseDiscovery:
-         reprec = testdir.inline_run("-s")\r
-         reprec.assertoutcome(failed=0, passed=0)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_autouse_in_conftests(self, testdir):\r
-         a = testdir.mkdir("a")\r
-         b = testdir.mkdir("a1")\r
-@@ -1890,6 +1896,7 @@ class TestFixtureMarker:
-         l = reprec.getcalls("pytest_runtest_call")[0].item.module.l\r
-         assert l == [1,1,2,2]\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_module_parametrized_ordering(self, testdir):\r
-         testdir.makeconftest("""\r
-             import pytest\r
-@@ -1936,6 +1943,7 @@ class TestFixtureMarker:
-             test_mod1.py::test_func1[m2] PASSED\r
-         """)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_class_ordering(self, testdir):\r
-         testdir.makeconftest("""\r
-             import pytest\r
-@@ -1984,6 +1992,7 @@ class TestFixtureMarker:
-             test_class_ordering.py::TestClass::test_3[2-b] PASSED\r
-         """)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_parametrize_separated_order_higher_scope_first(self, testdir):\r
-         testdir.makepyfile("""\r
-             import pytest\r
-@@ -2028,6 +2037,7 @@ class TestFixtureMarker:
-         pprint.pprint(list(zip(l, expected)))\r
-         assert l == expected\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_parametrized_fixture_teardown_order(self, testdir):\r
-         testdir.makepyfile("""\r
-             import pytest\r
-@@ -2065,6 +2075,7 @@ class TestFixtureMarker:
-         """)\r
-         assert "error" not in result.stdout.str()\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_fixture_finalizer(self, testdir):\r
-         testdir.makeconftest("""\r
-             import pytest\r
-@@ -2385,6 +2396,7 @@ class TestErrors:
-             "*1 error*",\r
-         ])\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_issue498_fixture_finalizer_failing(self, testdir):\r
-         testdir.makepyfile("""\r
-             import pytest\r
-@@ -2431,6 +2443,7 @@ class TestErrors:
-             "*1 error*",\r
-         ])\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- class TestShowFixtures:\r
-     def test_funcarg_compat(self, testdir):\r
-         config = testdir.parseconfigure("--funcargs")\r
-@@ -2561,6 +2574,7 @@ class TestShowFixtures:
-         """)\r
\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- class TestContextManagerFixtureFuncs:\r
-     def test_simple(self, testdir):\r
-         testdir.makepyfile("""\r
-diff --git a/testing/python/integration.py b/testing/python/integration.py
-index 33ea26d..fe43016 100644
---- a/testing/python/integration.py
-+++ b/testing/python/integration.py
-@@ -202,6 +202,7 @@ class TestMockDecoration:
\r
\r
- class TestReRunTests:\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_rerun(self, testdir):\r
-         testdir.makeconftest("""\r
-             from _pytest.runner import runtestprotocol\r
-diff --git a/testing/python/metafunc.py b/testing/python/metafunc.py
-index 38629c7..8e74bce 100644
---- a/testing/python/metafunc.py
-+++ b/testing/python/metafunc.py
-@@ -475,6 +475,7 @@ class TestMetafunc:
-         reprec = testdir.inline_run()\r
-         reprec.assertoutcome(passed=2)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_parametrize_class_scenarios(self, testdir):\r
-         testdir.makepyfile("""\r
-         # same as doc/en/example/parametrize scenario example\r
-@@ -766,6 +767,7 @@ class TestMetafuncFunctional:
-             "*test_function*advanced*FAILED",\r
-         ])\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_parametrize_without_ids(self, testdir):\r
-         testdir.makepyfile("""\r
-             import pytest\r
-@@ -835,6 +837,7 @@ class TestMetafuncFunctional:
-         reprec = testdir.runpytest()\r
-         reprec.assert_outcomes(passed=1)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_generate_tests_only_done_in_subdir(self, testdir):\r
-         sub1 = testdir.mkpydir("sub1")\r
-         sub2 = testdir.mkpydir("sub2")\r
-diff --git a/testing/test_assertion.py b/testing/test_assertion.py
-index 96da579..c1f270c 100644
---- a/testing/test_assertion.py
-+++ b/testing/test_assertion.py
-@@ -120,6 +120,7 @@ class TestAssert_reprcompare:
-             """)\r
-         ]\r
-     )\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_iterable_full_diff(self, left, right, expected):\r
-         """Test the full diff assertion failure explanation.\r
\r
-@@ -348,6 +349,7 @@ class TestFormatExplanation:
-         assert util.format_explanation(expl) == res\r
\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_python25_compile_issue257(testdir):\r
-     testdir.makepyfile("""\r
-         def test_rewritten():\r
-@@ -559,6 +561,7 @@ def test_warn_missing(testdir):
-         "*WARNING*assert statements are not executed*",\r
-     ])\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_recursion_source_decode(testdir):\r
-     testdir.makepyfile("""\r
-         def test_something():\r
-@@ -573,6 +576,7 @@ def test_recursion_source_decode(testdir):
-         <Module*>\r
-     """)\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_AssertionError_message(testdir):\r
-     testdir.makepyfile("""\r
-         def test_hello():\r
-@@ -587,6 +591,7 @@ def test_AssertionError_message(testdir):
-     """)\r
\r
- @pytest.mark.skipif(PY3, reason='This bug does not exist on PY3')\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_set_with_unsortable_elements():\r
-     # issue #718\r
-     class UnsortableKey(object):\r
-diff --git a/testing/test_assertrewrite.py b/testing/test_assertrewrite.py
-index e690e34..56d17d5 100644
---- a/testing/test_assertrewrite.py
-+++ b/testing/test_assertrewrite.py
-@@ -307,6 +307,7 @@ class TestAssertionRewrite:
-             assert g(**{x : 2})\r
-         assert getmsg(f, ns) == """assert g(**{'a': 2})"""\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_attribute(self):\r
-         class X(object):\r
-             g = 3\r
-@@ -343,6 +344,7 @@ class TestAssertionRewrite:
-             assert b < c\r
-         getmsg(f, must_pass=True)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_len(self):\r
-         def f():\r
-             l = list(range(10))\r
-@@ -641,6 +643,7 @@ class TestAssertionRewriteHookDetails(object):
\r
-         assert _read_pyc(source, str(pyc)) is None  # no error\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_reload_is_same(self, testdir):\r
-         # A file that will be picked up during collecting.\r
-         testdir.tmpdir.join("file.py").ensure()\r
-diff --git a/testing/test_capture.py b/testing/test_capture.py
-index 66dff1e..5c914ac 100644
---- a/testing/test_capture.py
-+++ b/testing/test_capture.py
-@@ -479,6 +479,8 @@ class TestCaptureFixture:
-         assert 'closed' not in result.stderr.str()\r
\r
\r
-+# https://github.com/pytest-dev/pytest/issues/1162\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_setup_failure_does_not_kill_capturing(testdir):\r
-     sub1 = testdir.mkpydir("sub1")\r
-     sub1.join("conftest.py").write(py.code.Source("""\r
-@@ -518,6 +520,7 @@ def test_capture_conftest_runtest_setup(testdir):
-     assert 'hello19' not in result.stdout.str()\r
\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_capture_badoutput_issue412(testdir):\r
-     testdir.makepyfile("""\r
-         import os\r
-@@ -897,6 +900,7 @@ class TestStdCaptureFD(TestStdCapture):
-     pytestmark = needsosdup\r
-     captureclass = staticmethod(StdCaptureFD)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_simple_only_fd(self, testdir):\r
-         testdir.makepyfile("""\r
-             import os\r
-@@ -981,6 +985,7 @@ def test_fdcapture_tmpfile_remains_the_same(tmpfile, use):
-     assert capfile2 == capfile\r
\r
- @needsosdup\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_close_and_capture_again(testdir):\r
-     testdir.makepyfile("""\r
-         import os\r
-@@ -1001,6 +1006,7 @@ def test_close_and_capture_again(testdir):
\r
\r
- @pytest.mark.parametrize('method', ['SysCapture', 'FDCapture'])\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_capturing_and_logging_fundamentals(testdir, method):\r
-     if method == "StdCaptureFD" and not hasattr(os, 'dup'):\r
-         pytest.skip("need os.dup")\r
-diff --git a/testing/test_collection.py b/testing/test_collection.py
-index 4e4609e..eb731fb 100644
---- a/testing/test_collection.py
-+++ b/testing/test_collection.py
-@@ -287,6 +287,7 @@ class TestCustomConftests:
-             "*test_x*"\r
-         ])\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')
-     def test_pytest_collect_file_from_sister_dir(self, testdir):\r
-         sub1 = testdir.mkpydir("sub1")\r
-         sub2 = testdir.mkpydir("sub2")\r
-diff --git a/testing/test_config.py b/testing/test_config.py
-index 2e53776..7729717 100644
---- a/testing/test_config.py
-+++ b/testing/test_config.py
-@@ -47,6 +47,7 @@ class TestParseIni:
-         ])\r
\r
-     @pytest.mark.parametrize("name", "setup.cfg tox.ini pytest.ini".split())\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_ini_names(self, testdir, name):\r
-         testdir.tmpdir.join(name).write(py.std.textwrap.dedent("""\r
-             [pytest]\r
-@@ -55,6 +56,7 @@ class TestParseIni:
-         config = testdir.parseconfig()\r
-         assert config.getini("minversion") == "1.0"\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_toxini_before_lower_pytestini(self, testdir):\r
-         sub = testdir.tmpdir.mkdir("sub")\r
-         sub.join("tox.ini").write(py.std.textwrap.dedent("""\r
-@@ -418,6 +420,7 @@ class TestWarning:
-         reprec = testdir.inline_run()\r
-         reprec.assertoutcome(passed=1)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_warn_on_test_item_from_request(self, testdir):\r
-         testdir.makepyfile("""\r
-             import pytest\r
-diff --git a/testing/test_conftest.py b/testing/test_conftest.py
-index 2be942e..72308b7 100644
---- a/testing/test_conftest.py
-+++ b/testing/test_conftest.py
-@@ -204,6 +204,7 @@ def test_conftest_import_order(testdir, monkeypatch):
-     assert conftest._getconftestmodules(sub) == [ct1, ct2]\r
\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_fixture_dependency(testdir, monkeypatch):\r
-     ct1 = testdir.makeconftest("")\r
-     ct1 = testdir.makepyfile("__init__.py")\r
-@@ -241,6 +242,7 @@ def test_fixture_dependency(testdir, monkeypatch):
-     result.stdout.fnmatch_lines(["*1 passed*"])\r
\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_conftest_found_with_double_dash(testdir):\r
-     sub = testdir.mkdir("sub")\r
-     sub.join("conftest.py").write(py.std.textwrap.dedent("""\r
-@@ -259,6 +261,7 @@ def test_conftest_found_with_double_dash(testdir):
-     """)\r
\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- class TestConftestVisibility:\r
-     def _setup_tree(self, testdir):  # for issue616\r
-         # example mostly taken from:\r
-diff --git a/testing/test_doctest.py b/testing/test_doctest.py
-index 7fcdf22..fba5685 100644
---- a/testing/test_doctest.py
-+++ b/testing/test_doctest.py
-@@ -224,6 +224,7 @@ class TestDoctests:
-         reprec = testdir.inline_run(p, )\r
-         reprec.assertoutcome(passed=1)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_doctestmodule_with_fixtures(self, testdir):\r
-         p = testdir.makepyfile("""\r
-             '''\r
-@@ -235,6 +236,7 @@ class TestDoctests:
-         reprec = testdir.inline_run(p, "--doctest-modules")\r
-         reprec.assertoutcome(passed=1)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_doctestmodule_three_tests(self, testdir):\r
-         p = testdir.makepyfile("""\r
-             '''\r
-@@ -260,6 +262,7 @@ class TestDoctests:
-         reprec = testdir.inline_run(p, "--doctest-modules")\r
-         reprec.assertoutcome(passed=3)\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_doctestmodule_two_tests_one_fail(self, testdir):\r
-         p = testdir.makepyfile("""\r
-             class MyClass:\r
-@@ -432,6 +435,7 @@ class TestDoctestSkips:
\r
-         return makeit\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_one_skipped(self, testdir, makedoctest):\r
-         makedoctest("""\r
-             >>> 1 + 1  # doctest: +SKIP\r
-@@ -501,6 +505,7 @@ class TestDoctestAutoUseFixtures:
\r
-     @pytest.mark.parametrize('scope', SCOPES)\r
-     @pytest.mark.parametrize('enable_doctest', [True, False])\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_fixture_scopes(self, testdir, scope, enable_doctest):\r
-         """Test that auto-use fixtures work properly with doctest modules.\r
-         See #1057 and #1100.\r
-@@ -579,4 +584,4 @@ class TestDoctestAutoUseFixtures:
-         """)\r
-         result = testdir.runpytest('--doctest-modules')\r
-         assert 'FAILURES' not in str(result.stdout.str())\r
--        result.stdout.fnmatch_lines(['*=== 1 passed in *'])
-\ No newline at end of file
-+        result.stdout.fnmatch_lines(['*=== 1 passed in *'])\r
-diff --git a/testing/test_helpconfig.py b/testing/test_helpconfig.py
-index 3f03c05..442b2ba 100644
---- a/testing/test_helpconfig.py
-+++ b/testing/test_helpconfig.py
-@@ -14,6 +14,7 @@ def test_version(testdir, pytestconfig):
-             "*at*",\r
-         ])\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_help(testdir):\r
-     result = testdir.runpytest("--help")\r
-     assert result.ret == 0\r
-diff --git a/testing/test_junitxml.py b/testing/test_junitxml.py
-index 7a03b5a..0650f77 100644
---- a/testing/test_junitxml.py
-+++ b/testing/test_junitxml.py
-@@ -174,6 +174,7 @@ class TestPython:
-             classname="test_classname_instance.TestClass",\r
-             name="test_method")\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')
-     def test_classname_nested_dir(self, testdir):\r
-         p = testdir.tmpdir.ensure("sub", "test_hello.py")\r
-         p.write("def test_func(): 0/0")\r
-diff --git a/testing/test_mark.py b/testing/test_mark.py
-index 5cb66e7..93d8c1b 100644
---- a/testing/test_mark.py
-+++ b/testing/test_mark.py
-@@ -133,6 +133,7 @@ def test_markers_option(testdir):
-         "*a1some*another marker",\r
-     ])\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_markers_option_with_plugin_in_current_dir(testdir):\r
-     testdir.makeconftest('pytest_plugins = "flip_flop"')\r
-     testdir.makepyfile(flip_flop="""\\r
-diff --git a/testing/test_monkeypatch.py b/testing/test_monkeypatch.py
-index e55aae3..14791d8 100644
---- a/testing/test_monkeypatch.py
-+++ b/testing/test_monkeypatch.py
-@@ -232,6 +232,7 @@ def test_chdir_double_undo(mp, tmpdir):
-     mp.undo()\r
-     assert os.getcwd() == tmpdir.strpath\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_issue185_time_breaks(testdir):\r
-     testdir.makepyfile("""\r
-         import time\r
-diff --git a/testing/test_skipping.py b/testing/test_skipping.py
-index 93adf6e..4740bf6 100644
---- a/testing/test_skipping.py
-+++ b/testing/test_skipping.py
-@@ -263,6 +263,7 @@ class TestXFail:
-         result = testdir.runpytest(p, "--runxfail")\r
-         result.stdout.fnmatch_lines("*1 pass*")\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_xfail_imperative_in_setup_function(self, testdir):\r
-         p = testdir.makepyfile("""\r
-             import pytest\r
-@@ -671,6 +672,7 @@ def test_xfail_test_setup_exception(testdir):
-     assert 'xfailed' in result.stdout.str()\r
-     assert 'xpassed' not in result.stdout.str()\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_imperativeskip_on_xfail_test(testdir):\r
-     testdir.makepyfile("""\r
-         import pytest\r
-@@ -694,6 +696,7 @@ def test_imperativeskip_on_xfail_test(testdir):
-         *2 skipped*\r
-     """)\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- class TestBooleanCondition:\r
-     def test_skipif(self, testdir):\r
-         testdir.makepyfile("""\r
-diff --git a/testing/test_terminal.py b/testing/test_terminal.py
-index 2c7437c..6f2d6e4 100644
---- a/testing/test_terminal.py
-+++ b/testing/test_terminal.py
-@@ -264,6 +264,7 @@ class TestCollectonly:
-             "*   <Function 'test_method'*>",\r
-         ])\r
\r
-+    @pytest.mark.skipif('"__pypy__" in sys.modules')\r
-     def test_collectonly_error(self, testdir):\r
-         p = testdir.makepyfile("import Errlkjqweqwe")\r
-         result = testdir.runpytest("--collect-only", p)\r
-@@ -726,6 +727,7 @@ def test_tbstyle_native_setup_error(testdir):
-             '*File *test_tbstyle_native_setup_error.py", line *, in setup_error_fixture*'\r
-             ])\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_terminal_summary(testdir):\r
-     testdir.makeconftest("""\r
-         def pytest_terminal_summary(terminalreporter):\r
-diff --git a/testing/test_unittest.py b/testing/test_unittest.py
-index d7b862e..90e3e1f 100644
---- a/testing/test_unittest.py
-+++ b/testing/test_unittest.py
-@@ -14,6 +14,7 @@ def test_simple_unittest(testdir):
-     assert reprec.matchreport("testpassing").passed\r
-     assert reprec.matchreport("test_failing").failed\r
\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_runTest_method(testdir):\r
-     testdir.makepyfile("""\r
-         import unittest\r
-@@ -705,6 +706,7 @@ def test_issue333_result_clearing(testdir):
-     reprec.assertoutcome(failed=1)\r
\r
- @pytest.mark.skipif("sys.version_info < (2,7)")\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_unittest_raise_skip_issue748(testdir):\r
-     testdir.makepyfile(test_foo="""\r
-         import unittest\r
-@@ -720,6 +722,7 @@ def test_unittest_raise_skip_issue748(testdir):
-     """)\r
\r
- @pytest.mark.skipif("sys.version_info < (2,7)")\r
-+@pytest.mark.skipif('"__pypy__" in sys.modules')\r
- def test_unittest_skip_issue1169(testdir):\r
-     testdir.makepyfile(test_foo="""\r
-         import unittest\r
diff --git a/dev-python/pytest/pytest-2.7.2.ebuild b/dev-python/pytest/pytest-2.7.2.ebuild
deleted file mode 100644 (file)
index dbc19e9..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Simple powerful testing with Python"
-HOMEPAGE="http://pytest.org/ https://pypi.python.org/pypi/pytest"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="doc test"
-
-# When bumping, please check setup.py for the proper py version
-PY_VER="1.4.29"
-RDEPEND=">=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]"
-
-#pexpect dep based on https://bitbucket.org/hpk42/pytest/issue/386/tests-fail-with-pexpect-30
-DEPEND="${RDEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/pexpect[${PYTHON_USEDEP}] )
-       doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-
-python_prepare_all() {
-       # Disable versioning of py.test script to avoid collision with
-       # versioning performed by the eclass.
-       sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
-       grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
-
-       # Prevent un-needed d'loading
-       sed -e "s/'sphinx.ext.intersphinx', //" -i doc/en/conf.py || die
-       distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-       if use doc; then
-               mkdir doc/en/.build || die
-               emake -C doc/en html
-       fi
-}
-
-python_test() {
-       # test_nose.py not written to suit py3.2 in pypy3
-       if [[ "${EPYTHON}" == pypy3 ]]; then
-               "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py \
-                       --ignore=testing/test_nose.py \
-                       || die "tests failed with ${EPYTHON}"
-       else
-               "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py \
-                       || die "tests failed with ${EPYTHON}"
-       fi
-}
-
-python_install_all() {
-       use doc && dohtml -r doc/en/_build/html/
-       distutils-r1_python_install_all
-}
diff --git a/dev-python/pytest/pytest-2.8.3.ebuild b/dev-python/pytest/pytest-2.8.3.ebuild
deleted file mode 100644 (file)
index 2237c97..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="simple powerful testing with Python"
-HOMEPAGE="http://pytest.org/ https://pypi.python.org/pypi/pytest"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="doc test"
-
-# When bumping, please check setup.py for the proper py version
-PY_VER="1.4.29"
-RDEPEND=">=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]"
-
-# dev-python/pluggy
-# https://github.com/hpk42/pluggy
-# See https://github.com/pytest-dev/pytest/issues/944
-# for why not now
-
-#pexpect dep based on https://bitbucket.org/hpk42/pytest/issue/386/tests-fail-with-pexpect-30
-DEPEND="${RDEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/pexpect[${PYTHON_USEDEP}] )
-       doc? (
-               >=dev-python/sphinx-1.2.3[${PYTHON_USEDEP}]
-               dev-python/pyyaml[${PYTHON_USEDEP}]
-               dev-python/regendoc[${PYTHON_USEDEP}]
-       )"
-
-PATCHES=( "${FILESDIR}"/${P}-skip-test-on-pypy.patch )
-
-python_prepare_all() {
-       chmod o-w *egg*/* || die
-       # Disable versioning of py.test script to avoid collision with
-       # versioning performed by the eclass.
-       sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
-       grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
-
-       # Prevent un-needed d'loading
-       sed -e "s/'sphinx.ext.intersphinx', //" -i doc/en/conf.py || die
-
-       # https://github.com/pytest-dev/pytest/issues/1162
-       # https://github.com/pytest-dev/pytest/issues/1163
-       sed \
-               -e 's:test_logging_initialized_in_test:_&:g' \
-               -i testing/test_capture.py || die
-
-       find \( -name __pycache__ -o -name "*.pyc" -o -name "*.pyo" \) \
-               -exec rm -rvf '{}' + || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-       if use doc; then
-               mkdir doc/en/.build || die
-               emake -C doc/en html
-       fi
-}
-
-python_test() {
-       # test_nose.py not written to suit py3.2 in pypy3
-       if [[ "${EPYTHON}" == pypy3 ]]; then
-               "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v \
-                       --ignore=testing/BUILD_nose.py \
-                       || die "tests failed with ${EPYTHON}"
-       else
-               "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v --runpytest=subprocess \
-                       || die "tests failed with ${EPYTHON}"
-       fi
-}
-
-python_install_all() {
-       use doc && HTML_DOCS=( doc/en/_build/html/. )
-       distutils-r1_python_install_all
-}
diff --git a/dev-python/pytest/pytest-2.8.4.ebuild b/dev-python/pytest/pytest-2.8.4.ebuild
deleted file mode 100644 (file)
index f8a1f8a..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="simple powerful testing with Python"
-HOMEPAGE="http://pytest.org/ https://pypi.python.org/pypi/pytest"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="doc test"
-
-# When bumping, please check setup.py for the proper py version
-PY_VER="1.4.29"
-RDEPEND=">=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]"
-
-# dev-python/pluggy
-# https://github.com/hpk42/pluggy
-# See https://github.com/pytest-dev/pytest/issues/944
-# for why not now
-
-#pexpect dep based on https://bitbucket.org/hpk42/pytest/issue/386/tests-fail-with-pexpect-30
-DEPEND="${RDEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/pexpect[${PYTHON_USEDEP}] )
-       doc? (
-               >=dev-python/sphinx-1.2.3[${PYTHON_USEDEP}]
-               dev-python/pyyaml[${PYTHON_USEDEP}]
-               dev-python/regendoc[${PYTHON_USEDEP}]
-       )"
-
-PATCHES=( "${FILESDIR}"/${PN}-2.8.3-skip-test-on-pypy.patch )
-
-python_prepare_all() {
-       chmod o-w *egg*/* || die
-       # Disable versioning of py.test script to avoid collision with
-       # versioning performed by the eclass.
-       sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
-       grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
-
-       # Prevent un-needed d'loading
-       sed -e "s/'sphinx.ext.intersphinx', //" -i doc/en/conf.py || die
-
-       # https://github.com/pytest-dev/pytest/issues/1162
-       # https://github.com/pytest-dev/pytest/issues/1163
-       sed \
-               -e 's:test_logging_initialized_in_test:_&:g' \
-               -i testing/test_capture.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-       if use doc; then
-               mkdir doc/en/.build || die
-               emake -C doc/en html
-       fi
-}
-
-python_test() {
-       # test_nose.py not written to suit py3.2 in pypy3
-       if [[ "${EPYTHON}" == pypy3 ]]; then
-               "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v \
-                       --ignore=testing/BUILD_nose.py \
-                       || die "tests failed with ${EPYTHON}"
-       else
-               "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v --runpytest=subprocess \
-                       || die "tests failed with ${EPYTHON}"
-       fi
-}
-
-python_install_all() {
-       use doc && HTML_DOCS=( doc/en/_build/html/. )
-       distutils-r1_python_install_all
-}
diff --git a/dev-python/pytest/pytest-2.8.5.ebuild b/dev-python/pytest/pytest-2.8.5.ebuild
deleted file mode 100644 (file)
index f3d7777..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="simple powerful testing with Python"
-HOMEPAGE="http://pytest.org/ https://pypi.python.org/pypi/pytest"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="doc test"
-
-# When bumping, please check setup.py for the proper py version
-PY_VER="1.4.29"
-RDEPEND=">=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]"
-
-# dev-python/pluggy
-# https://github.com/hpk42/pluggy
-# See https://github.com/pytest-dev/pytest/issues/944
-# for why not now
-
-#pexpect dep based on https://bitbucket.org/hpk42/pytest/issue/386/tests-fail-with-pexpect-30
-DEPEND="${RDEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/pexpect[${PYTHON_USEDEP}] )
-       doc? (
-               >=dev-python/sphinx-1.2.3[${PYTHON_USEDEP}]
-               dev-python/pyyaml[${PYTHON_USEDEP}]
-               dev-python/regendoc[${PYTHON_USEDEP}]
-       )"
-
-PATCHES=( "${FILESDIR}"/${P}-skip-test-on-pypy.patch )
-
-python_prepare_all() {
-       chmod o-w *egg*/* || die
-       # Disable versioning of py.test script to avoid collision with
-       # versioning performed by the eclass.
-       sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
-       grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
-
-       # Prevent un-needed d'loading
-       sed -e "s/'sphinx.ext.intersphinx', //" -i doc/en/conf.py || die
-
-       # https://github.com/pytest-dev/pytest/issues/1162
-       # https://github.com/pytest-dev/pytest/issues/1163
-       sed \
-               -e 's:test_logging_initialized_in_test:_&:g' \
-               -i testing/test_capture.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-       if use doc; then
-               mkdir doc/en/.build || die
-               emake -C doc/en html
-       fi
-}
-
-python_test() {
-       # test_nose.py not written to suit py3.2 in pypy3
-       if [[ "${EPYTHON}" == pypy3 ]]; then
-               "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v \
-                       --ignore=testing/BUILD_nose.py \
-                       || die "tests failed with ${EPYTHON}"
-       else
-               "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v --runpytest=subprocess \
-                       || die "tests failed with ${EPYTHON}"
-       fi
-}
-
-python_install_all() {
-       use doc && HTML_DOCS=( doc/en/_build/html/. )
-       distutils-r1_python_install_all
-}