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

2023-11-25 Thread Michał Górny
commit: 993ebc95f595725bb038fff33ed102510716571e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 25 16:47:54 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 25 16:48:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=993ebc95

dev-python/pytest-xvfb: Stabilize 3.0.0 arm64, #918352

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

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

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
index d81d8ba05ccd..4f09bfae28da 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~riscv x86"
 
 RDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]



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

2023-11-25 Thread Michał Górny
commit: 50edb13ea5920b231dc841b339a608b27c677d4b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 25 16:13:31 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 25 16:14:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50edb13e

dev-python/pytest-xvfb: Fix tests with random plugins

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

 dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild | 13 ++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
index 88cb81666803..d81d8ba05ccd 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
@@ -7,10 +7,14 @@ DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
 PYTHON_COMPAT=( python3_{10..12} )
 PYTHON_REQ_USE="tk"
+
 inherit distutils-r1 pypi
 
 DESCRIPTION="Pytest plugin to run Xvfb for tests"
-HOMEPAGE="https://pypi.org/project/pytest-xvfb/;
+HOMEPAGE="
+   https://github.com/The-Compiler/pytest-xvfb/
+   https://pypi.org/project/pytest-xvfb/
+"
 
 LICENSE="MIT"
 SLOT="0"
@@ -19,10 +23,13 @@ KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
 RDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
-   x11-base/xorg-server[xvfb]"
+   x11-base/xorg-server[xvfb]
+"
 
 distutils_enable_tests pytest
 
 python_test() {
-   epytest -p xvfb --runpytest=subprocess
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   local -x PYTEST_PLUGINS=pytest_xvfb
+   epytest --runpytest=subprocess
 }



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

2023-07-24 Thread Ionen Wolkens
commit: dce05ca4ef18007d8666e7a198d645198839312c
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Mon Jul 24 18:06:29 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Jul 25 00:01:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dce05ca4

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

Signed-off-by: Ionen Wolkens  gentoo.org>

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

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
index 0ed8b9f183dc..88cb81666803 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 PYTHON_REQ_USE="tk"
 inherit distutils-r1 pypi
 



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

2023-07-06 Thread Michał Górny
commit: 0ae9c6e1679ef8976230fee2c320ea857422ce95
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jul  6 12:05:06 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul  6 12:08:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae9c6e1

dev-python/pytest-xvfb: Remove old

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

 dev-python/pytest-xvfb/Manifest|  1 -
 dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild | 28 --
 2 files changed, 29 deletions(-)

diff --git a/dev-python/pytest-xvfb/Manifest b/dev-python/pytest-xvfb/Manifest
index 055ea9bcaceb..707a7f4647a3 100644
--- a/dev-python/pytest-xvfb/Manifest
+++ b/dev-python/pytest-xvfb/Manifest
@@ -1,2 +1 @@
-DIST pytest-xvfb-2.0.0.tar.gz 6575 BLAKE2B 
7ef37f2d4a1a9d7211a248e67d325f0b722a0a046e6e57ae24cac1b68ead6d11988d49810e15fc41d9a05082d9c318f7569a00ac7574e1a8ee00e76c842cf83b
 SHA512 
de5a98290bfe083cadc732c36a1c5af99b0d618853f8da9a1acd0f0f11a170c54025667c0f13bc0f4ac2657b139306e16d0b3faf00bfdde37eb3df7fb14367ae
 DIST pytest-xvfb-3.0.0.tar.gz 8607 BLAKE2B 
a1256b121a66c0b778a45f695754363ec241699197000f6237473dc2d54c0eeff499722073b00280ca242d695c192ff4fd985931a42bbb52a0f8e2424867b60a
 SHA512 
9aec1681656badf81fbac3a0d621b163810001e155a1cb8fd35e0f8c8d3ee52556e622adc0468d8e7455b15ba0f5103622fae1aa2493a7053ca78f092e582cf1

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
deleted file mode 100644
index b3c16258b82c..
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{9..11} )
-PYTHON_REQ_USE="tk"
-inherit distutils-r1 pypi
-
-DESCRIPTION="Pytest plugin to run Xvfb for tests"
-HOMEPAGE="https://pypi.org/project/pytest-xvfb/;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
-
-RDEPEND="
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
-   x11-base/xorg-server[xvfb]"
-
-distutils_enable_tests pytest
-
-python_test() {
-   epytest -p xvfb --runpytest=subprocess
-}



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

