commit:     1b2a318760328ff511c4e43cb1c72e2152b3b2ec
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 26 07:19:25 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 26 11:12:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b2a3187

dev-python/jsonschema: Disable the test requiring pip

Closes: https://bugs.gentoo.org/816327
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/jsonschema/jsonschema-4.0.1.ebuild | 7 ++++++-
 dev-python/jsonschema/jsonschema-4.1.0.ebuild | 7 ++++++-
 dev-python/jsonschema/jsonschema-4.1.1.ebuild | 7 ++++++-
 dev-python/jsonschema/jsonschema-4.1.2.ebuild | 7 ++++++-
 4 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/dev-python/jsonschema/jsonschema-4.0.1.ebuild 
b/dev-python/jsonschema/jsonschema-4.0.1.ebuild
index fad4177993e..903e733761d 100644
--- a/dev-python/jsonschema/jsonschema-4.0.1.ebuild
+++ b/dev-python/jsonschema/jsonschema-4.0.1.ebuild
@@ -42,4 +42,9 @@ BDEPEND="
        )
 "
 
-distutils_enable_tests unittest
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # requires pip, does not make much sense for the users
+       jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
+)

diff --git a/dev-python/jsonschema/jsonschema-4.1.0.ebuild 
b/dev-python/jsonschema/jsonschema-4.1.0.ebuild
index 904fc6ee1ce..3eee583f960 100644
--- a/dev-python/jsonschema/jsonschema-4.1.0.ebuild
+++ b/dev-python/jsonschema/jsonschema-4.1.0.ebuild
@@ -42,4 +42,9 @@ BDEPEND="
        )
 "
 
-distutils_enable_tests unittest
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # requires pip, does not make much sense for the users
+       jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
+)

diff --git a/dev-python/jsonschema/jsonschema-4.1.1.ebuild 
b/dev-python/jsonschema/jsonschema-4.1.1.ebuild
index 904fc6ee1ce..3eee583f960 100644
--- a/dev-python/jsonschema/jsonschema-4.1.1.ebuild
+++ b/dev-python/jsonschema/jsonschema-4.1.1.ebuild
@@ -42,4 +42,9 @@ BDEPEND="
        )
 "
 
-distutils_enable_tests unittest
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # requires pip, does not make much sense for the users
+       jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
+)

diff --git a/dev-python/jsonschema/jsonschema-4.1.2.ebuild 
b/dev-python/jsonschema/jsonschema-4.1.2.ebuild
index 85ab95abeec..52313e225d8 100644
--- a/dev-python/jsonschema/jsonschema-4.1.2.ebuild
+++ b/dev-python/jsonschema/jsonschema-4.1.2.ebuild
@@ -42,4 +42,9 @@ BDEPEND="
        )
 "
 
-distutils_enable_tests unittest
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # requires pip, does not make much sense for the users
+       jsonschema/tests/test_cli.py::TestCLIIntegration::test_license
+)

Reply via email to