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

2024-07-03 Thread Andrew Ammerlaan
commit: 3b7193e4bc6c5e2664f2ae32e5c9557f87c575e5
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Jul  3 16:00:07 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Jul  3 16:00:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b7193e4

dev-python/pytest-qt: enable py3.13

Signed-off-by: Andrew Ammerlaan  gentoo.org>

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild
index 176925a3be36..5c1535eac486 100644
--- a/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 PYSIDE2_COMPAT=( python3_{10..11} )
 
 inherit distutils-r1 virtualx pypi



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

2024-02-24 Thread Michał Górny
commit: 02b5807c619f1d48ec72437d5ecb3c5722cd7590
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 24 15:06:16 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 24 15:06:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b5807c

dev-python/pytest-qt: Remove old

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

 dev-python/pytest-qt/Manifest   |  1 -
 dev-python/pytest-qt/pytest-qt-4.3.1.ebuild | 77 -
 2 files changed, 78 deletions(-)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
index 5be420851471..0acc509ef1d1 100644
--- a/dev-python/pytest-qt/Manifest
+++ b/dev-python/pytest-qt/Manifest
@@ -1,2 +1 @@
-DIST pytest-qt-4.3.1.tar.gz 125223 BLAKE2B 
b7ea852b4f0a97950ff4b8f03983639a30dcd8b3532a52f0d78a5074d1220817a0853a040eba71798fd74fba27cd77eeafff2cf12b177693d77f9bd954d841a4
 SHA512 
e77bd0817f9dfb492ddcd9cb605b07d1e468ce7b52dce7519f2f96afd004f7796a028998572c589444e9737278a84efb887c801fb3bcc79a71c48ab849070114
 DIST pytest-qt-4.4.0.tar.gz 125443 BLAKE2B 
db2653ffd220e6507edd9cd2610904e5d9c1f5b39edf7b2d5043ecb7951361a6bf75618c9847b62432e0182433f2df528fce300888cca405bdc03502d6ebe717
 SHA512 
57c6a1866c7685db5301faa42298f11ef3d3a030cbc72fb109a8d6166621625fac89365671f781e5c3d652a190567bec3bae6f12cdab20812f43c7ef8e4518fa

diff --git a/dev-python/pytest-qt/pytest-qt-4.3.1.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.3.1.ebuild
deleted file mode 100644
index 796985b7894a..
--- a/dev-python/pytest-qt/pytest-qt-4.3.1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# 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} )
-PYSIDE2_COMPAT=( python3_{10..11} )
-
-inherit distutils-r1 virtualx pypi
-
-DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications"
-HOMEPAGE="
-   https://pypi.org/project/pytest-qt/
-   https://github.com/pytest-dev/pytest-qt/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
-
-RDEPEND="
-   dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   || (
-   dev-python/PyQt6[gui,testlib,widgets,${PYTHON_USEDEP}]
-   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
-   dev-python/pyside6[gui,testlib,widgets,${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   
dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
-   ' "${PYSIDE2_COMPAT[@]}")
-   )
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   # warnings from other plugins cause the test output matchers to fail
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytestqt.plugin
-
-   local EPYTEST_DESELECT=(
-   # requires the window to be activated; that doesn't seem
-   # to be possible inside Xvfb
-   "tests/test_basics.py::test_wait_window[waitActive-True]"
-
-   # TODO
-   tests/test_exceptions.py::test_exceptions_dont_leak
-
-   # we are forcing a specific module via envvar, effectively
-   # overriding the config
-   tests/test_basics.py::test_qt_api_ini_config
-   tests/test_basics.py::test_qt_api_ini_config_with_envvar
-   )
-
-   local -x PYTEST_QT_API
-   for PYTEST_QT_API in PyQt{5,6} pyside{2,6}; do
-   if has_version 
"dev-python/${PYTEST_QT_API}[gui,testlib,widgets,${PYTHON_USEDEP}]"
-   then
-   einfo "Testing with ${EPYTHON} and ${PYTEST_QT_API}"
-   # force-disable xfail_strict as upstream as xfail 
assumptions
-   # don't seem to hold on arm64
-   nonfatal epytest -oxfail_strict=false ||
-   die -n "Tests failed with ${EPYTHON} and 
${PYTEST_QT_API}" ||
-   return 1
-   fi
-   done
-}



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

2024-02-24 Thread Sam James
commit: 1de04e0747f518197bc91e8a84160dfdad2b5ea3
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 24 14:04:16 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 24 14:04:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1de04e07

dev-python/pytest-qt: Stabilize 4.4.0 ALLARCHES, #925395

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

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild
index 66e09e0d7f4f..176925a3be36 100644
--- a/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]



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

2024-02-07 Thread Michał Górny
commit: c9c1bf1e893fe61b671a6e9ecb8ec1547b20fbc6
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb  8 04:10:20 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb  8 04:22:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9c1bf1e

dev-python/pytest-qt: Bump to 4.4.0

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

 dev-python/pytest-qt/Manifest   |  1 +
 dev-python/pytest-qt/pytest-qt-4.4.0.ebuild | 78 +
 2 files changed, 79 insertions(+)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
index d63f06fc8096..5be420851471 100644
--- a/dev-python/pytest-qt/Manifest
+++ b/dev-python/pytest-qt/Manifest
@@ -1 +1,2 @@
 DIST pytest-qt-4.3.1.tar.gz 125223 BLAKE2B 
b7ea852b4f0a97950ff4b8f03983639a30dcd8b3532a52f0d78a5074d1220817a0853a040eba71798fd74fba27cd77eeafff2cf12b177693d77f9bd954d841a4
 SHA512 
e77bd0817f9dfb492ddcd9cb605b07d1e468ce7b52dce7519f2f96afd004f7796a028998572c589444e9737278a84efb887c801fb3bcc79a71c48ab849070114
+DIST pytest-qt-4.4.0.tar.gz 125443 BLAKE2B 
db2653ffd220e6507edd9cd2610904e5d9c1f5b39edf7b2d5043ecb7951361a6bf75618c9847b62432e0182433f2df528fce300888cca405bdc03502d6ebe717
 SHA512 
57c6a1866c7685db5301faa42298f11ef3d3a030cbc72fb109a8d6166621625fac89365671f781e5c3d652a190567bec3bae6f12cdab20812f43c7ef8e4518fa

diff --git a/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild
new file mode 100644
index ..66e09e0d7f4f
--- /dev/null
+++ b/dev-python/pytest-qt/pytest-qt-4.4.0.ebuild
@@ -0,0 +1,78 @@
+# 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} )
+PYSIDE2_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 virtualx pypi
+
+DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications"
+HOMEPAGE="
+   https://pypi.org/project/pytest-qt/
+   https://github.com/pytest-dev/pytest-qt/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]
+   >=dev-python/pluggy-1.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   || (
+   dev-python/PyQt6[gui,testlib,widgets,${PYTHON_USEDEP}]
+   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
+   dev-python/pyside6[gui,testlib,widgets,${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   
dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
+   ' "${PYSIDE2_COMPAT[@]}")
+   )
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   # warnings from other plugins cause the test output matchers to fail
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytestqt.plugin
+
+   local EPYTEST_DESELECT=(
+   # requires the window to be activated; that doesn't seem
+   # to be possible inside Xvfb
+   "tests/test_basics.py::test_wait_window[waitActive-True]"
+
+   # TODO
+   tests/test_exceptions.py::test_exceptions_dont_leak
+
+   # we are forcing a specific module via envvar, effectively
+   # overriding the config
+   tests/test_basics.py::test_qt_api_ini_config
+   tests/test_basics.py::test_qt_api_ini_config_with_envvar
+   )
+
+   local -x PYTEST_QT_API
+   for PYTEST_QT_API in PyQt{5,6} pyside{2,6}; do
+   if has_version 
"dev-python/${PYTEST_QT_API}[gui,testlib,widgets,${PYTHON_USEDEP}]"
+   then
+   einfo "Testing with ${EPYTHON} and ${PYTEST_QT_API}"
+   # force-disable xfail_strict as upstream as xfail 
assumptions
+   # don't seem to hold on arm64
+   nonfatal epytest -oxfail_strict=false ||
+   die -n "Tests failed with ${EPYTHON} and 
${PYTEST_QT_API}" ||
+   return 1
+   fi
+   done
+}



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

2024-01-06 Thread Michał Górny
commit: 739729da7f27f94408139d04e5b3bb69bc5c57e1
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 09:50:43 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 09:50:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=739729da

dev-python/pytest-qt: Remove old

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

 dev-python/pytest-qt/Manifest   |  1 -
 dev-python/pytest-qt/pytest-qt-4.2.0.ebuild | 77 -
 2 files changed, 78 deletions(-)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
index c6fce96798ae..d63f06fc8096 100644
--- a/dev-python/pytest-qt/Manifest
+++ b/dev-python/pytest-qt/Manifest
@@ -1,2 +1 @@
-DIST pytest-qt-4.2.0.tar.gz 120749 BLAKE2B 
1986bbf4ebc578ad548d2fccb0d0fb42f75ad8a03f315f51c04ae466587d3299fca8ec3a49bc5d023fc8ca76cbe6c45728bc88609e20d6f68ea8c6ea204e
 SHA512 
57e175bada0e33101eeb7d85579f6e804658d74168714b117b3a1ba564826405e70860b258caf28c917ddca7acd1842de2133a55b342862762fc37ca1a758b69
 DIST pytest-qt-4.3.1.tar.gz 125223 BLAKE2B 
b7ea852b4f0a97950ff4b8f03983639a30dcd8b3532a52f0d78a5074d1220817a0853a040eba71798fd74fba27cd77eeafff2cf12b177693d77f9bd954d841a4
 SHA512 
e77bd0817f9dfb492ddcd9cb605b07d1e468ce7b52dce7519f2f96afd004f7796a028998572c589444e9737278a84efb887c801fb3bcc79a71c48ab849070114

diff --git a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
deleted file mode 100644
index 852f4f554529..
--- a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
+++ /dev/null
@@ -1,77 +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} )
-PYSIDE2_COMPAT=( python3_{10..11} )
-
-inherit distutils-r1 virtualx pypi
-
-DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications"
-HOMEPAGE="
-   https://pypi.org/project/pytest-qt/
-   https://github.com/pytest-dev/pytest-qt/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
-
-RDEPEND="
-   dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   || (
-   dev-python/PyQt6[gui,testlib,widgets,${PYTHON_USEDEP}]
-   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
-   dev-python/pyside6[gui,testlib,widgets,${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   
dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
-   ' "${PYSIDE2_COMPAT[@]}")
-   )
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   # warnings from other plugins cause the test output matchers to fail
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytestqt.plugin
-
-   local EPYTEST_DESELECT=(
-   # requires the window to be activated; that doesn't seem
-   # to be possible inside Xvfb
-   "tests/test_basics.py::test_wait_window[waitActive-True]"
-
-   # TODO
-   tests/test_exceptions.py::test_exceptions_dont_leak
-
-   # we are forcing a specific module via envvar, effectively
-   # overriding the config
-   tests/test_basics.py::test_qt_api_ini_config
-   tests/test_basics.py::test_qt_api_ini_config_with_envvar
-   )
-
-   local -x PYTEST_QT_API
-   for PYTEST_QT_API in PyQt{5,6} pyside{2,6}; do
-   if has_version 
"dev-python/${PYTEST_QT_API}[gui,testlib,widgets,${PYTHON_USEDEP}]"
-   then
-   einfo "Testing with ${EPYTHON} and ${PYTEST_QT_API}"
-   # force-disable xfail_strict as upstream as xfail 
assumptions
-   # don't seem to hold on arm64
-   nonfatal epytest -oxfail_strict=false ||
-   die -n "Tests failed with ${EPYTHON} and 
${PYTEST_QT_API}" ||
-   return 1
-   fi
-   done
-}



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

2023-12-22 Thread Michał Górny
commit: 0f7531f5e5a51dd1230560662c4a7b5ce4da6b84
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 23 04:39:22 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 23 05:12:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f7531f5

dev-python/pytest-qt: Bump to 4.3.1

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

 dev-python/pytest-qt/Manifest   |  1 +
 dev-python/pytest-qt/pytest-qt-4.3.1.ebuild | 77 +
 2 files changed, 78 insertions(+)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
index 8fb49db0827d..c6fce96798ae 100644
--- a/dev-python/pytest-qt/Manifest
+++ b/dev-python/pytest-qt/Manifest
@@ -1 +1,2 @@
 DIST pytest-qt-4.2.0.tar.gz 120749 BLAKE2B 
1986bbf4ebc578ad548d2fccb0d0fb42f75ad8a03f315f51c04ae466587d3299fca8ec3a49bc5d023fc8ca76cbe6c45728bc88609e20d6f68ea8c6ea204e
 SHA512 
57e175bada0e33101eeb7d85579f6e804658d74168714b117b3a1ba564826405e70860b258caf28c917ddca7acd1842de2133a55b342862762fc37ca1a758b69
+DIST pytest-qt-4.3.1.tar.gz 125223 BLAKE2B 
b7ea852b4f0a97950ff4b8f03983639a30dcd8b3532a52f0d78a5074d1220817a0853a040eba71798fd74fba27cd77eeafff2cf12b177693d77f9bd954d841a4
 SHA512 
e77bd0817f9dfb492ddcd9cb605b07d1e468ce7b52dce7519f2f96afd004f7796a028998572c589444e9737278a84efb887c801fb3bcc79a71c48ab849070114

diff --git a/dev-python/pytest-qt/pytest-qt-4.3.1.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.3.1.ebuild
new file mode 100644
index ..1c783c234701
--- /dev/null
+++ b/dev-python/pytest-qt/pytest-qt-4.3.1.ebuild
@@ -0,0 +1,77 @@
+# 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} )
+PYSIDE2_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 virtualx pypi
+
+DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications"
+HOMEPAGE="
+   https://pypi.org/project/pytest-qt/
+   https://github.com/pytest-dev/pytest-qt/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+   dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   || (
+   dev-python/PyQt6[gui,testlib,widgets,${PYTHON_USEDEP}]
+   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
+   dev-python/pyside6[gui,testlib,widgets,${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   
dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
+   ' "${PYSIDE2_COMPAT[@]}")
+   )
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   # warnings from other plugins cause the test output matchers to fail
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytestqt.plugin
+
+   local EPYTEST_DESELECT=(
+   # requires the window to be activated; that doesn't seem
+   # to be possible inside Xvfb
+   "tests/test_basics.py::test_wait_window[waitActive-True]"
+
+   # TODO
+   tests/test_exceptions.py::test_exceptions_dont_leak
+
+   # we are forcing a specific module via envvar, effectively
+   # overriding the config
+   tests/test_basics.py::test_qt_api_ini_config
+   tests/test_basics.py::test_qt_api_ini_config_with_envvar
+   )
+
+   local -x PYTEST_QT_API
+   for PYTEST_QT_API in PyQt{5,6} pyside{2,6}; do
+   if has_version 
"dev-python/${PYTEST_QT_API}[gui,testlib,widgets,${PYTHON_USEDEP}]"
+   then
+   einfo "Testing with ${EPYTHON} and ${PYTEST_QT_API}"
+   # force-disable xfail_strict as upstream as xfail 
assumptions
+   # don't seem to hold on arm64
+   nonfatal epytest -oxfail_strict=false ||
+   die -n "Tests failed with ${EPYTHON} and 
${PYTEST_QT_API}" ||
+   return 1
+   fi
+   done
+}



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

2023-12-16 Thread Michał Górny
commit: df7eb62fb0b0ca1e1544f6153983ae8ccf46b4e3
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 16 13:47:26 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 16 13:47:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df7eb62f

dev-python/pytest-qt: Keyword 4.2.0 arm, #913248

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

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
index c97f85e44fb9..852f4f554529 100644
--- a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]



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