2023-07-05 Thread Sam James
commit: f5e962e41a9ab3643d6c539322290ef4f2854e28
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul  5 20:50:32 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul  5 20:51:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e962e4

dev-python/pytest-xvfb: Stabilize 3.0.0 ALLARCHES, #909699

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

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

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
index e9a2d47ef72d..0ed8b9f183dc 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="https://pypi.org/project/pytest-xvfb/;
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
 
 RDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]



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

2023-05-29 Thread Ionen Wolkens
commit: 2db404b9f4ba1d0bcd78a582e73b78aa62360f47
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Mon May 29 13:14:40 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Mon May 29 13:26:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2db404b9

dev-python/pytest-xvfb: add 3.0.0

Contains some fixes for python3.12, albeit still a bit
to go with dependencies before can try compat here.

Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-python/pytest-xvfb/Manifest |  1 +
 dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild | 28 +
 2 files changed, 29 insertions(+)

diff --git a/dev-python/pytest-xvfb/Manifest b/dev-python/pytest-xvfb/Manifest
index 20b243acc881..055ea9bcaceb 100644
--- a/dev-python/pytest-xvfb/Manifest
+++ b/dev-python/pytest-xvfb/Manifest
@@ -1 +1,2 @@
 DIST pytest-xvfb-2.0.0.tar.gz 6575 BLAKE2B 
7ef37f2d4a1a9d7211a248e67d325f0b722a0a046e6e57ae24cac1b68ead6d11988d49810e15fc41d9a05082d9c318f7569a00ac7574e1a8ee00e76c842cf83b
 SHA512 
de5a98290bfe083cadc732c36a1c5af99b0d618853f8da9a1acd0f0f11a170c54025667c0f13bc0f4ac2657b139306e16d0b3faf00bfdde37eb3df7fb14367ae
+DIST pytest-xvfb-3.0.0.tar.gz 8607 BLAKE2B 
a1256b121a66c0b778a45f695754363ec241699197000f6237473dc2d54c0eeff499722073b00280ca242d695c192ff4fd985931a42bbb52a0f8e2424867b60a
 SHA512 
9aec1681656badf81fbac3a0d621b163810001e155a1cb8fd35e0f8c8d3ee52556e622adc0468d8e7455b15ba0f5103622fae1aa2493a7053ca78f092e582cf1

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
new file mode 100644
index ..e9a2d47ef72d
--- /dev/null
+++ b/dev-python/pytest-xvfb/pytest-xvfb-3.0.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="tk"
+inherit distutils-r1 pypi
+
+DESCRIPTION="Pytest plugin to run Xvfb for tests"
+HOMEPAGE="https://pypi.org/project/pytest-xvfb/;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
+   x11-base/xorg-server[xvfb]"
+
+distutils_enable_tests pytest
+
+python_test() {
+   epytest -p xvfb --runpytest=subprocess
+}



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

2023-04-09 Thread Ionen Wolkens
commit: ac46e7983d9a3bf45eddc9f45b4c0d86d4bae63b
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sun Apr  9 22:51:55 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun Apr  9 23:38:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac46e798

dev-python/pytest-xvfb: tidy and switch to pypi.eclass

wrt subprocess, this is due to pytest.ini being missing in the
pypi tarball -- kind of trivial so can just add it rather than
stick to github and add the missing .gh.

