diff options
author | Sam James <sam@gentoo.org> | 2022-06-12 16:42:15 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-12 16:56:30 +0100 |
commit | 7abd100b81820f3780ffe521a35ae78f22c0f2d7 (patch) | |
tree | 2fafd2bbe4e888a8a61ab7ebea8d65c11131dc26 /dev-python/qtawesome | |
parent | sys-libs/libapparmor: fix distutils-r1 usage (diff) | |
download | gentoo-7abd100b81820f3780ffe521a35ae78f22c0f2d7.tar.gz gentoo-7abd100b81820f3780ffe521a35ae78f22c0f2d7.tar.bz2 gentoo-7abd100b81820f3780ffe521a35ae78f22c0f2d7.zip |
dev-python/qtawesome: use BDEPEND for tests; fix nonfatal/virtx
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/qtawesome')
-rw-r--r-- | dev-python/qtawesome/qtawesome-1.1.1-r1.ebuild | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/qtawesome/qtawesome-1.1.1-r1.ebuild b/dev-python/qtawesome/qtawesome-1.1.1-r1.ebuild index d776761a2b50..5a6e97292084 100644 --- a/dev-python/qtawesome/qtawesome-1.1.1-r1.ebuild +++ b/dev-python/qtawesome/qtawesome-1.1.1-r1.ebuild @@ -12,7 +12,7 @@ MY_P=${MY_PN}-${PV} DESCRIPTION="Enables iconic fonts such as Font Awesome in PyQt" HOMEPAGE="https://github.com/spyder-ide/qtawesome/ https://pypi.org/project/QtAwesome/" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}"/${MY_P} LICENSE="MIT" SLOT="0" @@ -22,8 +22,7 @@ RDEPEND=" media-fonts/fontawesome dev-python/QtPy[pyqt5(+),gui,${PYTHON_USEDEP}] " - -DEPEND="test? ( dev-python/pytest-qt[${PYTHON_USEDEP}] )" +BDEPEND="test? ( dev-python/pytest-qt[${PYTHON_USEDEP}] )" distutils_enable_tests pytest distutils_enable_sphinx docs/source @@ -35,5 +34,5 @@ src_test() { python_test() { # Tests fail with pyside2, so depend on QtPy[pyqt5] and explicitly run # the tests with pyqt5 - PYTEST_QT_API="pyqt5" epytest + PYTEST_QT_API="pyqt5" epytest || die "Tests failed with ${EPYTHON}" } |