diff options
Diffstat (limited to 'dev-python/pytest-cov')
-rw-r--r-- | dev-python/pytest-cov/Manifest | 15 | ||||
-rw-r--r-- | dev-python/pytest-cov/pytest-cov-1.6.ebuild | 20 | ||||
-rw-r--r-- | dev-python/pytest-cov/pytest-cov-1.8.1.ebuild | 30 | ||||
-rw-r--r-- | dev-python/pytest-cov/pytest-cov-2.1.0.ebuild | 37 | ||||
-rw-r--r-- | dev-python/pytest-cov/pytest-cov-2.2.0.ebuild | 43 | ||||
-rw-r--r-- | dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 4 | ||||
-rw-r--r-- | dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild (renamed from dev-python/pytest-cov/pytest-cov-2.2.1.ebuild) | 35 | ||||
-rw-r--r-- | dev-python/pytest-cov/pytest-cov-2.5.1.ebuild | 4 |
8 files changed, 31 insertions, 157 deletions
diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest index 943974d231e0..745390472b4a 100644 --- a/dev-python/pytest-cov/Manifest +++ b/dev-python/pytest-cov/Manifest @@ -1,16 +1,7 @@ AUX fix-for-deprecation-warnings.patch 678 BLAKE2B cbf75e452f1cb5225d23d29c8105fc46c03d66b65ad359e84d63780fdff36342b50a5465c4ebcfe1a94d277301de49e5f4822856411e54d939d85d7043a1f094 SHA512 3f20f6ef0514d676259e6bfd5c10c1877c4237a4a87161352adeda355dac693a6a43b8be3b29848feca433a9ead3e96967d8e255b62e3b60d816127eb17c4cae -DIST pytest-cov-1.6.tar.gz 8257 BLAKE2B b5d9bfd4ae36dc807fee2207e85c14c584247b289711863d4d6773b13afa139a8ed811e152f071c18f841ead89e4a3cb8f4098f7efb322c86d1bdf90d311b9e1 SHA512 36c18e8e731613f2412e8e377f1911704d4af23a82fe66b822547850c3343204f682d3464c97f2cb4360f5090e7a58e5ac9679e83ae90adc0ccdb5b0e467430f -DIST pytest-cov-1.8.1.tar.gz 8649 BLAKE2B fa37c19ba4e74efdfc89410dfa0cbe8f886f5bb2be9d838fecba54a1ba4d772e5f71adc679b4e043f8a2de871edf0ca4d43978dbf08f2e684a03660a83ce1c2c SHA512 dff6c6345bdc2d219800782d7acb3d301c8d67314f0f4af983daa0942a8c97768a2ce6c64f11529a3d8d876c218c62dbf08b7a63cc7345072e70bbc85ad4d112 -DIST pytest-cov-2.1.0.tar.gz 25992 BLAKE2B 06fdfe7958433831c80779092ec2add153f84f4aab0223aaa07a4dec68a6cc1fc190d104469aa13ba87687d27e61548fbb320eb47f4caab8b8e3e092e3bbd765 SHA512 f763e611b19f6769183583d275e28467f7cc5cc8a8fe5a4d3eb798ddf8d4e008732ec8c29b757aaf0fba0f5a660d92729499f3d388693f631ba73cc7a570d738 -DIST pytest-cov-2.2.0.tar.gz 29965 BLAKE2B d4e5c522a50b5107d0ddede125e59e12d29ef02d4b7a2b4106918c5a2a418cf7e63de7cc4833f7b129510211411498febc2e04be83dade195f4ee56c7b3b2828 SHA512 3e6a2b648b12eff3d8f0aad12dda35a05820f6073e7f87e9c92ed6cca00fe031750da8f6c37eb81cf6ca7b2e4975dafffd7e3e901cb7b91e5c53c83b6e6b8420 -DIST pytest-cov-2.2.1.tar.gz 33154 BLAKE2B ccdd66c557b13921e63b2ab5698ec90ac58fe2297f4f7295d3d88fed72924b01cdbace742ac90f336b9835875c57aa609e8b0382b0e2c7b0482bc1add00131ee SHA512 8f20cf1c42b4415c7decf8407582e64045c599aedf1970160d02e35e723f56fa095af26ee4390eabf2d32e209898b0a3dae8b7212ac81ecda64d6dbc7c83f790 DIST pytest-cov-2.3.1.tar.gz 35378 BLAKE2B 758846db0b06ef9534823d3458ad6211b0cfc14b551a6e1737573a5c1c5bb59c23b26d3448ff8a67d65a4293ce75dd8c79d4916d3d9a7db5021db6b907152230 SHA512 79770beb53fbb43b5d68311c2efd0accbfd890ab6dad299da8c1c0b3d26b54d984807313b1507900cda7004bfb50fedc0bd4341cfcfce47849a4f24fc8184f11 DIST pytest-cov-2.5.1.tar.gz 36201 BLAKE2B ba07d751c7635ee01262a6f2eeffb27393d58afadb625b220237ff9d014ecdda0f18c0b5fd7bdec66fa4a948f2bb70a715af6dc76664e9c573ad56520c8dee1e SHA512 868131d6ea6dd28deec6d653dec23ceb7d3adccfa2c6bcc0a3126bbb11e924e71f200676461b2202f274ce6e14d1799feb0917e3081817d9e8583271c18a43de -EBUILD pytest-cov-1.6.ebuild 561 BLAKE2B a2bbdff8281b64d45312866ebf7b5e6eed8006f78ba172aba1d694d2c794951da0a53ef1453997ba582f1a4ae208cec948f0052d495895a15c99d2f88c851bbf SHA512 c4cf5ce68d840d1a8b2e5bb049b9bf2c9774ad1c841f9d85be94139feb4413963bd345bbce16d660a867e80dca79b5064cd6ada55fd5a5d6dc25b1f5d02756d9 -EBUILD pytest-cov-1.8.1.ebuild 959 BLAKE2B c1079b09b461f78f3e511675d5884207f382640c66b04849427459bd612a2f8cbf3376a448814f41d4a45beae66a678d7a2913bb79892a2ec056e100422a6c32 SHA512 84e384cc5afad709603bad3f02f65339b18e0f89e61dabe19d3e433cf399b7e4c8f4afcf4c6702241d936101e1431a8e05dad1c8ca107af3496fa7e6b621cacc -EBUILD pytest-cov-2.1.0.ebuild 1087 BLAKE2B f84dac999eec7df501ea88b75694bdee654c3f08ffac31e4c1c91a7addb8128c49e45e372606bd5a7541ca78354ffa74fe47a035093182f07889024d88ac4ec4 SHA512 52f32df000e94f98826c7d21c29e1edf5ba800e794bbcc0c182d0d7c65b28697f06640df655a924e0ff3241efaf3fa4732446e9739ee155d887de90aac275c97 -EBUILD pytest-cov-2.2.0.ebuild 1262 BLAKE2B 4019d9581327811f975b595bf415d100f56406c174df3aa4ae6ecd3390727855911b12eab77f052b43a1029e2f11ddac8fd3a4312ea5264801f1263ce22e3be0 SHA512 49cd4aba05bb7f9e2f9b1d2a6385a0032f7befb056acc1242123879169240b4fac2d210764c2bf174548a2bb341ea260c530a2c6cf0a40db07ba4222f28154a2 -EBUILD pytest-cov-2.2.1.ebuild 1266 BLAKE2B 1594f406c42626561123e31e24be31533326b7fb4faaff1fb5cc62e4ff666afdbb79a8774d48da85ed583ecca83aeafc098ed8933d7770696b1a5b92cbcb9ecb SHA512 b3d295471bce26776e89c9922cd9cc806837eda10c855160e46889706262d8178d6456ec7b3ab3c4a3daadf4e88906c504dffa3c5168bf3be8057717f4ce79fc -EBUILD pytest-cov-2.3.1.ebuild 1535 BLAKE2B 028de5ab74f11c17b3ba06a66ce7e7d1a45dce39cf36e74363e296ef9051d337a9d013699051d7e2f036fd867acd1d69490602f63919c009a94c23d79bd1991a SHA512 60e2b1992e2adf269352517948df3cca5ea08c91426374fd2e00abd6d8247eb2b5fa6458cadb17b951745faea029846157433d2e2cf770643be2040f041c7477 -EBUILD pytest-cov-2.5.1.ebuild 1505 BLAKE2B f4a515eafb4441ab47e36cfc58aa751939a0de2c6f01c06d5816b23544040c76afd35dfc2f294a9c107255a252157ccf843ecfd0f207d61c09be457665c36472 SHA512 edc8552f7d3c30b1b0cb26ee7cf2ef54f4d6ccc8efaffd35ae721c950271de3a98873d18b40c96c1aa80c2e43cc5541c35e338e52aef367a1b06d88b6c25a744 +EBUILD pytest-cov-2.3.1.ebuild 1539 BLAKE2B 2ef33a3cb6cb07cde3e5a756a7b25c1e81847675a409b35a3d81a4b77a7c5baa5b50dc98b83e3590434a2fa690de006fb4fb3a1e3de9eb21b339bc0c2a5e4a6d SHA512 4b2d0235e1affbd327df01544c6db6b807752aaece33f38bcbcbf66121e05967d8355784e91015b9183b51932008cd6ec984b90be2871b0fc6e3f70e17de2065 +EBUILD pytest-cov-2.5.1-r1.ebuild 1473 BLAKE2B 13f9ec208114cf0341baf7828b8847d4f5315cd09539ac4e0907c993773ba566db0de8f64aab4d427af0b5f7eb89512dc4b08e9ef7d69171da7e179222597b1d SHA512 19988adca17f9717bfba2b0a77104efc99de6c02126dbd95f7cd189478fadfc87e5b5253f0432f752aeba519218da55516622520175ac67de37e18f1e5db3270 +EBUILD pytest-cov-2.5.1.ebuild 1509 BLAKE2B 04b63690469fe1d6af9ac85add37fd75f2f90c4bf95b092efee26e2f85bf47ecb8693628f025621928b26887312a85202c4447708e0f6b116aa886373a01ccd9 SHA512 741f39ad5f2d63ca64cfdad5a2049783d79b1402184a6bb3ced95c894ef332f5b97b23b9c4224ab168f7965af13ce8ea0bfb766fefea7e7d7c153e2b9924230e MISC metadata.xml 460 BLAKE2B acedcc7748c95511d1ebe201052b50e43569250e41f8d08d8eceb3f8c8b10924d64e74f6ff6453896f9fceff2a939f42d21d3013b9a486b007bb922dfd285ac9 SHA512 5600a6e66b683a30d6252699a28fecf727bdbbad6ef40cec0fabb89f5afd3a0cf1e2b8e2b80ffa6cc144ac03f5e7066117d72fc968492bd3b1d6c89a8b035228 diff --git a/dev-python/pytest-cov/pytest-cov-1.6.ebuild b/dev-python/pytest-cov/pytest-cov-1.6.ebuild deleted file mode 100644 index 859701ba2298..000000000000 --- a/dev-python/pytest-cov/pytest-cov-1.6.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -PYTHON_COMPAT=( python{2_7,3_4} pypy pypy3 ) -inherit distutils-r1 - -DESCRIPTION="py.test plugin for coverage reporting" -HOMEPAGE="https://bitbucket.org/memedough/pytest-cov/overview" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="alpha ~amd64 arm hppa ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -DEPEND="" -RDEPEND="dev-python/pytest[${PYTHON_USEDEP}] - dev-python/cov-core[${PYTHON_USEDEP}]" diff --git a/dev-python/pytest-cov/pytest-cov-1.8.1.ebuild b/dev-python/pytest-cov/pytest-cov-1.8.1.ebuild deleted file mode 100644 index a21dfda7b9b7..000000000000 --- a/dev-python/pytest-cov/pytest-cov-1.8.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -PYTHON_COMPAT=( python{2_7,3_4} pypy pypy3 ) -inherit distutils-r1 - -DESCRIPTION="py.test plugin for coverage reporting" -HOMEPAGE="https://bitbucket.org/memedough/pytest-cov/overview" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 m68k ppc ppc64 s390 sh ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND=" - >=dev-python/py-1.4.22[${PYTHON_USEDEP}] - >=dev-python/pytest-2.6.0[${PYTHON_USEDEP}] - >=dev-python/cov-core-1.14.0[${PYTHON_USEDEP}] - >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}] - <dev-python/coverage-4[${PYTHON_USEDEP}]" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/virtualenv[${PYTHON_USEDEP}] )" - -python_test() { - # test_ file produces no output; For FI - "${PYTHON}" test_pytest_cov.py || die "tests failed under ${EPYTHON}" -} diff --git a/dev-python/pytest-cov/pytest-cov-2.1.0.ebuild b/dev-python/pytest-cov/pytest-cov-2.1.0.ebuild deleted file mode 100644 index 5f44d70bde40..000000000000 --- a/dev-python/pytest-cov/pytest-cov-2.1.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -PYTHON_COMPAT=( python{2_7,3_4} pypy pypy3 ) -inherit distutils-r1 - -DESCRIPTION="py.test plugin for coverage reporting" -HOMEPAGE="https://github.com/pytest-dev/pytest-cov https://pypi.python.org/pypi/pytest-cov" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND=" - >=dev-python/py-1.4.22[${PYTHON_USEDEP}] - >=dev-python/pytest-2.6.0[${PYTHON_USEDEP}] - >=dev-python/cov-core-1.14.0[${PYTHON_USEDEP}] - >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}] - <dev-python/coverage-4[${PYTHON_USEDEP}]" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-python/process-tests[${PYTHON_USEDEP}] - dev-python/pytest-cache[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytest-capturelog[${PYTHON_USEDEP}] - )" - -python_test() { - PYTHONPATH="${S}/tests:${BUILD_DIR}/lib" \ - py.test -p pytest_cov -vvx || die -} diff --git a/dev-python/pytest-cov/pytest-cov-2.2.0.ebuild b/dev-python/pytest-cov/pytest-cov-2.2.0.ebuild deleted file mode 100644 index be456abdf404..000000000000 --- a/dev-python/pytest-cov/pytest-cov-2.2.0.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -PYTHON_COMPAT=( python{2_7,3_{4,5}} pypy pypy3 ) -inherit distutils-r1 - -DESCRIPTION="py.test plugin for coverage reporting" -HOMEPAGE="https://github.com/pytest-dev/pytest-cov https://pypi.python.org/pypi/pytest-cov" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="test" - -RDEPEND=" - >=dev-python/py-1.4.22[${PYTHON_USEDEP}] - >=dev-python/pytest-2.6.0[${PYTHON_USEDEP}] - >=dev-python/cov-core-1.14.0[${PYTHON_USEDEP}] - >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}]" -DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-python/process-tests[${PYTHON_USEDEP}] - || ( - >=dev-python/pytest-2.8.0[${PYTHON_USEDEP}] - dev-python/pytest-cache[${PYTHON_USEDEP}] - ) - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pytest-capturelog[${PYTHON_USEDEP}] - )" - -# https://github.com/pytest-dev/pytest-cov/issues/99 -RESTRICT=test - -python_test() { - PYTHONPATH="${S}/tests:${BUILD_DIR}/lib" \ - PYTEST_PLUGINS=pytest_cov \ - py.test -v -v -x || die -} diff --git a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild index 5c7a0cdbf23c..c52df7375023 100644 --- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild +++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) inherit distutils-r1 diff --git a/dev-python/pytest-cov/pytest-cov-2.2.1.ebuild b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild index 3eaf9819fc11..41e16e502292 100644 --- a/dev-python/pytest-cov/pytest-cov-2.2.1.ebuild +++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) inherit distutils-r1 @@ -13,32 +13,45 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="test" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" RDEPEND=" >=dev-python/py-1.4.22[${PYTHON_USEDEP}] - >=dev-python/pytest-2.6.0[${PYTHON_USEDEP}] + >=dev-python/pytest-2.7.3[${PYTHON_USEDEP}] >=dev-python/cov-core-1.14.0[${PYTHON_USEDEP}] - >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}]" + >=dev-python/coverage-3.7.1[${PYTHON_USEDEP}] + doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}] + ) +" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/virtualenv[${PYTHON_USEDEP}] + dev-python/fields[${PYTHON_USEDEP}] dev-python/process-tests[${PYTHON_USEDEP}] || ( >=dev-python/pytest-2.8.0[${PYTHON_USEDEP}] dev-python/pytest-cache[${PYTHON_USEDEP}] ) - dev-python/pytest-xdist[${PYTHON_USEDEP}] + =dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}] dev-python/pytest-capturelog[${PYTHON_USEDEP}] - )" + ) +" -# https://github.com/pytest-dev/pytest-cov/issues/99 -RESTRICT=test +python_compile_all() { + use doc && sphinx-build -b html docs _build/html +} python_test() { PYTHONPATH="${S}/tests:${BUILD_DIR}/lib" \ PYTEST_PLUGINS=${PN/-/_} \ - py.test -v -v -x || die + py.test -v -v -x || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && HTML_DOCS=( _build/html/. ) + distutils-r1_python_install_all } diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1.ebuild b/dev-python/pytest-cov/pytest-cov-2.5.1.ebuild index 72ead3a4d2c7..6b39b3c8c69e 100644 --- a/dev-python/pytest-cov/pytest-cov-2.5.1.ebuild +++ b/dev-python/pytest-cov/pytest-cov-2.5.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) inherit distutils-r1 |