mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/pytidylib: Use distutils_enable_tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -15,13 +15,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-text/htmltidy"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
DEPEND=${RDEPEND}
|
||||
|
||||
python_test() {
|
||||
pytest -vv || die
|
||||
}
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Reference in New Issue
Block a user