diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /dev-python/tox | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'dev-python/tox')
-rw-r--r-- | dev-python/tox/Manifest | 5 | ||||
-rw-r--r-- | dev-python/tox/files/tox-3.6.0-skip-broken-tests.patch | 39 | ||||
-rw-r--r-- | dev-python/tox/tox-3.2.1.ebuild | 4 | ||||
-rw-r--r-- | dev-python/tox/tox-3.6.0.ebuild | 43 |
4 files changed, 88 insertions, 3 deletions
diff --git a/dev-python/tox/Manifest b/dev-python/tox/Manifest index 84b20a47b10f..e0781075feb1 100644 --- a/dev-python/tox/Manifest +++ b/dev-python/tox/Manifest @@ -1,5 +1,8 @@ +AUX tox-3.6.0-skip-broken-tests.patch 1579 BLAKE2B 1de72f080eaab2b3da17dc5e2edfd5297072fc3cf03015113f633cfdf3596993197a75aab507b5c3b055bc7cc746093a1d0a5e95146d7a9ef562991c516eef07 SHA512 4f731f456bcf941f0120586d486c826970fdf9d28f475eba9e55d561a48c38ee43c4bb7551de636ea2f5f17c7267be3bacc949b1a5230c7c35f800efe2b398c7 DIST tox-2.9.1.tar.gz 1855982 BLAKE2B 3e2f5fd3d3e45e54f96b0a6fc8f9e98bfba3b48540cc2922a897e016b5aabc9974772c9b897e0fab7b38b00f99478a063ad988ffa8b65fa53f684997334e492c SHA512 ff19b2bb7ac963379f1cccd4973ad9eb4dabfbda976cde7caba50ad010d8fa57c1cba91d63e3e0512e44cc7d350bc9270fbd9b30db1bd55f7d9c239e7623d066 DIST tox-3.2.1.tar.gz 268827 BLAKE2B 764835d04fb0c17f32eb8e2041b83f90d6a729b781a5b5b95e9ecb1162f1c29ed595d4a6369524b390a31853b8003485b27a3a12d63e84f49e92675f1a9bee13 SHA512 79f5a1c8f6e818fbb8444754e3767d880fc1fdfe63b46c518d37440fe2b2f3ce572865aff83d9492c24486fded49893cc31bd9b11254bac4db507260304bc76f +DIST tox-3.6.0.tar.gz 257255 BLAKE2B fc61eb9c3c7eaca483c5de99b72562fb936447534cc1c08e70e8ed376fe70e0467d07168cb518f097002ea96ebbd709364236af49307c3c4c84f58feafba6bd7 SHA512 fcee3d78f266ebe036931589a68b51e111ba34cbe3fae6ee9241b4e98433ca75c59261ccaef014e00b3bfd678d10624c72c45146d594a7d25d6f437101f4c93d EBUILD tox-2.9.1.ebuild 1307 BLAKE2B 1250817a04c4eccd2471adb950ce316092b95b0d8c015a606dac2f0854ee48e32de220a5171b36e56c240a67766e6e929d8e8052a069be3651fff04d0d0ca014 SHA512 672f5fb09123ca77fc4ff93da6c00a82b02e1119ea9dcf5858792ca01b07a17ff5d0137174dbce0ffbe75b15e5c2aaf26811f412a258da6c0c22b9101202c077 -EBUILD tox-3.2.1.ebuild 1926 BLAKE2B f0cd10f46ae714b4dc244428576baf1db69e65b5fd5f095ae866ebf61d82826fecef9b6a599e13dfb86dd1377b1b6805c51f468da1597acd5628d7243659a11c SHA512 9e754fce0a095f1376cd7d6b34792244f91f6feb7a7285320ffe93a5401deda4fb0d554a5a5281396ca05f52ee13e587a15343115ff9281b7d4be0536fe07b7c +EBUILD tox-3.2.1.ebuild 1928 BLAKE2B 4cbfa0acbf80e27094579911d80df2f2ee497010fcf0425921232d2118b0f45d485c3a6924eb724ddca4c6afa0dbc48295708ac264876f10de6f6fd42e334ef5 SHA512 7874949582a0e556547e90e32b9ae2234e254f1f44e80799227acf5b5b69a6ee52cac4f34a1c9133f70e3550211ee8e6af4e1e887f3eadd0c7bff24158a1a830 +EBUILD tox-3.6.0.ebuild 1210 BLAKE2B 2dea69c67b0bc271a48f54f6bb0f87679440bb2130976b06ed22c3864c049dec39c9811c3c623ce27d06f18681a3ac98c6550f9d5e070f47ef6838d27c3d4ca9 SHA512 7f6f70cd049db646b2dfb535a19686649fa54fd8e8392c861dfbc26d0f30f52e056b822739982185d1fbace07ad5a6b9664276915f5263e0e829b3cba637b132 MISC metadata.xml 465 BLAKE2B eba47520bf4a2f615fbfad7c26ac19af51d6b9c0ef8dff0212a6723376b34a0d17386f05b3f4dd3ab715b9af867fabc038c300fa8df357c648dedb03efbeed88 SHA512 9bcd58c451d7196c9870a04b76a504090ec217c7c88f47f17e141c5c9519fc41d24dfc83d97eb48b935d90b621a0ada1ed664fafffd7880e91627e56259b3c76 diff --git a/dev-python/tox/files/tox-3.6.0-skip-broken-tests.patch b/dev-python/tox/files/tox-3.6.0-skip-broken-tests.patch new file mode 100644 index 000000000000..ea39bb30c1c7 --- /dev/null +++ b/dev-python/tox/files/tox-3.6.0-skip-broken-tests.patch @@ -0,0 +1,39 @@ +diff --git a/tests/unit/test_config.py b/tests/unit/test_config.py +index 08a1ced..86e3fb6 100644 +--- a/tests/unit/test_config.py ++++ b/tests/unit/test_config.py +@@ -1869,7 +1869,7 @@ class TestConfigTestEnv: + for name, config in configs.items(): + assert config.basepython == "python{}.{}".format(name[2], name[3]) + +- def test_default_factors_conflict(self, newconfig, capsys): ++ def xtest_default_factors_conflict(self, newconfig, capsys): + with pytest.warns(UserWarning, match=r"conflicting basepython .*"): + config = newconfig( + """ +diff --git a/tests/unit/test_interpreters.py b/tests/unit/test_interpreters.py +index 0787b95..51e2ccc 100644 +--- a/tests/unit/test_interpreters.py ++++ b/tests/unit/test_interpreters.py +@@ -60,7 +60,7 @@ def test_locate_via_py(monkeypatch): + assert fake_popen.last_call == ("py", "-3", "-c") + + +-def test_tox_get_python_executable(): ++def xtest_tox_get_python_executable(): + class envconfig: + basepython = sys.executable + envname = "pyxx" +diff --git a/tests/unit/test_venv.py b/tests/unit/test_venv.py +index 51cb3c0..31a273e 100644 +--- a/tests/unit/test_venv.py ++++ b/tests/unit/test_venv.py +@@ -427,7 +427,7 @@ def test_install_command_not_installed_bash(newmocksession): + mocksession.report.expect("warning", "*test command found but not*") + + +-def test_install_python3(newmocksession): ++def xtest_install_python3(newmocksession): + if not py.path.local.sysfind("python3"): + pytest.skip("needs python3") + mocksession = newmocksession( diff --git a/dev-python/tox/tox-3.2.1.ebuild b/dev-python/tox/tox-3.2.1.ebuild index 61461fa6c1a0..757b58aec8a9 100644 --- a/dev-python/tox/tox-3.2.1.ebuild +++ b/dev-python/tox/tox-3.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ia64 ~mips ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="doc test" diff --git a/dev-python/tox/tox-3.6.0.ebuild b/dev-python/tox/tox-3.6.0.ebuild new file mode 100644 index 000000000000..46fa53e8f938 --- /dev/null +++ b/dev-python/tox/tox-3.6.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{5,6}} pypy ) + +inherit distutils-r1 + +DESCRIPTION="virtualenv-based automation of test activities" +HOMEPAGE="https://tox.readthedocs.io https://github.com/tox-dev/tox https://pypi.org/project/tox/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# doc disabled because of missing deps in tree +IUSE="test" + +RDEPEND=" + dev-python/filelock[${PYTHON_USEDEP}] + <dev-python/pluggy-1.0[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/py[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-3.6[${PYTHON_USEDEP}] + <dev-python/pytest-4.0 + <dev-python/pytest-mock-2.0[${PYTHON_USEDEP}] + )" + +# for some reason, --deselect doesn't work in tox's tests +PATCHES=( "${FILESDIR}/${PN}-3.6.0-skip-broken-tests.patch" ) + +python_test() { + pytest -v --no-network || die "Testsuite failed under ${EPYTHON}" +} |