[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2024-04-11 Thread Michał Górny
commit: 2554ca31c6cdc96b032f00047c72d40eceeb857d
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 11 17:12:47 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 11 19:04:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2554ca31

dev-python/pytest-cov: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest|  1 -
 dev-python/pytest-cov/pytest-cov-4.1.0.ebuild | 63 ---
 2 files changed, 64 deletions(-)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index e5e398892086..5e6613bf2053 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,2 +1 @@
-DIST pytest-cov-4.1.0.tar.gz 63245 BLAKE2B 
ed69b96f2117fb924c47b5d80c4e01ec2ab27162ee31a91943e72927a919fe194a8a67ee86eb6bae68ac5a34288c91c57edd8a4800dbffca83f7da4006792d04
 SHA512 
1280e338ad236ae6757e4538a641fef740bee6c85c5af1f649ba4f28fd99f84ff1048ae40b8633d1751ea248788c1efd401aa078b3aa5929a9249514e5722fc1
 DIST pytest-cov-5.0.0.tar.gz 63042 BLAKE2B 
6a0f3b38bbf6ae8843d804d078b3879e76ef146ba1bee2eb068bffe560332984994a8405964be185b2ededc2c8231288e609573c5a83143147eeb537659da1e5
 SHA512 
384459cafdb800711b935899acc3716f5fcbc28b40be0e168e58333603b1dea474bbd7a92f09b6afbe2f9dc1ce8599668a787c0f93884c263af894f44311a4a6

diff --git a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
deleted file mode 100644
index e3c664021481..
--- a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
-
-inherit distutils-r1 multiprocessing pypi
-
-DESCRIPTION="pytest plugin for coverage reporting"
-HOMEPAGE="
-   https://github.com/pytest-dev/pytest-cov/
-   https://pypi.org/project/pytest-cov/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
-   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
-   >=dev-python/coverage-6.4.4-r1[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/virtualenv[${PYTHON_USEDEP}]
-   dev-python/fields[${PYTHON_USEDEP}]
-   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
-   dev-python/pytest-xdist[${PYTHON_USEDEP}]
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.0.0-pytest-xdist-2.5.0.patch
-)
-
-distutils_enable_sphinx docs \
-   dev-python/sphinx-py3doc-enhanced-theme
-distutils_enable_tests pytest
-
-python_test() {
-   # NB: disabling all plugins speeds tests up a lot
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail
-
-   local src=$(
-   "${EPYTHON}" -c "import coverage as m; print(*m.__path__)" || 
die
-   )
-   # TODO: why do we need to do that?!
-   # https://github.com/pytest-dev/pytest-cov/issues/517
-   ln -s "${src}" \
-   "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
-
-   nonfatal epytest -n "$(makeopts_jobs)" --dist=worksteal
-   local ret=${?}
-
-   rm "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
-
-   [[ ${ret} -ne 0 ]] && die "epytest failed on ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2024-04-11 Thread Arthur Zamarin
commit: eb1480eaa1aaeec87b01f5316040c1703930bb40
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Apr 11 16:34:59 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Apr 11 16:34:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb1480ea

dev-python/pytest-cov: Stabilize 5.0.0 ALLARCHES, #929161

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pytest-cov/pytest-cov-5.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-5.0.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-5.0.0.ebuild
index 41db49ce5552..042cbd7e6909 100644
--- a/dev-python/pytest-cov/pytest-cov-5.0.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-5.0.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
>=dev-python/py-1.4.22[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2024-03-24 Thread Michał Górny
commit: e9f80dd1200886f6d113a0e037b3adecff0c7f5b
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 25 04:06:44 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 25 04:47:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9f80dd1

dev-python/pytest-cov: Bump to 5.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest|  1 +
 dev-python/pytest-cov/pytest-cov-5.0.0.ebuild | 63 +++
 2 files changed, 64 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 5260ebbd259a..e5e398892086 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1 +1,2 @@
 DIST pytest-cov-4.1.0.tar.gz 63245 BLAKE2B 
ed69b96f2117fb924c47b5d80c4e01ec2ab27162ee31a91943e72927a919fe194a8a67ee86eb6bae68ac5a34288c91c57edd8a4800dbffca83f7da4006792d04
 SHA512 
1280e338ad236ae6757e4538a641fef740bee6c85c5af1f649ba4f28fd99f84ff1048ae40b8633d1751ea248788c1efd401aa078b3aa5929a9249514e5722fc1
+DIST pytest-cov-5.0.0.tar.gz 63042 BLAKE2B 
6a0f3b38bbf6ae8843d804d078b3879e76ef146ba1bee2eb068bffe560332984994a8405964be185b2ededc2c8231288e609573c5a83143147eeb537659da1e5
 SHA512 
384459cafdb800711b935899acc3716f5fcbc28b40be0e168e58333603b1dea474bbd7a92f09b6afbe2f9dc1ce8599668a787c0f93884c263af894f44311a4a6

diff --git a/dev-python/pytest-cov/pytest-cov-5.0.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-5.0.0.ebuild
new file mode 100644
index ..41db49ce5552
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-5.0.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 multiprocessing pypi
+
+DESCRIPTION="pytest plugin for coverage reporting"
+HOMEPAGE="
+   https://github.com/pytest-dev/pytest-cov/
+   https://pypi.org/project/pytest-cov/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
+   >=dev-python/coverage-6.4.4-r1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/virtualenv[${PYTHON_USEDEP}]
+   dev-python/fields[${PYTHON_USEDEP}]
+   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.0.0-pytest-xdist-2.5.0.patch
+)
+
+distutils_enable_sphinx docs \
+   dev-python/furo
+distutils_enable_tests pytest
+
+python_test() {
+   # NB: disabling all plugins speeds tests up a lot
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail
+
+   local src=$(
+   "${EPYTHON}" -c "import coverage as m; print(*m.__path__)" || 
die
+   )
+   # TODO: why do we need to do that?!
+   # https://github.com/pytest-dev/pytest-cov/issues/517
+   ln -s "${src}" \
+   "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
+
+   nonfatal epytest -n "$(makeopts_jobs)" --dist=worksteal
+   local ret=${?}
+
+   rm "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
+
+   [[ ${ret} -ne 0 ]] && die "epytest failed on ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-10-10 Thread Michał Górny
commit: 0523ede715fda7763681ab62b33c2ad372d386a3
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 10 07:43:43 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 10 07:43:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0523ede7

dev-python/pytest-cov: Fix coverage package symlink

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
index 7ef9b625e52a..fcca632cba8c 100644
--- a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
@@ -62,7 +62,7 @@ python_test() {
)
# TODO: why do we need to do that?!
# https://github.com/pytest-dev/pytest-cov/issues/517
-   ln -s "${src}/coverage" \
+   ln -s "${src}" \
"${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
 
nonfatal epytest -n "$(makeopts_jobs)" --dist=worksteal



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-10-10 Thread Michał Górny
commit: b162b6377b186fe5a4d9972a8ec313d37b92df28
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 10 07:39:20 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 10 07:39:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b162b637

dev-python/pytest-cov: Revert "deselect problematic subprocess tests"

The approach was correct.  However, the setup code is creating a broken
symlink now.  Let's fix that instead.

Reverts: 8779b842df8e06a07704874671631d3f100d75df
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.1.0.ebuild | 24 ++--
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
index 5eb2730fc4ca..7ef9b625e52a 100644
--- a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
@@ -49,15 +49,6 @@ python_test() {
local EPYTEST_DESELECT=(
# attempts to install packages via pip (network)
tests/test_pytest_cov.py::test_dist_missing_data
-   # TODO: pytest-cov.pth breaks importing coverage
-   # https://bugs.gentoo.org/889886
-   tests/test_pytest_cov.py::test_append_coverage_subprocess
-   tests/test_pytest_cov.py::test_central_subprocess_change_cwd
-   
tests/test_pytest_cov.py::test_central_subprocess_change_cwd_with_pythonpath
-   tests/test_pytest_cov.py::test_central_subprocess
-   tests/test_pytest_cov.py::test_dist_subprocess_collocated
-   tests/test_pytest_cov.py::test_dist_subprocess_not_collocated
-   tests/test_pytest_cov.py::test_subprocess_with_path_aliasing
# TODO
tests/test_pytest_cov.py::test_contexts
tests/test_pytest_cov.py::test_cleanup_on_sigterm
@@ -66,5 +57,18 @@ python_test() {
tests/test_pytest_cov.py::test_cleanup_on_sigterm_sig_ign
)
 
-   epytest -n "$(makeopts_jobs)" --dist=worksteal
+   local src=$(
+   "${EPYTHON}" -c "import coverage as m; print(*m.__path__)" || 
die
+   )
+   # TODO: why do we need to do that?!
+   # https://github.com/pytest-dev/pytest-cov/issues/517
+   ln -s "${src}/coverage" \
+   "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
+
+   nonfatal epytest -n "$(makeopts_jobs)" --dist=worksteal
+   local ret=${?}
+
+   rm "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
+
+   [[ ${ret} -ne 0 ]] && die "epytest failed on ${EPYTHON}"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-10-10 Thread Michał Górny
commit: 7a831fae3220d95e3d3c9b32c516f13743191259
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 10 07:51:13 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 10 07:51:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a831fae

dev-python/pytest-cov: Reenable all tests

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.1.0.ebuild | 11 ---
 1 file changed, 11 deletions(-)

diff --git a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
index fcca632cba8c..e3c664021481 100644
--- a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
@@ -46,17 +46,6 @@ python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail
 
-   local EPYTEST_DESELECT=(
-   # attempts to install packages via pip (network)
-   tests/test_pytest_cov.py::test_dist_missing_data
-   # TODO
-   tests/test_pytest_cov.py::test_contexts
-   tests/test_pytest_cov.py::test_cleanup_on_sigterm
-   tests/test_pytest_cov.py::test_cleanup_on_sigterm_sig_dfl
-   tests/test_pytest_cov.py::test_cleanup_on_sigterm_sig_dfl_sigint
-   tests/test_pytest_cov.py::test_cleanup_on_sigterm_sig_ign
-   )
-
local src=$(
"${EPYTHON}" -c "import coverage as m; print(*m.__path__)" || 
die
)



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-10-09 Thread Michał Górny
commit: 5d2a39c06160c7f0e97da64ff3b29cded3b6f07c
Author: Alfred Wingate  protonmail  com>
AuthorDate: Mon Oct  9 11:27:21 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 10 05:10:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d2a39c0

dev-python/pytest-cov: enable py3.12

Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33250
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
index c9fde07cf848..e6f8aca4af0d 100644
--- a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-10-09 Thread Michał Górny
commit: 8779b842df8e06a07704874671631d3f100d75df
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sun Oct  8 09:38:00 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 10 05:10:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8779b842

dev-python/pytest-cov: deselect problematic subprocess tests

Bug: https://bugs.gentoo.org/889886
Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.1.0.ebuild | 24 ++--
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
index 22dcfe4fdd43..c9fde07cf848 100644
--- a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
@@ -49,6 +49,15 @@ python_test() {
local EPYTEST_DESELECT=(
# attempts to install packages via pip (network)
tests/test_pytest_cov.py::test_dist_missing_data
+   # TODO: pytest-cov.pth breaks importing coverage
+   # https://bugs.gentoo.org/889886
+   tests/test_pytest_cov.py::test_append_coverage_subprocess
+   tests/test_pytest_cov.py::test_central_subprocess_change_cwd
+   
tests/test_pytest_cov.py::test_central_subprocess_change_cwd_with_pythonpath
+   tests/test_pytest_cov.py::test_central_subprocess
+   tests/test_pytest_cov.py::test_dist_subprocess_collocated
+   tests/test_pytest_cov.py::test_dist_subprocess_not_collocated
+   tests/test_pytest_cov.py::test_subprocess_with_path_aliasing
# TODO
tests/test_pytest_cov.py::test_contexts
tests/test_pytest_cov.py::test_cleanup_on_sigterm
@@ -57,18 +66,5 @@ python_test() {
tests/test_pytest_cov.py::test_cleanup_on_sigterm_sig_ign
)
 
-   local src=$(
-   "${EPYTHON}" -c "import coverage as m; print(*m.__path__)" || 
die
-   )
-   # TODO: why do we need to do that?!
-   # https://github.com/pytest-dev/pytest-cov/issues/517
-   ln -s "${src}/coverage" \
-   "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
-
-   nonfatal epytest
-   local ret=${?}
-
-   rm "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
-
-   [[ ${ret} -ne 0 ]] && die "epytest failed on ${EPYTHON}"
+   epytest
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-10-09 Thread Michał Górny
commit: 8348da3d66574b06ca409b81b3ec26423d27eb04
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Oct 10 05:08:20 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct 10 05:10:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8348da3d

dev-python/pytest-cov: Enable xdist

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
index e6f8aca4af0d..5eb2730fc4ca 100644
--- a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
 PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
-inherit distutils-r1 pypi
+inherit distutils-r1 multiprocessing pypi
 
 DESCRIPTION="pytest plugin for coverage reporting"
 HOMEPAGE="
@@ -66,5 +66,5 @@ python_test() {
tests/test_pytest_cov.py::test_cleanup_on_sigterm_sig_ign
)
 
-   epytest
+   epytest -n "$(makeopts_jobs)" --dist=worksteal
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-07-11 Thread Michał Górny
commit: a6382d4f40d711940bda7aa3ce10b6503e2339fe
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul 11 09:14:08 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul 11 09:14:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6382d4f

dev-python/pytest-cov: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest   |  1 -
 dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild | 70 
 2 files changed, 71 deletions(-)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 4808cc8fa694..5260ebbd259a 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,2 +1 @@
-DIST pytest-cov-4.0.0.tar.gz 62013 BLAKE2B 
af8a12955e3f22cd9dc257874f86c04c3c6e29f4af2d2838f37ca196c4955dcf4007c7b404f31c303d0eef6c3735fa1a6268c3bb9f01ed54860750ca2f83b6f5
 SHA512 
fb993be4d86b29a44e4f2ccd2309d99ab9fe8e6b291abbc2a8a3fc8b36479491165a242a20bfa9886dfd296fcc827da9984b556fdbe9a3ac496ac5b6ba379012
 DIST pytest-cov-4.1.0.tar.gz 63245 BLAKE2B 
ed69b96f2117fb924c47b5d80c4e01ec2ab27162ee31a91943e72927a919fe194a8a67ee86eb6bae68ac5a34288c91c57edd8a4800dbffca83f7da4006792d04
 SHA512 
1280e338ad236ae6757e4538a641fef740bee6c85c5af1f649ba4f28fd99f84ff1048ae40b8633d1751ea248788c1efd401aa078b3aa5929a9249514e5722fc1

diff --git a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
deleted file mode 100644
index e78068385cdf..
--- a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="pytest plugin for coverage reporting"
-HOMEPAGE="
-   https://github.com/pytest-dev/pytest-cov/
-   https://pypi.org/project/pytest-cov/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
-   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
-   >=dev-python/coverage-6.4.4-r1[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/virtualenv[${PYTHON_USEDEP}]
-   dev-python/fields[${PYTHON_USEDEP}]
-   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
-   dev-python/pytest-xdist[${PYTHON_USEDEP}]
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.0.0-pytest-xdist-2.5.0.patch
-)
-
-distutils_enable_sphinx docs \
-   dev-python/sphinx-py3doc-enhanced-theme
-distutils_enable_tests pytest
-
-python_test() {
-   # NB: disabling all plugins speeds tests up a lot
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail
-
-   local EPYTEST_DESELECT=(
-   # attempts to install packages via pip (network)
-   tests/test_pytest_cov.py::test_dist_missing_data
-   # TODO
-   tests/test_pytest_cov.py::test_contexts
-   )
-
-   local src=$(
-   "${EPYTHON}" -c "import coverage as m; print(*m.__path__)" || 
die
-   )
-   # TODO: why do we need to do that?!
-   # https://github.com/pytest-dev/pytest-cov/issues/517
-   ln -s "${src}/coverage" \
-   "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
-
-   nonfatal epytest
-   local ret=${?}
-
-   rm "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
-
-   [[ ${ret} -ne 0 ]] && die "epytest failed on ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-07-11 Thread Jakov Smolić
commit: a8f1f2d70238ab4ec92f91f841df317d368fa52c
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jul 11 08:43:13 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jul 11 08:43:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8f1f2d7

dev-python/pytest-cov: Stabilize 4.1.0 ALLARCHES, #909252

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
index 028d25048b4a..22dcfe4fdd43 100644
--- a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
>=dev-python/py-1.4.22[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-05-26 Thread Michał Górny
commit: 5699d94c4d919cb69d905bf5e2d4ec2e74dc878c
Author: Michał Górny  gentoo  org>
AuthorDate: Fri May 26 17:47:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May 26 17:47:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5699d94c

dev-python/pytest-cov: Bump to 4.1.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest|  1 +
 dev-python/pytest-cov/pytest-cov-4.1.0.ebuild | 70 +++
 2 files changed, 71 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 69d38d493d4b..4808cc8fa694 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1 +1,2 @@
 DIST pytest-cov-4.0.0.tar.gz 62013 BLAKE2B 
af8a12955e3f22cd9dc257874f86c04c3c6e29f4af2d2838f37ca196c4955dcf4007c7b404f31c303d0eef6c3735fa1a6268c3bb9f01ed54860750ca2f83b6f5
 SHA512 
fb993be4d86b29a44e4f2ccd2309d99ab9fe8e6b291abbc2a8a3fc8b36479491165a242a20bfa9886dfd296fcc827da9984b556fdbe9a3ac496ac5b6ba379012
+DIST pytest-cov-4.1.0.tar.gz 63245 BLAKE2B 
ed69b96f2117fb924c47b5d80c4e01ec2ab27162ee31a91943e72927a919fe194a8a67ee86eb6bae68ac5a34288c91c57edd8a4800dbffca83f7da4006792d04
 SHA512 
1280e338ad236ae6757e4538a641fef740bee6c85c5af1f649ba4f28fd99f84ff1048ae40b8633d1751ea248788c1efd401aa078b3aa5929a9249514e5722fc1

diff --git a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
new file mode 100644
index ..0ef6459f20cb
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="pytest plugin for coverage reporting"
+HOMEPAGE="
+   https://github.com/pytest-dev/pytest-cov/
+   https://pypi.org/project/pytest-cov/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
+   >=dev-python/coverage-6.4.4-r1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/virtualenv[${PYTHON_USEDEP}]
+   dev-python/fields[${PYTHON_USEDEP}]
+   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.0.0-pytest-xdist-2.5.0.patch
+)
+
+distutils_enable_sphinx docs \
+   dev-python/sphinx-py3doc-enhanced-theme
+distutils_enable_tests pytest
+
+python_test() {
+   # NB: disabling all plugins speeds tests up a lot
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail
+
+   local EPYTEST_DESELECT=(
+   # attempts to install packages via pip (network)
+   tests/test_pytest_cov.py::test_dist_missing_data
+   # TODO
+   tests/test_pytest_cov.py::test_contexts
+   )
+
+   local src=$(
+   "${EPYTHON}" -c "import coverage as m; print(*m.__path__)" || 
die
+   )
+   # TODO: why do we need to do that?!
+   # https://github.com/pytest-dev/pytest-cov/issues/517
+   ln -s "${src}/coverage" \
+   "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
+
+   nonfatal epytest
+   local ret=${?}
+
+   rm "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
+
+   [[ ${ret} -ne 0 ]] && die "epytest failed on ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-05-26 Thread Michał Górny
commit: 79381c8ab279da0d88d649a9a37be995d2f15d59
Author: Michał Górny  gentoo  org>
AuthorDate: Fri May 26 17:47:07 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May 26 17:47:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79381c8a

dev-python/pytest-cov: Remove accidental foo

Closes: https://bugs.gentoo.org/907064
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
index 121ae30ad8b7..e78068385cdf 100644
--- a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
@@ -61,7 +61,7 @@ python_test() {
ln -s "${src}/coverage" \
"${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
 
-   nonfatal epytest foo
+   nonfatal epytest
local ret=${?}
 
rm "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-05-26 Thread Michał Górny
commit: 6de4a5e0574104f0fdcbf6bae1448905b28d2e58
Author: Michał Górny  gentoo  org>
AuthorDate: Fri May 26 17:56:27 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May 26 17:56:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6de4a5e0

dev-python/pytest-cov: Deselect more broken tests

Closes: https://bugs.gentoo.org/891495
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.1.0.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
index 0ef6459f20cb..028d25048b4a 100644
--- a/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.1.0.ebuild
@@ -51,6 +51,10 @@ python_test() {
tests/test_pytest_cov.py::test_dist_missing_data
# TODO
tests/test_pytest_cov.py::test_contexts
+   tests/test_pytest_cov.py::test_cleanup_on_sigterm
+   tests/test_pytest_cov.py::test_cleanup_on_sigterm_sig_dfl
+   tests/test_pytest_cov.py::test_cleanup_on_sigterm_sig_dfl_sigint
+   tests/test_pytest_cov.py::test_cleanup_on_sigterm_sig_ign
)
 
local src=$(



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-02-19 Thread Michał Górny
commit: ec488fa80b827534cc3ac6adfc4e420f04c84415
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 20 05:57:19 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 20 06:24:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec488fa8

dev-python/pytest-cov: Fix test cleanup on failure

Bug: https://bugs.gentoo.org/895316
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
index 3fca17c83eff..749138765092 100644
--- a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
@@ -61,7 +61,10 @@ python_test() {
ln -s "${src}/coverage" \
"${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
 
-   epytest
+   nonfatal epytest foo
+   local ret=${?}
 
rm "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
+
+   [[ ${ret} -ne 0 ]] && die "epytest failed on ${EPYTHON}"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-02-19 Thread Michał Górny
commit: fd60e5e0ed124a9829f68169e405b27a93b736a9
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 20 06:08:35 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 20 06:24:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd60e5e0

dev-python/pytest-cov: Use pypi.eclass

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
index 749138765092..121ae30ad8b7 100644
--- a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
@@ -4,16 +4,16 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
 PYTHON_COMPAT=( python3_{9..11} pypy3 )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="pytest plugin for coverage reporting"
 HOMEPAGE="
https://github.com/pytest-dev/pytest-cov/
https://pypi.org/project/pytest-cov/
 "
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2023-01-05 Thread Michał Górny
commit: e78205a6a55eb2be760a3544a0d331e5e9766b39
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan  5 16:55:51 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan  5 16:56:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e78205a6

dev-python/pytest-cov: Fix linking coverage for tests on Prefix

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
index 50a1d98287f1..56d8ce2bc1bb 100644
--- a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
@@ -53,9 +53,12 @@ python_test() {
tests/test_pytest_cov.py::test_contexts
)
 
+   local src=$(
+   "${EPYTHON}" -c "import coverage as m; print(*m.__path__)" || 
die
+   )
# TODO: why do we need to do that?!
# https://github.com/pytest-dev/pytest-cov/issues/517
-   ln -s "${BROOT}$(python_get_sitedir)/coverage" \
+   ln -s "${src}/coverage" \
"${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
 
epytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/files/, dev-python/pytest-cov/

2023-01-02 Thread Sam James
commit: f67cb41cea030242bb1193cd4b6dc3abb4335fd9
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan  2 20:02:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan  2 20:03:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f67cb41c

dev-python/pytest-cov: enable py3.11

Signed-off-by: Sam James  gentoo.org>

 .../files/pytest-cov-4.0.0-pytest-xdist-2.5.0.patch | 21 +
 dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild|  8 ++--
 2 files changed, 27 insertions(+), 2 deletions(-)

diff --git 
a/dev-python/pytest-cov/files/pytest-cov-4.0.0-pytest-xdist-2.5.0.patch 
b/dev-python/pytest-cov/files/pytest-cov-4.0.0-pytest-xdist-2.5.0.patch
new file mode 100644
index ..6ed3456597cf
--- /dev/null
+++ b/dev-python/pytest-cov/files/pytest-cov-4.0.0-pytest-xdist-2.5.0.patch
@@ -0,0 +1,21 @@
+https://github.com/pytest-dev/pytest-cov/issues/566
+https://github.com/pytest-dev/pytest-cov/pull/565
+
+From 97483386bde4febe7ff48726f887cc6423d308b9 Mon Sep 17 00:00:00 2001
+From: Chedi 
+Date: Tue, 15 Nov 2022 11:18:31 +0100
+Subject: [PATCH] disabling boxed test if version xdist newer than 2.5.0
+
+--- a/tests/test_pytest_cov.py
 b/tests/test_pytest_cov.py
+@@ -1555,7 +1555,8 @@ def test_foo():
+ 
+ SCRIPT_SIMPLE_RESULT = '4 * 100%'
+ 
+-
++@pytest.mark.skipif('tuple(map(int, xdist.__version__.split("."))) >= (2, 5, 
0)',
++reason="--boxed option was removed in version 2.5.0")
+ @pytest.mark.skipif('sys.platform == "win32"')
+ def test_dist_boxed(testdir):
+ script = testdir.makepyfile(SCRIPT_SIMPLE)
+

diff --git a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
index 61bbc23db863..50a1d98287f1 100644
--- a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
 
 inherit distutils-r1
 
@@ -33,6 +33,10 @@ BDEPEND="
)
 "
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.0.0-pytest-xdist-2.5.0.patch
+)
+
 distutils_enable_sphinx docs \
dev-python/sphinx-py3doc-enhanced-theme
 distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/files/

2022-11-22 Thread Arthur Zamarin
commit: 03b152e7d9550a36277933893778a6295df4cfd0
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon Nov 21 18:15:33 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Nov 22 12:45:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b152e7

dev-python/pytest-cov: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/28372
Signed-off-by: Arthur Zamarin  gentoo.org>

 .../files/pytest-cov-3.0.0-coverage-6.2.patch  | 30 --
 1 file changed, 30 deletions(-)

diff --git a/dev-python/pytest-cov/files/pytest-cov-3.0.0-coverage-6.2.patch 
b/dev-python/pytest-cov/files/pytest-cov-3.0.0-coverage-6.2.patch
deleted file mode 100644
index b44326d8b60d..
--- a/dev-python/pytest-cov/files/pytest-cov-3.0.0-coverage-6.2.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 6d06678a76d9275beb48917d7653ea6a610c7717 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Sun, 23 Jan 2022 15:03:35 +0100
-Subject: [PATCH] Update test_invalid_coverage_source for coverage-6.2
-
-Update test_invalid_coverage_source to make the "No data was collected"
-less strict, as the output has changed in coverage-6.2.  This solution
-was suggested by Tom Callaway (@spotrh) on the linked bug.
-
-Fixes #509

- tests/test_pytest_cov.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
-index f93d352..6d97949 100644
 a/tests/test_pytest_cov.py
-+++ b/tests/test_pytest_cov.py
-@@ -981,7 +981,7 @@ def test_invalid_coverage_source(testdir):
- '*10 passed*'
- ])
- result.stderr.fnmatch_lines([
--'Coverage.py warning: No data was collected.*'
-+'*No data was collected.*'
- ])
- result.stdout.fnmatch_lines([
- '*Failed to generate report: No data to report.',
--- 
-2.34.1
-



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2022-11-19 Thread Arthur Zamarin
commit: d62a95796704aa459aadabc1b714a346ca1f5be3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 19 08:44:47 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 19 08:44:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d62a9579

dev-python/pytest-cov: drop 3.0.0-r2

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pytest-cov/Manifest   |  1 -
 dev-python/pytest-cov/pytest-cov-3.0.0-r2.ebuild | 59 
 2 files changed, 60 deletions(-)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index c4e0c945f72b..69d38d493d4b 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,2 +1 @@
-DIST pytest-cov-3.0.0.tar.gz 61440 BLAKE2B 
85f0b079c4c373191553271e34e78af68ac69ea53e3721aa0d43eb9dd55be935570eb15c0f8b954e4c0de6201c004ddef435ea70b03cfda893ecdcc230c283e7
 SHA512 
289d1b1e29dcc3461276de4c1bbd3884e4ec957efb7dd4c330bc3f25f1b978cbee64c0e2882b419eee5f9ccf44c9d1a23ce47a1b7cc7e436b9ebe894e4c11ae8
 DIST pytest-cov-4.0.0.tar.gz 62013 BLAKE2B 
af8a12955e3f22cd9dc257874f86c04c3c6e29f4af2d2838f37ca196c4955dcf4007c7b404f31c303d0eef6c3735fa1a6268c3bb9f01ed54860750ca2f83b6f5
 SHA512 
fb993be4d86b29a44e4f2ccd2309d99ab9fe8e6b291abbc2a8a3fc8b36479491165a242a20bfa9886dfd296fcc827da9984b556fdbe9a3ac496ac5b6ba379012

diff --git a/dev-python/pytest-cov/pytest-cov-3.0.0-r2.ebuild 
b/dev-python/pytest-cov/pytest-cov-3.0.0-r2.ebuild
deleted file mode 100644
index 65c69c8579d3..
--- a/dev-python/pytest-cov/pytest-cov-3.0.0-r2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="py.test plugin for coverage reporting"
-HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
-   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
-   >=dev-python/coverage-6.4.4-r1[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/virtualenv[${PYTHON_USEDEP}]
-   dev-python/fields[${PYTHON_USEDEP}]
-   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
-   dev-python/pytest-xdist[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx docs \
-   dev-python/sphinx-py3doc-enhanced-theme
-distutils_enable_tests pytest
-
-PATCHES=(
-   # https://github.com/pytest-dev/pytest-cov/pull/518
-   "${FILESDIR}"/${P}-coverage-6.2.patch
-)
-
-python_test() {
-   # NB: disabling all plugins speeds tests up a lot
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail
-
-   local EPYTEST_DESELECT=(
-   # attempts to install packages via pip (network)
-   tests/test_pytest_cov.py::test_dist_missing_data
-   )
-
-   # TODO: why do we need to do that?!
-   # https://github.com/pytest-dev/pytest-cov/issues/517
-   ln -s "${BROOT}$(python_get_sitedir)/coverage" \
-   "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
-
-   epytest -x
-
-   rm "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2022-11-19 Thread Arthur Zamarin
commit: 17c55d83f7b9936845eba9d5be20591e526ef451
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 19 08:39:07 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 19 08:39:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17c55d83

dev-python/pytest-cov: Stabilize 4.0.0-r1 ALLARCHES, #881927

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
index cdc52ee9890b..61bbc23db863 100644
--- a/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
>=dev-python/py-1.4.22[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2022-10-12 Thread Michał Górny
commit: 99e9d5f4f5285a44b52cf659c4132bcca17e7c56
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 12 14:07:49 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 12 14:52:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e9d5f4

dev-python/pytest-cov: Remove obsolete transitive dep on toml

Signed-off-by: Michał Górny  gentoo.org>

 .../{pytest-cov-3.0.0-r1.ebuild => pytest-cov-3.0.0-r2.ebuild} | 3 +--
 .../pytest-cov/{pytest-cov-4.0.0.ebuild => pytest-cov-4.0.0-r1.ebuild} | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-python/pytest-cov/pytest-cov-3.0.0-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-3.0.0-r2.ebuild
similarity index 95%
rename from dev-python/pytest-cov/pytest-cov-3.0.0-r1.ebuild
rename to dev-python/pytest-cov/pytest-cov-3.0.0-r2.ebuild
index 8a3e060d831e..65c69c8579d3 100644
--- a/dev-python/pytest-cov/pytest-cov-3.0.0-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-3.0.0-r2.ebuild
@@ -18,8 +18,7 @@ KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390
 RDEPEND="
>=dev-python/py-1.4.22[${PYTHON_USEDEP}]
>=dev-python/pytest-3.6[${PYTHON_USEDEP}]
-   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
-   dev-python/toml[${PYTHON_USEDEP}]
+   >=dev-python/coverage-6.4.4-r1[${PYTHON_USEDEP}]
 "
 BDEPEND="
test? (

diff --git a/dev-python/pytest-cov/pytest-cov-4.0.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
similarity index 95%
rename from dev-python/pytest-cov/pytest-cov-4.0.0.ebuild
rename to dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
index 00e9dce47cda..cdc52ee9890b 100644
--- a/dev-python/pytest-cov/pytest-cov-4.0.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-4.0.0-r1.ebuild
@@ -22,8 +22,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~m68k ~mips 
~ppc ~ppc64 ~riscv
 RDEPEND="
>=dev-python/py-1.4.22[${PYTHON_USEDEP}]
>=dev-python/pytest-3.6[${PYTHON_USEDEP}]
-   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
-   dev-python/toml[${PYTHON_USEDEP}]
+   >=dev-python/coverage-6.4.4-r1[${PYTHON_USEDEP}]
 "
 BDEPEND="
test? (



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2022-10-01 Thread Michał Górny
commit: 58368fd32c23c4facee8cfcbf99236ce4b51d94e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct  1 15:15:22 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct  1 15:54:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58368fd3

dev-python/pytest-cov: Bump to 4.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest|  1 +
 dev-python/pytest-cov/pytest-cov-4.0.0.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 3099cb0090e6..c4e0c945f72b 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1 +1,2 @@
 DIST pytest-cov-3.0.0.tar.gz 61440 BLAKE2B 
85f0b079c4c373191553271e34e78af68ac69ea53e3721aa0d43eb9dd55be935570eb15c0f8b954e4c0de6201c004ddef435ea70b03cfda893ecdcc230c283e7
 SHA512 
289d1b1e29dcc3461276de4c1bbd3884e4ec957efb7dd4c330bc3f25f1b978cbee64c0e2882b419eee5f9ccf44c9d1a23ce47a1b7cc7e436b9ebe894e4c11ae8
+DIST pytest-cov-4.0.0.tar.gz 62013 BLAKE2B 
af8a12955e3f22cd9dc257874f86c04c3c6e29f4af2d2838f37ca196c4955dcf4007c7b404f31c303d0eef6c3735fa1a6268c3bb9f01ed54860750ca2f83b6f5
 SHA512 
fb993be4d86b29a44e4f2ccd2309d99ab9fe8e6b291abbc2a8a3fc8b36479491165a242a20bfa9886dfd296fcc827da9984b556fdbe9a3ac496ac5b6ba379012

diff --git a/dev-python/pytest-cov/pytest-cov-4.0.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-4.0.0.ebuild
new file mode 100644
index ..00e9dce47cda
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-4.0.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="pytest plugin for coverage reporting"
+HOMEPAGE="
+   https://github.com/pytest-dev/pytest-cov/
+   https://pypi.org/project/pytest-cov/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
+   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
+   dev-python/toml[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/virtualenv[${PYTHON_USEDEP}]
+   dev-python/fields[${PYTHON_USEDEP}]
+   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx docs \
+   dev-python/sphinx-py3doc-enhanced-theme
+distutils_enable_tests pytest
+
+python_test() {
+   # NB: disabling all plugins speeds tests up a lot
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail
+
+   local EPYTEST_DESELECT=(
+   # attempts to install packages via pip (network)
+   tests/test_pytest_cov.py::test_dist_missing_data
+   # TODO
+   tests/test_pytest_cov.py::test_contexts
+   )
+
+   # TODO: why do we need to do that?!
+   # https://github.com/pytest-dev/pytest-cov/issues/517
+   ln -s "${BROOT}$(python_get_sitedir)/coverage" \
+   "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
+
+   epytest
+
+   rm "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2022-02-27 Thread Michał Górny
commit: 6cd3714880e4cd6d40b108703b86021daacea5fd
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 27 18:46:10 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 27 18:46:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cd37148

dev-python/pytest-cov: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-3.0.0.ebuild | 55 ---
 1 file changed, 55 deletions(-)

diff --git a/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
deleted file mode 100644
index 9c14153ab26d..
--- a/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-inherit distutils-r1
-
-DESCRIPTION="py.test plugin for coverage reporting"
-HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
-
-RDEPEND="
-   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
-   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
-   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
-   dev-python/toml[${PYTHON_USEDEP}]
-"
-# TODO: figure out how to make tests work without pytest-cov installed
-# first
-BDEPEND="
-   test? (
-   ~dev-python/pytest-cov-${PV}[${PYTHON_USEDEP}]
-   dev-python/virtualenv[${PYTHON_USEDEP}]
-   dev-python/fields[${PYTHON_USEDEP}]
-   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
-   dev-python/pytest-xdist[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx docs \
-   dev-python/sphinx-py3doc-enhanced-theme
-distutils_enable_tests pytest
-
-PATCHES=(
-   # https://github.com/pytest-dev/pytest-cov/pull/518
-   "${FILESDIR}"/${P}-coverage-6.2.patch
-)
-
-python_test() {
-   # NB: disabling all plugins speeds tests up a lot
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail
-
-   local EPYTEST_DESELECT=(
-   # attempts to install packages via pip (network)
-   tests/test_pytest_cov.py::test_dist_missing_data
-   )
-
-   epytest
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/files/, dev-python/pytest-cov/

2022-01-23 Thread Michał Górny
commit: 68ac981a6ec2ad91072cd4aba96492c680b33e7c
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jan 23 14:07:40 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jan 23 14:56:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ac981a

dev-python/pytest-cov: Backport test fix for coverage-6.2

Closes: https://bugs.gentoo.org/823766
Signed-off-by: Michał Górny  gentoo.org>

 .../files/pytest-cov-3.0.0-coverage-6.2.patch  | 30 ++
 dev-python/pytest-cov/pytest-cov-3.0.0.ebuild  |  7 -
 2 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/files/pytest-cov-3.0.0-coverage-6.2.patch 
b/dev-python/pytest-cov/files/pytest-cov-3.0.0-coverage-6.2.patch
new file mode 100644
index ..b44326d8b60d
--- /dev/null
+++ b/dev-python/pytest-cov/files/pytest-cov-3.0.0-coverage-6.2.patch
@@ -0,0 +1,30 @@
+From 6d06678a76d9275beb48917d7653ea6a610c7717 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Sun, 23 Jan 2022 15:03:35 +0100
+Subject: [PATCH] Update test_invalid_coverage_source for coverage-6.2
+
+Update test_invalid_coverage_source to make the "No data was collected"
+less strict, as the output has changed in coverage-6.2.  This solution
+was suggested by Tom Callaway (@spotrh) on the linked bug.
+
+Fixes #509
+---
+ tests/test_pytest_cov.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
+index f93d352..6d97949 100644
+--- a/tests/test_pytest_cov.py
 b/tests/test_pytest_cov.py
+@@ -981,7 +981,7 @@ def test_invalid_coverage_source(testdir):
+ '*10 passed*'
+ ])
+ result.stderr.fnmatch_lines([
+-'Coverage.py warning: No data was collected.*'
++'*No data was collected.*'
+ ])
+ result.stdout.fnmatch_lines([
+ '*Failed to generate report: No data to report.',
+-- 
+2.34.1
+

diff --git a/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
index 4d424eac1bdd..db4782be9764 100644
--- a/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -36,6 +36,11 @@ distutils_enable_sphinx docs \
dev-python/sphinx-py3doc-enhanced-theme
 distutils_enable_tests pytest
 
+PATCHES=(
+   # https://github.com/pytest-dev/pytest-cov/pull/518
+   "${FILESDIR}"/${P}-coverage-6.2.patch
+)
+
 EPYTEST_DESELECT=(
# attempts to install packages via pip (network)
tests/test_pytest_cov.py::test_dist_missing_data



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2022-01-23 Thread Michał Górny
commit: 6e0b2f634bc3956c46a6c112a53955b2cfb01607
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jan 23 14:21:42 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jan 23 14:56:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e0b2f63

dev-python/pytest-cov: Switch to PEP517 build

Closes: https://bugs.gentoo.org/765994
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-3.0.0-r1.ebuild | 60 
 1 file changed, 60 insertions(+)

diff --git a/dev-python/pytest-cov/pytest-cov-3.0.0-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-3.0.0-r1.ebuild
new file mode 100644
index ..99769d655c19
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-3.0.0-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="py.test plugin for coverage reporting"
+HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
+   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
+   dev-python/toml[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/virtualenv[${PYTHON_USEDEP}]
+   dev-python/fields[${PYTHON_USEDEP}]
+   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx docs \
+   dev-python/sphinx-py3doc-enhanced-theme
+distutils_enable_tests pytest
+
+PATCHES=(
+   # https://github.com/pytest-dev/pytest-cov/pull/518
+   "${FILESDIR}"/${P}-coverage-6.2.patch
+)
+
+python_test() {
+   # NB: disabling all plugins speeds tests up a lot
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail
+
+   local EPYTEST_DESELECT=(
+   # attempts to install packages via pip (network)
+   tests/test_pytest_cov.py::test_dist_missing_data
+   )
+
+   # TODO: why do we need to do that?!
+   # https://github.com/pytest-dev/pytest-cov/issues/517
+   ln -s "${BROOT}$(python_get_sitedir)/coverage" \
+   "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
+
+   epytest -x
+
+   rm "${BUILD_DIR}/install$(python_get_sitedir)/coverage" || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2022-01-23 Thread Michał Górny
commit: f7460cb0733e242c0bc5ecef18103969144e025b
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jan 23 14:10:31 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jan 23 14:56:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7460cb0

dev-python/pytest-cov: Disable pytest plugins to speed tests up

Disable unnecessary pytest plugins as loading them in subtests causes
major slowdown.

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-3.0.0.ebuild | 16 
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
index db4782be9764..9c14153ab26d 100644
--- a/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
@@ -41,7 +41,15 @@ PATCHES=(
"${FILESDIR}"/${P}-coverage-6.2.patch
 )
 
-EPYTEST_DESELECT=(
-   # attempts to install packages via pip (network)
-   tests/test_pytest_cov.py::test_dist_missing_data
-)
+python_test() {
+   # NB: disabling all plugins speeds tests up a lot
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytest_cov.plugin,xdist.plugin,xdist.looponfail
+
+   local EPYTEST_DESELECT=(
+   # attempts to install packages via pip (network)
+   tests/test_pytest_cov.py::test_dist_missing_data
+   )
+
+   epytest
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-11-05 Thread Arthur Zamarin
commit: 06caa591a9bef78ff47407b1d580aacdc4a51ee3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov  5 05:32:51 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov  5 05:40:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06caa591

dev-python/pytest-cov: drop 2.12.1

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pytest-cov/Manifest |  1 -
 dev-python/pytest-cov/pytest-cov-2.12.1.ebuild | 49 --
 2 files changed, 50 deletions(-)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 82e7b5eb161..3099cb0090e 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,2 +1 @@
-DIST pytest-cov-2.12.1.tar.gz 60395 BLAKE2B 
42e817c63c9d787de9bfaf804217a1e020d5a38e564df0ce2d43d6b4f0631aee43ccae329f44c6d7ac9a5662776463456d72138fd20c65cf8d0accfe118e1e2b
 SHA512 
4c234178febeba1ce93ec0804c3efe181d5d88db9ac02effe14e62eb3b0f7ca1f8757fb4f360551e0d3e35a3b6207892afea85611a49db6c71a2dbaacabc5375
 DIST pytest-cov-3.0.0.tar.gz 61440 BLAKE2B 
85f0b079c4c373191553271e34e78af68ac69ea53e3721aa0d43eb9dd55be935570eb15c0f8b954e4c0de6201c004ddef435ea70b03cfda893ecdcc230c283e7
 SHA512 
289d1b1e29dcc3461276de4c1bbd3884e4ec957efb7dd4c330bc3f25f1b978cbee64c0e2882b419eee5f9ccf44c9d1a23ce47a1b7cc7e436b9ebe894e4c11ae8

diff --git a/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild
deleted file mode 100644
index 4f559d991ad..000
--- a/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="py.test plugin for coverage reporting"
-HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
-   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
-   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
-   dev-python/toml[${PYTHON_USEDEP}]
-"
-# TODO: figure out how to make tests work without pytest-cov installed
-# first
-BDEPEND="
-   test? (
-   ${RDEPEND}
-   ~dev-python/pytest-cov-${PV}[${PYTHON_USEDEP}]
-   dev-python/virtualenv[${PYTHON_USEDEP}]
-   dev-python/fields[${PYTHON_USEDEP}]
-   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
-   dev-python/pytest-xdist[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx docs \
-   dev-python/sphinx-py3doc-enhanced-theme
-
-python_test() {
-   local deselect=(
-   # attempts to install packages via pip (network)
-   tests/test_pytest_cov.py::test_dist_missing_data
-   )
-
-   epytest ${deselect[@]/#/--deselect }
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-11-04 Thread Sam James
commit: 8157501a1e1a2df61ece675227e08bfbdc1bd0fe
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov  5 02:11:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov  5 02:11:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8157501a

dev-python/pytest-cov: Stabilize 3.0.0 ALLARCHES, #821787

Signed-off-by: Sam James  gentoo.org>

 dev-python/pytest-cov/pytest-cov-3.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
index e8c8e479010..4d424eac1bd 100644
--- a/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
 
 RDEPEND="
>=dev-python/py-1.4.22[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-10-04 Thread Michał Górny
commit: 455fda37d609f4079eefcc209c562a434699a857
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  4 05:48:15 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  4 08:05:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=455fda37

dev-python/pytest-cov: Bump to 3.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest|  1 +
 dev-python/pytest-cov/pytest-cov-3.0.0.ebuild | 42 +++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 58ede28671c..82e7b5eb161 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1 +1,2 @@
 DIST pytest-cov-2.12.1.tar.gz 60395 BLAKE2B 
42e817c63c9d787de9bfaf804217a1e020d5a38e564df0ce2d43d6b4f0631aee43ccae329f44c6d7ac9a5662776463456d72138fd20c65cf8d0accfe118e1e2b
 SHA512 
4c234178febeba1ce93ec0804c3efe181d5d88db9ac02effe14e62eb3b0f7ca1f8757fb4f360551e0d3e35a3b6207892afea85611a49db6c71a2dbaacabc5375
+DIST pytest-cov-3.0.0.tar.gz 61440 BLAKE2B 
85f0b079c4c373191553271e34e78af68ac69ea53e3721aa0d43eb9dd55be935570eb15c0f8b954e4c0de6201c004ddef435ea70b03cfda893ecdcc230c283e7
 SHA512 
289d1b1e29dcc3461276de4c1bbd3884e4ec957efb7dd4c330bc3f25f1b978cbee64c0e2882b419eee5f9ccf44c9d1a23ce47a1b7cc7e436b9ebe894e4c11ae8

diff --git a/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
new file mode 100644
index 000..e8c8e479010
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-3.0.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="py.test plugin for coverage reporting"
+HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
+   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
+   dev-python/toml[${PYTHON_USEDEP}]
+"
+# TODO: figure out how to make tests work without pytest-cov installed
+# first
+BDEPEND="
+   test? (
+   ~dev-python/pytest-cov-${PV}[${PYTHON_USEDEP}]
+   dev-python/virtualenv[${PYTHON_USEDEP}]
+   dev-python/fields[${PYTHON_USEDEP}]
+   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx docs \
+   dev-python/sphinx-py3doc-enhanced-theme
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+   # attempts to install packages via pip (network)
+   tests/test_pytest_cov.py::test_dist_missing_data
+)



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-09-21 Thread James Le Cuirot
commit: bd0378f50e169d2fbb1608cdf195105f9c53e44a
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Sep 21 21:34:24 2021 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Sep 21 21:34:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd0378f5

dev-python/pytest-cov: Keyword 2.12.1 for ~m68k

The tests pass.

Signed-off-by: James Le Cuirot  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild
index 4781883433f..4f559d991ad 100644
--- a/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-06-23 Thread Michał Górny
commit: e256f39395df893f522eb28f07cca4672954cd3c
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 23 21:12:48 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 23 21:17:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e256f393

dev-python/pytest-cov: Enable py3.10

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild
index ca0b0aa4ce5..4781883433f 100644
--- a/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-06-14 Thread Michał Górny
commit: 6c8cd26a0926b187772adaa274524c8ca27daf90
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jun 14 22:24:00 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 14 22:24:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c8cd26a

dev-python/pytest-cov: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest |  2 --
 dev-python/pytest-cov/pytest-cov-2.11.1.ebuild | 47 
 dev-python/pytest-cov/pytest-cov-2.12.0.ebuild | 49 --
 3 files changed, 98 deletions(-)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index f68703be817..58ede28671c 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,3 +1 @@
-DIST pytest-cov-2.11.1.tar.gz 59143 BLAKE2B 
21aeffbc9ccbe6a7c69a08fe3f0013204eb039c6dc9ddbb364a74ad10764e16ce7be0154e27beaab2c8f9b2a972131c4c2421c4aa4557efc18318556056a421b
 SHA512 
19c465f5972ee0ee3b9a2f1a656fdf5457622cb449f73a6f707d377a617807dadda997a6875f0c081bc4c4f7039559c6e7ce820b818db42dfd053c016e1c3b4e
-DIST pytest-cov-2.12.0.tar.gz 59596 BLAKE2B 
6eef2c062b687899009fdf7b4ef8825b3eeabc7be09fac897315cb99acb9176d11bf0d7f3704108caac1bddc32d158b88ddc69a5bd4815c1877cc238684abc3d
 SHA512 
fc94abd8c38ff4015bad4f9f23ee4691f376d436c16f4951021afadfb94dd359a46924d3c7c43dc3193641943f88e0eab04429aa57d26a65bc95622e512639e1
 DIST pytest-cov-2.12.1.tar.gz 60395 BLAKE2B 
42e817c63c9d787de9bfaf804217a1e020d5a38e564df0ce2d43d6b4f0631aee43ccae329f44c6d7ac9a5662776463456d72138fd20c65cf8d0accfe118e1e2b
 SHA512 
4c234178febeba1ce93ec0804c3efe181d5d88db9ac02effe14e62eb3b0f7ca1f8757fb4f360551e0d3e35a3b6207892afea85611a49db6c71a2dbaacabc5375

diff --git a/dev-python/pytest-cov/pytest-cov-2.11.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.11.1.ebuild
deleted file mode 100644
index 81320aa23f8..000
--- a/dev-python/pytest-cov/pytest-cov-2.11.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="py.test plugin for coverage reporting"
-HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
-   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
-   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
-"
-# TODO: figure out how to make tests work without pytest-cov installed
-# first
-BDEPEND="
-   test? (
-   ~dev-python/pytest-cov-${PV}[${PYTHON_USEDEP}]
-   dev-python/virtualenv[${PYTHON_USEDEP}]
-   dev-python/fields[${PYTHON_USEDEP}]
-   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
-   dev-python/pytest-xdist[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx docs \
-   dev-python/sphinx-py3doc-enhanced-theme
-
-python_test() {
-   local deselect=(
-   # attempts to install packages via pip (network)
-   tests/test_pytest_cov.py::test_dist_missing_data
-   )
-
-   pytest -vv ${deselect[@]/#/--deselect } || die "Tests failed under 
${EPYTHON}"
-}

diff --git a/dev-python/pytest-cov/pytest-cov-2.12.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.12.0.ebuild
deleted file mode 100644
index 8763efa3ffa..000
--- a/dev-python/pytest-cov/pytest-cov-2.12.0.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="py.test plugin for coverage reporting"
-HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
-   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
-   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
-   dev-python/toml[${PYTHON_USEDEP}]
-"
-# TODO: figure out how to make tests work without pytest-cov installed
-# first
-BDEPEND="
-   test? (
-   ${RDEPEND}
-   ~dev-python/pytest-cov-${PV}[${PYTHON_USEDEP}]
-   dev-python/virtualenv[${PYTHON_USEDEP}]
-   dev-python/fields[${PYTHON_USEDEP}]
-   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
-   dev-python/pytest-xdist[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx docs \
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-06-14 Thread Sam James
commit: 6750bf8b66f1eab53e4e7464af53448245975b35
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun 14 22:14:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 14 22:14:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6750bf8b

dev-python/pytest-cov: Stabilize 2.12.1 ALLARCHES, #796098

Signed-off-by: Sam James  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild
index 8763efa3ffa..ca0b0aa4ce5 100644
--- a/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-06-01 Thread Michał Górny
commit: 2697d6ad56fa354ebd34046aae06591c42989f64
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun  1 21:48:23 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun  1 22:44:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2697d6ad

dev-python/pytest-cov: Bump to 2.12.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest |  1 +
 dev-python/pytest-cov/pytest-cov-2.12.1.ebuild | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 0d2d2dba61a..f68703be817 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,2 +1,3 @@
 DIST pytest-cov-2.11.1.tar.gz 59143 BLAKE2B 
21aeffbc9ccbe6a7c69a08fe3f0013204eb039c6dc9ddbb364a74ad10764e16ce7be0154e27beaab2c8f9b2a972131c4c2421c4aa4557efc18318556056a421b
 SHA512 
19c465f5972ee0ee3b9a2f1a656fdf5457622cb449f73a6f707d377a617807dadda997a6875f0c081bc4c4f7039559c6e7ce820b818db42dfd053c016e1c3b4e
 DIST pytest-cov-2.12.0.tar.gz 59596 BLAKE2B 
6eef2c062b687899009fdf7b4ef8825b3eeabc7be09fac897315cb99acb9176d11bf0d7f3704108caac1bddc32d158b88ddc69a5bd4815c1877cc238684abc3d
 SHA512 
fc94abd8c38ff4015bad4f9f23ee4691f376d436c16f4951021afadfb94dd359a46924d3c7c43dc3193641943f88e0eab04429aa57d26a65bc95622e512639e1
+DIST pytest-cov-2.12.1.tar.gz 60395 BLAKE2B 
42e817c63c9d787de9bfaf804217a1e020d5a38e564df0ce2d43d6b4f0631aee43ccae329f44c6d7ac9a5662776463456d72138fd20c65cf8d0accfe118e1e2b
 SHA512 
4c234178febeba1ce93ec0804c3efe181d5d88db9ac02effe14e62eb3b0f7ca1f8757fb4f360551e0d3e35a3b6207892afea85611a49db6c71a2dbaacabc5375

diff --git a/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild
new file mode 100644
index 000..8763efa3ffa
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-2.12.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="py.test plugin for coverage reporting"
+HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
+   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
+   dev-python/toml[${PYTHON_USEDEP}]
+"
+# TODO: figure out how to make tests work without pytest-cov installed
+# first
+BDEPEND="
+   test? (
+   ${RDEPEND}
+   ~dev-python/pytest-cov-${PV}[${PYTHON_USEDEP}]
+   dev-python/virtualenv[${PYTHON_USEDEP}]
+   dev-python/fields[${PYTHON_USEDEP}]
+   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx docs \
+   dev-python/sphinx-py3doc-enhanced-theme
+
+python_test() {
+   local deselect=(
+   # attempts to install packages via pip (network)
+   tests/test_pytest_cov.py::test_dist_missing_data
+   )
+
+   epytest ${deselect[@]/#/--deselect }
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-05-15 Thread Michał Górny
commit: 18aaf32871afdb84079276029f91a6604114fc75
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 15 07:10:59 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 15 08:34:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18aaf328

dev-python/pytest-cov: Bump to 2.12.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest |  1 +
 dev-python/pytest-cov/pytest-cov-2.12.0.ebuild | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 368a96d8db1..0d2d2dba61a 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1 +1,2 @@
 DIST pytest-cov-2.11.1.tar.gz 59143 BLAKE2B 
21aeffbc9ccbe6a7c69a08fe3f0013204eb039c6dc9ddbb364a74ad10764e16ce7be0154e27beaab2c8f9b2a972131c4c2421c4aa4557efc18318556056a421b
 SHA512 
19c465f5972ee0ee3b9a2f1a656fdf5457622cb449f73a6f707d377a617807dadda997a6875f0c081bc4c4f7039559c6e7ce820b818db42dfd053c016e1c3b4e
+DIST pytest-cov-2.12.0.tar.gz 59596 BLAKE2B 
6eef2c062b687899009fdf7b4ef8825b3eeabc7be09fac897315cb99acb9176d11bf0d7f3704108caac1bddc32d158b88ddc69a5bd4815c1877cc238684abc3d
 SHA512 
fc94abd8c38ff4015bad4f9f23ee4691f376d436c16f4951021afadfb94dd359a46924d3c7c43dc3193641943f88e0eab04429aa57d26a65bc95622e512639e1

diff --git a/dev-python/pytest-cov/pytest-cov-2.12.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.12.0.ebuild
new file mode 100644
index 000..8763efa3ffa
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-2.12.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="py.test plugin for coverage reporting"
+HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
+   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
+   dev-python/toml[${PYTHON_USEDEP}]
+"
+# TODO: figure out how to make tests work without pytest-cov installed
+# first
+BDEPEND="
+   test? (
+   ${RDEPEND}
+   ~dev-python/pytest-cov-${PV}[${PYTHON_USEDEP}]
+   dev-python/virtualenv[${PYTHON_USEDEP}]
+   dev-python/fields[${PYTHON_USEDEP}]
+   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx docs \
+   dev-python/sphinx-py3doc-enhanced-theme
+
+python_test() {
+   local deselect=(
+   # attempts to install packages via pip (network)
+   tests/test_pytest_cov.py::test_dist_missing_data
+   )
+
+   epytest ${deselect[@]/#/--deselect }
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-02-24 Thread Michał Górny
commit: 2ad680a5d620244826364b72c21eb8a75b1aa06b
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb 24 22:14:29 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb 24 22:14:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ad680a5

dev-python/pytest-cov: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest |  1 -
 dev-python/pytest-cov/pytest-cov-2.11.0.ebuild | 47 --
 2 files changed, 48 deletions(-)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index e12fb77fb05..368a96d8db1 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,2 +1 @@
-DIST pytest-cov-2.11.0.tar.gz 59018 BLAKE2B 
f2ecaff439e701c3b7d029e4c51cb019d5222a083815ae5771341b0fa0f1b658f921a6eab75c0b568b630cc7ca75887f25ae7fb6fcaa9c2e8dc419397c4c799a
 SHA512 
001f4975d7ad1a573354074366f983887ec9035bcc29afe9bd1ae2654fab520b8f479c5037936e6131749e5205077e937304e73d366cb43460db1f24a58b02be
 DIST pytest-cov-2.11.1.tar.gz 59143 BLAKE2B 
21aeffbc9ccbe6a7c69a08fe3f0013204eb039c6dc9ddbb364a74ad10764e16ce7be0154e27beaab2c8f9b2a972131c4c2421c4aa4557efc18318556056a421b
 SHA512 
19c465f5972ee0ee3b9a2f1a656fdf5457622cb449f73a6f707d377a617807dadda997a6875f0c081bc4c4f7039559c6e7ce820b818db42dfd053c016e1c3b4e

diff --git a/dev-python/pytest-cov/pytest-cov-2.11.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.11.0.ebuild
deleted file mode 100644
index 60cf89a6e39..000
--- a/dev-python/pytest-cov/pytest-cov-2.11.0.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="py.test plugin for coverage reporting"
-HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
-   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
-   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
-"
-# TODO: figure out how to make tests work without pytest-cov installed
-# first
-BDEPEND="
-   test? (
-   ~dev-python/pytest-cov-${PV}[${PYTHON_USEDEP}]
-   dev-python/virtualenv[${PYTHON_USEDEP}]
-   dev-python/fields[${PYTHON_USEDEP}]
-   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
-   dev-python/pytest-xdist[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_sphinx docs \
-   dev-python/sphinx-py3doc-enhanced-theme
-
-python_test() {
-   local deselect=(
-   # attempts to install packages via pip (network)
-   tests/test_pytest_cov.py::test_dist_missing_data
-   )
-
-   pytest -vv ${deselect[@]/#/--deselect } || die "Tests failed under 
${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-02-24 Thread Sam James
commit: b6e6946e7aad1763395c93b6151db4a2e0132674
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 24 22:05:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 24 22:05:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6e6946e

dev-python/pytest-cov: Stabilize 2.11.1 ALLARCHES, #772521

Signed-off-by: Sam James  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.11.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.11.1.ebuild
index ae807ac41f7..60cf89a6e39 100644
--- a/dev-python/pytest-cov/pytest-cov-2.11.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.11.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-02-19 Thread Michał Górny
commit: 8b4c640f2d417cea5edd6976f1947142db42897c
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 19 08:53:41 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 19 08:57:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b4c640f

dev-python/pytest-cov: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest |  1 -
 dev-python/pytest-cov/pytest-cov-2.10.1.ebuild | 51 --
 2 files changed, 52 deletions(-)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 7328fa1a0df..e12fb77fb05 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,3 +1,2 @@
-DIST pytest-cov-2.10.1.tar.gz 56822 BLAKE2B 
45eba205a2c6687882445d3554cedc04ad556854f5eac8eb0fab7fda84cdf2736b034dfdceb664293d1add153a5271403eb94585a863676ccfef9ab09727d165
 SHA512 
2dd575141754a417f34b414ba7e07291c273abdc63a6b7dc72d317c6ec10076b83c2ad78eeefdda7cee1fd6f56932d838602da4dd760a1c0d12095be94c22568
 DIST pytest-cov-2.11.0.tar.gz 59018 BLAKE2B 
f2ecaff439e701c3b7d029e4c51cb019d5222a083815ae5771341b0fa0f1b658f921a6eab75c0b568b630cc7ca75887f25ae7fb6fcaa9c2e8dc419397c4c799a
 SHA512 
001f4975d7ad1a573354074366f983887ec9035bcc29afe9bd1ae2654fab520b8f479c5037936e6131749e5205077e937304e73d366cb43460db1f24a58b02be
 DIST pytest-cov-2.11.1.tar.gz 59143 BLAKE2B 
21aeffbc9ccbe6a7c69a08fe3f0013204eb039c6dc9ddbb364a74ad10764e16ce7be0154e27beaab2c8f9b2a972131c4c2421c4aa4557efc18318556056a421b
 SHA512 
19c465f5972ee0ee3b9a2f1a656fdf5457622cb449f73a6f707d377a617807dadda997a6875f0c081bc4c4f7039559c6e7ce820b818db42dfd053c016e1c3b4e

diff --git a/dev-python/pytest-cov/pytest-cov-2.10.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.10.1.ebuild
deleted file mode 100644
index fc5c14c4dd9..000
--- a/dev-python/pytest-cov/pytest-cov-2.10.1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7..9} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="py.test plugin for coverage reporting"
-HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
-   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
-   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
-"
-DEPEND="
-   test? (
-   dev-python/virtualenv[${PYTHON_USEDEP}]
-   dev-python/fields[${PYTHON_USEDEP}]
-   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
-   dev-python/pytest-xdist[${PYTHON_USEDEP}]
-   )
-"
-
-#PATCHES=(
-#  # Bug 597708
-#  "${FILESDIR}/${PN}-2.8.1-disable-broken-tests.patch"
-#  "${FILESDIR}/${PN}-2.8.1-latest-setuptools.patch"
-#  # https://github.com/pytest-dev/pytest-cov/issues/365
-#  "${FILESDIR}/pytest-cov-2.8.1-python38.patch"
-#)
-
-distutils_enable_sphinx docs \
-   dev-python/sphinx-py3doc-enhanced-theme
-
-python_test() {
-   distutils_install_for_testing
-   PYTHONPATH="${S}/tests:${BUILD_DIR}/lib:${PYTHONPATH}" \
-   PYTEST_PLUGINS=${PN/-/_} \
-   pytest -vv || die "Tests failed under ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-02-18 Thread Sam James
commit: a953f9d524a572396801ec6d3bd1cb4985ed5e6e
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 19 02:51:31 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 19 02:51:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a953f9d5

dev-python/pytest-cov: Stabilize 2.11.0 ALLARCHES, #771447

Signed-off-by: Sam James  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.11.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.11.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.11.0.ebuild
index ae807ac41f7..60cf89a6e39 100644
--- a/dev-python/pytest-cov/pytest-cov-2.11.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.11.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/files/, dev-python/pytest-cov/

2021-01-30 Thread Michał Górny
commit: 40ce7e923ae7e606a5347c30db8a3295dd171fe9
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan 30 20:13:40 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan 30 21:00:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40ce7e92

dev-python/pytest-cov: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest |  1 -
 .../pytest-cov-2.8.1-disable-broken-tests.patch| 20 -
 .../files/pytest-cov-2.8.1-latest-setuptools.patch | 40 -
 .../files/pytest-cov-2.8.1-python38.patch  | 52 --
 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild  | 51 -
 5 files changed, 164 deletions(-)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 59e6aad0125..7328fa1a0df 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,4 +1,3 @@
 DIST pytest-cov-2.10.1.tar.gz 56822 BLAKE2B 
45eba205a2c6687882445d3554cedc04ad556854f5eac8eb0fab7fda84cdf2736b034dfdceb664293d1add153a5271403eb94585a863676ccfef9ab09727d165
 SHA512 
2dd575141754a417f34b414ba7e07291c273abdc63a6b7dc72d317c6ec10076b83c2ad78eeefdda7cee1fd6f56932d838602da4dd760a1c0d12095be94c22568
 DIST pytest-cov-2.11.0.tar.gz 59018 BLAKE2B 
f2ecaff439e701c3b7d029e4c51cb019d5222a083815ae5771341b0fa0f1b658f921a6eab75c0b568b630cc7ca75887f25ae7fb6fcaa9c2e8dc419397c4c799a
 SHA512 
001f4975d7ad1a573354074366f983887ec9035bcc29afe9bd1ae2654fab520b8f479c5037936e6131749e5205077e937304e73d366cb43460db1f24a58b02be
 DIST pytest-cov-2.11.1.tar.gz 59143 BLAKE2B 
21aeffbc9ccbe6a7c69a08fe3f0013204eb039c6dc9ddbb364a74ad10764e16ce7be0154e27beaab2c8f9b2a972131c4c2421c4aa4557efc18318556056a421b
 SHA512 
19c465f5972ee0ee3b9a2f1a656fdf5457622cb449f73a6f707d377a617807dadda997a6875f0c081bc4c4f7039559c6e7ce820b818db42dfd053c016e1c3b4e
-DIST pytest-cov-2.8.1.tar.gz 47661 BLAKE2B 
590fd50b69d01a71b20982d8cdbed0698ebe24c290d791bb44c96aa1aaaf77cf1f379d565eb775864c6945facf6d271115236cb44b95e4a4c9bb7cc6fd591acf
 SHA512 
769a17c2095dbe990df148a0105c9e3dc88ac2265ac77ac31448dab6abf6d8cc0d54f5c6ff01fd708bd38700bfea93f57d3bb702bd9bb0a708257d094b2376ec

diff --git 
a/dev-python/pytest-cov/files/pytest-cov-2.8.1-disable-broken-tests.patch 
b/dev-python/pytest-cov/files/pytest-cov-2.8.1-disable-broken-tests.patch
deleted file mode 100644
index 660db5e5943..000
--- a/dev-python/pytest-cov/files/pytest-cov-2.8.1-disable-broken-tests.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
-index e79e9aa..e5ef2c1 100644
 a/tests/test_pytest_cov.py
-+++ b/tests/test_pytest_cov.py
-@@ -820,6 +820,7 @@ parallel = true
- assert result.ret == 0
- 
- 
-+@pytest.mark.skip(reason="test is broken")
- def test_central_subprocess_change_cwd_with_pythonpath(testdir, monkeypatch):
- stuff = testdir.mkdir('stuff')
- parent_script = stuff.join('parent_script.py')
-@@ -951,6 +952,7 @@ def test_invalid_coverage_source(testdir):
- assert not matching_lines
- 
- 
-+@pytest.mark.skip(reason="test is broken")
- @pytest.mark.skipif("'dev' in pytest.__version__")
- @pytest.mark.skipif('sys.platform == "win32" and 
platform.python_implementation() == "PyPy"')
- def test_dist_missing_data(testdir):

diff --git 
a/dev-python/pytest-cov/files/pytest-cov-2.8.1-latest-setuptools.patch 
b/dev-python/pytest-cov/files/pytest-cov-2.8.1-latest-setuptools.patch
deleted file mode 100644
index 8a9618c3fd9..000
--- a/dev-python/pytest-cov/files/pytest-cov-2.8.1-latest-setuptools.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff --git a/setup.py b/setup.py
-index 1305b23..3a5803e 100644
 a/setup.py
-+++ b/setup.py
-@@ -29,7 +29,7 @@ def read(*names, **kwargs):
- 
- 
- class BuildWithPTH(build):
--def run(self):
-+def run(self, **kwargs):
- build.run(self)
- path = join(dirname(__file__), 'src', 'pytest-cov.pth')
- dest = join(self.build_lib, basename(path))
-@@ -37,7 +37,7 @@ class BuildWithPTH(build):
- 
- 
- class EasyInstallWithPTH(easy_install):
--def run(self):
-+def run(self, **kwargs):
- easy_install.run(self)
- path = join(dirname(__file__), 'src', 'pytest-cov.pth')
- dest = join(self.install_dir, basename(path))
-@@ -45,7 +45,7 @@ class EasyInstallWithPTH(easy_install):
- 
- 
- class InstallLibWithPTH(install_lib):
--def run(self):
-+def run(self, **kwargs):
- install_lib.run(self)
- path = join(dirname(__file__), 'src', 'pytest-cov.pth')
- dest = join(self.install_dir, basename(path))
-@@ -57,7 +57,7 @@ class InstallLibWithPTH(install_lib):
- 
- 
- class DevelopWithPTH(develop):
--def run(self):
-+def run(self, **kwargs):
- develop.run(self)
- path = join(dirname(__file__), 'src', 'pytest-cov.pth')
- dest = join(self.install_dir, basename(path))

diff --git 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-01-30 Thread Sam James
commit: ad32a85808272d2d3ea9b5d0725017d811f0
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 30 19:31:53 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 30 19:31:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad32a8aa

dev-python/pytest-cov: Stabilize 2.10.1 ALLARCHES, #763777

Signed-off-by: Sam James  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.10.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.10.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.10.1.ebuild
index 3b5c7c30a5e..0f5d2c93e59 100644
--- a/dev-python/pytest-cov/pytest-cov-2.10.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.10.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-01-21 Thread Michał Górny
commit: 48e49291bb7a7fc0ef3a2f85ba8c3d04c5263ae9
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 21 10:30:01 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 21 10:41:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48e49291

dev-python/pytest-cov: Bump to 2.11.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest |  1 +
 dev-python/pytest-cov/pytest-cov-2.11.1.ebuild | 47 ++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 56779360547..59e6aad0125 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,3 +1,4 @@
 DIST pytest-cov-2.10.1.tar.gz 56822 BLAKE2B 
45eba205a2c6687882445d3554cedc04ad556854f5eac8eb0fab7fda84cdf2736b034dfdceb664293d1add153a5271403eb94585a863676ccfef9ab09727d165
 SHA512 
2dd575141754a417f34b414ba7e07291c273abdc63a6b7dc72d317c6ec10076b83c2ad78eeefdda7cee1fd6f56932d838602da4dd760a1c0d12095be94c22568
 DIST pytest-cov-2.11.0.tar.gz 59018 BLAKE2B 
f2ecaff439e701c3b7d029e4c51cb019d5222a083815ae5771341b0fa0f1b658f921a6eab75c0b568b630cc7ca75887f25ae7fb6fcaa9c2e8dc419397c4c799a
 SHA512 
001f4975d7ad1a573354074366f983887ec9035bcc29afe9bd1ae2654fab520b8f479c5037936e6131749e5205077e937304e73d366cb43460db1f24a58b02be
+DIST pytest-cov-2.11.1.tar.gz 59143 BLAKE2B 
21aeffbc9ccbe6a7c69a08fe3f0013204eb039c6dc9ddbb364a74ad10764e16ce7be0154e27beaab2c8f9b2a972131c4c2421c4aa4557efc18318556056a421b
 SHA512 
19c465f5972ee0ee3b9a2f1a656fdf5457622cb449f73a6f707d377a617807dadda997a6875f0c081bc4c4f7039559c6e7ce820b818db42dfd053c016e1c3b4e
 DIST pytest-cov-2.8.1.tar.gz 47661 BLAKE2B 
590fd50b69d01a71b20982d8cdbed0698ebe24c290d791bb44c96aa1aaaf77cf1f379d565eb775864c6945facf6d271115236cb44b95e4a4c9bb7cc6fd591acf
 SHA512 
769a17c2095dbe990df148a0105c9e3dc88ac2265ac77ac31448dab6abf6d8cc0d54f5c6ff01fd708bd38700bfea93f57d3bb702bd9bb0a708257d094b2376ec

diff --git a/dev-python/pytest-cov/pytest-cov-2.11.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.11.1.ebuild
new file mode 100644
index 000..ae807ac41f7
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-2.11.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="py.test plugin for coverage reporting"
+HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
+   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
+"
+# TODO: figure out how to make tests work without pytest-cov installed
+# first
+BDEPEND="
+   test? (
+   ~dev-python/pytest-cov-${PV}[${PYTHON_USEDEP}]
+   dev-python/virtualenv[${PYTHON_USEDEP}]
+   dev-python/fields[${PYTHON_USEDEP}]
+   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx docs \
+   dev-python/sphinx-py3doc-enhanced-theme
+
+python_test() {
+   local deselect=(
+   # attempts to install packages via pip (network)
+   tests/test_pytest_cov.py::test_dist_missing_data
+   )
+
+   pytest -vv ${deselect[@]/#/--deselect } || die "Tests failed under 
${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-01-18 Thread Michał Górny
commit: 5ac07954ff0cff16d690f309e07c3227a29afd1f
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan 18 11:11:35 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan 18 11:41:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ac07954

dev-python/pytest-cov: Bump to 2.11.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest |  1 +
 dev-python/pytest-cov/pytest-cov-2.11.0.ebuild | 47 ++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 95a1cc552cf..56779360547 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,2 +1,3 @@
 DIST pytest-cov-2.10.1.tar.gz 56822 BLAKE2B 
45eba205a2c6687882445d3554cedc04ad556854f5eac8eb0fab7fda84cdf2736b034dfdceb664293d1add153a5271403eb94585a863676ccfef9ab09727d165
 SHA512 
2dd575141754a417f34b414ba7e07291c273abdc63a6b7dc72d317c6ec10076b83c2ad78eeefdda7cee1fd6f56932d838602da4dd760a1c0d12095be94c22568
+DIST pytest-cov-2.11.0.tar.gz 59018 BLAKE2B 
f2ecaff439e701c3b7d029e4c51cb019d5222a083815ae5771341b0fa0f1b658f921a6eab75c0b568b630cc7ca75887f25ae7fb6fcaa9c2e8dc419397c4c799a
 SHA512 
001f4975d7ad1a573354074366f983887ec9035bcc29afe9bd1ae2654fab520b8f479c5037936e6131749e5205077e937304e73d366cb43460db1f24a58b02be
 DIST pytest-cov-2.8.1.tar.gz 47661 BLAKE2B 
590fd50b69d01a71b20982d8cdbed0698ebe24c290d791bb44c96aa1aaaf77cf1f379d565eb775864c6945facf6d271115236cb44b95e4a4c9bb7cc6fd591acf
 SHA512 
769a17c2095dbe990df148a0105c9e3dc88ac2265ac77ac31448dab6abf6d8cc0d54f5c6ff01fd708bd38700bfea93f57d3bb702bd9bb0a708257d094b2376ec

diff --git a/dev-python/pytest-cov/pytest-cov-2.11.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.11.0.ebuild
new file mode 100644
index 000..ae807ac41f7
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-2.11.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="py.test plugin for coverage reporting"
+HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
+   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
+"
+# TODO: figure out how to make tests work without pytest-cov installed
+# first
+BDEPEND="
+   test? (
+   ~dev-python/pytest-cov-${PV}[${PYTHON_USEDEP}]
+   dev-python/virtualenv[${PYTHON_USEDEP}]
+   dev-python/fields[${PYTHON_USEDEP}]
+   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_sphinx docs \
+   dev-python/sphinx-py3doc-enhanced-theme
+
+python_test() {
+   local deselect=(
+   # attempts to install packages via pip (network)
+   tests/test_pytest_cov.py::test_dist_missing_data
+   )
+
+   pytest -vv ${deselect[@]/#/--deselect } || die "Tests failed under 
${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2021-01-18 Thread Michał Górny
commit: 6c869573009676d7a73d01826af96aaec6cf6711
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan 18 11:41:41 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan 18 11:41:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c869573

dev-python/pytest-cov: Remove obsolete remote-id

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/pytest-cov/metadata.xml 
b/dev-python/pytest-cov/metadata.xml
index 406193f5696..2b08bf4d229 100644
--- a/dev-python/pytest-cov/metadata.xml
+++ b/dev-python/pytest-cov/metadata.xml
@@ -8,7 +8,6 @@
   
   
 pytest-cov
-memedough/pytest-cov
 pytest-dev/pytest-cov
   
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2020-12-01 Thread Andrey Grozin
commit: df94abc7f98124e113996a6f5c2ff5e5d4ae8e3a
Author: Andrey Grozin  gentoo  org>
AuthorDate: Tue Dec  1 10:39:44 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Tue Dec  1 10:40:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df94abc7

dev-python/pytest-cov: bump to 2.10.1

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 dev-python/pytest-cov/Manifest |  1 +
 dev-python/pytest-cov/pytest-cov-2.10.1.ebuild | 51 ++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 89a5464f923..95a1cc552cf 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1 +1,2 @@
+DIST pytest-cov-2.10.1.tar.gz 56822 BLAKE2B 
45eba205a2c6687882445d3554cedc04ad556854f5eac8eb0fab7fda84cdf2736b034dfdceb664293d1add153a5271403eb94585a863676ccfef9ab09727d165
 SHA512 
2dd575141754a417f34b414ba7e07291c273abdc63a6b7dc72d317c6ec10076b83c2ad78eeefdda7cee1fd6f56932d838602da4dd760a1c0d12095be94c22568
 DIST pytest-cov-2.8.1.tar.gz 47661 BLAKE2B 
590fd50b69d01a71b20982d8cdbed0698ebe24c290d791bb44c96aa1aaaf77cf1f379d565eb775864c6945facf6d271115236cb44b95e4a4c9bb7cc6fd591acf
 SHA512 
769a17c2095dbe990df148a0105c9e3dc88ac2265ac77ac31448dab6abf6d8cc0d54f5c6ff01fd708bd38700bfea93f57d3bb702bd9bb0a708257d094b2376ec

diff --git a/dev-python/pytest-cov/pytest-cov-2.10.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.10.1.ebuild
new file mode 100644
index 000..3b5c7c30a5e
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-2.10.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6..9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="py.test plugin for coverage reporting"
+HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
+   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
+"
+DEPEND="
+   test? (
+   dev-python/virtualenv[${PYTHON_USEDEP}]
+   dev-python/fields[${PYTHON_USEDEP}]
+   >=dev-python/process-tests-2.0.2[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+#PATCHES=(
+#  # Bug 597708
+#  "${FILESDIR}/${PN}-2.8.1-disable-broken-tests.patch"
+#  "${FILESDIR}/${PN}-2.8.1-latest-setuptools.patch"
+#  # https://github.com/pytest-dev/pytest-cov/issues/365
+#  "${FILESDIR}/pytest-cov-2.8.1-python38.patch"
+#)
+
+distutils_enable_sphinx docs \
+   dev-python/sphinx-py3doc-enhanced-theme
+
+python_test() {
+   distutils_install_for_testing
+   PYTHONPATH="${S}/tests:${BUILD_DIR}/lib:${PYTHONPATH}" \
+   PYTEST_PLUGINS=${PN/-/_} \
+   pytest -vv || die "Tests failed under ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2020-11-18 Thread Michał Górny
commit: 7fc6bd142dc10dc3ee466be2a24b84d484ca5319
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 18 08:35:27 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 18 08:47:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fc6bd14

dev-python/pytest-cov: Remove hppa keyword due to deps losing it

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
index cb1fb3d6112..960f0686259 100644
--- a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc 
x86"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2020-10-16 Thread Michał Górny
commit: e95a12b6e35b8868d3079d70a28fb45157ce98d7
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Oct 15 06:13:58 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 16 18:21:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e95a12b6

dev-python/pytest-cov: correct DISTUTILS_USE_SETUPTOOLS

Closes: https://bugs.gentoo.org/748663
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
index 167fb81e8b9..cb1fb3d6112 100644
--- a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python3_{6..9} pypy3 )
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2020-08-01 Thread Michał Górny
commit: e14f5477fcfad69f11294338fbbb31f3f2e33e4d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug  1 21:47:13 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug  1 21:48:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e14f5477

dev-python/pytest-cov: Remove py2.7

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
index 9bf83792752..974fb87fee8 100644
--- a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python{2_7,3_{6..9}} pypy3 )
+PYTHON_COMPAT=( python3_{6..9} pypy3 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2020-06-16 Thread Michał Górny
commit: 6122a68a7f39ce1ba92a405ba7c6cfbedb7b3f66
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 16 06:59:20 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 16 08:18:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6122a68a

dev-python/pytest-cov: Port to py3.9

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
index 788897781d0..9bf83792752 100644
--- a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
+PYTHON_COMPAT=( python{2_7,3_{6..9}} pypy3 )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2020-03-28 Thread Michał Górny
commit: 02b07670d750bd0dd703192fd31def6dcb64c1ed
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 18:32:04 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 18:48:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b07670

dev-python/pytest-cov: Stabilize 2.8.1 ALLARCHES

Closes: https://bugs.gentoo.org/714720
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
index 2c1f3a75189..0c220db89f3 100644
--- a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ia64 ~mips ppc ppc64 ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/files/, dev-python/pytest-cov/

2020-03-28 Thread Michał Górny
commit: 84c5be23e827cd487c484f647308f1d521e86382
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 18:32:39 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 18:48:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84c5be23

dev-python/pytest-cov: Remove redundant versions

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/Manifest |  2 -
 .../files/fix-for-deprecation-warnings.patch   | 16 --
 .../pytest-cov-2.6.1-disable-broken-tests.patch| 22 
 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild  | 60 --
 dev-python/pytest-cov/pytest-cov-2.6.1.ebuild  | 58 -
 5 files changed, 158 deletions(-)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 80209ad865e..89a5464f923 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,3 +1 @@
-DIST pytest-cov-2.3.1.tar.gz 35378 BLAKE2B 
758846db0b06ef9534823d3458ad6211b0cfc14b551a6e1737573a5c1c5bb59c23b26d3448ff8a67d65a4293ce75dd8c79d4916d3d9a7db5021db6b907152230
 SHA512 
79770beb53fbb43b5d68311c2efd0accbfd890ab6dad299da8c1c0b3d26b54d984807313b1507900cda7004bfb50fedc0bd4341cfcfce47849a4f24fc8184f11
-DIST pytest-cov-2.6.1.tar.gz 35307 BLAKE2B 
11974ff70ed5609d7db3c4c35f5b528b0ec36b48cfaf06974a090127706e0964841347592ac3f1e086f46800857ee10c05404045b6a4b467ffa278c2ee1e1957
 SHA512 
2dfd16e013d8bfbe5d14990f419291b651dd11560328a7e59b5449016d51b17f84d4ee3866fda866c3530389d206b1c4c67c84b23f097281c3963ffd19ea8caa
 DIST pytest-cov-2.8.1.tar.gz 47661 BLAKE2B 
590fd50b69d01a71b20982d8cdbed0698ebe24c290d791bb44c96aa1aaaf77cf1f379d565eb775864c6945facf6d271115236cb44b95e4a4c9bb7cc6fd591acf
 SHA512 
769a17c2095dbe990df148a0105c9e3dc88ac2265ac77ac31448dab6abf6d8cc0d54f5c6ff01fd708bd38700bfea93f57d3bb702bd9bb0a708257d094b2376ec

diff --git a/dev-python/pytest-cov/files/fix-for-deprecation-warnings.patch 
b/dev-python/pytest-cov/files/fix-for-deprecation-warnings.patch
deleted file mode 100644
index a555ca53fc9..000
--- a/dev-python/pytest-cov/files/fix-for-deprecation-warnings.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
-index 6cbf341..614e53c 100644
 a/tests/test_pytest_cov.py
-+++ b/tests/test_pytest_cov.py
-@@ -337,7 +337,10 @@ def test_central_nonspecific(testdir):
- ])
- 
- # multi-module coverage report
--assert any(line.startswith('TOTAL ') for line in result.stdout.lines[-4:])
-+# Fix test failure due to pytest deprecation warnings being
-+# added to the expected output.  Look in entire output lines instead.
-+# assert any(line.startswith('TOTAL ') for line in 
result.stdout.lines[-4:])
-+assert any(line.startswith('TOTAL ') for line in 
result.stdout.lines[-10:])
- 
- assert result.ret == 0
- 

diff --git 
a/dev-python/pytest-cov/files/pytest-cov-2.6.1-disable-broken-tests.patch 
b/dev-python/pytest-cov/files/pytest-cov-2.6.1-disable-broken-tests.patch
deleted file mode 100644
index 1d8e36b451b..000
--- a/dev-python/pytest-cov/files/pytest-cov-2.6.1-disable-broken-tests.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
-index 2896ac9..5f753e8 100644
 a/tests/test_pytest_cov.py
-+++ b/tests/test_pytest_cov.py
-@@ -699,7 +699,7 @@ parallel = true
- assert result.ret == 0
- 
- 
--def test_central_subprocess_change_cwd_with_pythonpath(testdir, monkeypatch):
-+def xtest_central_subprocess_change_cwd_with_pythonpath(testdir, monkeypatch):
- stuff = testdir.mkdir('stuff')
- parent_script = stuff.join('parent_script.py')
- parent_script.write(SCRIPT_PARENT_CHANGE_CWD_IMPORT_CHILD)
-@@ -829,7 +829,7 @@ def test_invalid_coverage_source(testdir):
- 
- 
- @pytest.mark.skipif("'dev' in pytest.__version__")
--def test_dist_missing_data(testdir):
-+def xtest_dist_missing_data(testdir):
- venv_path = os.path.join(str(testdir.tmpdir), 'venv')
- virtualenv.create_environment(venv_path)
- if sys.platform == 'win32':

diff --git a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
deleted file mode 100644
index f3edac31813..000
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="py.test plugin for coverage reporting"
-HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 sparc x86"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2020-03-28 Thread Michał Górny
commit: 4c7a6f853265dff87072b340f8f39c02e1833527
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 18:31:08 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 18:48:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c7a6f85

dev-python/pytest-cov: Mark ALLARCHES

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pytest-cov/metadata.xml 
b/dev-python/pytest-cov/metadata.xml
index 8dbf3c52128..406193f5696 100644
--- a/dev-python/pytest-cov/metadata.xml
+++ b/dev-python/pytest-cov/metadata.xml
@@ -5,6 +5,7 @@
 pyt...@gentoo.org
 Python
   
+  
   
 pytest-cov
 memedough/pytest-cov



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2020-03-28 Thread Michał Górny
commit: f6f2a53ad504fb31382046356a2d4560739381c8
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 18:30:38 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 18:48:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6f2a53a

dev-python/pytest-cov: Set DISTUTILS_USE_SETUPTOOLS

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
index 1e4b3ea6f14..2c1f3a75189 100644
--- a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python{2_7,3_{6,7,8}} pypy3 )
 
 inherit distutils-r1
@@ -23,7 +24,6 @@ RDEPEND="
>=dev-python/coverage-4.4[${PYTHON_USEDEP}]
 "
 DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/virtualenv[${PYTHON_USEDEP}]
dev-python/fields[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2020-03-26 Thread Agostino Sarubbo
commit: ee9888defc21463eac4a75bbc8f014b6ac0493ae
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Mar 26 10:19:15 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Mar 26 10:19:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee9888de

dev-python/pytest-cov: arm stable wrt bug #714720

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
index 4727c21bcc3..1e4b3ea6f14 100644
--- a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ia64 ~mips ppc ppc64 ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ia64 ~mips ppc ppc64 ~s390 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2020-03-26 Thread Agostino Sarubbo
commit: fadc6d5f0e6c115b922aaebc65a25c3f2a90db1b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Mar 26 08:29:07 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Mar 26 08:29:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fadc6d5f

dev-python/pytest-cov: ia64 stable wrt bug #714720

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
index 8b078bb0b67..4727c21bcc3 100644
--- a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ia64 ~mips ppc ppc64 ~s390 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2020-03-25 Thread Agostino Sarubbo
commit: 57b71f0f5353fdad870b10c68a9981bd201970a6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 25 17:43:32 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 25 17:43:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57b71f0f

dev-python/pytest-cov: x86 stable wrt bug #714720

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
index cac9bb81fba..8b078bb0b67 100644
--- a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ppc ppc64 ~s390 ~sparc x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2020-03-25 Thread Agostino Sarubbo
commit: 854ded3626ab15bbaa455a73f92fee90c4432bd4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 25 16:13:57 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 25 16:14:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=854ded36

dev-python/pytest-cov: ppc64 stable wrt bug #714720

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
index 1584b478ba7..cac9bb81fba 100644
--- a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2020-03-25 Thread Agostino Sarubbo
commit: 89b236e07b1966d3b9fa670517fb0ea2f48b4bc5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 25 16:12:51 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 25 16:12:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89b236e0

dev-python/pytest-cov: ppc stable wrt bug #714720

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
index 2004e0be8ef..1584b478ba7 100644
--- a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/files/, dev-python/pytest-cov/

2019-12-05 Thread Patrick McLean
commit: 4480ad059cf7edb93dee4f70790c940951bde781
Author: Patrick McLean  sony  com>
AuthorDate: Fri Dec  6 04:36:52 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Dec  6 04:36:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4480ad05

dev-python/pytest-cov-2.8.1: Add py38

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Patrick McLean  gentoo.org>

 .../files/pytest-cov-2.8.1-latest-setuptools.patch | 40 +
 .../files/pytest-cov-2.8.1-python38.patch  | 52 ++
 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild  |  5 ++-
 3 files changed, 96 insertions(+), 1 deletion(-)

diff --git 
a/dev-python/pytest-cov/files/pytest-cov-2.8.1-latest-setuptools.patch 
b/dev-python/pytest-cov/files/pytest-cov-2.8.1-latest-setuptools.patch
new file mode 100644
index 000..8a9618c3fd9
--- /dev/null
+++ b/dev-python/pytest-cov/files/pytest-cov-2.8.1-latest-setuptools.patch
@@ -0,0 +1,40 @@
+diff --git a/setup.py b/setup.py
+index 1305b23..3a5803e 100644
+--- a/setup.py
 b/setup.py
+@@ -29,7 +29,7 @@ def read(*names, **kwargs):
+ 
+ 
+ class BuildWithPTH(build):
+-def run(self):
++def run(self, **kwargs):
+ build.run(self)
+ path = join(dirname(__file__), 'src', 'pytest-cov.pth')
+ dest = join(self.build_lib, basename(path))
+@@ -37,7 +37,7 @@ class BuildWithPTH(build):
+ 
+ 
+ class EasyInstallWithPTH(easy_install):
+-def run(self):
++def run(self, **kwargs):
+ easy_install.run(self)
+ path = join(dirname(__file__), 'src', 'pytest-cov.pth')
+ dest = join(self.install_dir, basename(path))
+@@ -45,7 +45,7 @@ class EasyInstallWithPTH(easy_install):
+ 
+ 
+ class InstallLibWithPTH(install_lib):
+-def run(self):
++def run(self, **kwargs):
+ install_lib.run(self)
+ path = join(dirname(__file__), 'src', 'pytest-cov.pth')
+ dest = join(self.install_dir, basename(path))
+@@ -57,7 +57,7 @@ class InstallLibWithPTH(install_lib):
+ 
+ 
+ class DevelopWithPTH(develop):
+-def run(self):
++def run(self, **kwargs):
+ develop.run(self)
+ path = join(dirname(__file__), 'src', 'pytest-cov.pth')
+ dest = join(self.install_dir, basename(path))

diff --git a/dev-python/pytest-cov/files/pytest-cov-2.8.1-python38.patch 
b/dev-python/pytest-cov/files/pytest-cov-2.8.1-python38.patch
new file mode 100644
index 000..6292672b619
--- /dev/null
+++ b/dev-python/pytest-cov/files/pytest-cov-2.8.1-python38.patch
@@ -0,0 +1,52 @@
+diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
+index e79e9aa..198478b 100644
+--- a/tests/test_pytest_cov.py
 b/tests/test_pytest_cov.py
+@@ -662,6 +662,7 @@ def test_fail(p):
+ ])
+ 
+ 
++@pytest.mark.skipif("sys.hexversion >= 0x308", reason="Seems buggy on 
python3.8")
+ @pytest.mark.skipif('sys.platform == "win32" or 
platform.python_implementation() == "PyPy"')
+ def test_dist_combine_racecondition(testdir):
+ script = testdir.makepyfile("""
+@@ -1018,6 +1019,7 @@ def test_funcarg_not_active(testdir):
+ assert result.ret == 0
+ 
+ 
++@pytest.mark.skipif("sys.hexversion >= 0x308", 
reason="https://bugs.python.org/issue38227;)
+ @pytest.mark.skipif("sys.version_info[0] < 3", reason="no context manager api 
on Python 2")
+ @pytest.mark.skipif('sys.platform == "win32"', reason="multiprocessing 
support is broken on Windows")
+ @pytest.mark.skipif('platform.python_implementation() == "PyPy"', 
reason="often deadlocks on PyPy")
+@@ -1059,6 +1061,7 @@ def test_run_target():
+ assert result.ret == 0
+ 
+ 
++@pytest.mark.skipif("sys.hexversion >= 0x308", 
reason="https://bugs.python.org/issue38227;)
+ @pytest.mark.skipif('sys.platform == "win32"', reason="multiprocessing 
support is broken on Windows")
+ @pytest.mark.skipif('platform.python_implementation() == "PyPy"', 
reason="often deadlocks on PyPy")
+ def test_multiprocessing_pool_terminate(testdir):
+@@ -1141,6 +1144,7 @@ def test_run_target():
+ assert result.ret == 0
+ 
+ 
++@pytest.mark.skipif("sys.hexversion >= 0x308", 
reason="https://bugs.python.org/issue38227;)
+ @pytest.mark.skipif('sys.platform == "win32"', reason="multiprocessing 
support is broken on Windows")
+ def test_multiprocessing_process(testdir):
+ pytest.importorskip('multiprocessing.util')
+@@ -1171,6 +1175,7 @@ def test_run_target():
+ assert result.ret == 0
+ 
+ 
++@pytest.mark.skipif("sys.hexversion >= 0x308", 
reason="https://bugs.python.org/issue38227;)
+ @pytest.mark.skipif('sys.platform == "win32"', reason="multiprocessing 
support is broken on Windows")
+ def test_multiprocessing_process_no_source(testdir):
+ pytest.importorskip('multiprocessing.util')
+@@ -1201,6 +1206,7 @@ def test_run_target():
+ assert result.ret == 0
+ 
+ 
++@pytest.mark.skipif("sys.hexversion >= 0x308", 
reason="https://bugs.python.org/issue38227;)

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2019-12-02 Thread Aaron Bauman
commit: f623dbe556e625e97549badb2d45ba7d23c8f524
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Dec  2 20:20:29 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Dec  2 21:13:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f623dbe5

dev-python/pytest-cov: amd64 stable

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.80, Repoman-2.3.19

 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
index 2f7b6ae7106..fd55f343bc2 100644
--- a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2019-11-25 Thread Michał Górny
commit: 023be61468d7a39102f829b41aec616c3bc3ceac
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Nov 25 12:25:18 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Nov 25 12:35:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=023be614

dev-python/pytest-cov: Use distutils_enable_sphinx

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild | 27 ---
 1 file changed, 4 insertions(+), 23 deletions(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
index 10e7f1f4e01..2f7b6ae7106 100644
--- a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -14,16 +14,13 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
-IUSE="doc test"
+IUSE="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
>=dev-python/py-1.4.22[${PYTHON_USEDEP}]
>=dev-python/pytest-3.6[${PYTHON_USEDEP}]
>=dev-python/coverage-4.4[${PYTHON_USEDEP}]
-   doc? (
-   $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
-   $(python_gen_any_dep 
'dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}]')
-   )
 "
 DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
@@ -35,24 +32,13 @@ DEPEND="
)
 "
 
-RESTRICT="!test? ( test )"
-
 PATCHES=(
# Bug 597708
"${FILESDIR}/${PN}-2.8.1-disable-broken-tests.patch"
 )
 
-python_check_deps() {
-   use doc || return 0
-   local dep
-   for dep in dev-python/sphinx dev-python/sphinx-py3doc-enhanced-theme; do
-   has_version ${dep}[${PYTHON_USEDEP}] || return ${?}
-   done
-}
-
-python_compile_all() {
-   use doc && sphinx-build -b html docs _build/html
-}
+distutils_enable_sphinx docs \
+   dev-python/sphinx-py3doc-enhanced-theme
 
 python_test() {
distutils_install_for_testing
@@ -60,8 +46,3 @@ python_test() {
PYTEST_PLUGINS=${PN/-/_} \
pytest -vv || die "Tests failed under ${EPYTHON}"
 }
-
-python_install_all() {
-   use doc && HTML_DOCS=( _build/html/. )
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/files/, dev-python/pytest-cov/

2019-11-21 Thread Patrick McLean
commit: acaca9f5de2b346664ea6715e5b8724f5c545093
Author: Patrick McLean  sony  com>
AuthorDate: Fri Nov 22 03:12:16 2019 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Fri Nov 22 03:15:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acaca9f5

dev-python/pytest-cov: Version bump to 2.8.1

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean  gentoo.org>

 dev-python/pytest-cov/Manifest |  1 +
 .../pytest-cov-2.8.1-disable-broken-tests.patch| 20 +++
 dev-python/pytest-cov/pytest-cov-2.8.1.ebuild  | 67 ++
 3 files changed, 88 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index a6c3db6454a..80209ad865e 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,2 +1,3 @@
 DIST pytest-cov-2.3.1.tar.gz 35378 BLAKE2B 
758846db0b06ef9534823d3458ad6211b0cfc14b551a6e1737573a5c1c5bb59c23b26d3448ff8a67d65a4293ce75dd8c79d4916d3d9a7db5021db6b907152230
 SHA512 
79770beb53fbb43b5d68311c2efd0accbfd890ab6dad299da8c1c0b3d26b54d984807313b1507900cda7004bfb50fedc0bd4341cfcfce47849a4f24fc8184f11
 DIST pytest-cov-2.6.1.tar.gz 35307 BLAKE2B 
11974ff70ed5609d7db3c4c35f5b528b0ec36b48cfaf06974a090127706e0964841347592ac3f1e086f46800857ee10c05404045b6a4b467ffa278c2ee1e1957
 SHA512 
2dfd16e013d8bfbe5d14990f419291b651dd11560328a7e59b5449016d51b17f84d4ee3866fda866c3530389d206b1c4c67c84b23f097281c3963ffd19ea8caa
+DIST pytest-cov-2.8.1.tar.gz 47661 BLAKE2B 
590fd50b69d01a71b20982d8cdbed0698ebe24c290d791bb44c96aa1aaaf77cf1f379d565eb775864c6945facf6d271115236cb44b95e4a4c9bb7cc6fd591acf
 SHA512 
769a17c2095dbe990df148a0105c9e3dc88ac2265ac77ac31448dab6abf6d8cc0d54f5c6ff01fd708bd38700bfea93f57d3bb702bd9bb0a708257d094b2376ec

diff --git 
a/dev-python/pytest-cov/files/pytest-cov-2.8.1-disable-broken-tests.patch 
b/dev-python/pytest-cov/files/pytest-cov-2.8.1-disable-broken-tests.patch
new file mode 100644
index 000..660db5e5943
--- /dev/null
+++ b/dev-python/pytest-cov/files/pytest-cov-2.8.1-disable-broken-tests.patch
@@ -0,0 +1,20 @@
+diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
+index e79e9aa..e5ef2c1 100644
+--- a/tests/test_pytest_cov.py
 b/tests/test_pytest_cov.py
+@@ -820,6 +820,7 @@ parallel = true
+ assert result.ret == 0
+ 
+ 
++@pytest.mark.skip(reason="test is broken")
+ def test_central_subprocess_change_cwd_with_pythonpath(testdir, monkeypatch):
+ stuff = testdir.mkdir('stuff')
+ parent_script = stuff.join('parent_script.py')
+@@ -951,6 +952,7 @@ def test_invalid_coverage_source(testdir):
+ assert not matching_lines
+ 
+ 
++@pytest.mark.skip(reason="test is broken")
+ @pytest.mark.skipif("'dev' in pytest.__version__")
+ @pytest.mark.skipif('sys.platform == "win32" and 
platform.python_implementation() == "PyPy"')
+ def test_dist_missing_data(testdir):

diff --git a/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
new file mode 100644
index 000..10e7f1f4e01
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-2.8.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} pypy{,3} )
+
+inherit distutils-r1
+
+DESCRIPTION="py.test plugin for coverage reporting"
+HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="doc test"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
+   >=dev-python/coverage-4.4[${PYTHON_USEDEP}]
+   doc? (
+   $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
+   $(python_gen_any_dep 
'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-2.0.2[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=(
+   # Bug 597708
+   "${FILESDIR}/${PN}-2.8.1-disable-broken-tests.patch"
+)
+
+python_check_deps() {
+   use doc || return 0
+   local dep
+   for dep in dev-python/sphinx dev-python/sphinx-py3doc-enhanced-theme; do
+   has_version ${dep}[${PYTHON_USEDEP}] || return ${?}
+   done
+}
+
+python_compile_all() {
+   use doc && sphinx-build -b html docs _build/html
+}
+
+python_test() {
+   distutils_install_for_testing
+   PYTHONPATH="${S}/tests:${BUILD_DIR}/lib:${PYTHONPATH}" \
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2019-10-12 Thread Matt Turner
commit: 18f43755ef62939027c96d6f1d86c9b8462a7461
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Oct 12 20:23:01 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Oct 12 20:23:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f43755

dev-python/pytest-cov-2.6.1: add ~alpha, bug 643214

Signed-off-by: Matt Turner  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.6.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.6.1.ebuild
index eef02ce608b..561079a4ff4 100644
--- a/dev-python/pytest-cov/pytest-cov-2.6.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.6.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2019-04-12 Thread Virgil Dupras
commit: 4bdb9c403ad1461ba56dce08a9f2c1f1a3c2a580
Author: Virgil Dupras  gentoo  org>
AuthorDate: Fri Apr 12 13:46:58 2019 +
Commit: Virgil Dupras  gentoo  org>
CommitDate: Fri Apr 12 13:46:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bdb9c40

dev-python/pytest-cov: remove old

Signed-off-by: Virgil Dupras  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/pytest-cov/Manifest   |  1 -
 dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild | 56 
 dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild | 56 
 dev-python/pytest-cov/pytest-cov-2.5.1.ebuild| 55 ---
 4 files changed, 168 deletions(-)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index d656767ad11..a6c3db6454a 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,3 +1,2 @@
 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
 DIST pytest-cov-2.6.1.tar.gz 35307 BLAKE2B 
11974ff70ed5609d7db3c4c35f5b528b0ec36b48cfaf06974a090127706e0964841347592ac3f1e086f46800857ee10c05404045b6a4b467ffa278c2ee1e1957
 SHA512 
2dfd16e013d8bfbe5d14990f419291b651dd11560328a7e59b5449016d51b17f84d4ee3866fda866c3530389d206b1c4c67c84b23f097281c3963ffd19ea8caa

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
deleted file mode 100644
index 6683bf30f92..000
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
-
-inherit distutils-r1
-
-DESCRIPTION="py.test plugin for coverage reporting"
-HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd"
-IUSE="doc test"
-
-RDEPEND="
-   >=dev-python/py-1.4.22[${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}]
-   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}]
-   )
-"
-
-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 "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-r2.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild
deleted file mode 100644
index f82d830d826..000
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="py.test plugin for coverage reporting"
-HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd"
-IUSE="doc test"
-
-RDEPEND="
-   >=dev-python/py-1.4.22[${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}]
-   doc? (
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/files/, dev-python/pytest-cov/

2019-04-12 Thread Virgil Dupras
commit: f6865fd5a614dcf9346addf503cbc0b8b446acbf
Author: Virgil Dupras  gentoo  org>
AuthorDate: Fri Apr 12 13:34:56 2019 +
Commit: Virgil Dupras  gentoo  org>
CommitDate: Fri Apr 12 13:34:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6865fd5

dev-python/pytest-cov: bump to 2.6.1

Also, fix broken tests.

Bug: https://bugs.gentoo.org/597708
Signed-off-by: Virgil Dupras  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/pytest-cov/Manifest |  1 +
 .../pytest-cov-2.6.1-disable-broken-tests.patch| 22 +
 dev-python/pytest-cov/pytest-cov-2.6.1.ebuild  | 57 ++
 3 files changed, 80 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index a65fe623704..d656767ad11 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,2 +1,3 @@
 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
+DIST pytest-cov-2.6.1.tar.gz 35307 BLAKE2B 
11974ff70ed5609d7db3c4c35f5b528b0ec36b48cfaf06974a090127706e0964841347592ac3f1e086f46800857ee10c05404045b6a4b467ffa278c2ee1e1957
 SHA512 
2dfd16e013d8bfbe5d14990f419291b651dd11560328a7e59b5449016d51b17f84d4ee3866fda866c3530389d206b1c4c67c84b23f097281c3963ffd19ea8caa

diff --git 
a/dev-python/pytest-cov/files/pytest-cov-2.6.1-disable-broken-tests.patch 
b/dev-python/pytest-cov/files/pytest-cov-2.6.1-disable-broken-tests.patch
new file mode 100644
index 000..1d8e36b451b
--- /dev/null
+++ b/dev-python/pytest-cov/files/pytest-cov-2.6.1-disable-broken-tests.patch
@@ -0,0 +1,22 @@
+diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
+index 2896ac9..5f753e8 100644
+--- a/tests/test_pytest_cov.py
 b/tests/test_pytest_cov.py
+@@ -699,7 +699,7 @@ parallel = true
+ assert result.ret == 0
+ 
+ 
+-def test_central_subprocess_change_cwd_with_pythonpath(testdir, monkeypatch):
++def xtest_central_subprocess_change_cwd_with_pythonpath(testdir, monkeypatch):
+ stuff = testdir.mkdir('stuff')
+ parent_script = stuff.join('parent_script.py')
+ parent_script.write(SCRIPT_PARENT_CHANGE_CWD_IMPORT_CHILD)
+@@ -829,7 +829,7 @@ def test_invalid_coverage_source(testdir):
+ 
+ 
+ @pytest.mark.skipif("'dev' in pytest.__version__")
+-def test_dist_missing_data(testdir):
++def xtest_dist_missing_data(testdir):
+ venv_path = os.path.join(str(testdir.tmpdir), 'venv')
+ virtualenv.create_environment(venv_path)
+ if sys.platform == 'win32':

diff --git a/dev-python/pytest-cov/pytest-cov-2.6.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.6.1.ebuild
new file mode 100644
index 000..7af2f09e338
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-2.6.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="py.test plugin for coverage reporting"
+HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd"
+IUSE="doc test"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
+   >=dev-python/coverage-4.4[${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-xdist[${PYTHON_USEDEP}]
+   )
+"
+
+PATCHES=(
+   # Bug 597708
+   "${FILESDIR}/${PN}-2.6.1-disable-broken-tests.patch"
+)
+
+python_compile_all() {
+   use doc && sphinx-build -b html docs _build/html
+}
+
+python_test() {
+   distutils_install_for_testing
+   PYTHONPATH="${S}/tests:${BUILD_DIR}/lib:${PYTHONPATH}" \
+   PYTEST_PLUGINS=${PN/-/_} \
+   pytest -vv || die "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+   use doc && HTML_DOCS=( _build/html/. )
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2019-04-12 Thread Virgil Dupras
commit: 4e1edae9a4910b85104b33f7babd75e1ccdaad03
Author: Virgil Dupras  gentoo  org>
AuthorDate: Fri Apr 12 12:51:00 2019 +
Commit: Virgil Dupras  gentoo  org>
CommitDate: Fri Apr 12 13:02:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e1edae9

dev-python/pytest-cov: relax pytest-xdist dep constraint

Tests were already failing badly before, for unrelated reasons and this
is the only package holding pytest-xdist back (I don't even think that
it's actually needed for testing...).

Also, make the Python project the maintainer of this package. chutzpah
doesn't have a single commit for this package in the git log. Everybody
but him touched that package.

Signed-off-by: Virgil Dupras  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/pytest-cov/metadata.xml   | 6 +++---
 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild| 4 ++--
 dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild | 4 ++--
 dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild | 4 ++--
 dev-python/pytest-cov/pytest-cov-2.5.1.ebuild| 4 ++--
 5 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/dev-python/pytest-cov/metadata.xml 
b/dev-python/pytest-cov/metadata.xml
index 14ce7f07166..8dbf3c52128 100644
--- a/dev-python/pytest-cov/metadata.xml
+++ b/dev-python/pytest-cov/metadata.xml
@@ -1,9 +1,9 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-chutz...@gentoo.org
-Patrick McLean
+  
+pyt...@gentoo.org
+Python
   
   
 pytest-cov

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 f57ab12f396..7721a751ab1 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -35,7 +35,7 @@ DEPEND="
>=dev-python/pytest-2.8.0[${PYTHON_USEDEP}]
dev-python/pytest-cache[${PYTHON_USEDEP}]
)
-   =dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
 "
 

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
index e0c277e0bfc..6683bf30f92 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -36,7 +36,7 @@ DEPEND="
>=dev-python/pytest-2.8.0[${PYTHON_USEDEP}]
dev-python/pytest-cache[${PYTHON_USEDEP}]
)
-   =dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
 "
 

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild
index ee73b89744d..f82d830d826 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -36,7 +36,7 @@ DEPEND="
>=dev-python/pytest-2.8.0[${PYTHON_USEDEP}]
dev-python/pytest-cache[${PYTHON_USEDEP}]
)
-   >=dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
 "
 

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 d64465eebd7..9b0b6785ecf 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -35,7 +35,7 @@ DEPEND="
>=dev-python/pytest-2.8.0[${PYTHON_USEDEP}]
dev-python/pytest-cache[${PYTHON_USEDEP}]
)
-   =dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
 "
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-12-03 Thread Virgil Dupras
commit: 81405ad976d794765153662ce220c6e7265b6335
Author: Virgil Dupras  gentoo  org>
AuthorDate: Mon Dec  3 12:15:18 2018 +
Commit: Virgil Dupras  gentoo  org>
CommitDate: Mon Dec  3 12:15:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81405ad9

dev-python/pytest-cov: drop spurious pytest-capturelog dep

Tests fail, but they failed in the same way prior to this too.

Bug: https://bugs.gentoo.org/668746
Signed-off-by: Virgil Dupras  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild| 3 +--
 dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild | 3 +--
 dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild | 1 -
 dev-python/pytest-cov/pytest-cov-2.5.1.ebuild| 3 +--
 4 files changed, 3 insertions(+), 7 deletions(-)

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 9aef7a752f5..f57ab12f396 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.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=6
@@ -36,7 +36,6 @@ DEPEND="
dev-python/pytest-cache[${PYTHON_USEDEP}]
)
=dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}]
-   dev-python/pytest-capturelog[${PYTHON_USEDEP}]
)
 "
 

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
index fb708afded4..e0c277e0bfc 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.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=6
@@ -37,7 +37,6 @@ DEPEND="
dev-python/pytest-cache[${PYTHON_USEDEP}]
)
=dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}]
-   dev-python/pytest-capturelog[${PYTHON_USEDEP}]
)
 "
 

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild
index 98fb738ccee..ee73b89744d 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild
@@ -37,7 +37,6 @@ DEPEND="
dev-python/pytest-cache[${PYTHON_USEDEP}]
)
>=dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}]
-   dev-python/pytest-capturelog[${PYTHON_USEDEP}]
)
 "
 

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 d769afe6c08..d64465eebd7 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.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=6
@@ -36,7 +36,6 @@ DEPEND="
dev-python/pytest-cache[${PYTHON_USEDEP}]
)
=dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}]
-   dev-python/pytest-capturelog[${PYTHON_USEDEP}]
)
 "
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-11-09 Thread Alexey Shvetsov
commit: 7b9cd5c7c87251cb757342e30dc57b493b9190ef
Author: Alexey Shvetsov  gentoo  org>
AuthorDate: Fri Nov  9 13:31:44 2018 +
Commit: Alexey Shvetsov  gentoo  org>
CommitDate: Fri Nov  9 13:42:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b9cd5c7

dev-python/pytest-cov: eapi7 + py3_7

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Alexey Shvetsov  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild | 57 
 1 file changed, 57 insertions(+)

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild
new file mode 100644
index 000..98fb738ccee
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="py.test plugin for coverage reporting"
+HOMEPAGE="https://github.com/pytest-dev/pytest-cov 
https://pypi.org/project/pytest-cov/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd"
+IUSE="doc test"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${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}]
+   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-1.15.0[${PYTHON_USEDEP}]
+   dev-python/pytest-capturelog[${PYTHON_USEDEP}]
+   )
+"
+
+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 "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+   use doc && HTML_DOCS=( _build/html/. )
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-08-14 Thread Mart Raudsepp
commit: 73924648e067fc7a4daec01568554bd8d0079c30
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Tue Aug 14 06:37:02 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Tue Aug 14 06:37:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73924648

dev-python/pytest-cov-2.5.1-r1: add ~arm64 keyword (bug #643214)

Package-Manager: Portage-2.3.46, Repoman-2.3.10

 dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
index a6f5d011269..fb708afded4 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-fbsd"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-06-22 Thread Mikle Kolyada
commit: 982c8185728f16b7ccb3abbf9105e3e7b7dc0870
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Jun 22 15:03:52 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Jun 22 15:03:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=982c8185

dev-python/pytest-cov: restore s390 keyword

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild| 2 +-
 dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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 9b3b4e5aaa9..9aef7a752f5 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 s390 sparc x86"
 IUSE="doc test"
 
 RDEPEND="

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
index 8b25c64118c..a6f5d011269 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-05-04 Thread Mart Raudsepp
commit: 10ae56d6561794a45ab5f48dc85dc1507fc51f51
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Fri May  4 14:25:26 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Fri May  4 15:17:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10ae56d6

dev-python/pytest-cov-2.3.1: arm64 stable

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 a5b9de69988..9b3b4e5aaa9 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ppc ppc64 sparc x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-03-27 Thread Matt Turner
commit: 2ec9411a80443606fcb8c88c065ad8dd66e9f88d
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Mar 27 23:15:00 2018 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Mar 27 23:15:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ec9411a

dev-python/pytest-cov-2.5.1-r1: added ~mips

 dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
index 981f3f0a4f4..9f3ce0ed994 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-03-07 Thread Markus Meier
commit: d5ffeca6be8f3ec00f4e938ec13c65b73cce2835
Author: Markus Meier  gentoo  org>
AuthorDate: Wed Mar  7 19:45:00 2018 +
Commit: Markus Meier  gentoo  org>
CommitDate: Wed Mar  7 19:45:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5ffeca6

dev-python/pytest-cov: add ~arm, bug #643214

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="arm"

 dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
index e095ad0d6db..981f3f0a4f4 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-02-22 Thread Michał Górny
commit: dfc5c7684a9503c8c562afea976a0f430cc8d56b
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 22 15:49:51 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 22 15:52:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfc5c768

dev-python/pytest-cov: Tested on ~amd64-fbsd (bug #643214)

Tests fail the usual way, that is most of them pass when pytest-cov is
already installed.

 dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
index 6a553e46e14..e095ad0d6db 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-01-24 Thread Sergei Trofimovich
commit: 62be3b99778547c1bc3da9f8b0968e92fdcb667f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Jan 24 22:53:03 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Jan 24 22:53:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62be3b99

dev-python/pytest-cov: keyworded 2.5.1-r1 for ia64, bug #643214

Package-Manager: Portage-2.3.20, Repoman-2.3.6
RepoMan-Options: --include-arches="ia64"

 dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
index 4d2b6d45fa0..6a553e46e14 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-01-13 Thread Sergei Trofimovich
commit: 432c881474dad014ecdfd308479e1469c06fed75
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jan 13 12:15:41 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jan 13 12:15:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=432c8814

dev-python/pytest-cov: keyworded 2.5.1-r1 for ppc, bug #643214

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc"

 dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
index 141bb87220e..4d2b6d45fa0 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-01-13 Thread Sergei Trofimovich
commit: 77a76f06fa3634c041757e324ee9f583f4a2fb03
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Jan 13 11:31:11 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jan 13 11:31:57 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77a76f06

dev-python/pytest-cov: keyworded 2.5.1-r1 for ppc64, bug #643214

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc64"

 dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
index 7f744e3bb5d..141bb87220e 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
+KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-01-03 Thread Sergei Trofimovich
commit: 874a7933c6c2ee3ecadd516aaeecfcb5f781ce58
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Jan  3 19:43:45 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Jan  3 19:50:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=874a7933

dev-python/pytest-cov: keyworded 2.5.1-r1 for sparc, bug #643214

Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="sparc"

 dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
index 41e16e50229..7f744e3bb5d 100644
--- a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~sparc ~x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-01-03 Thread Michał Górny
commit: 4477c3130e1b0d94f0d377dda8ca9701f052890f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan  3 09:16:20 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan  3 09:25:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4477c313

dev-python/pytest-cov: Add missing test-dep on dev-python/fields

 dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild | 57 
 1 file changed, 57 insertions(+)

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
new file mode 100644
index 000..41e16e50229
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1-r1.ebuild
@@ -0,0 +1,57 @@
+# 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{,3} )
+
+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"
+IUSE="doc test"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${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}]
+   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-1.15.0[${PYTHON_USEDEP}]
+   dev-python/pytest-capturelog[${PYTHON_USEDEP}]
+   )
+"
+
+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 "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+   use doc && HTML_DOCS=( _build/html/. )
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-01-03 Thread Michał Górny
commit: 46a10e1bf73d0fb422013c6d4de75537324654ad
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan  3 08:45:33 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan  3 09:11:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a10e1b

dev-python/pytest-cov: Readd pypy3

Readd pypy3 that was removed in 2.3.1 bump for no obvious reason. It is
required by reverse dependencies (dev-python/sphinx most notably)
and it is supported by all forward dependencies. At the same time,
the tests are completely broken for all implementations.

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 4 ++--
 dev-python/pytest-cov/pytest-cov-2.5.1.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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 5c7a0cdbf23..c52df737502 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.5.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1.ebuild
index 72ead3a4d2c..6b39b3c8c69 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
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2018-01-03 Thread Michał Górny
commit: e1e492e2cb60d1d0b36a3b7dd2f3ced6b34132ff
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan  3 08:48:39 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan  3 09:11:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1e492e2

dev-python/pytest-cov: Clean old up

 dev-python/pytest-cov/Manifest|  5 ---
 dev-python/pytest-cov/pytest-cov-1.6.ebuild   | 20 
 dev-python/pytest-cov/pytest-cov-1.8.1.ebuild | 30 --
 dev-python/pytest-cov/pytest-cov-2.1.0.ebuild | 37 --
 dev-python/pytest-cov/pytest-cov-2.2.0.ebuild | 43 --
 dev-python/pytest-cov/pytest-cov-2.2.1.ebuild | 44 ---
 6 files changed, 179 deletions(-)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 5479832d591..a65fe623704 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -1,7 +1,2 @@
-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

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 859701ba229..000
--- 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 a21dfda7b9b..000
--- 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}]
-  

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-08-01 Thread Sebastien Fabbro
commit: 3d2d843807c762686ed0d537b4a5bf0e36b40447
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Wed Aug  2 04:04:36 2017 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Wed Aug  2 04:06:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d2d8438

dev-python/pytest-cov: version bump

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-python/pytest-cov/Manifest|  1 +
 dev-python/pytest-cov/pytest-cov-2.5.1.ebuild | 56 +++
 2 files changed, 57 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index b1359b1bce0..d514be0d26b 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -4,3 +4,4 @@ DIST pytest-cov-2.1.0.tar.gz 25992 SHA256 
6e86c3ae3be9930fa3f1402651819b00169fb5
 DIST pytest-cov-2.2.0.tar.gz 29965 SHA256 
2231d43f07760d6904dadceabca53ab16ef95ba58fff393861b64c0cab96c9d1 SHA512 
3e6a2b648b12eff3d8f0aad12dda35a05820f6073e7f87e9c92ed6cca00fe031750da8f6c37eb81cf6ca7b2e4975dafffd7e3e901cb7b91e5c53c83b6e6b8420
 WHIRLPOOL 
9feff5557af5f4101e9ae508febf3479472781544b54345d5f53f0f19df5f40eb5af4ada2b44037f590445761ee9d3bffe14d729c465f880951d714eeb6ae491
 DIST pytest-cov-2.2.1.tar.gz 33154 SHA256 
a8b22e53e7f3b971454c35df99dffe21f4749f539491e935c55d3ff7e1b284fa SHA512 
8f20cf1c42b4415c7decf8407582e64045c599aedf1970160d02e35e723f56fa095af26ee4390eabf2d32e209898b0a3dae8b7212ac81ecda64d6dbc7c83f790
 WHIRLPOOL 
92386bd1ff532e0c98f1dc01b3583315a626a030fb4f38e39eb4f8755e83f3901873fdcd406f9c8bc6393040fa198cc416dae5e176e88084ed6fb16264d3c056
 DIST pytest-cov-2.3.1.tar.gz 35378 SHA256 
fa0a212283cdf52e2eecc24dd6459bb7687cc29adb60cb84258fab73be8dda0f SHA512 
79770beb53fbb43b5d68311c2efd0accbfd890ab6dad299da8c1c0b3d26b54d984807313b1507900cda7004bfb50fedc0bd4341cfcfce47849a4f24fc8184f11
 WHIRLPOOL 
8b0fe223f0cbae0bb9c85b3d8d7f80456e164f3565bd7ba146b0eb34c1fd06c0447405dccd2642f0a4aec1819ff74277d2eb9b076e61438fbf69b35c472755e0
+DIST pytest-cov-2.5.1.tar.gz 36201 SHA256 
03aa752cf11db41d281ea1d807d954c4eda35cfa1b21d6971966cc041bbf6e2d SHA512 
868131d6ea6dd28deec6d653dec23ceb7d3adccfa2c6bcc0a3126bbb11e924e71f200676461b2202f274ce6e14d1799feb0917e3081817d9e8583271c18a43de
 WHIRLPOOL 
e7084c4f55b12fab3cd2d99acebb02159f764c20b69e141c7b6779b1c4720c5d6358791559d46074a8af19f89ad3d0c8d9e722ffa7d4b217c9ab88936dece910

diff --git a/dev-python/pytest-cov/pytest-cov-2.5.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.5.1.ebuild
new file mode 100644
index 000..72ead3a4d2c
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-2.5.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+
+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 ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${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}]
+   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/process-tests[${PYTHON_USEDEP}]
+   || (
+   >=dev-python/pytest-2.8.0[${PYTHON_USEDEP}]
+   dev-python/pytest-cache[${PYTHON_USEDEP}]
+   )
+   =dev-python/pytest-xdist-1.15.0[${PYTHON_USEDEP}]
+   dev-python/pytest-capturelog[${PYTHON_USEDEP}]
+   )
+"
+
+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 "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+   use doc && HTML_DOCS=( _build/html/. )
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-03-22 Thread Markus Meier
commit: 0b11a03748674b0ba22e6b89b48b15f182715721
Author: Markus Meier  gentoo  org>
AuthorDate: Wed Mar 22 19:41:29 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Wed Mar 22 19:47:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b11a037

dev-python/pytest-cov: add ~arm64, bug #605122

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="arm64"

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 1f9c8d6ddf5..5c7a0cdbf23 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-03-11 Thread Agostino Sarubbo
commit: 0aaf3940e71cf30ebe95e0831389af062e6ccdfb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Mar 11 17:06:56 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Mar 11 17:06:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aaf3940

dev-python/pytest-cov: ia64 stable wrt bug #602484

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 7a16066c8ba..1f9c8d6ddf5 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-02-25 Thread Agostino Sarubbo
commit: d3f20e558ef27779112874ab3df9693e0ad48ca1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Feb 25 10:03:30 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Feb 25 10:03:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f20e55

dev-python/pytest-cov: sparc stable wrt bug #602484

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 e3936d7fbd..9fa4e327a6 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ppc64 x86"
+KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-02-23 Thread Michael Weber
commit: cbd0b30ee0c5150af94a408de2da19756c71897a
Author: Michael Weber  gentoo  org>
AuthorDate: Thu Feb 23 16:31:25 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Thu Feb 23 16:34:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbd0b30e

dev-python/pytest-cov: ppc64 stable (bug 602484)

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="ppc64"

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 64e97811b6..e3936d7fbd 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ~ppc64 x86"
+KEYWORDS="alpha amd64 arm hppa ppc ppc64 x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-02-23 Thread Michael Weber
commit: 618013e8543a509bede5522f243a8c31447a27a1
Author: Michael Weber  gentoo  org>
AuthorDate: Thu Feb 23 16:26:48 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Thu Feb 23 16:34:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=618013e8

dev-python/pytest-cov: arm stable (bug 602484)

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="ppc64"

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 de20d43bee..64e97811b6 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ppc ~ppc64 x86"
+KEYWORDS="alpha amd64 arm hppa ppc ~ppc64 x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-02-23 Thread Michael Weber
commit: cd517c376ce5d4a9a591f0c34618bd9fbfa73708
Author: Michael Weber  gentoo  org>
AuthorDate: Thu Feb 23 14:11:44 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Thu Feb 23 14:11:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd517c37

dev-python/pytest-cov: Add ~ppc64 keyword (bug 602484).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 35e04488ad..de20d43bee 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ppc x86"
+KEYWORDS="alpha amd64 ~arm hppa ppc ~ppc64 x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-02-21 Thread Tobias Klausmann
commit: 08a2dcda708bf4a74ac06d247c6722bf7991b699
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Feb 21 11:52:06 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Feb 21 11:52:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08a2dcda

dev-python/pytest-cov-2.3.1-r0: add alpha keyword

Gentoo-Bug: 602484

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 7761d081f9..35e04488ad 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm hppa ppc x86"
+KEYWORDS="alpha amd64 ~arm hppa ppc x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-02-19 Thread Markus Meier
commit: d331de511602ab15425718632c67131f49f71158
Author: Markus Meier  gentoo  org>
AuthorDate: Sun Feb 19 08:37:35 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sun Feb 19 08:37:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d331de51

dev-python/pytest-cov: add ~arm, bug #605122

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 ac4e45a380..7761d081f9 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 hppa ppc x86"
+KEYWORDS="amd64 ~arm hppa ppc x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-02-12 Thread Zac Medico
commit: 8ed97b55c6f6150baf47ff605c46014e48ff8301
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Feb 12 08:33:08 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Feb 12 22:19:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed97b55

dev-python/pytest-cov: PYTHON_COMPAT: add python3_6

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/pytest-cov/pytest-cov-2.2.1.ebuild | 4 ++--
 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.2.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.2.1.ebuild
index 47a1b24cd1..4f9d9cd7f1 100644
--- a/dev-python/pytest-cov/pytest-cov-2.2.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.2.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_{4,5}} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
 
 inherit distutils-r1
 

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 3cd5839d78..ac4e45a380 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_{4,5}} pypy )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-02-12 Thread Agostino Sarubbo
commit: 8b644864b1096ad9a7c1454d2058f82b2a416148
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Feb 12 17:10:08 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Feb 12 17:10:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b644864

dev-python/pytest-cov: ppc stable wrt bug #602484

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 05ebc86cee..3cd5839d78 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 hppa x86"
+KEYWORDS="amd64 hppa ppc x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-02-12 Thread Agostino Sarubbo
commit: 88faba6df5f48427e397499e8e8164ff1fad05f9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Feb 12 16:25:11 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Feb 12 16:25:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88faba6d

dev-python/pytest-cov: x86 stable wrt bug #602484

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 92aa10fb9f..05ebc86cee 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 hppa ~x86"
+KEYWORDS="amd64 hppa x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-02-06 Thread Agostino Sarubbo
commit: 85bc3835a2fb8aa03c96e4b47d9855478eaf1a86
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Feb  6 14:55:11 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Feb  6 14:55:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85bc3835

dev-python/pytest-cov: amd64 stable wrt bug #602484

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 73bc577..92aa10f 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 hppa ~x86"
+KEYWORDS="amd64 hppa ~x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2017-01-24 Thread Jeroen Roovers
commit: a999f809da6ed91fb1fb5e632cba65b274ca943f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Jan 25 06:29:56 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Jan 25 06:39:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a999f809

dev-python/pytest-cov: Mark ~hppa (bug #605122).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 bcd9ef4..3d26972 100644
--- a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~hppa ~x86"
 IUSE="doc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/, dev-python/pytest-cov/files/

2016-10-07 Thread Brian Dolbec
commit: a48a999f771f52e39bce7c2b5c537df1cbc99189
Author: Brian Dolbec  gentoo  org>
AuthorDate: Thu Oct  6 00:39:03 2016 +
Commit: Brian Dolbec  gentoo  org>
CommitDate: Fri Oct  7 18:11:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a48a999f

dev-python/pytest-cov: Version bump, adds a new pkg dep

New dep added: dev-python/sphinx-pydoc-enhanced-theme
The new dep is the reason for the keywords being dropped.

Package-Manager: portage-2.3.1_p8

 dev-python/pytest-cov/Manifest |  1 +
 .../files/fix-for-deprecation-warnings.patch   | 16 ++
 dev-python/pytest-cov/pytest-cov-2.3.1.ebuild  | 61 ++
 3 files changed, 78 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index eb6f008..b1359b1 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -3,3 +3,4 @@ DIST pytest-cov-1.8.1.tar.gz 8649 SHA256 
31e5198c06f290e1e813d30ddd063a0401d9e3a
 DIST pytest-cov-2.1.0.tar.gz 25992 SHA256 
6e86c3ae3be9930fa3f1402651819b00169fb5e963d29ed03d390d152a608506 SHA512 
f763e611b19f6769183583d275e28467f7cc5cc8a8fe5a4d3eb798ddf8d4e008732ec8c29b757aaf0fba0f5a660d92729499f3d388693f631ba73cc7a570d738
 WHIRLPOOL 
1ece60dea2fc1ff2da342313a0e67ee63a63cf35ece930f92b59c2283522698df0be4c10fb6951d3afff9fb1acffd37d207dcc4f0400109cb4f8c830d69a5857
 DIST pytest-cov-2.2.0.tar.gz 29965 SHA256 
2231d43f07760d6904dadceabca53ab16ef95ba58fff393861b64c0cab96c9d1 SHA512 
3e6a2b648b12eff3d8f0aad12dda35a05820f6073e7f87e9c92ed6cca00fe031750da8f6c37eb81cf6ca7b2e4975dafffd7e3e901cb7b91e5c53c83b6e6b8420
 WHIRLPOOL 
9feff5557af5f4101e9ae508febf3479472781544b54345d5f53f0f19df5f40eb5af4ada2b44037f590445761ee9d3bffe14d729c465f880951d714eeb6ae491
 DIST pytest-cov-2.2.1.tar.gz 33154 SHA256 
a8b22e53e7f3b971454c35df99dffe21f4749f539491e935c55d3ff7e1b284fa SHA512 
8f20cf1c42b4415c7decf8407582e64045c599aedf1970160d02e35e723f56fa095af26ee4390eabf2d32e209898b0a3dae8b7212ac81ecda64d6dbc7c83f790
 WHIRLPOOL 
92386bd1ff532e0c98f1dc01b3583315a626a030fb4f38e39eb4f8755e83f3901873fdcd406f9c8bc6393040fa198cc416dae5e176e88084ed6fb16264d3c056
+DIST pytest-cov-2.3.1.tar.gz 35378 SHA256 
fa0a212283cdf52e2eecc24dd6459bb7687cc29adb60cb84258fab73be8dda0f SHA512 
79770beb53fbb43b5d68311c2efd0accbfd890ab6dad299da8c1c0b3d26b54d984807313b1507900cda7004bfb50fedc0bd4341cfcfce47849a4f24fc8184f11
 WHIRLPOOL 
8b0fe223f0cbae0bb9c85b3d8d7f80456e164f3565bd7ba146b0eb34c1fd06c0447405dccd2642f0a4aec1819ff74277d2eb9b076e61438fbf69b35c472755e0

diff --git a/dev-python/pytest-cov/files/fix-for-deprecation-warnings.patch 
b/dev-python/pytest-cov/files/fix-for-deprecation-warnings.patch
new file mode 100644
index ..a555ca5
--- /dev/null
+++ b/dev-python/pytest-cov/files/fix-for-deprecation-warnings.patch
@@ -0,0 +1,16 @@
+diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
+index 6cbf341..614e53c 100644
+--- a/tests/test_pytest_cov.py
 b/tests/test_pytest_cov.py
+@@ -337,7 +337,10 @@ def test_central_nonspecific(testdir):
+ ])
+ 
+ # multi-module coverage report
+-assert any(line.startswith('TOTAL ') for line in result.stdout.lines[-4:])
++# Fix test failure due to pytest deprecation warnings being
++# added to the expected output.  Look in entire output lines instead.
++# assert any(line.startswith('TOTAL ') for line in 
result.stdout.lines[-4:])
++assert any(line.startswith('TOTAL ') for line in 
result.stdout.lines[-10:])
+ 
+ assert result.ret == 0
+ 

diff --git a/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
new file mode 100644
index ..bcd9ef4
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-2.3.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5}} pypy )
+
+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"
+IUSE="doc test"
+
+RDEPEND="
+   >=dev-python/py-1.4.22[${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}]
+   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/process-tests[${PYTHON_USEDEP}]
+   || (
+   >=dev-python/pytest-2.8.0[${PYTHON_USEDEP}]
+   dev-python/pytest-cache[${PYTHON_USEDEP}]
+   )
+

[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2016-02-01 Thread Justin Lecher
commit: 490f88481a61af8e2f704ddd80e31f67cb9e3f83
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Feb  1 16:24:29 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Feb  1 16:26:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=490f8848

dev-python/pytest-cov: Version Bump

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pytest-cov/Manifest|  1 +
 dev-python/pytest-cov/pytest-cov-2.2.1.ebuild | 45 +++
 2 files changed, 46 insertions(+)

diff --git a/dev-python/pytest-cov/Manifest b/dev-python/pytest-cov/Manifest
index 6ea734d..eb6f008 100644
--- a/dev-python/pytest-cov/Manifest
+++ b/dev-python/pytest-cov/Manifest
@@ -2,3 +2,4 @@ DIST pytest-cov-1.6.tar.gz 8257 SHA256 
2e803c89f11e0344111670349f6ef401f831e85cb
 DIST pytest-cov-1.8.1.tar.gz 8649 SHA256 
31e5198c06f290e1e813d30ddd063a0401d9e3a698129ca44267781673a71285 SHA512 
dff6c6345bdc2d219800782d7acb3d301c8d67314f0f4af983daa0942a8c97768a2ce6c64f11529a3d8d876c218c62dbf08b7a63cc7345072e70bbc85ad4d112
 WHIRLPOOL 
90f024e0388323a5d1bd8ffd439c3c6cfb242ac2f539d391f4139a6ab2e251c6ff01831e9a261506d2c1552f1beeacc99db43d3b98a3663828083fec1ae722f8
 DIST pytest-cov-2.1.0.tar.gz 25992 SHA256 
6e86c3ae3be9930fa3f1402651819b00169fb5e963d29ed03d390d152a608506 SHA512 
f763e611b19f6769183583d275e28467f7cc5cc8a8fe5a4d3eb798ddf8d4e008732ec8c29b757aaf0fba0f5a660d92729499f3d388693f631ba73cc7a570d738
 WHIRLPOOL 
1ece60dea2fc1ff2da342313a0e67ee63a63cf35ece930f92b59c2283522698df0be4c10fb6951d3afff9fb1acffd37d207dcc4f0400109cb4f8c830d69a5857
 DIST pytest-cov-2.2.0.tar.gz 29965 SHA256 
2231d43f07760d6904dadceabca53ab16ef95ba58fff393861b64c0cab96c9d1 SHA512 
3e6a2b648b12eff3d8f0aad12dda35a05820f6073e7f87e9c92ed6cca00fe031750da8f6c37eb81cf6ca7b2e4975dafffd7e3e901cb7b91e5c53c83b6e6b8420
 WHIRLPOOL 
9feff5557af5f4101e9ae508febf3479472781544b54345d5f53f0f19df5f40eb5af4ada2b44037f590445761ee9d3bffe14d729c465f880951d714eeb6ae491
+DIST pytest-cov-2.2.1.tar.gz 33154 SHA256 
a8b22e53e7f3b971454c35df99dffe21f4749f539491e935c55d3ff7e1b284fa SHA512 
8f20cf1c42b4415c7decf8407582e64045c599aedf1970160d02e35e723f56fa095af26ee4390eabf2d32e209898b0a3dae8b7212ac81ecda64d6dbc7c83f790
 WHIRLPOOL 
92386bd1ff532e0c98f1dc01b3583315a626a030fb4f38e39eb4f8755e83f3901873fdcd406f9c8bc6393040fa198cc416dae5e176e88084ed6fb16264d3c056

diff --git a/dev-python/pytest-cov/pytest-cov-2.2.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.2.1.ebuild
new file mode 100644
index 000..400333e
--- /dev/null
+++ b/dev-python/pytest-cov/pytest-cov-2.2.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{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=${PN/-/_} \
+   py.test -v -v -x || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2015-11-09 Thread Justin Lecher
commit: 98c9cbc46b8f0275b8381516a706cced883044c4
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Nov  9 11:16:52 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Nov  9 11:49:41 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98c9cbc4

dev-python/pytest-cov: Add tests

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pytest-cov/pytest-cov-2.2.0.ebuild | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-cov/pytest-cov-2.2.0.ebuild 
b/dev-python/pytest-cov/pytest-cov-2.2.0.ebuild
index be7bf3c..a6fa556 100644
--- a/dev-python/pytest-cov/pytest-cov-2.2.0.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-2.2.0.ebuild
@@ -26,12 +26,19 @@ DEPEND="
test? (
dev-python/virtualenv[${PYTHON_USEDEP}]
dev-python/process-tests[${PYTHON_USEDEP}]
-   dev-python/pytest-cache[${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" \
-   py.test -p pytest_cov -vvx || die
+   PYTEST_PLUGINS=pytest_cov \
+   py.test -v -v -x || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-cov/

2015-10-15 Thread Justin Lecher
commit: 9f551c59f3ac3359446911587e26771603fed753
Author: Justin Lecher  gentoo  org>
AuthorDate: Thu Oct 15 08:26:28 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Thu Oct 15 08:26:28 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f551c59

dev-python/pytest-cov: Keyword under ALLARCHES policy

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=525562

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/pytest-cov/pytest-cov-1.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-cov/pytest-cov-1.8.1.ebuild 
b/dev-python/pytest-cov/pytest-cov-1.8.1.ebuild
index 6190935..735f1d4 100644
--- a/dev-python/pytest-cov/pytest-cov-1.8.1.ebuild
+++ b/dev-python/pytest-cov/pytest-cov-1.8.1.ebuild
@@ -13,7 +13,7 @@ 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 x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 m68k ppc ppc64 s390 sh ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND="



  1   2   >