2023-12-15 Thread Arthur Zamarin
commit: 8835e1ec0110c481bcd592b4d7993852caf612be
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 15 12:39:03 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 15 12:39:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8835e1ec

dev-python/pytest-qt: Stabilize 4.2.0 arm64, #917728

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

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
index 2df1fde44c05..c97f85e44fb9 100644
--- a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]



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

2023-12-15 Thread Michał Górny
commit: 7a03863063b2fe95f404a0fc9fcf838e440d3449
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 15 10:43:33 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 15 10:49:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a038630

dev-python/pytest-qt: Override xfail_strict as they pass on arm64

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

 dev-python/pytest-qt/pytest-qt-4.2.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
index 75e8b72f50f0..2df1fde44c05 100644
--- a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
@@ -67,7 +67,9 @@ python_test() {
if has_version 
"dev-python/${PYTEST_QT_API}[gui,testlib,widgets,${PYTHON_USEDEP}]"
then
einfo "Testing with ${EPYTHON} and ${PYTEST_QT_API}"
-   nonfatal epytest ||
+   # force-disable xfail_strict as upstream as xfail 
assumptions
+   # don't seem to hold on arm64
+   nonfatal epytest -oxfail_strict=false ||
die -n "Tests failed with ${EPYTHON} and 
${PYTEST_QT_API}" ||
return 1
fi



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

2023-12-02 Thread Arthur Zamarin
commit: b6959252b7b51a266ffb7a560e15fe02eea5b5fd
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec  3 05:45:30 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec  3 05:45:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6959252

dev-python/pytest-qt: Keyword 4.2.0 ppc64, #913248

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

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
index 69e99e252e64..75e8b72f50f0 100644
--- a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]



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

2023-11-22 Thread Michał Górny
commit: f46ad64b2ab8bf2a1cb006b8a368d2d18827d26f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 22 16:05:34 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 22 16:05:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f46ad64b

dev-python/pytest-qt: Run tests for available impls only

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

 dev-python/pytest-qt/pytest-qt-4.2.0.ebuild | 38 ++---
 1 file changed, 18 insertions(+), 20 deletions(-)

diff --git a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
index 6c843c8a73e3..69e99e252e64 100644
--- a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
@@ -25,13 +25,13 @@ RDEPEND="
 "
 BDEPEND="
test? (
-   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
-   ' "${PYSIDE2_COMPAT[@]}")
-   amd64? (
+   || (
dev-python/PyQt6[gui,testlib,widgets,${PYTHON_USEDEP}]
+   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
dev-python/pyside6[gui,testlib,widgets,${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   
dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
+   ' "${PYSIDE2_COMPAT[@]}")
)
)
 "
@@ -53,25 +53,23 @@ python_test() {
# to be possible inside Xvfb
"tests/test_basics.py::test_wait_window[waitActive-True]"
 
+   # TODO
+   tests/test_exceptions.py::test_exceptions_dont_leak
+
# we are forcing a specific module via envvar, effectively
# overriding the config
tests/test_basics.py::test_qt_api_ini_config
tests/test_basics.py::test_qt_api_ini_config_with_envvar
)
 
-   einfo "Testing with PyQt5"
-   PYTEST_QT_API="pyqt5" epytest || die
-   if use amd64; then
-   einfo "Testing with PyQt6"
-   PYTEST_QT_API="pyqt6" epytest || die
-   fi
-   # Pyside{2,6} is not compatible with python3.12
-   if has "${EPYTHON}" "${PYSIDE2_COMPAT[@]/_/.}"; then
-   einfo "Testing with PySide2"
-   PYTEST_QT_API="pyside2" epytest || die
-   fi
-   if use amd64 && has "${EPYTHON}" "${PYSIDE6_COMPAT[@]/_/.}"; then
-   einfo "Testing with PySide6"
-   PYTEST_QT_API="pyside6" epytest || die
-   fi
+   local -x PYTEST_QT_API
+   for PYTEST_QT_API in PyQt{5,6} pyside{2,6}; do
+   if has_version 
"dev-python/${PYTEST_QT_API}[gui,testlib,widgets,${PYTHON_USEDEP}]"
+   then
+   einfo "Testing with ${EPYTHON} and ${PYTEST_QT_API}"
+   nonfatal epytest ||
+   die -n "Tests failed with ${EPYTHON} and 
${PYTEST_QT_API}" ||
+   return 1
+   fi
+   done
 }



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

2023-10-18 Thread Andrew Ammerlaan
commit: 9902616bcbd25a156f48285e2a7bad2c845bb9ac
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Oct 18 10:52:16 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Oct 18 11:36:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9902616b

dev-python/pytest-qt: bump pyside6 python compat to 3.12

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/pytest-qt/pytest-qt-4.2.0.ebuild | 9 ++---
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
index 1860de7d1073..6c843c8a73e3 100644
--- a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
@@ -7,7 +7,6 @@ DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
 PYTHON_COMPAT=( python3_{10..12} )
 PYSIDE2_COMPAT=( python3_{10..11} )
-PYSIDE6_COMPAT=( python3_{10..11} )
 
 inherit distutils-r1 virtualx pypi
 
@@ -27,16 +26,12 @@ RDEPEND="
 BDEPEND="
test? (
dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
-   amd64? (
-   dev-python/PyQt6[gui,testlib,widgets,${PYTHON_USEDEP}]
-   )
$(python_gen_cond_dep '
dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
' "${PYSIDE2_COMPAT[@]}")
amd64? (
-   $(python_gen_cond_dep '
-   
dev-python/pyside6[gui,testlib,widgets,${PYTHON_USEDEP}]
-   ' "${PYSIDE6_COMPAT[@]}")
+   dev-python/PyQt6[gui,testlib,widgets,${PYTHON_USEDEP}]
+   dev-python/pyside6[gui,testlib,widgets,${PYTHON_USEDEP}]
)
)
 "



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

2023-09-11 Thread Jakov Smolić
commit: 3093e88e02460145412f44dc4ff492ab04ddeb26
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Sep 11 06:47:56 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Sep 11 06:47:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3093e88e

dev-python/pytest-qt: Keyword 4.2.0 riscv, #913248

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

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
index 5c321c7bdf1f..1860de7d1073 100644
--- a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
@@ -19,7 +19,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 ~riscv x86"
 
 RDEPEND="
dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/, profiles/arch/amd64/

2023-08-21 Thread Andrew Ammerlaan
commit: 0cc88bbc789541e2f9d4b2162b0cfb140529e2c8
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Aug 21 15:24:34 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Aug 21 15:26:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cc88bbc

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

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/pytest-qt/pytest-qt-4.2.0.ebuild | 23 ---
 profiles/arch/amd64/package.use.stable.mask |  4 
 2 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
index 81b76782132f..5c321c7bdf1f 100644
--- a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
@@ -5,8 +5,9 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{9..11} )
-PYSIDE2_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{10..12} )
+PYSIDE2_COMPAT=( python3_{10..11} )
+PYSIDE6_COMPAT=( python3_{10..11} )
 
 inherit distutils-r1 virtualx pypi
 
@@ -26,9 +27,17 @@ RDEPEND="
 BDEPEND="
test? (
dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
+   amd64? (
+   dev-python/PyQt6[gui,testlib,widgets,${PYTHON_USEDEP}]
+   )
$(python_gen_cond_dep '
dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
' "${PYSIDE2_COMPAT[@]}")
+   amd64? (
+   $(python_gen_cond_dep '
+   
dev-python/pyside6[gui,testlib,widgets,${PYTHON_USEDEP}]
+   ' "${PYSIDE6_COMPAT[@]}")
+   )
)
 "
 
@@ -57,9 +66,17 @@ python_test() {
 
einfo "Testing with PyQt5"
PYTEST_QT_API="pyqt5" epytest || die
-   # Pyside2 is not compatible with python3.11
+   if use amd64; then
+   einfo "Testing with PyQt6"
+   PYTEST_QT_API="pyqt6" epytest || die
+   fi
+   # Pyside{2,6} is not compatible with python3.12
if has "${EPYTHON}" "${PYSIDE2_COMPAT[@]/_/.}"; then
einfo "Testing with PySide2"
PYTEST_QT_API="pyside2" epytest || die
fi
+   if use amd64 && has "${EPYTHON}" "${PYSIDE6_COMPAT[@]/_/.}"; then
+   einfo "Testing with PySide6"
+   PYTEST_QT_API="pyside6" epytest || die
+   fi
 }

diff --git a/profiles/arch/amd64/package.use.stable.mask 
b/profiles/arch/amd64/package.use.stable.mask
index 9f702cca9700..f2195e3d8fbe 100644
--- a/profiles/arch/amd64/package.use.stable.mask
+++ b/profiles/arch/amd64/package.use.stable.mask
@@ -17,6 +17,10 @@
 
 #--- END OF EXAMPLES ---
 
+# Andrew Ammerlaan  (2023-08-21)
+# Mask testing on stable until we have stable qt6
+dev-python/pytest-qt test
+
 # Matt Jolly  (2023-08-10)
 # net-libs/ngtcp2 is not marked stable
 net-misc/curl nghttp3



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

2023-03-17 Thread Michał Górny
commit: 714fb7f5efcce5185540330f2515c328d8250c22
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 17 11:59:25 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 17 15:22:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=714fb7f5

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

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

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
index ec8fe32a9120..81b76782132f 100644
--- a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
@@ -4,17 +4,17 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
 PYTHON_COMPAT=( python3_{9..11} )
 PYSIDE2_COMPAT=( python3_{8..10} )
 
-inherit distutils-r1 virtualx
+inherit distutils-r1 virtualx pypi
 
 DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications"
 HOMEPAGE="
https://pypi.org/project/pytest-qt/
https://github.com/pytest-dev/pytest-qt/
 "
-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-qt/

2022-11-25 Thread Arthur Zamarin
commit: 83950e71ae7ab43621a81cbf64e13e5780ae0b67
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 25 20:35:46 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 25 20:35:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83950e71

dev-python/pytest-qt: drop 4.1.0

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

 dev-python/pytest-qt/Manifest   |  1 -
 dev-python/pytest-qt/pytest-qt-4.1.0.ebuild | 65 -
 2 files changed, 66 deletions(-)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
index ef415126fbe8..8fb49db0827d 100644
--- a/dev-python/pytest-qt/Manifest
+++ b/dev-python/pytest-qt/Manifest
@@ -1,2 +1 @@
-DIST pytest-qt-4.1.0.tar.gz 119702 BLAKE2B 
7c906c94761df6472ae65a6ebb38dff07de8156730e3e10615ea8e08f0bd9f9fee07127ee6e8616055117b1db1911bc9b4486345d84b249664d317561195ad77
 SHA512 
bfb56abbaac47bf9da26eb19d6913d59872f2a9923da339e9a30a2145d0a094ddec36bcfa21d39c4cf318f95a83c72c249fe70034294a6791f9d84345f77451d
 DIST pytest-qt-4.2.0.tar.gz 120749 BLAKE2B 
1986bbf4ebc578ad548d2fccb0d0fb42f75ad8a03f315f51c04ae466587d3299fca8ec3a49bc5d023fc8ca76cbe6c45728bc88609e20d6f68ea8c6ea204e
 SHA512 
57e175bada0e33101eeb7d85579f6e804658d74168714b117b3a1ba564826405e70860b258caf28c917ddca7acd1842de2133a55b342862762fc37ca1a758b69

diff --git a/dev-python/pytest-qt/pytest-qt-4.1.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.1.0.ebuild
deleted file mode 100644
index 721c620d61c8..
--- a/dev-python/pytest-qt/pytest-qt-4.1.0.ebuild
+++ /dev/null
@@ -1,65 +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..11} )
-PYSIDE2_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications"
-HOMEPAGE="
-   https://pypi.org/project/pytest-qt/
-   https://github.com/pytest-dev/pytest-qt/
-"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-
-RDEPEND="
-   dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
-   ' "${PYSIDE2_COMPAT[@]}")
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   # warnings from other plugins cause the test output matchers to fail
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytestqt.plugin
-
-   local EPYTEST_DESELECT=(
-   # requires the window to be activated; that doesn't seem
-   # to be possible inside Xvfb
-   "tests/test_basics.py::test_wait_window[waitActive-True]"
-
-   # we are forcing a specific module via envvar, effectively
-   # overriding the config
-   tests/test_basics.py::test_qt_api_ini_config
-   tests/test_basics.py::test_qt_api_ini_config_with_envvar
-   )
-
-   einfo "Testing with PyQt5"
-   PYTEST_QT_API="pyqt5" epytest || die
-   # Pyside2 is not compatible with python3.11
-   if has "${EPYTHON}" "${PYSIDE2_COMPAT[@]/_/.}"; then
-   einfo "Testing with PySide2"
-   PYTEST_QT_API="pyside2" epytest || die
-   fi
-}



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

2022-11-25 Thread Sam James
commit: 023fa65598bbb25a050c33a13908f02753a6c915
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 25 19:11:09 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 25 19:11:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=023fa655

dev-python/pytest-qt: Stabilize 4.2.0 ALLARCHES, #882963

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

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
index 69dbc6a6d79f..721c620d61c8 100644
--- a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 
 RDEPEND="
dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]



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

2022-10-25 Thread Michał Górny
commit: 92b15eec587b55d48ea5eb8bb48a859a4a34f3a6
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct 26 03:39:35 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct 26 03:49:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92b15eec

dev-python/pytest-qt: Bump to 4.2.0

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

 dev-python/pytest-qt/Manifest   |  1 +
 dev-python/pytest-qt/pytest-qt-4.2.0.ebuild | 65 +
 2 files changed, 66 insertions(+)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
index 794f27a65f05..ef415126fbe8 100644
--- a/dev-python/pytest-qt/Manifest
+++ b/dev-python/pytest-qt/Manifest
@@ -1 +1,2 @@
 DIST pytest-qt-4.1.0.tar.gz 119702 BLAKE2B 
7c906c94761df6472ae65a6ebb38dff07de8156730e3e10615ea8e08f0bd9f9fee07127ee6e8616055117b1db1911bc9b4486345d84b249664d317561195ad77
 SHA512 
bfb56abbaac47bf9da26eb19d6913d59872f2a9923da339e9a30a2145d0a094ddec36bcfa21d39c4cf318f95a83c72c249fe70034294a6791f9d84345f77451d
+DIST pytest-qt-4.2.0.tar.gz 120749 BLAKE2B 
1986bbf4ebc578ad548d2fccb0d0fb42f75ad8a03f315f51c04ae466587d3299fca8ec3a49bc5d023fc8ca76cbe6c45728bc88609e20d6f68ea8c6ea204e
 SHA512 
57e175bada0e33101eeb7d85579f6e804658d74168714b117b3a1ba564826405e70860b258caf28c917ddca7acd1842de2133a55b342862762fc37ca1a758b69

diff --git a/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
new file mode 100644
index ..69dbc6a6d79f
--- /dev/null
+++ b/dev-python/pytest-qt/pytest-qt-4.2.0.ebuild
@@ -0,0 +1,65 @@
+# 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..11} )
+PYSIDE2_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications"
+HOMEPAGE="
+   https://pypi.org/project/pytest-qt/
+   https://github.com/pytest-dev/pytest-qt/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+   dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
+   ' "${PYSIDE2_COMPAT[@]}")
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   # warnings from other plugins cause the test output matchers to fail
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytestqt.plugin
+
+   local EPYTEST_DESELECT=(
+   # requires the window to be activated; that doesn't seem
+   # to be possible inside Xvfb
+   "tests/test_basics.py::test_wait_window[waitActive-True]"
+
+   # we are forcing a specific module via envvar, effectively
+   # overriding the config
+   tests/test_basics.py::test_qt_api_ini_config
+   tests/test_basics.py::test_qt_api_ini_config_with_envvar
+   )
+
+   einfo "Testing with PyQt5"
+   PYTEST_QT_API="pyqt5" epytest || die
+   # Pyside2 is not compatible with python3.11
+   if has "${EPYTHON}" "${PYSIDE2_COMPAT[@]/_/.}"; then
+   einfo "Testing with PySide2"
+   PYTEST_QT_API="pyside2" epytest || die
+   fi
+}



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

2022-07-24 Thread Michał Górny
commit: 1f1d624a5db3af245d1967d2871deeb958d11824
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 24 20:22:05 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 24 20:22:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f1d624a

dev-python/pytest-qt: Remove old

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

 dev-python/pytest-qt/Manifest  |  1 -
 dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild | 59 --
 2 files changed, 60 deletions(-)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
index b2b6f18692fd..794f27a65f05 100644
--- a/dev-python/pytest-qt/Manifest
+++ b/dev-python/pytest-qt/Manifest
@@ -1,2 +1 @@
-DIST pytest-qt-4.0.2.tar.gz 113466 BLAKE2B 
73ba6571958f3f4cd76c3e891eaa014d464b94a7965afac6cee5b43bafdc63d4d640f84c7bfa1666146ab5139f79c760bd9f5a2a44f788b6384df200ac48ad0d
 SHA512 
7f59c499e1395460c2ff20a969cec16ca104f742c648faa0d7eb1528c04d8ee52c04c52798478bc01c5467bee33d3389b141424491ba5442f9df4e82f0dff173
 DIST pytest-qt-4.1.0.tar.gz 119702 BLAKE2B 
7c906c94761df6472ae65a6ebb38dff07de8156730e3e10615ea8e08f0bd9f9fee07127ee6e8616055117b1db1911bc9b4486345d84b249664d317561195ad77
 SHA512 
bfb56abbaac47bf9da26eb19d6913d59872f2a9923da339e9a30a2145d0a094ddec36bcfa21d39c4cf318f95a83c72c249fe70034294a6791f9d84345f77451d

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild
deleted file mode 100644
index cddbe0810ddd..
--- a/dev-python/pytest-qt/pytest-qt-4.0.2-r1.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..11} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications"
-HOMEPAGE="
-   https://pypi.org/project/pytest-qt/
-   https://github.com/pytest-dev/pytest-qt/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-
-RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"
-BDEPEND="
-   test? (
-   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
-   ' python3_{8..10} )
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   # warnings from other plugins cause the test output matchers to fail
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytestqt.plugin
-
-   local EPYTEST_DESELECT=(
-   # requires the window to be activated; that doesn't seem
-   # to be possible inside Xvfb
-   "tests/test_basics.py::test_wait_window[waitActive-True]"
-
-   # we are forcing a specific module via envvar, effectively
-   # overriding the config
-   tests/test_basics.py::test_qt_api_ini_config
-   tests/test_basics.py::test_qt_api_ini_config_with_envvar
-   )
-
-   PYTEST_QT_API="pyqt5" epytest || die
-   # Pyside2 is not compatible with python3.11
-   if [[ "${EPYTHON}" != python3.11 ]]; then
-   PYTEST_QT_API="pyside2" epytest || die
-   fi
-}



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

2022-06-23 Thread Michał Górny
commit: 7ef2f050b4df7d6d73ae67b3d8b4d797a483325a
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun 24 05:06:35 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 24 05:16:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ef2f050

