* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2018-01-01 17:55 Anthony G. Basile
0 siblings, 0 replies; 53+ messages in thread
From: Anthony G. Basile @ 2018-01-01 17:55 UTC (permalink / raw
To: gentoo-commits
commit: 5b3021c530118874cc1bd62e6259f8356e2d0239
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 1 17:54:13 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Jan 1 17:54:31 2018 +0000
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 00000000000..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 00000000000..b90dc9952a1
--- /dev/null
+++ b/dev-python/pytest-qt/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">pytest-cov</remote-id>
+ <remote-id type="bitbucket">memedough/pytest-cov</remote-id>
+ <remote-id type="github">pytest-dev/pytest-cov</remote-id>
+ </upstream>
+</pkgmetadata>
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 00000000000..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
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2018-01-01 18:10 Anthony G. Basile
0 siblings, 0 replies; 53+ messages in thread
From: Anthony G. Basile @ 2018-01-01 18:10 UTC (permalink / raw
To: gentoo-commits
commit: ddb077bcb8d3e499dcfdc6f7f94d51b35a248d74
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 1 18:10:22 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Jan 1 18:10:40 2018 +0000
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
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2018-01-01 18:26 Anthony G. Basile
0 siblings, 0 replies; 53+ messages in thread
From: Anthony G. Basile @ 2018-01-01 18:26 UTC (permalink / raw
To: gentoo-commits
commit: 0c1858a2fd801a0a84f7ab04bf6d2ff52acbf1c1
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 1 18:26:06 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Jan 1 18:26:06 2018 +0000
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
}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2018-01-01 18:56 Anthony G. Basile
0 siblings, 0 replies; 53+ messages in thread
From: Anthony G. Basile @ 2018-01-01 18:56 UTC (permalink / raw
To: gentoo-commits
commit: fd08a155e473234cac54d7107165fa2546f1c519
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 1 18:55:59 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Jan 1 18:56:18 2018 +0000
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 @@
<name>Anthony G. Basile</name>
</maintainer>
<upstream>
- <remote-id type="pypi">pytest-cov</remote-id>
- <remote-id type="bitbucket">memedough/pytest-cov</remote-id>
- <remote-id type="github">pytest-dev/pytest-cov</remote-id>
+ <remote-id type="pypi">pytest-qt</remote-id>
+ <remote-id type="github">pytest-dev/pytest-qt</remote-id>
</upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2018-01-03 22:16 Anthony G. Basile
0 siblings, 0 replies; 53+ messages in thread
From: Anthony G. Basile @ 2018-01-03 22:16 UTC (permalink / raw
To: gentoo-commits
commit: cb64303ddff383447865f4c4bbe1506aeb4eee7a
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 3 22:16:09 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Jan 3 22:16:25 2018 +0000
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="
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2018-01-15 12:27 Anthony G. Basile
0 siblings, 0 replies; 53+ messages in thread
From: Anthony G. Basile @ 2018-01-15 12:27 UTC (permalink / raw
To: gentoo-commits
commit: 90ee3b5c2ea9a1158889acf7ef31f55bc2140b43
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 12:25:45 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 12:27:23 2018 +0000
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="
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2018-01-15 21:29 Anthony G. Basile
0 siblings, 0 replies; 53+ messages in thread
From: Anthony G. Basile @ 2018-01-15 21:29 UTC (permalink / raw
To: gentoo-commits
commit: 706f04a56209e8370a385cab801be1f1d6005f76
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 21:28:53 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 21:28:53 2018 +0000
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 00000000000..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
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2018-01-16 22:06 Anthony G. Basile
0 siblings, 0 replies; 53+ messages in thread
From: Anthony G. Basile @ 2018-01-16 22:06 UTC (permalink / raw
To: gentoo-commits
commit: c81a3b67d247329e3e725e5c7a46b78492fe4600
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 16 22:05:34 2018 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Jan 16 22:05:34 2018 +0000
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}]
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2018-05-22 15:31 Mikle Kolyada
0 siblings, 0 replies; 53+ messages in thread
From: Mikle Kolyada @ 2018-05-22 15:31 UTC (permalink / raw
To: gentoo-commits
commit: 0b77494d8acffaaa052b27ffe4b5fe89506003be
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Tue May 22 15:31:12 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Tue May 22 15:31:12 2018 +0000
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="
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2018-05-22 15:32 Mikle Kolyada
0 siblings, 0 replies; 53+ messages in thread
From: Mikle Kolyada @ 2018-05-22 15:32 UTC (permalink / raw
To: gentoo-commits
commit: eb4728f057827348c0499e5bb2f39d8393040170
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Tue May 22 15:31:59 2018 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Tue May 22 15:31:59 2018 +0000
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..00000000000
--- 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
-}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2020-03-27 16:25 Joonas Niilola
0 siblings, 0 replies; 53+ messages in thread
From: Joonas Niilola @ 2020-03-27 16:25 UTC (permalink / raw
To: gentoo-commits
commit: 5b696128eeb24c6f8bc567a58d17bb8833e86c24
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Mar 19 12:00:15 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Mar 27 16:25:00 2020 +0000
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 <andrewammerlaan <AT> riseup.net>
Signed-off-by: Joonas Niilola <juippis <AT> 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
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2020-09-21 16:06 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2020-09-21 16:06 UTC (permalink / raw
To: gentoo-commits
commit: 96d4f83fdfc6eef344f4b177ace84af366a333c9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 16:03:18 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 16:06:26 2020 +0000
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 <mgorny <AT> 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
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2020-09-21 17:48 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2020-09-21 17:48 UTC (permalink / raw
To: gentoo-commits
commit: e3938266158919f8c582658668516f11a14fd673
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 17:41:44 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 17:48:52 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3938266
dev-python/pytest-qt: Fix whitespace
Signed-off-by: Michał Górny <mgorny <AT> 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"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2020-10-07 16:49 Joonas Niilola
0 siblings, 0 replies; 53+ messages in thread
From: Joonas Niilola @ 2020-10-07 16:49 UTC (permalink / raw
To: gentoo-commits
commit: e0a5960f4e6870f40a6777b0844de07fd5943613
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 7 16:36:35 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Oct 7 16:49:13 2020 +0000
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 <juippis <AT> 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}]"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2020-10-07 18:44 Joonas Niilola
0 siblings, 0 replies; 53+ messages in thread
From: Joonas Niilola @ 2020-10-07 18:44 UTC (permalink / raw
To: gentoo-commits
commit: 891a01246f3401344f5826d79582e397f23544ba
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 7 18:40:39 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Oct 7 18:44:25 2020 +0000
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 <juippis <AT> 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}]"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2020-12-11 12:58 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2020-12-11 12:58 UTC (permalink / raw
To: gentoo-commits
commit: 7e332fb3a9dbef8ffb66fec1e5e1a7f3cfcb2558
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 11 12:31:55 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 11 12:58:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e332fb3
dev-python/pytest-qt: Update HOMEPAGE
Signed-off-by: Michał Górny <mgorny <AT> 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"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2021-05-22 20:55 Andrew Ammerlaan
0 siblings, 0 replies; 53+ messages in thread
From: Andrew Ammerlaan @ 2021-05-22 20:55 UTC (permalink / raw
To: gentoo-commits
commit: 626927ac7d4f0fe9bbf58d25944551a8c0a9c674
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat May 22 20:48:31 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat May 22 20:55:50 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=626927ac
dev-python/pytest-qt: add <stabilize-allarches/>
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> 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 @@
<remote-id type="pypi">pytest-qt</remote-id>
<remote-id type="github">pytest-dev/pytest-qt</remote-id>
</upstream>
+ <stabilize-allarches/>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2021-06-05 10:47 Andrew Ammerlaan
0 siblings, 0 replies; 53+ messages in thread
From: Andrew Ammerlaan @ 2021-06-05 10:47 UTC (permalink / raw
To: gentoo-commits
commit: ba75b33685b1a5f8d5fd9516e5c7f503428a2202
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 5 10:43:27 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Jun 5 10:46:58 2021 +0000
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 <andrewammerlaan <AT> 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 113333 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 00000000000..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 <PyQt5.QtWidgets.QWidget object at 0x7f57d8527af8> 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
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2021-06-05 12:19 Andrew Ammerlaan
0 siblings, 0 replies; 53+ messages in thread
From: Andrew Ammerlaan @ 2021-06-05 12:19 UTC (permalink / raw
To: gentoo-commits
commit: 59381b47bcf3e690d12f504beed8c97f4761d265
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 5 12:06:45 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Jun 5 12:19:43 2021 +0000
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 <andrewammerlaan <AT> 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 <PyQt5.QtWidgets.QWidget object at 0x7f57d8527af8> 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
}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2021-06-11 14:32 Andrew Ammerlaan
0 siblings, 0 replies; 53+ messages in thread
From: Andrew Ammerlaan @ 2021-06-11 14:32 UTC (permalink / raw
To: gentoo-commits
commit: d2b007067e4aa60399127e4f1fd22b18ff660b6d
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 11 14:13:14 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 11 14:13:36 2021 +0000
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 <andrewammerlaan <AT> 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 113333 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 00000000000..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 <PyQt5.QtWidgets.QWidget object at 0x7f57d8527af8> 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
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2021-06-22 17:59 Andrew Ammerlaan
0 siblings, 0 replies; 53+ messages in thread
From: Andrew Ammerlaan @ 2021-06-22 17:59 UTC (permalink / raw
To: gentoo-commits
commit: 2a617d49e510be4387af3d6955652d67c9f51b3a
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 22 17:56:02 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jun 22 17:59:02 2021 +0000
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 <andrewammerlaan <AT> 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 113333 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..00000000000
--- 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 <PyQt5.QtWidgets.QWidget object at 0x7f57d8527af8> 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..00000000000
--- 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}]"
-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 <PyQt5.QtWidgets.QWidget object at 0x7f57d8527af8> 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
-}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2021-06-22 17:59 Andrew Ammerlaan
0 siblings, 0 replies; 53+ messages in thread
From: Andrew Ammerlaan @ 2021-06-22 17:59 UTC (permalink / raw
To: gentoo-commits
commit: 29d8811ef08e0b87df9b459cf98388e63a071bd1
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 22 17:55:26 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jun 22 17:59:01 2021 +0000
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 <andrewammerlaan <AT> 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 113333 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 00000000000..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 <PyQt5.QtWidgets.QWidget object at 0x7f57d8527af8> 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
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2021-10-19 0:12 Sam James
0 siblings, 0 replies; 53+ messages in thread
From: Sam James @ 2021-10-19 0:12 UTC (permalink / raw
To: gentoo-commits
commit: cb89f81234e778247147cd7dd8f9867fc5b737d8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 19 00:11:58 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 19 00:11:58 2021 +0000
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 <sam <AT> 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="
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-02-12 23:52 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2022-02-12 23:52 UTC (permalink / raw
To: gentoo-commits
commit: 1bae8d933a2bddb9211a945c9126f7d0eee957ca
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 12 23:50:46 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 12 23:50:46 2022 +0000
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 <mgorny <AT> 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
}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-02-20 16:33 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2022-02-20 16:33 UTC (permalink / raw
To: gentoo-commits
commit: 62bd84b896478767fdeea58afe812d3a5182bc1c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 16:28:30 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 16:33:03 2022 +0000
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 <mgorny <AT> 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 000000000000..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
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-02-20 16:33 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2022-02-20 16:33 UTC (permalink / raw
To: gentoo-commits
commit: 10db9286cda69e561d3187b9090431f5b31b26b2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 16:14:44 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 16:33:00 2022 +0000
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 <mgorny <AT> 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() {
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-02-20 16:33 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2022-02-20 16:33 UTC (permalink / raw
To: gentoo-commits
commit: 002ae3be977b918b3684368766d655a8bc16927c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 16:27:36 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 16:33:02 2022 +0000
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 <mgorny <AT> 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 <PyQt5.QtWidgets.QWidget object at 0x7f57d8527af8> 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
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-02-20 16:33 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2022-02-20 16:33 UTC (permalink / raw
To: gentoo-commits
commit: 4784217153586cdfd84cf2dd5c1bfa02d625403f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 16:23:58 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 16:33:01 2022 +0000
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 <mgorny <AT> 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
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-02-20 20:32 Sam James
0 siblings, 0 replies; 53+ messages in thread
From: Sam James @ 2022-02-20 20:32 UTC (permalink / raw
To: gentoo-commits
commit: 06dc45c56bd79e1b07c19a14e8c73d6b90de9fba
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 20:31:04 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 20:31:04 2022 +0000
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 <sam <AT> 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="
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-02-22 19:01 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2022-02-22 19:01 UTC (permalink / raw
To: gentoo-commits
commit: 25365f517a846987e6f1883a72a7b24a6b7dab35
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 22 19:00:24 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 22 19:01:05 2022 +0000
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 <mgorny <AT> 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 @@
<email>andrewammerlaan@gentoo.org</email>
<name>Andrew Ammerlaan</name>
</maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
<upstream>
<remote-id type="pypi">pytest-qt</remote-id>
<remote-id type="github">pytest-dev/pytest-qt</remote-id>
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-03-31 12:40 Jakov Smolić
0 siblings, 0 replies; 53+ messages in thread
From: Jakov Smolić @ 2022-03-31 12:40 UTC (permalink / raw
To: gentoo-commits
commit: 70daf4825cf3bb8e7063f2cab99677f4ab7e0ee7
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 12:40:38 2022 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Mar 31 12:40:38 2022 +0000
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ć <jsmolic <AT> 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="
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-03-31 13:01 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2022-03-31 13:01 UTC (permalink / raw
To: gentoo-commits
commit: 89af0bbaf1f4accb2a447de53279af7696d58cf1
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 12:43:04 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 31 12:43:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89af0bba
dev-python/pytest-qt: Remove old
Signed-off-by: Michał Górny <mgorny <AT> 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..000000000000
--- 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
-}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-05-25 9:43 Andrew Ammerlaan
0 siblings, 0 replies; 53+ messages in thread
From: Andrew Ammerlaan @ 2022-05-25 9:43 UTC (permalink / raw
To: gentoo-commits
commit: 73ae489c380e26c507c3239ee6ce6cc7ac9bb622
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 09:39:14 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed May 25 09:43:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73ae489c
dev-python/pytest-qt: drop 3.3.0
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> 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..000000000000
--- 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 <PyQt5.QtWidgets.QWidget object at 0x7f57d8527af8> 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
-}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-06-08 19:16 Andrew Ammerlaan
0 siblings, 0 replies; 53+ messages in thread
From: Andrew Ammerlaan @ 2022-06-08 19:16 UTC (permalink / raw
To: gentoo-commits
commit: f29c6b993b40bc4621294a5ca8ed781b5f8a279c
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 10:48:06 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jun 8 19:15:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29c6b99
dev-python/pytest-qt: enable py3.11
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> 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
}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-06-24 5:16 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2022-06-24 5:16 UTC (permalink / raw
To: gentoo-commits
commit: 7ef2f050b4df7d6d73ae67b3d8b4d797a483325a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 05:06:35 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 05:16:29 2022 +0000
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 <mgorny <AT> 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 000000000000..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
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-07-24 20:24 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2022-07-24 20:24 UTC (permalink / raw
To: gentoo-commits
commit: 1f1d624a5db3af245d1967d2871deeb958d11824
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 24 20:22:05 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 24 20:22:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f1d624a
dev-python/pytest-qt: Remove old
Signed-off-by: Michał Górny <mgorny <AT> 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..000000000000
--- 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
-}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-10-26 4:03 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2022-10-26 4:03 UTC (permalink / raw
To: gentoo-commits
commit: 92b15eec587b55d48ea5eb8bb48a859a4a34f3a6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 26 03:39:35 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 26 03:49:35 2022 +0000
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 <mgorny <AT> 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 1986bbf4ebc578ad548d2fcc8888b0d0fb42f75ad8a03f315f51c04ae466587d3299fca8ec3a49bc5d023fc8ca76cbe6c45728bc88609e20d6f68ea8c6ea204e 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 000000000000..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
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-11-25 19:11 Sam James
0 siblings, 0 replies; 53+ messages in thread
From: Sam James @ 2022-11-25 19:11 UTC (permalink / raw
To: gentoo-commits
commit: 023fa65598bbb25a050c33a13908f02753a6c915
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 19:11:09 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 19:11:09 2022 +0000
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 <sam <AT> 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}]
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2022-11-25 20:36 Arthur Zamarin
0 siblings, 0 replies; 53+ messages in thread
From: Arthur Zamarin @ 2022-11-25 20:36 UTC (permalink / raw
To: gentoo-commits
commit: 83950e71ae7ab43621a81cbf64e13e5780ae0b67
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 20:35:46 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 20:35:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83950e71
dev-python/pytest-qt: drop 4.1.0
Signed-off-by: Arthur Zamarin <arthurzam <AT> 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 1986bbf4ebc578ad548d2fcc8888b0d0fb42f75ad8a03f315f51c04ae466587d3299fca8ec3a49bc5d023fc8ca76cbe6c45728bc88609e20d6f68ea8c6ea204e 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..000000000000
--- 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
-}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2023-03-17 15:23 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2023-03-17 15:23 UTC (permalink / raw
To: gentoo-commits
commit: 714fb7f5efcce5185540330f2515c328d8250c22
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 17 11:59:25 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 15:22:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=714fb7f5
dev-python/pytest-qt: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny <AT> 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"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2023-09-11 6:48 Jakov Smolić
0 siblings, 0 replies; 53+ messages in thread
From: Jakov Smolić @ 2023-09-11 6:48 UTC (permalink / raw
To: gentoo-commits
commit: 3093e88e02460145412f44dc4ff492ab04ddeb26
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 11 06:47:56 2023 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Sep 11 06:47:56 2023 +0000
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ć <jsmolic <AT> 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}]
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2023-10-18 11:36 Andrew Ammerlaan
0 siblings, 0 replies; 53+ messages in thread
From: Andrew Ammerlaan @ 2023-10-18 11:36 UTC (permalink / raw
To: gentoo-commits
commit: 9902616bcbd25a156f48285e2a7bad2c845bb9ac
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 18 10:52:16 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 11:36:04 2023 +0000
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 <andrewammerlaan <AT> 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}]
)
)
"
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2023-11-22 16:05 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2023-11-22 16:05 UTC (permalink / raw
To: gentoo-commits
commit: f46ad64b2ab8bf2a1cb006b8a368d2d18827d26f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 22 16:05:34 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 16:05:34 2023 +0000
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 <mgorny <AT> 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
}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2023-12-03 5:45 Arthur Zamarin
0 siblings, 0 replies; 53+ messages in thread
From: Arthur Zamarin @ 2023-12-03 5:45 UTC (permalink / raw
To: gentoo-commits
commit: b6959252b7b51a266ffb7a560e15fe02eea5b5fd
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 3 05:45:30 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 3 05:45:30 2023 +0000
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 <arthurzam <AT> 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}]
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2023-12-15 10:49 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2023-12-15 10:49 UTC (permalink / raw
To: gentoo-commits
commit: 7a03863063b2fe95f404a0fc9fcf838e440d3449
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 10:43:33 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 10:49:11 2023 +0000
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 <mgorny <AT> 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
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2023-12-15 12:39 Arthur Zamarin
0 siblings, 0 replies; 53+ messages in thread
From: Arthur Zamarin @ 2023-12-15 12:39 UTC (permalink / raw
To: gentoo-commits
commit: 8835e1ec0110c481bcd592b4d7993852caf612be
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 15 12:39:03 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 12:39:03 2023 +0000
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 <arthurzam <AT> 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}]
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2023-12-16 13:47 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2023-12-16 13:47 UTC (permalink / raw
To: gentoo-commits
commit: df7eb62fb0b0ca1e1544f6153983ae8ccf46b4e3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 16 13:47:26 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 16 13:47:53 2023 +0000
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 <mgorny <AT> 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}]
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2023-12-23 5:12 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2023-12-23 5:12 UTC (permalink / raw
To: gentoo-commits
commit: 0f7531f5e5a51dd1230560662c4a7b5ce4da6b84
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 23 04:39:22 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 23 05:12:29 2023 +0000
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 <mgorny <AT> 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 1986bbf4ebc578ad548d2fcc8888b0d0fb42f75ad8a03f315f51c04ae466587d3299fca8ec3a49bc5d023fc8ca76cbe6c45728bc88609e20d6f68ea8c6ea204e 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 000000000000..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
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2024-01-06 9:54 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2024-01-06 9:54 UTC (permalink / raw
To: gentoo-commits
commit: 739729da7f27f94408139d04e5b3bb69bc5c57e1
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 6 09:50:43 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 6 09:50:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=739729da
dev-python/pytest-qt: Remove old
Signed-off-by: Michał Górny <mgorny <AT> 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 1986bbf4ebc578ad548d2fcc8888b0d0fb42f75ad8a03f315f51c04ae466587d3299fca8ec3a49bc5d023fc8ca76cbe6c45728bc88609e20d6f68ea8c6ea204e 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..000000000000
--- 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
-}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2024-02-08 4:22 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2024-02-08 4:22 UTC (permalink / raw
To: gentoo-commits
commit: c9c1bf1e893fe61b671a6e9ecb8ec1547b20fbc6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 8 04:10:20 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 8 04:22:37 2024 +0000
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 <mgorny <AT> 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 000000000000..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
+}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2024-02-24 14:04 Sam James
0 siblings, 0 replies; 53+ messages in thread
From: Sam James @ 2024-02-24 14:04 UTC (permalink / raw
To: gentoo-commits
commit: 1de04e0747f518197bc91e8a84160dfdad2b5ea3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 14:04:16 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 14:04:16 2024 +0000
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 <sam <AT> 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}]
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2024-02-24 15:12 Michał Górny
0 siblings, 0 replies; 53+ messages in thread
From: Michał Górny @ 2024-02-24 15:12 UTC (permalink / raw
To: gentoo-commits
commit: 02b5807c619f1d48ec72437d5ecb3c5722cd7590
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 15:06:16 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 15:06:16 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b5807c
dev-python/pytest-qt: Remove old
Signed-off-by: Michał Górny <mgorny <AT> 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..000000000000
--- 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
-}
^ permalink raw reply related [flat|nested] 53+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/
@ 2024-07-03 16:00 Andrew Ammerlaan
0 siblings, 0 replies; 53+ messages in thread
From: Andrew Ammerlaan @ 2024-07-03 16:00 UTC (permalink / raw
To: gentoo-commits
commit: 3b7193e4bc6c5e2664f2ae32e5c9557f87c575e5
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 3 16:00:07 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jul 3 16:00:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b7193e4
dev-python/pytest-qt: enable py3.13
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> 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
^ permalink raw reply related [flat|nested] 53+ messages in thread
end of thread, other threads:[~2024-07-03 16:00 UTC | newest]
Thread overview: 53+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-25 20:36 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-qt/ Arthur Zamarin
-- strict thread matches above, loose matches on Subject: below --
2024-07-03 16:00 Andrew Ammerlaan
2024-02-24 15:12 Michał Górny
2024-02-24 14:04 Sam James
2024-02-08 4:22 Michał Górny
2024-01-06 9:54 Michał Górny
2023-12-23 5:12 Michał Górny
2023-12-16 13:47 Michał Górny
2023-12-15 12:39 Arthur Zamarin
2023-12-15 10:49 Michał Górny
2023-12-03 5:45 Arthur Zamarin
2023-11-22 16:05 Michał Górny
2023-10-18 11:36 Andrew Ammerlaan
2023-09-11 6:48 Jakov Smolić
2023-03-17 15:23 Michał Górny
2022-11-25 19:11 Sam James
2022-10-26 4:03 Michał Górny
2022-07-24 20:24 Michał Górny
2022-06-24 5:16 Michał Górny
2022-06-08 19:16 Andrew Ammerlaan
2022-05-25 9:43 Andrew Ammerlaan
2022-03-31 13:01 Michał Górny
2022-03-31 12:40 Jakov Smolić
2022-02-22 19:01 Michał Górny
2022-02-20 20:32 Sam James
2022-02-20 16:33 Michał Górny
2022-02-20 16:33 Michał Górny
2022-02-20 16:33 Michał Górny
2022-02-20 16:33 Michał Górny
2022-02-12 23:52 Michał Górny
2021-10-19 0:12 Sam James
2021-06-22 17:59 Andrew Ammerlaan
2021-06-22 17:59 Andrew Ammerlaan
2021-06-11 14:32 Andrew Ammerlaan
2021-06-05 12:19 Andrew Ammerlaan
2021-06-05 10:47 Andrew Ammerlaan
2021-05-22 20:55 Andrew Ammerlaan
2020-12-11 12:58 Michał Górny
2020-10-07 18:44 Joonas Niilola
2020-10-07 16:49 Joonas Niilola
2020-09-21 17:48 Michał Górny
2020-09-21 16:06 Michał Górny
2020-03-27 16:25 Joonas Niilola
2018-05-22 15:32 Mikle Kolyada
2018-05-22 15:31 Mikle Kolyada
2018-01-16 22:06 Anthony G. Basile
2018-01-15 21:29 Anthony G. Basile
2018-01-15 12:27 Anthony G. Basile
2018-01-03 22:16 Anthony G. Basile
2018-01-01 18:56 Anthony G. Basile
2018-01-01 18:26 Anthony G. Basile
2018-01-01 18:10 Anthony G. Basile
2018-01-01 17:55 Anthony G. Basile
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox