mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-24 08:38:07 -07:00
dev-python/cfn-python-lint: Use det --install
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -33,7 +33,7 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
distutils_enable_tests --install unittest
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/cfn-python-lint-0.30.1-tests.patch"
|
||||
@@ -47,9 +47,3 @@ src_prepare() {
|
||||
-i test/unit/module/maintenance/test_update_documentation.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
"${EPYTHON}" -m unittest discover -v ||
|
||||
die "tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user