Signed-off-by: Ionen Wolkens  gentoo.org>

 dev-python/pytest-xvfb/Manifest|  2 +-
 dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild | 19 +--
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/dev-python/pytest-xvfb/Manifest b/dev-python/pytest-xvfb/Manifest
index 2132937334bb..20b243acc881 100644
--- a/dev-python/pytest-xvfb/Manifest
+++ b/dev-python/pytest-xvfb/Manifest
@@ -1 +1 @@
-DIST pytest-xvfb-2.0.0.tar.gz 6855 BLAKE2B 
338802ccbf5fc0c9ab3fccd7c172b31867cc86869dfc50dbb30daf396ecd9865e71c6486cc96c2485e2d5b6195dc2eff83a033864f88e1b2c64a3937b6b48c84
 SHA512 
42c2119b2c529a45b5de9f8ac2781306cfb9f00c1d0e0e9045ed40ccb7260cb6f400683802ab845ce2481dcadfcef007c8417a481e9c04f14ee1bdc68244d391
+DIST pytest-xvfb-2.0.0.tar.gz 6575 BLAKE2B 
7ef37f2d4a1a9d7211a248e67d325f0b722a0a046e6e57ae24cac1b68ead6d11988d49810e15fc41d9a05082d9c318f7569a00ac7574e1a8ee00e76c842cf83b
 SHA512 
de5a98290bfe083cadc732c36a1c5af99b0d618853f8da9a1acd0f0f11a170c54025667c0f13bc0f4ac2657b139306e16d0b3faf00bfdde37eb3df7fb14367ae

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
index ed4dc6f4834e..b3c16258b82c 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
@@ -3,27 +3,26 @@
 
 EAPI=8
 
-PYTHON_REQ_USE="tk"
-PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_REQ_USE="tk"
+inherit distutils-r1 pypi
 
-DESCRIPTION="A pytest plugin to run Xvfb for tests"
+DESCRIPTION="Pytest plugin to run Xvfb for tests"
 HOMEPAGE="https://pypi.org/project/pytest-xvfb/;
-SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
 
 RDEPEND="
-   >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
-   >=dev-python/pyvirtualdisplay-1.3[${PYTHON_USEDEP}]
-   x11-base/xorg-server[xvfb]
-"
+   dev-python/pytest[${PYTHON_USEDEP}]
+   dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
+   x11-base/xorg-server[xvfb]"
 
 distutils_enable_tests pytest
 
 python_test() {
-   epytest -p xvfb
+   epytest -p xvfb --runpytest=subprocess
 }



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

2023-04-09 Thread Ionen Wolkens
commit: 457844f2bd0e61b994c0436f84d4b2fa0d0e37f5
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sun Apr  9 22:44:05 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun Apr  9 23:38:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=457844f2

dev-python/pytest-xvfb: add myself as a maintainer

Signed-off-by: Ionen Wolkens  gentoo.org>

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

diff --git a/dev-python/pytest-xvfb/metadata.xml 
b/dev-python/pytest-xvfb/metadata.xml
index d02b8f5af82f..61085c5734a8 100644
--- a/dev-python/pytest-xvfb/metadata.xml
+++ b/dev-python/pytest-xvfb/metadata.xml
@@ -1,10 +1,13 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   io...@gentoo.org
+   Ionen Wolkens
+   


-   pytest-xvfb
The-Compiler/pytest-xvfb
+   pytest-xvfb

 



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

2023-04-09 Thread Andrew Ammerlaan
commit: e9f93e81430320385ec3ddebed1ecf9c0349ecae
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Apr  9 20:19:23 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Apr  9 20:40:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9f93e81

dev-python/pytest-xvfb: drop myself as a maintainer

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

 dev-python/pytest-xvfb/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-python/pytest-xvfb/metadata.xml 
b/dev-python/pytest-xvfb/metadata.xml
index ba15c262a26a..d02b8f5af82f 100644
--- a/dev-python/pytest-xvfb/metadata.xml
+++ b/dev-python/pytest-xvfb/metadata.xml
@@ -1,10 +1,7 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   andrewammerl...@gentoo.org
-   Andrew Ammerlaan
-   
+   


pytest-xvfb



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

2022-10-29 Thread Sam James
commit: eede8085c4eed99214407841298d062db659b51b
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct 29 19:42:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 29 19:42:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eede8085

dev-python/pytest-xvfb: Keyword 2.0.0-r2 arm, #858215

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

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

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
index 74d2004a1735..c3109ab58b38 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
 
 RDEPEND="
>=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]



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

2022-09-09 Thread Jakov Smolić
commit: f0a420a6bea9adae67f50bda9ff8a8027f660cc7
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Sep  9 22:38:34 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Sep  9 22:38:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0a420a6

dev-python/pytest-xvfb: Keyword 2.0.0-r2 riscv, #858215

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

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

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
index b355f4bb403a..74d2004a1735 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 ~riscv x86"
 
 RDEPEND="
>=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]



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

2022-09-07 Thread Michał Górny
commit: 2c49330f9b9c839d485639eb0b077915e059a5ad
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep  4 08:20:00 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep  7 07:50:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c49330f

dev-python/pytest-xvfb: Enable pytest-xvfb explicitly

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

 dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
index c6df7830347a..b355f4bb403a 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
@@ -23,3 +23,7 @@ RDEPEND="
 "
 
 distutils_enable_tests pytest
+
+python_test() {
+   epytest -p xvfb
+}



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

2022-07-02 Thread Michał Górny
commit: 2a22294642253f125bc92b1a00c459be015f986f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul  2 19:22:36 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  2 19:25:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a222946

dev-python/pytest-xvfb: Remove old

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

 dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild | 25 --
 1 file changed, 25 deletions(-)

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
deleted file mode 100644
index 3817ad6ac44a..
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_REQ_USE="tk"
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-DESCRIPTION="A pytest plugin to run Xvfb for tests"
-HOMEPAGE="https://pypi.org/project/pytest-xvfb/;
-SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-
-RDEPEND="
-   >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
-   >=dev-python/pyvirtualdisplay-1.3[${PYTHON_USEDEP}]
-   x11-base/xorg-server[xvfb]
-"
-
-distutils_enable_tests --install pytest



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

2022-07-02 Thread Sam James
commit: e90f253875f135b510c72d6b8d7a9019fa401800
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul  2 18:16:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul  2 18:16:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e90f2538

dev-python/pytest-xvfb: Stabilize 2.0.0-r2 ALLARCHES, #855785

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

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

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
index 1de8de0246d2..c6df7830347a 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 
 RDEPEND="
>=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]



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

2022-06-01 Thread Andrew Ammerlaan
commit: 6e77fafe2368893124a4d0b5d140572e544318b8
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Jun  1 10:46:04 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Jun  1 10:55:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e77fafe

dev-python/pytest-xvfb: update EAPI 7 -> 8, enable py3.11, pep517

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

 dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild | 25 ++
 1 file changed, 25 insertions(+)

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
new file mode 100644
index ..1de8de0246d2
--- /dev/null
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_REQ_USE="tk"
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="A pytest plugin to run Xvfb for tests"
+HOMEPAGE="https://pypi.org/project/pytest-xvfb/;
+SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+   >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
+   >=dev-python/pyvirtualdisplay-1.3[${PYTHON_USEDEP}]
+   x11-base/xorg-server[xvfb]
+"
+
+distutils_enable_tests pytest



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

2021-10-18 Thread Sam James
commit: ad19feda203da1accd7d506f56c9441011e4c4ae
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 19 00:12:02 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 19 00:12:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad19feda

dev-python/pytest-xvfb: Keyword 2.0.0-r1 arm64, #818277

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

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

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
index efd50e3c0ec..3817ad6ac44 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~arm64 x86"
 
 RDEPEND="
>=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]



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

2021-09-14 Thread Arthur Zamarin
commit: 393b8cf31c1b79b3c923413b9661d40df7c8f828
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 13 20:19:40 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Sep 14 13:58:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=393b8cf3

dev-python/pytest-xvfb: enable py3.10, cleanup python_test

Closes: https://github.com/gentoo/gentoo/pull/22284
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild | 13 ++---
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
index dd8953d8bdb..efd50e3c0ec 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_REQ_USE="tk"
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
@@ -22,13 +22,4 @@ RDEPEND="
x11-base/xorg-server[xvfb]
 "
 
-distutils_enable_tests pytest
-
-python_test() {
-   local -x PYTHONPATH="${BUILD_DIR}/install/lib"
-   esetup.py install \
-   --root="${BUILD_DIR}/install" \
-   --install-lib=lib
-
-   pytest -vv || die "Tests fail with ${EPYTHON}"
-}
+distutils_enable_tests --install pytest



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

2021-09-14 Thread Arthur Zamarin
commit: d30880044ca87a87a0e4bc38117bdd73ac197a2d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 13 20:19:24 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Sep 14 13:58:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3088004

dev-python/pytest-xvfb: add github upstream metadata

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

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

diff --git a/dev-python/pytest-xvfb/metadata.xml 
b/dev-python/pytest-xvfb/metadata.xml
index 6cdf783ea14..ba15c262a26 100644
--- a/dev-python/pytest-xvfb/metadata.xml
+++ b/dev-python/pytest-xvfb/metadata.xml
@@ -8,5 +8,6 @@


pytest-xvfb
+   The-Compiler/pytest-xvfb

 



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

2021-05-19 Thread Michał Górny
commit: 6ebba667a5a1e51cb208b50eca0c81f5386b0d7b
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 19 06:01:00 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 19 06:01:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ebba667

dev-python/pytest-xvfb: Remove old

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

 dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild | 33 -
 1 file changed, 33 deletions(-)

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
deleted file mode 100644
index e6d752d53f8..000
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit distutils-r1
-
-DESCRIPTION="A pytest plugin to run Xvfb for tests"
-HOMEPAGE="https://pypi.org/project/pytest-xvfb/;
-SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-DEPEND="
-   >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
-   >=dev-python/pyvirtualdisplay-1.3[${PYTHON_USEDEP}]
-   x11-base/xorg-server[xvfb]
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local -x PYTHONPATH="${BUILD_DIR}/install/lib"
-   esetup.py install \
-   --root="${BUILD_DIR}/install" \
-   --install-lib=lib
-
-   pytest -vv || die "Tests fail with ${EPYTHON}"
-}



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

2021-05-18 Thread Sam James
commit: 6b786740340cadb8ee1f2e19c72e4a6f1dbc4006
Author: Sam James  gentoo  org>
AuthorDate: Tue May 18 23:16:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 18 23:16:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b786740

dev-python/pytest-xvfb: Stabilize 2.0.0-r1 ALLARCHES, #790983

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

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

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
index 413aadefb50..dd8953d8bdb 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 RDEPEND="
>=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]



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

2021-04-09 Thread Joonas Niilola
commit: 15c1bdd84ac63ab19dc25b861884396596f06d63
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Apr  8 13:34:59 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Apr  9 11:49:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15c1bdd8

dev-python/pytest-xvfb: add py3.9

also add dep on python[tk], and correct
DEPEND --> RDEPEND (these should definitely be
runtime deps, ran into importerrors with a binpkg)

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

 dev-python/pytest-xvfb/metadata.xml|  1 +
 dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild | 34 ++
 2 files changed, 35 insertions(+)

diff --git a/dev-python/pytest-xvfb/metadata.xml 
b/dev-python/pytest-xvfb/metadata.xml
index 8762625bd5d..c5489072fff 100644
--- a/dev-python/pytest-xvfb/metadata.xml
+++ b/dev-python/pytest-xvfb/metadata.xml
@@ -9,6 +9,7 @@
proxy-ma...@gentoo.org
Proxy Maintainers

+   

pytest-xvfb


diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
new file mode 100644
index 000..413aadefb50
--- /dev/null
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_REQ_USE="tk"
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="A pytest plugin to run Xvfb for tests"
+HOMEPAGE="https://pypi.org/project/pytest-xvfb/;
+SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
+   >=dev-python/pyvirtualdisplay-1.3[${PYTHON_USEDEP}]
+   x11-base/xorg-server[xvfb]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local -x PYTHONPATH="${BUILD_DIR}/install/lib"
+   esetup.py install \
+   --root="${BUILD_DIR}/install" \
+   --install-lib=lib
+
+   pytest -vv || die "Tests fail with ${EPYTHON}"
+}



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