dev-python/pytest-qt: Bump to 4.1.0

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

 dev-python/pytest-qt/Manifest   |  1 +
 dev-python/pytest-qt/pytest-qt-4.1.0.ebuild | 65 +
 2 files changed, 66 insertions(+)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
index 82b75962d056..b2b6f18692fd 100644
--- a/dev-python/pytest-qt/Manifest
+++ b/dev-python/pytest-qt/Manifest
@@ -1 +1,2 @@
 DIST pytest-qt-4.0.2.tar.gz 113466 BLAKE2B 
73ba6571958f3f4cd76c3e891eaa014d464b94a7965afac6cee5b43bafdc63d4d640f84c7bfa1666146ab5139f79c760bd9f5a2a44f788b6384df200ac48ad0d
 SHA512 
7f59c499e1395460c2ff20a969cec16ca104f742c648faa0d7eb1528c04d8ee52c04c52798478bc01c5467bee33d3389b141424491ba5442f9df4e82f0dff173
+DIST pytest-qt-4.1.0.tar.gz 119702 BLAKE2B 
7c906c94761df6472ae65a6ebb38dff07de8156730e3e10615ea8e08f0bd9f9fee07127ee6e8616055117b1db1911bc9b4486345d84b249664d317561195ad77
 SHA512 
bfb56abbaac47bf9da26eb19d6913d59872f2a9923da339e9a30a2145d0a094ddec36bcfa21d39c4cf318f95a83c72c249fe70034294a6791f9d84345f77451d

diff --git a/dev-python/pytest-qt/pytest-qt-4.1.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.1.0.ebuild
new file mode 100644
index ..69dbc6a6d79f
--- /dev/null
+++ b/dev-python/pytest-qt/pytest-qt-4.1.0.ebuild
@@ -0,0 +1,65 @@
+# 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..11} )
+PYSIDE2_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications"
+HOMEPAGE="
+   https://pypi.org/project/pytest-qt/
+   https://github.com/pytest-dev/pytest-qt/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+   dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
+   ' "${PYSIDE2_COMPAT[@]}")
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   # warnings from other plugins cause the test output matchers to fail
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytestqt.plugin
+
+   local EPYTEST_DESELECT=(
+   # requires the window to be activated; that doesn't seem
+   # to be possible inside Xvfb
+   "tests/test_basics.py::test_wait_window[waitActive-True]"
+
+   # we are forcing a specific module via envvar, effectively
+   # overriding the config
+   tests/test_basics.py::test_qt_api_ini_config
+   tests/test_basics.py::test_qt_api_ini_config_with_envvar
+   )
+
+   einfo "Testing with PyQt5"
+   PYTEST_QT_API="pyqt5" epytest || die
+   # Pyside2 is not compatible with python3.11
+   if has "${EPYTHON}" "${PYSIDE2_COMPAT[@]/_/.}"; then
+   einfo "Testing with PySide2"
+   PYTEST_QT_API="pyside2" epytest || die
+   fi
+}



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

2022-06-08 Thread Andrew Ammerlaan
commit: f29c6b993b40bc4621294a5ca8ed781b5f8a279c
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed May 25 10:48:06 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Jun  8 19:15:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29c6b99

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

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild
index 11a6bd58b0a3..cddbe0810ddd 100644
--- a/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit distutils-r1 virtualx
 
@@ -22,7 +22,9 @@ 
RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"
 BDEPEND="
test? (
dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
-   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
+   ' python3_{8..10} )
)
 "
 
@@ -50,5 +52,8 @@ python_test() {
)
 
PYTEST_QT_API="pyqt5" epytest || die
-   PYTEST_QT_API="pyside2" epytest || die
+   # Pyside2 is not compatible with python3.11
+   if [[ "${EPYTHON}" != python3.11 ]]; then
+   PYTEST_QT_API="pyside2" epytest || die
+   fi
 }



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

2022-05-26 Thread Conrad Kostecki
commit: 300b1793a88d651323e8e32fe04e3c425bad8bc5
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu May 26 18:11:42 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu May 26 20:29:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=300b1793

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

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/25643
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../pytest-qt-3.3.0-fix-file-match-test.patch  | 13 
 .../pytest-qt-3.3.0-skip-show-window-test.patch| 36 --
 2 files changed, 49 deletions(-)

diff --git 
a/dev-python/pytest-qt/files/pytest-qt-3.3.0-fix-file-match-test.patch 
b/dev-python/pytest-qt/files/pytest-qt-3.3.0-fix-file-match-test.patch
deleted file mode 100644
index cbdeb80c1c56..
--- a/dev-python/pytest-qt/files/pytest-qt-3.3.0-fix-file-match-test.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/tests/test_modeltest.py b/tests/test_modeltest.py
-index ef9371c..becd3ae 100644
 a/tests/test_modeltest.py
-+++ b/tests/test_modeltest.py
-@@ -350,7 +350,7 @@ def test_qt_tester_invalid(testdir):
- "test_qt_tester_invalid.py:*: Qt modeltester errors",
- "*-- Captured Qt messages --*",
- "* QtWarningMsg: FAIL! model->columnCount(QModelIndex()) >= 0 () 
returned FALSE "
--"(qabstractitemmodeltester.cpp:*)",
-+"(*qabstractitemmodeltester.cpp:*)",
- "*-- Captured stdout call --*",
- "modeltest: Using Qt C++ tester",
- "*== 1 failed in * ==*",

diff --git 
a/dev-python/pytest-qt/files/pytest-qt-3.3.0-skip-show-window-test.patch 
b/dev-python/pytest-qt/files/pytest-qt-3.3.0-skip-show-window-test.patch
deleted file mode 100644
index 1acef2bb4922..
--- a/dev-python/pytest-qt/files/pytest-qt-3.3.0-skip-show-window-test.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git a/tests/test_basics.py b/tests/test_basics.py
-index 7fdaf93..a972ea0 100644
 a/tests/test_basics.py
-+++ b/tests/test_basics.py
-@@ -82,31 +82,6 @@ def test_stop_for_interaction(qtbot, timer):
- qtbot.stopForInteraction()
- 
- 
--@pytest.mark.parametrize("show", [True, False])
--@pytest.mark.parametrize("method_name", ["waitExposed", "waitActive"])
--def test_wait_window(show, method_name, qtbot):
--"""
--Using one of the wait-widget methods should not raise anything if the 
widget
--is properly displayed, otherwise should raise a TimeoutError.
--"""
--method = getattr(qtbot, method_name)
--if qt_api.pytest_qt_api != "pyqt5":
--with pytest.raises(RuntimeError) as exc_info:
--with method(None, None):
--pass
--assert str(exc_info.value) == "Available in PyQt5 only"
--else:
--widget = qt_api.QWidget()
--qtbot.add_widget(widget)
--if show:
--with method(widget, timeout=1000):
--widget.show()
--else:
--with pytest.raises(qtbot.TimeoutError):
--with method(widget, timeout=100):
--pass
--
--
- @pytest.mark.parametrize("method_name", ["waitExposed", "waitActive"])
- def test_wait_window_propagates_other_exception(method_name, qtbot):
- """



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

2022-05-25 Thread Andrew Ammerlaan
commit: 73ae489c380e26c507c3239ee6ce6cc7ac9bb622
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed May 25 09:39:14 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed May 25 09:43:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73ae489c

dev-python/pytest-qt: drop 3.3.0

Signed-off-by: Andrew Ammerlaan  gentoo.org>

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

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
index f14eaa57756e..82b75962d056 100644
--- a/dev-python/pytest-qt/Manifest
+++ b/dev-python/pytest-qt/Manifest
@@ -1,2 +1 @@
-DIST pytest-qt-3.3.0.tar.gz 113439 BLAKE2B 
1eb486d2d44825058577306ed3b9ade34e6cbad0d90038fe314114bb22c82ae069c9fe66c170591de6c97bad99f5f9e0021c8b3dc38c858b8293a22c448bed74
 SHA512 
8b3ce7b62621c55fb319966b162cb60663c5ef290f34e62e6a9329e67f530c2bde1329ae0b045b15c99ae14f5f6a5fef9ee930475fa700922c50ee725adf7983
 DIST pytest-qt-4.0.2.tar.gz 113466 BLAKE2B 
73ba6571958f3f4cd76c3e891eaa014d464b94a7965afac6cee5b43bafdc63d4d640f84c7bfa1666146ab5139f79c760bd9f5a2a44f788b6384df200ac48ad0d
 SHA512 
7f59c499e1395460c2ff20a969cec16ca104f742c648faa0d7eb1528c04d8ee52c04c52798478bc01c5467bee33d3389b141424491ba5442f9df4e82f0dff173

diff --git a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
deleted file mode 100644
index 8e4e3f6611c2..
--- a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="pytest plugin for PyQt5 and PySide2 applications"
-HOMEPAGE="
-   https://pypi.org/project/pytest-qt/
-   https://github.com/pytest-dev/pytest-qt/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"
-BDEPEND="
-   test? (
-   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
-   ' python3_{7..9} )
-   )
-"
-
-# Patch 1 skips a test that does not work inside the emerge environment:
-# pytestqt.exceptions.TimeoutError: widget  not activated in 1000 ms.
-# Patch 2 fixes upstream bug 314
-PATCHES=(
-   "${FILESDIR}/${P}-skip-show-window-test.patch"
-   "${FILESDIR}/${P}-fix-file-match-test.patch"
-)
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
-
-python_prepare_all() {
-   # This is not going to work since we want to test both implementations
-   # and therefore pull in both and explicitly set PYTEST_QT_API
-   sed -i -e 's:test_qt_api_ini_config_with_envvar:_&:' \
-   -e 's:test_qt_api_ini_config:_&:' \
-   tests/test_basics.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-src_test() {
-   virtx python_foreach_impl python_test
-}
-
-python_test() {
-   distutils_install_for_testing
-   PYTEST_QT_API="pyqt5" epytest
-   if [[ "${EPYTHON}" == "python3.10" ]]; then
-   return
-   else
-   PYTEST_QT_API="pyside2" epytest
-   fi
-}



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

2022-03-31 Thread Michał Górny
commit: 89af0bbaf1f4accb2a447de53279af7696d58cf1
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 31 12:43:04 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 31 12:43:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89af0bba

dev-python/pytest-qt: Remove old

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

 dev-python/pytest-qt/pytest-qt-4.0.2.ebuild | 60 -
 1 file changed, 60 deletions(-)

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
deleted file mode 100644
index 2e1cc477fd82..
--- a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications"
-HOMEPAGE="
-   https://pypi.org/project/pytest-qt/
-   https://github.com/pytest-dev/pytest-qt/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-
-RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"
-BDEPEND="
-   test? (
-   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
-   ' python3_{8..9} )
-   )
-"
-
-distutils_enable_tests --install pytest
-distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
-
-src_test() {
-   virtx distutils-r1_src_test
-}
-
-python_test() {
-   # warnings from other plugins cause the test output matchers to fail
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   local -x PYTEST_PLUGINS=pytestqt.plugin
-
-   local EPYTEST_DESELECT=(
-   # requires the window to be activated; that doesn't seem
-   # to be possible inside Xvfb
-   "tests/test_basics.py::test_wait_window[waitActive-True]"
-
-   # we are forcing a specific module via envvar, effectively
-   # overriding the config
-   tests/test_basics.py::test_qt_api_ini_config
-   tests/test_basics.py::test_qt_api_ini_config_with_envvar
-   )
-
-   distutils_install_for_testing
-   PYTEST_QT_API="pyqt5" epytest || die
-   if [[ "${EPYTHON}" == "python3.10" ]]; then
-   return
-   else
-   PYTEST_QT_API="pyside2" epytest || die
-   fi
-}



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

2022-03-31 Thread Jakov Smolić
commit: 70daf4825cf3bb8e7063f2cab99677f4ab7e0ee7
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Mar 31 12:40:38 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Mar 31 12:40:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70daf482

dev-python/pytest-qt: Stabilize 4.0.2-r1 ALLARCHES, #836514

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

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild
index ce2a9e32d833..11a6bd58b0a3 100644
--- a/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 
 RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"
 BDEPEND="



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

2022-02-22 Thread Michał Górny
commit: 25365f517a846987e6f1883a72a7b24a6b7dab35
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 22 19:00:24 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 22 19:01:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25365f51

dev-python/pytest-qt: Add python@ as co-maint.

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

 dev-python/pytest-qt/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/pytest-qt/metadata.xml 
b/dev-python/pytest-qt/metadata.xml
index 9f2fb4bb4df2..4e92ac67dcc4 100644
--- a/dev-python/pytest-qt/metadata.xml
+++ b/dev-python/pytest-qt/metadata.xml
@@ -5,6 +5,10 @@
andrewammerl...@gentoo.org
Andrew Ammerlaan

+   
+   pyt...@gentoo.org
+   Python
+   

pytest-qt
pytest-dev/pytest-qt



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

2022-02-20 Thread Sam James
commit: 06dc45c56bd79e1b07c19a14e8c73d6b90de9fba
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 20 20:31:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 20 20:31:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06dc45c5

dev-python/pytest-qt: Stabilize 4.0.2 ALLARCHES, #803782

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

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
index c3f929813750..2e1cc477fd82 100644
--- a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 
 RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"
 BDEPEND="



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

2022-02-20 Thread Michał Górny
commit: 4784217153586cdfd84cf2dd5c1bfa02d625403f
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 20 16:23:58 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 20 16:33:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47842171

dev-python/pytest-qt: Disable plugin autoloading to fix tests

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

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
index c11cb485179f..42c994fad350 100644
--- a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
@@ -49,6 +49,10 @@ src_test() {
 }
 
 python_test() {
+   # warnings from other plugins cause the test output matchers to fail
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytestqt.plugin
+
distutils_install_for_testing
PYTEST_QT_API="pyqt5" epytest || die
if [[ "${EPYTHON}" == "python3.10" ]]; then



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

2022-02-20 Thread Michał Górny
commit: 10db9286cda69e561d3187b9090431f5b31b26b2
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 20 16:14:44 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 20 16:33:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10db9286

dev-python/pytest-qt: Fix calling the test phase

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

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
index ccbeafed2185..c11cb485179f 100644
--- a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.0.2.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=7
@@ -45,7 +45,7 @@ python_prepare_all() {
 }
 
 src_test() {
-   virtx python_foreach_impl python_test
+   virtx distutils-r1_src_test
 }
 
 python_test() {



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

2022-02-20 Thread Michał Górny
commit: 62bd84b896478767fdeea58afe812d3a5182bc1c
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 20 16:28:30 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 20 16:33:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62bd84b8

dev-python/pytest-qt: Bump to EAPI 8, switch to PEP517, ext. py3.10

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

 dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild | 54 ++
 1 file changed, 54 insertions(+)

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild
new file mode 100644
index ..ce2a9e32d833
--- /dev/null
+++ b/dev-python/pytest-qt/pytest-qt-4.0.2-r1.ebuild
@@ -0,0 +1,54 @@
+# 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} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications"
+HOMEPAGE="
+   https://pypi.org/project/pytest-qt/
+   https://github.com/pytest-dev/pytest-qt/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
+   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
+
+src_test() {
+   virtx distutils-r1_src_test
+}
+
+python_test() {
+   # warnings from other plugins cause the test output matchers to fail
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytestqt.plugin
+
+   local EPYTEST_DESELECT=(
+   # requires the window to be activated; that doesn't seem
+   # to be possible inside Xvfb
+   "tests/test_basics.py::test_wait_window[waitActive-True]"
+
+   # we are forcing a specific module via envvar, effectively
+   # overriding the config
+   tests/test_basics.py::test_qt_api_ini_config
+   tests/test_basics.py::test_qt_api_ini_config_with_envvar
+   )
+
+   PYTEST_QT_API="pyqt5" epytest || die
+   PYTEST_QT_API="pyside2" epytest || die
+}



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

2022-02-20 Thread Michał Górny
commit: 002ae3be977b918b3684368766d655a8bc16927c
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 20 16:27:36 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 20 16:33:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=002ae3be

dev-python/pytest-qt: Switch to EPYTEST_DESELECT

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

 dev-python/pytest-qt/pytest-qt-4.0.2.ebuild | 25 +++--
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
index 42c994fad350..c3f929813750 100644
--- a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
@@ -30,20 +30,6 @@ BDEPEND="
 distutils_enable_tests --install pytest
 distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
 
-python_prepare_all() {
-   # This show window test does not work inside the emerge env, as we 
cannot show windows.
-   # pytestqt.exceptions.TimeoutError: widget  not activated in 1000 ms.
-   sed -i -e 's:test_wait_window:_&:' tests/test_basics.py || die
-
-   # This is not going to work since we want to test both implementations
-   # and therefore pull in both and explicitly set PYTEST_QT_API
-   sed -i -e 's:test_qt_api_ini_config_with_envvar:_&:' \
-   -e 's:test_qt_api_ini_config:_&:' \
-   tests/test_basics.py || die
-
-   distutils-r1_python_prepare_all
-}
-
 src_test() {
virtx distutils-r1_src_test
 }
@@ -53,6 +39,17 @@ python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytestqt.plugin
 
+   local EPYTEST_DESELECT=(
+   # requires the window to be activated; that doesn't seem
+   # to be possible inside Xvfb
+   "tests/test_basics.py::test_wait_window[waitActive-True]"
+
+   # we are forcing a specific module via envvar, effectively
+   # overriding the config
+   tests/test_basics.py::test_qt_api_ini_config
+   tests/test_basics.py::test_qt_api_ini_config_with_envvar
+   )
+
distutils_install_for_testing
PYTEST_QT_API="pyqt5" epytest || die
if [[ "${EPYTHON}" == "python3.10" ]]; then



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

2022-02-12 Thread Michał Górny
commit: 1bae8d933a2bddb9211a945c9126f7d0eee957ca
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 12 23:50:46 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 12 23:50:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bae8d93

dev-python/pytest-qt: Fix dying on test failures

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

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
index f2e45a6dfdb4..ccbeafed2185 100644
--- a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
@@ -50,10 +50,10 @@ src_test() {
 
 python_test() {
distutils_install_for_testing
-   PYTEST_QT_API="pyqt5" epytest
+   PYTEST_QT_API="pyqt5" epytest || die
if [[ "${EPYTHON}" == "python3.10" ]]; then
return
else
-   PYTEST_QT_API="pyside2" epytest
+   PYTEST_QT_API="pyside2" epytest || die
fi
 }



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

2021-10-18 Thread Sam James
commit: cb89f81234e778247147cd7dd8f9867fc5b737d8
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 19 00:11:58 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 19 00:11:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb89f812

dev-python/pytest-qt: Keyword 4.0.2 arm64, #818277

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

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

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
index 900afcbe985..f2e45a6dfdb 100644
--- a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"
 BDEPEND="



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

2021-06-22 Thread Andrew Ammerlaan
commit: 2a617d49e510be4387af3d6955652d67c9f51b3a
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Jun 22 17:56:02 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Jun 22 17:59:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a617d49

dev-python/pytest-qt: clean up 4.0.0 and 4.0.1

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/pytest-qt/Manifest   |  2 -
 dev-python/pytest-qt/pytest-qt-4.0.0.ebuild | 59 -
 dev-python/pytest-qt/pytest-qt-4.0.1.ebuild | 59 -
 3 files changed, 120 deletions(-)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
index 0d187ea30ef..f14eaa57756 100644
--- a/dev-python/pytest-qt/Manifest
+++ b/dev-python/pytest-qt/Manifest
@@ -1,4 +1,2 @@
 DIST pytest-qt-3.3.0.tar.gz 113439 BLAKE2B 
1eb486d2d44825058577306ed3b9ade34e6cbad0d90038fe314114bb22c82ae069c9fe66c170591de6c97bad99f5f9e0021c8b3dc38c858b8293a22c448bed74
 SHA512 
8b3ce7b62621c55fb319966b162cb60663c5ef290f34e62e6a9329e67f530c2bde1329ae0b045b15c99ae14f5f6a5fef9ee930475fa700922c50ee725adf7983
-DIST pytest-qt-4.0.0.tar.gz 11 BLAKE2B 
69c2c8c823b55c44150c7beb0754e90866c7659912dbc0d99ee29904b0a20eadf26939709a5d120d0b95e23bcb99310415932e87934ae84571c55e3ffd07c284
 SHA512 
cfdde2e82b42979313d96f9a14bdafea0d4d5d5b64b4785ac73b74e36bfb892ab7b5ec6eb1c4e540ec00ccec6739e8bd9a3ffb610f204f6cfe97061f57a3971a
-DIST pytest-qt-4.0.1.tar.gz 113473 BLAKE2B 
b77438ea2e6f71566daa50628d481671bc5ece0cffe2c67d689e780274884d70d94d70305c92775e5d9bba7fe09431ce7116aa5823234675237149726178ba43
 SHA512 
4f6d9057d5c6ebf439d0f69a341b3d7a4297e3eea251f85c82cf5ecc7aca1419b7a2ab0e846852661a0a2236af6225518b3ae691bb014fb56dbc1d39106db4cc
 DIST pytest-qt-4.0.2.tar.gz 113466 BLAKE2B 
73ba6571958f3f4cd76c3e891eaa014d464b94a7965afac6cee5b43bafdc63d4d640f84c7bfa1666146ab5139f79c760bd9f5a2a44f788b6384df200ac48ad0d
 SHA512 
7f59c499e1395460c2ff20a969cec16ca104f742c648faa0d7eb1528c04d8ee52c04c52798478bc01c5467bee33d3389b141424491ba5442f9df4e82f0dff173

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.0.ebuild
deleted file mode 100644
index a86288ff3b7..000
--- a/dev-python/pytest-qt/pytest-qt-4.0.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="pytest plugin for PyQt5 and PySide2 applications"
-HOMEPAGE="
-   https://pypi.org/project/pytest-qt/
-   https://github.com/pytest-dev/pytest-qt/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"
-BDEPEND="
-   test? (
-   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
-   ' python3_{7..9} )
-   )
-"
-
-distutils_enable_tests --install pytest
-distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
-
-python_prepare_all() {
-   # This show window test does not work inside the emerge env, as we 
cannot show windows.
-   # pytestqt.exceptions.TimeoutError: widget  not activated in 1000 ms.
-   sed -i -e 's:test_wait_window:_&:' tests/test_basics.py || die
-
-   # This is not going to work since we want to test both implementations
-   # and therefore pull in both and explicitly set PYTEST_QT_API
-   sed -i -e 's:test_qt_api_ini_config_with_envvar:_&:' \
-   -e 's:test_qt_api_ini_config:_&:' \
-   tests/test_basics.py || die
-
-   distutils-r1_python_prepare_all
-}
-
-src_test() {
-   virtx python_foreach_impl python_test
-}
-
-python_test() {
-   distutils_install_for_testing
-   PYTEST_QT_API="pyqt5" epytest
-   if [[ "${EPYTHON}" == "python3.10" ]]; then
-   return
-   else
-   PYTEST_QT_API="pyside2" epytest
-   fi
-}

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.1.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.1.ebuild
deleted file mode 100644
index 01570364aa9..000
--- a/dev-python/pytest-qt/pytest-qt-4.0.1.ebuild
+++ /dev/null
@@ -1,59 +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} )
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="pytest plugin for PyQt5 and PySide2 applications"
-HOMEPAGE="
-   https://pypi.org/project/pytest-qt/
-   https://github.com/pytest-dev/pytest-qt/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"

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

2021-06-22 Thread Andrew Ammerlaan
commit: 29d8811ef08e0b87df9b459cf98388e63a071bd1
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Jun 22 17:55:26 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Jun 22 17:59:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d8811e

dev-python/pytest-qt: add version 4.0.2

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/pytest-qt/Manifest   |  1 +
 dev-python/pytest-qt/pytest-qt-4.0.2.ebuild | 59 +
 2 files changed, 60 insertions(+)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
index 157ce3b2bc9..0d187ea30ef 100644
--- a/dev-python/pytest-qt/Manifest
+++ b/dev-python/pytest-qt/Manifest
@@ -1,3 +1,4 @@
 DIST pytest-qt-3.3.0.tar.gz 113439 BLAKE2B 
1eb486d2d44825058577306ed3b9ade34e6cbad0d90038fe314114bb22c82ae069c9fe66c170591de6c97bad99f5f9e0021c8b3dc38c858b8293a22c448bed74
 SHA512 
8b3ce7b62621c55fb319966b162cb60663c5ef290f34e62e6a9329e67f530c2bde1329ae0b045b15c99ae14f5f6a5fef9ee930475fa700922c50ee725adf7983
 DIST pytest-qt-4.0.0.tar.gz 11 BLAKE2B 
69c2c8c823b55c44150c7beb0754e90866c7659912dbc0d99ee29904b0a20eadf26939709a5d120d0b95e23bcb99310415932e87934ae84571c55e3ffd07c284
 SHA512 
cfdde2e82b42979313d96f9a14bdafea0d4d5d5b64b4785ac73b74e36bfb892ab7b5ec6eb1c4e540ec00ccec6739e8bd9a3ffb610f204f6cfe97061f57a3971a
 DIST pytest-qt-4.0.1.tar.gz 113473 BLAKE2B 
b77438ea2e6f71566daa50628d481671bc5ece0cffe2c67d689e780274884d70d94d70305c92775e5d9bba7fe09431ce7116aa5823234675237149726178ba43
 SHA512 
4f6d9057d5c6ebf439d0f69a341b3d7a4297e3eea251f85c82cf5ecc7aca1419b7a2ab0e846852661a0a2236af6225518b3ae691bb014fb56dbc1d39106db4cc
+DIST pytest-qt-4.0.2.tar.gz 113466 BLAKE2B 
73ba6571958f3f4cd76c3e891eaa014d464b94a7965afac6cee5b43bafdc63d4d640f84c7bfa1666146ab5139f79c760bd9f5a2a44f788b6384df200ac48ad0d
 SHA512 
7f59c499e1395460c2ff20a969cec16ca104f742c648faa0d7eb1528c04d8ee52c04c52798478bc01c5467bee33d3389b141424491ba5442f9df4e82f0dff173

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
new file mode 100644
index 000..900afcbe985
--- /dev/null
+++ b/dev-python/pytest-qt/pytest-qt-4.0.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Pytest plugin for PyQt5 and PySide2 applications"
+HOMEPAGE="
+   https://pypi.org/project/pytest-qt/
+   https://github.com/pytest-dev/pytest-qt/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
+   ' python3_{8..9} )
+   )
+"
+
+distutils_enable_tests --install pytest
+distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
+
+python_prepare_all() {
+   # This show window test does not work inside the emerge env, as we 
cannot show windows.
+   # pytestqt.exceptions.TimeoutError: widget  not activated in 1000 ms.
+   sed -i -e 's:test_wait_window:_&:' tests/test_basics.py || die
+
+   # This is not going to work since we want to test both implementations
+   # and therefore pull in both and explicitly set PYTEST_QT_API
+   sed -i -e 's:test_qt_api_ini_config_with_envvar:_&:' \
+   -e 's:test_qt_api_ini_config:_&:' \
+   tests/test_basics.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+src_test() {
+   virtx python_foreach_impl python_test
+}
+
+python_test() {
+   distutils_install_for_testing
+   PYTEST_QT_API="pyqt5" epytest
+   if [[ "${EPYTHON}" == "python3.10" ]]; then
+   return
+   else
+   PYTEST_QT_API="pyside2" epytest
+   fi
+}



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

2021-06-11 Thread Andrew Ammerlaan
commit: d2b007067e4aa60399127e4f1fd22b18ff660b6d
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Jun 11 14:13:14 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Jun 11 14:13:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2b00706

dev-python/pytest-qt: add version 4.0.1

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/pytest-qt/Manifest   |  1 +
 dev-python/pytest-qt/pytest-qt-4.0.1.ebuild | 59 +
 2 files changed, 60 insertions(+)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
index 4357596288e..157ce3b2bc9 100644
--- a/dev-python/pytest-qt/Manifest
+++ b/dev-python/pytest-qt/Manifest
@@ -1,2 +1,3 @@
 DIST pytest-qt-3.3.0.tar.gz 113439 BLAKE2B 
1eb486d2d44825058577306ed3b9ade34e6cbad0d90038fe314114bb22c82ae069c9fe66c170591de6c97bad99f5f9e0021c8b3dc38c858b8293a22c448bed74
 SHA512 
8b3ce7b62621c55fb319966b162cb60663c5ef290f34e62e6a9329e67f530c2bde1329ae0b045b15c99ae14f5f6a5fef9ee930475fa700922c50ee725adf7983
 DIST pytest-qt-4.0.0.tar.gz 11 BLAKE2B 
69c2c8c823b55c44150c7beb0754e90866c7659912dbc0d99ee29904b0a20eadf26939709a5d120d0b95e23bcb99310415932e87934ae84571c55e3ffd07c284
 SHA512 
cfdde2e82b42979313d96f9a14bdafea0d4d5d5b64b4785ac73b74e36bfb892ab7b5ec6eb1c4e540ec00ccec6739e8bd9a3ffb610f204f6cfe97061f57a3971a
+DIST pytest-qt-4.0.1.tar.gz 113473 BLAKE2B 
b77438ea2e6f71566daa50628d481671bc5ece0cffe2c67d689e780274884d70d94d70305c92775e5d9bba7fe09431ce7116aa5823234675237149726178ba43
 SHA512 
4f6d9057d5c6ebf439d0f69a341b3d7a4297e3eea251f85c82cf5ecc7aca1419b7a2ab0e846852661a0a2236af6225518b3ae691bb014fb56dbc1d39106db4cc

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.1.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.1.ebuild
new file mode 100644
index 000..01570364aa9
--- /dev/null
+++ b/dev-python/pytest-qt/pytest-qt-4.0.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="pytest plugin for PyQt5 and PySide2 applications"
+HOMEPAGE="
+   https://pypi.org/project/pytest-qt/
+   https://github.com/pytest-dev/pytest-qt/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
+   ' python3_{8..9} )
+   )
+"
+
+distutils_enable_tests --install pytest
+distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
+
+python_prepare_all() {
+   # This show window test does not work inside the emerge env, as we 
cannot show windows.
+   # pytestqt.exceptions.TimeoutError: widget  not activated in 1000 ms.
+   sed -i -e 's:test_wait_window:_&:' tests/test_basics.py || die
+
+   # This is not going to work since we want to test both implementations
+   # and therefore pull in both and explicitly set PYTEST_QT_API
+   sed -i -e 's:test_qt_api_ini_config_with_envvar:_&:' \
+   -e 's:test_qt_api_ini_config:_&:' \
+   tests/test_basics.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+src_test() {
+   virtx python_foreach_impl python_test
+}
+
+python_test() {
+   distutils_install_for_testing
+   PYTEST_QT_API="pyqt5" epytest
+   if [[ "${EPYTHON}" == "python3.10" ]]; then
+   return
+   else
+   PYTEST_QT_API="pyside2" epytest
+   fi
+}



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

2021-06-05 Thread Andrew Ammerlaan
commit: 59381b47bcf3e690d12f504beed8c97f4761d265
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sat Jun  5 12:06:45 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Jun  5 12:19:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59381b47

dev-python/pytest-qt: backport test fixes from 4.0.0 to 3.3.0

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/pytest-qt/pytest-qt-3.3.0.ebuild | 46 +
 1 file changed, 33 insertions(+), 13 deletions(-)

diff --git a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
index 9d310725f1e..8e4e3f6611c 100644
--- a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7..10} )
 
 inherit distutils-r1 virtualx
 
-DESCRIPTION="pytest plugin for PyQt4 or PyQt5 applications"
+DESCRIPTION="pytest plugin for PyQt5 and PySide2 applications"
 HOMEPAGE="
https://pypi.org/project/pytest-qt/
https://github.com/pytest-dev/pytest-qt/;
@@ -17,7 +17,15 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 x86"
 
-DEPEND="dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}]"
+RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
+   ' python3_{7..9} )
+   )
+"
 
 # Patch 1 skips a test that does not work inside the emerge environment:
 # pytestqt.exceptions.TimeoutError: widget  not activated in 1000 ms.
@@ -30,14 +38,26 @@ PATCHES=(
 distutils_enable_tests pytest
 distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
 
+python_prepare_all() {
+   # This is not going to work since we want to test both implementations
+   # and therefore pull in both and explicitly set PYTEST_QT_API
+   sed -i -e 's:test_qt_api_ini_config_with_envvar:_&:' \
+   -e 's:test_qt_api_ini_config:_&:' \
+   tests/test_basics.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+src_test() {
+   virtx python_foreach_impl python_test
+}
+
 python_test() {
-   pytest_qt_test() {
-   # pytest-qt test fail to test in ${BUILDIR}/lib
-   # if and only if pytest-qt is not already installed
-   # test do work if executed directly in the extracted tarball
-   local PYTHONPATH="${WORKDIR}/${P}"
-   pytest -vv
-   }
-
-   virtx pytest_qt_test
+   distutils_install_for_testing
+   PYTEST_QT_API="pyqt5" epytest
+   if [[ "${EPYTHON}" == "python3.10" ]]; then
+   return
+   else
+   PYTEST_QT_API="pyside2" epytest
+   fi
 }



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

2021-06-05 Thread Andrew Ammerlaan
commit: ba75b33685b1a5f8d5fd9516e5c7f503428a2202
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sat Jun  5 10:43:27 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Jun  5 10:46:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba75b336

dev-python/pytest-qt: add version 4.0.0

Now runs the tests both against pyside2 and pyqt5

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/pytest-qt/Manifest   |  1 +
 dev-python/pytest-qt/pytest-qt-4.0.0.ebuild | 59 +
 2 files changed, 60 insertions(+)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
index 15c6c8683df..4357596288e 100644
--- a/dev-python/pytest-qt/Manifest
+++ b/dev-python/pytest-qt/Manifest
@@ -1 +1,2 @@
 DIST pytest-qt-3.3.0.tar.gz 113439 BLAKE2B 
1eb486d2d44825058577306ed3b9ade34e6cbad0d90038fe314114bb22c82ae069c9fe66c170591de6c97bad99f5f9e0021c8b3dc38c858b8293a22c448bed74
 SHA512 
8b3ce7b62621c55fb319966b162cb60663c5ef290f34e62e6a9329e67f530c2bde1329ae0b045b15c99ae14f5f6a5fef9ee930475fa700922c50ee725adf7983
+DIST pytest-qt-4.0.0.tar.gz 11 BLAKE2B 
69c2c8c823b55c44150c7beb0754e90866c7659912dbc0d99ee29904b0a20eadf26939709a5d120d0b95e23bcb99310415932e87934ae84571c55e3ffd07c284
 SHA512 
cfdde2e82b42979313d96f9a14bdafea0d4d5d5b64b4785ac73b74e36bfb892ab7b5ec6eb1c4e540ec00ccec6739e8bd9a3ffb610f204f6cfe97061f57a3971a

diff --git a/dev-python/pytest-qt/pytest-qt-4.0.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-4.0.0.ebuild
new file mode 100644
index 000..a86288ff3b7
--- /dev/null
+++ b/dev-python/pytest-qt/pytest-qt-4.0.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="pytest plugin for PyQt5 and PySide2 applications"
+HOMEPAGE="
+   https://pypi.org/project/pytest-qt/
+   https://github.com/pytest-dev/pytest-qt/;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/QtPy[gui,testlib,widgets(+),${PYTHON_USEDEP}]"
+BDEPEND="
+   test? (
+   dev-python/PyQt5[gui,testlib,widgets,${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/pyside2[gui,testlib,widgets,${PYTHON_USEDEP}]
+   ' python3_{7..9} )
+   )
+"
+
+distutils_enable_tests --install pytest
+distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
+
+python_prepare_all() {
+   # This show window test does not work inside the emerge env, as we 
cannot show windows.
+   # pytestqt.exceptions.TimeoutError: widget  not activated in 1000 ms.
+   sed -i -e 's:test_wait_window:_&:' tests/test_basics.py || die
+
+   # This is not going to work since we want to test both implementations
+   # and therefore pull in both and explicitly set PYTEST_QT_API
+   sed -i -e 's:test_qt_api_ini_config_with_envvar:_&:' \
+   -e 's:test_qt_api_ini_config:_&:' \
+   tests/test_basics.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+src_test() {
+   virtx python_foreach_impl python_test
+}
+
+python_test() {
+   distutils_install_for_testing
+   PYTEST_QT_API="pyqt5" epytest
+   if [[ "${EPYTHON}" == "python3.10" ]]; then
+   return
+   else
+   PYTEST_QT_API="pyside2" epytest
+   fi
+}



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

2021-05-22 Thread Andrew Ammerlaan
commit: 626927ac7d4f0fe9bbf58d25944551a8c0a9c674
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sat May 22 20:48:31 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat May 22 20:55:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=626927ac

dev-python/pytest-qt: add 

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

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

diff --git a/dev-python/pytest-qt/metadata.xml 
b/dev-python/pytest-qt/metadata.xml
index 1ce572b568b..75d1b540cf9 100644
--- a/dev-python/pytest-qt/metadata.xml
+++ b/dev-python/pytest-qt/metadata.xml
@@ -9,4 +9,5 @@
pytest-qt
pytest-dev/pytest-qt

+   
 



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

2020-12-11 Thread Michał Górny
commit: 7e332fb3a9dbef8ffb66fec1e5e1a7f3cfcb2558
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 11 12:31:55 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 11 12:58:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e332fb3

dev-python/pytest-qt: Update HOMEPAGE

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

 dev-python/pytest-qt/pytest-qt-3.3.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
index 31b4f113898..c5abfdcb1a5 100644
--- a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
@@ -8,7 +8,9 @@ PYTHON_COMPAT=( python3_{6,7,8,9} )
 inherit distutils-r1 virtualx
 
 DESCRIPTION="pytest plugin for PyQt4 or PyQt5 applications"
-HOMEPAGE="https://pypi.org/project/pytest-qt 
https://github.com/pytest-dev/pytest-qt;
+HOMEPAGE="
+   https://pypi.org/project/pytest-qt/
+   https://github.com/pytest-dev/pytest-qt/;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"



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

2020-10-07 Thread Joonas Niilola
commit: 891a01246f3401344f5826d79582e397f23544ba
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Oct  7 18:40:39 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Oct  7 18:44:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=891a0124

dev-python/pytest-qt: stabilize 3.3.0 on amd64

Bug: https://bugs.gentoo.org/743313
Signed-off-by: Joonas Niilola  gentoo.org>

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

diff --git a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
index 04f0dd03d9f..31b4f113898 100644
--- a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-3.3.0.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 x86"
 
 DEPEND="dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}]"
 



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

2020-10-07 Thread Joonas Niilola
commit: e0a5960f4e6870f40a6777b0844de07fd5943613
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Oct  7 16:36:35 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Oct  7 16:49:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a5960f

dev-python/pytest-qt: stabilize 3.3.0 on x86

Bug: https://bugs.gentoo.org/743313
Signed-off-by: Joonas Niilola  gentoo.org>

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

diff --git a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
index e7cca9705ff..04f0dd03d9f 100644
--- a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-3.3.0.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 x86"
 
 DEPEND="dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}]"
 



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

2020-09-21 Thread Michał Górny
commit: e3938266158919f8c582658668516f11a14fd673
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 21 17:41:44 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 21 17:48:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3938266

dev-python/pytest-qt: Fix whitespace

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

 dev-python/pytest-qt/pytest-qt-3.3.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
index 68bddcff864..e7cca9705ff 100644
--- a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
@@ -5,7 +5,6 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8,9} )
 
-
 inherit distutils-r1 virtualx
 
 DESCRIPTION="pytest plugin for PyQt4 or PyQt5 applications"



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

2020-09-21 Thread Michał Górny
commit: 96d4f83fdfc6eef344f4b177ace84af366a333c9
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 21 16:03:18 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 21 16:06:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d4f83f

dev-python/pytest-qt: rm setuptools rdep for pytest entrypoint

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

 dev-python/pytest-qt/pytest-qt-3.3.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
index 55715700f9e..68bddcff864 100644
--- a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
@@ -5,7 +5,6 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8,9} )
 
-DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1 virtualx
 



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

2020-09-13 Thread Joonas Niilola
commit: 8c07649004ae8acdc4ab1ce59020f26c0eb6a4c4
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Aug 30 14:03:19 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Sep 13 18:22:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c076490

dev-python/pytest-qt: bug fix in testsuite, add py3.9

https://github.com/pytest-dev/pytest-qt/issues/314
https://github.com/pytest-dev/pytest-qt/pull/315
Closes: https://bugs.gentoo.org/738264
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andrew Ammerlaan  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/17335
Signed-off-by: Joonas Niilola  gentoo.org>

 .../files/pytest-qt-3.3.0-fix-file-match-test.patch | 13 +
 dev-python/pytest-qt/pytest-qt-3.3.0.ebuild | 10 --
 2 files changed, 21 insertions(+), 2 deletions(-)

diff --git 
a/dev-python/pytest-qt/files/pytest-qt-3.3.0-fix-file-match-test.patch 
b/dev-python/pytest-qt/files/pytest-qt-3.3.0-fix-file-match-test.patch
new file mode 100644
index 000..cbdeb80c1c5
--- /dev/null
+++ b/dev-python/pytest-qt/files/pytest-qt-3.3.0-fix-file-match-test.patch
@@ -0,0 +1,13 @@
+diff --git a/tests/test_modeltest.py b/tests/test_modeltest.py
+index ef9371c..becd3ae 100644
+--- a/tests/test_modeltest.py
 b/tests/test_modeltest.py
+@@ -350,7 +350,7 @@ def test_qt_tester_invalid(testdir):
+ "test_qt_tester_invalid.py:*: Qt modeltester errors",
+ "*-- Captured Qt messages --*",
+ "* QtWarningMsg: FAIL! model->columnCount(QModelIndex()) >= 0 () 
returned FALSE "
+-"(qabstractitemmodeltester.cpp:*)",
++"(*qabstractitemmodeltester.cpp:*)",
+ "*-- Captured stdout call --*",
+ "modeltest: Using Qt C++ tester",
+ "*== 1 failed in * ==*",

diff --git a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
index 1a43c9248d6..55715700f9e 100644
--- a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8,9} )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
@@ -19,7 +19,13 @@ KEYWORDS="~amd64 ~x86"
 
 DEPEND="dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}]"
 
-PATCHES=( "${FILESDIR}/${P}-skip-show-window-test.patch" )
+# Patch 1 skips a test that does not work inside the emerge environment:
+# pytestqt.exceptions.TimeoutError: widget  not activated in 1000 ms.
+# Patch 2 fixes upstream bug 314
+PATCHES=(
+   "${FILESDIR}/${P}-skip-show-window-test.patch"
+   "${FILESDIR}/${P}-fix-file-match-test.patch"
+)
 
 distutils_enable_tests pytest
 distutils_enable_sphinx docs dev-python/sphinx_rtd_theme



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

2020-03-27 Thread Joonas Niilola
commit: 5b696128eeb24c6f8bc567a58d17bb8833e86c24
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Mar 19 12:00:15 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Mar 27 16:25:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b696128

dev-python/pytest-qt: add py3_8

because QtPy and PyQt5 now have py3_8 support

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan  riseup.net>
Signed-off-by: Joonas Niilola  gentoo.org>

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

diff --git a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
index 4f2d4bd24ba..1a43c9248d6 100644
--- a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 



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

2020-01-23 Thread Joonas Niilola
commit: f3b96f90554a4b5fb85ad9e6cccf577dbbad6b70
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Jan  1 11:55:44 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jan 23 09:53:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3b96f90

dev-python/pytest-qt: pytest plugin for Qt (PyQt4, PyQt5 and PySide)

Signed-off-by: Andrew Ammerlaan  riseup.net>
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Closes: https://github.com/gentoo/gentoo/pull/14007
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/pytest-qt/Manifest  |  1 +
 .../pytest-qt-3.3.0-skip-show-window-test.patch| 36 +
 dev-python/pytest-qt/metadata.xml  | 12 +++
 dev-python/pytest-qt/pytest-qt-3.3.0.ebuild| 37 ++
 4 files changed, 86 insertions(+)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
new file mode 100644
index 000..15c6c8683df
--- /dev/null
+++ b/dev-python/pytest-qt/Manifest
@@ -0,0 +1 @@
+DIST pytest-qt-3.3.0.tar.gz 113439 BLAKE2B 
1eb486d2d44825058577306ed3b9ade34e6cbad0d90038fe314114bb22c82ae069c9fe66c170591de6c97bad99f5f9e0021c8b3dc38c858b8293a22c448bed74
 SHA512 
8b3ce7b62621c55fb319966b162cb60663c5ef290f34e62e6a9329e67f530c2bde1329ae0b045b15c99ae14f5f6a5fef9ee930475fa700922c50ee725adf7983

diff --git 
a/dev-python/pytest-qt/files/pytest-qt-3.3.0-skip-show-window-test.patch 
b/dev-python/pytest-qt/files/pytest-qt-3.3.0-skip-show-window-test.patch
new file mode 100644
index 000..1acef2bb492
--- /dev/null
+++ b/dev-python/pytest-qt/files/pytest-qt-3.3.0-skip-show-window-test.patch
@@ -0,0 +1,36 @@
+diff --git a/tests/test_basics.py b/tests/test_basics.py
+index 7fdaf93..a972ea0 100644
+--- a/tests/test_basics.py
 b/tests/test_basics.py
+@@ -82,31 +82,6 @@ def test_stop_for_interaction(qtbot, timer):
+ qtbot.stopForInteraction()
+ 
+ 
+-@pytest.mark.parametrize("show", [True, False])
+-@pytest.mark.parametrize("method_name", ["waitExposed", "waitActive"])
+-def test_wait_window(show, method_name, qtbot):
+-"""
+-Using one of the wait-widget methods should not raise anything if the 
widget
+-is properly displayed, otherwise should raise a TimeoutError.
+-"""
+-method = getattr(qtbot, method_name)
+-if qt_api.pytest_qt_api != "pyqt5":
+-with pytest.raises(RuntimeError) as exc_info:
+-with method(None, None):
+-pass
+-assert str(exc_info.value) == "Available in PyQt5 only"
+-else:
+-widget = qt_api.QWidget()
+-qtbot.add_widget(widget)
+-if show:
+-with method(widget, timeout=1000):
+-widget.show()
+-else:
+-with pytest.raises(qtbot.TimeoutError):
+-with method(widget, timeout=100):
+-pass
+-
+-
+ @pytest.mark.parametrize("method_name", ["waitExposed", "waitActive"])
+ def test_wait_window_propagates_other_exception(method_name, qtbot):
+ """

diff --git a/dev-python/pytest-qt/metadata.xml 
b/dev-python/pytest-qt/metadata.xml
new file mode 100644
index 000..d22e99d7357
--- /dev/null
+++ b/dev-python/pytest-qt/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   andrewammerl...@riseup.net
+   Andrew Ammerlaan
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+

diff --git a/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
new file mode 100644
index 000..4f2d4bd24ba
--- /dev/null
+++ b/dev-python/pytest-qt/pytest-qt-3.3.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="pytest plugin for PyQt4 or PyQt5 applications"
+HOMEPAGE="https://pypi.org/project/pytest-qt 
https://github.com/pytest-dev/pytest-qt;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}]"
+
+PATCHES=( "${FILESDIR}/${P}-skip-show-window-test.patch" )
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
+
+python_test() {
+   pytest_qt_test() {
+   # pytest-qt test fail to test in ${BUILDIR}/lib
+   # if and only if pytest-qt is not already installed
+   # test do work if executed directly in the extracted tarball
+   local PYTHONPATH="${WORKDIR}/${P}"
+   pytest -vv
+   }
+
+   virtx pytest_qt_test
+}



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

2018-05-22 Thread Mikle Kolyada
commit: eb4728f057827348c0499e5bb2f39d8393040170
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue May 22 15:31:59 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue May 22 15:31:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb4728f0

