From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AF264138359 for ; Tue, 15 Sep 2020 08:09:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7402BE0930; Tue, 15 Sep 2020 08:09:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15A99E0930 for ; Tue, 15 Sep 2020 08:09:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8D08D340BDE for ; Tue, 15 Sep 2020 08:09:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0265B365 for ; Tue, 15 Sep 2020 08:09:36 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1600157359.d0e9ec302e67bfdcb4965c2b46eeadf7a8aea401.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-xvfb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-xvfb/Manifest dev-python/pytest-xvfb/metadata.xml dev-python/pytest-xvfb/pytest-xvfb-2.0.0.ebuild X-VCS-Directories: dev-python/pytest-xvfb/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: d0e9ec302e67bfdcb4965c2b46eeadf7a8aea401 X-VCS-Branch: master Date: Tue, 15 Sep 2020 08:09:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 37448a26-989a-45d9-a82c-323011cd485c X-Archives-Hash: 2e357f3f84f5ec007f4f647cabccfc2d commit: d0e9ec302e67bfdcb4965c2b46eeadf7a8aea401 Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Aug 17 16:50:31 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Sep 15 08:09:19 2020 +0000 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 00000000000..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 00000000000..d22e99d7357 --- /dev/null +++ b/dev-python/pytest-xvfb/metadata.xml @@ -0,0 +1,12 @@ + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + proxy-maint@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 00000000000..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}" +}