2020-11-23 Thread Agostino Sarubbo
commit: 79ee565889d1b4dcd7f17d2c9352939cfd8123fe
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov 24 07:18:45 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov 24 07:18:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79ee5658

dev-python/pytest-xvfb: amd64 stable wrt bug #754231

Package-Manager: Portage-3.0.8, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

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

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
index 77155cc67be..e6d752d53f8 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 DEPEND="
>=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]



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

2020-11-18 Thread Thomas Deutschmann
commit: c660bf96c03faa0c12f1c6905ff3d57a1c4d8e73
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Nov 18 23:41:57 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Nov 18 23:41:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c660bf96

dev-python/pytest-xvfb: x86 stable (bug #754231)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

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

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
index ccf3315e933..77155cc67be 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> ${
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 DEPEND="
>=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]



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

2020-11-18 Thread Thomas Deutschmann
commit: bf8a23888c935ac7ca633f7d586b60ea5670f530
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Fri Nov 13 17:00:59 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Nov 18 21:35:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf8a2388

dev-python/pytest-xvfb: fix tests

tests do not work at all if the package is
not already installed to the system

Closes: https://bugs.gentoo.org/754270
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/18246
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
index af48d69b605..ccf3315e933 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
@@ -24,6 +24,10 @@ DEPEND="
 distutils_enable_tests pytest
 
 python_test() {
-   distutils_install_for_testing
-   pytest -vv || die "Tests failed with ${EPYTHON}"
+   local -x PYTHONPATH="${BUILD_DIR}/install/lib"
+   esetup.py install \
+   --root="${BUILD_DIR}/install" \
+   --install-lib=lib
+
+   pytest -vv || die "Tests fail with ${EPYTHON}"
 }



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

2020-09-21 Thread Michał Górny
commit: d8743d303589f1ded3742987cfe5b2f562ec3659
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 21 16:03:36 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Sep 21 16:06:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8743d30

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

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

 dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
index f6108d71158..af48d69b605 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
@@ -4,7 +4,6 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{7,8} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
 



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

2020-09-15 Thread Joonas Niilola
commit: d0e9ec302e67bfdcb4965c2b46eeadf7a8aea401
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Aug 17 16:50:31 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Sep 15 08:09:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0e9ec30

dev-python/pytest-xvfb: A pytest plugin to run Xvfb for tests

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

 dev-python/pytest-xvfb/Manifest |  1 +
 dev-python/pytest-xvfb/metadata.xml | 12 ++
 dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild | 30 +
 3 files changed, 43 insertions(+)

diff --git a/dev-python/pytest-xvfb/Manifest b/dev-python/pytest-xvfb/Manifest
new file mode 100644
index 000..2132937334b
--- /dev/null
+++ b/dev-python/pytest-xvfb/Manifest
@@ -0,0 +1 @@
+DIST pytest-xvfb-2.0.0.tar.gz 6855 BLAKE2B 
338802ccbf5fc0c9ab3fccd7c172b31867cc86869dfc50dbb30daf396ecd9865e71c6486cc96c2485e2d5b6195dc2eff83a033864f88e1b2c64a3937b6b48c84
 SHA512 
42c2119b2c529a45b5de9f8ac2781306cfb9f00c1d0e0e9045ed40ccb7260cb6f400683802ab845ce2481dcadfcef007c8417a481e9c04f14ee1bdc68244d391

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

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild 
b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
new file mode 100644
index 000..f6108d71158
--- /dev/null
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="A pytest plugin to run Xvfb for tests"
+HOMEPAGE="https://pypi.org/project/pytest-xvfb/;
+SRC_URI="https://github.com/The-Compiler/pytest-xvfb/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+   >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
+   >=dev-python/pyvirtualdisplay-1.3[${PYTHON_USEDEP}]
+   x11-base/xorg-server[xvfb]
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   distutils_install_for_testing
+   pytest -vv || die "Tests failed with ${EPYTHON}"
+}