dev-python/pytest-qt: Drop old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-python/pytest-qt/pytest-qt-2.3.0.ebuild | 44 -
 1 file changed, 44 deletions(-)

diff --git a/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
deleted file mode 100644
index 846360f394a..000
--- a/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_5 )
-inherit distutils-r1
-
-DESCRIPTION="pytest plugin for PyQt4 or PyQt5 applications"
-HOMEPAGE="https://pypi.org/project/pytest-qt/;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc"
-
-RDEPEND="
-   >=dev-python/pytest-2.7.0[${PYTHON_USEDEP}]
-   || (
-   dev-python/PyQt4
-   dev-python/PyQt5
-   )
-   doc? (
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}]
-   )
-"
-
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-"
-
-# Test make assumptions about Qt environment
-RESTRICT="test"
-
-python_compile_all() {
-   use doc && sphinx-build -b html docs _build/html
-}
-
-python_install_all() {
-   use doc && HTML_DOCS=( _build/html/. )
-   distutils-r1_python_install_all
-}



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

2018-05-22 Thread Mikle Kolyada
commit: 0b77494d8acffaaa052b27ffe4b5fe89506003be
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Tue May 22 15:31:12 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Tue May 22 15:31:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b77494d

dev-python/pytest-qt: amd64/x86 stable wrt bug #656046

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-python/pytest-qt/pytest-qt-2.3.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-qt/pytest-qt-2.3.0-r2.ebuild 
b/dev-python/pytest-qt/pytest-qt-2.3.0-r2.ebuild
index 068bf8e7c46..faf751eebf8 100644
--- a/dev-python/pytest-qt/pytest-qt-2.3.0-r2.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-2.3.0-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="doc"
 
 RDEPEND="



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

2018-01-16 Thread Anthony G. Basile
commit: c81a3b67d247329e3e725e5c7a46b78492fe4600
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Tue Jan 16 22:05:34 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Jan 16 22:05:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c81a3b67

dev-python/pytest-qt: also use dep on PyQt[testlib], bug #644816

Closes: https://bugs.gentoo.org/644816
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 .../pytest-qt/{pytest-qt-2.3.0-r1.ebuild => pytest-qt-2.3.0-r2.ebuild}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-qt/pytest-qt-2.3.0-r1.ebuild 
b/dev-python/pytest-qt/pytest-qt-2.3.0-r2.ebuild
similarity index 94%
rename from dev-python/pytest-qt/pytest-qt-2.3.0-r1.ebuild
rename to dev-python/pytest-qt/pytest-qt-2.3.0-r2.ebuild
index cbbfd24fc3d..317a66593a4 100644
--- a/dev-python/pytest-qt/pytest-qt-2.3.0-r1.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-2.3.0-r2.ebuild
@@ -17,7 +17,7 @@ IUSE="doc"
 
 RDEPEND="
>=dev-python/pytest-2.7.0[${PYTHON_USEDEP}]
-   dev-python/PyQt5[gui]
+   dev-python/PyQt5[gui,testlib,${PYTHON_USEDEP}]
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}]



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

2018-01-15 Thread Anthony G. Basile
commit: 706f04a56209e8370a385cab801be1f1d6005f76
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Mon Jan 15 21:28:53 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Jan 15 21:28:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=706f04a5

dev-python/pytest-qt: drop PyQt4, properly depend on PyQt5[gui], bug #644682

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/pytest-qt/pytest-qt-2.3.0-r1.ebuild | 41 ++
 1 file changed, 41 insertions(+)

diff --git a/dev-python/pytest-qt/pytest-qt-2.3.0-r1.ebuild 
b/dev-python/pytest-qt/pytest-qt-2.3.0-r1.ebuild
new file mode 100644
index 000..cbbfd24fc3d
--- /dev/null
+++ b/dev-python/pytest-qt/pytest-qt-2.3.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_5 )
+inherit distutils-r1
+
+DESCRIPTION="pytest plugin for PyQt4 or PyQt5 applications"
+HOMEPAGE="https://pypi.python.org/pypi/pytest-qt;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="
+   >=dev-python/pytest-2.7.0[${PYTHON_USEDEP}]
+   dev-python/PyQt5[gui]
+   doc? (
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}]
+   )
+"
+
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+# Test make assumptions about Qt environment
+RESTRICT="test"
+
+python_compile_all() {
+   use doc && sphinx-build -b html docs _build/html
+}
+
+python_install_all() {
+   use doc && HTML_DOCS=( _build/html/. )
+   distutils-r1_python_install_all
+}



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

2018-01-15 Thread Anthony G. Basile
commit: 90ee3b5c2ea9a1158889acf7ef31f55bc2140b43
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Mon Jan 15 12:25:45 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Jan 15 12:27:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90ee3b5c

dev-python/pytest-qt: stable on x86

Package-Manager: Portage-2.3.13, Repoman-2.3.3

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

diff --git a/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
index 6c47cfd380b..9032b7bee75 100644
--- a/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="doc"
 
 RDEPEND="



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

2018-01-03 Thread Anthony G. Basile
commit: cb64303ddff383447865f4c4bbe1506aeb4eee7a
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Jan  3 22:16:09 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Jan  3 22:16:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb64303d

dev-python/pytest-qt: stable on amd64

Package-Manager: Portage-2.3.13, Repoman-2.3.3

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

diff --git a/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
index f99801f9628..6c47cfd380b 100644
--- a/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="doc"
 
 RDEPEND="



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

2018-01-01 Thread Anthony G. Basile
commit: fd08a155e473234cac54d7107165fa2546f1c519
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Mon Jan  1 18:55:59 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Jan  1 18:56:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd08a155

dev-python/pytest-qt: fix metadata.xml

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/pytest-qt/metadata.xml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-python/pytest-qt/metadata.xml 
b/dev-python/pytest-qt/metadata.xml
index b90dc9952a1..2b11b948e3b 100644
--- a/dev-python/pytest-qt/metadata.xml
+++ b/dev-python/pytest-qt/metadata.xml
@@ -6,8 +6,7 @@
 Anthony G. Basile
   
   
-pytest-cov
-memedough/pytest-cov
-pytest-dev/pytest-cov
+pytest-qt
+pytest-dev/pytest-qt
   
 



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

2018-01-01 Thread Anthony G. Basile
commit: 0c1858a2fd801a0a84f7ab04bf6d2ff52acbf1c1
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Mon Jan  1 18:26:06 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Jan  1 18:26:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c1858a2

dev-python/pytest-qt: add RESTRICT=test and fix minor white space

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/pytest-qt/pytest-qt-2.3.0.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
index 631c78f70ae..f99801f9628 100644
--- a/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="pytest plugin for PyQt4 or PyQt5 applications"
 HOMEPAGE="https://pypi.python.org/pypi/pytest-qt;
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
-LICENSE=" MIT"
+LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="doc"
@@ -31,6 +31,9 @@ DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
 "
 
+# Test make assumptions about Qt environment
+RESTRICT="test"
+
 python_compile_all() {
use doc && sphinx-build -b html docs _build/html
 }



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

2018-01-01 Thread Anthony G. Basile
commit: ddb077bcb8d3e499dcfdc6f7f94d51b35a248d74
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Mon Jan  1 18:10:22 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Jan  1 18:10:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddb077bc

dev-python/pytest-qt: tests are broken

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/pytest-qt/pytest-qt-2.3.0.ebuild | 6 --
 1 file changed, 6 deletions(-)

diff --git a/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
index c78a8782aac..631c78f70ae 100644
--- a/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
+++ b/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
@@ -35,12 +35,6 @@ 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-qt/

2018-01-01 Thread Anthony G. Basile
commit: 5b3021c530118874cc1bd62e6259f8356e2d0239
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Mon Jan  1 17:54:13 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Jan  1 17:54:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3021c5

dev-python/pytest-qt: initial commit

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/pytest-qt/Manifest   |  1 +
 dev-python/pytest-qt/metadata.xml   | 13 
 dev-python/pytest-qt/pytest-qt-2.3.0.ebuild | 47 +
 3 files changed, 61 insertions(+)

diff --git a/dev-python/pytest-qt/Manifest b/dev-python/pytest-qt/Manifest
new file mode 100644
index 000..da123ced3b7
--- /dev/null
+++ b/dev-python/pytest-qt/Manifest
@@ -0,0 +1 @@
+DIST pytest-qt-2.3.0.tar.gz 106707 BLAKE2B 
cf02aed42481cbcadfaaa15c883f3055337f6f32e33b7dfbce986ecd9936218ee5bfe9f21e1a910aa970e7adf88dd24415d63f40655e8417863e96a4285fd466
 SHA512 
2bda4b5f60ba68b151ce62972661cd704e40f4cadaef2583882099e96100b5c5b9398de796e851579e026e9736e07539c4db8c10eef16929ce729c4dd7a22940

diff --git a/dev-python/pytest-qt/metadata.xml 
b/dev-python/pytest-qt/metadata.xml
new file mode 100644
index 000..b90dc9952a1
--- /dev/null
+++ b/dev-python/pytest-qt/metadata.xml
@@ -0,0 +1,13 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+bluen...@gentoo.org
+Anthony G. Basile
+  
+  
+pytest-cov
+memedough/pytest-cov
+pytest-dev/pytest-cov
+  
+

diff --git a/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild 
b/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
new file mode 100644
index 000..c78a8782aac
--- /dev/null
+++ b/dev-python/pytest-qt/pytest-qt-2.3.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_5 )
+inherit distutils-r1
+
+DESCRIPTION="pytest plugin for PyQt4 or PyQt5 applications"
+HOMEPAGE="https://pypi.python.org/pypi/pytest-qt;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE=" MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="
+   >=dev-python/pytest-2.7.0[${PYTHON_USEDEP}]
+   || (
+   dev-python/PyQt4
+   dev-python/PyQt5
+   )
+   doc? (
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx-py3doc-enhanced-theme[${PYTHON_USEDEP}]
+   )
+"
+
+DEPEND="
+   dev-python/setuptools[${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
+}