diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-30 21:32:34 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-12-01 11:31:55 +0100 |
commit | dce50ca43a7fc0ffedd5d6ac8f9ac3890b5c0f06 (patch) | |
tree | 79611e5578c3a3e21a1ae42bea932958d13d7ae6 /dev-python/cfn-python-lint | |
parent | dev-python/cbor: Remove unnecessary dift (diff) | |
download | gentoo-dce50ca43a7fc0ffedd5d6ac8f9ac3890b5c0f06.tar.gz gentoo-dce50ca43a7fc0ffedd5d6ac8f9ac3890b5c0f06.tar.bz2 gentoo-dce50ca43a7fc0ffedd5d6ac8f9ac3890b5c0f06.zip |
dev-python/cfn-python-lint: Use det --install
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cfn-python-lint')
3 files changed, 3 insertions, 21 deletions
diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.39.0.ebuild b/dev-python/cfn-python-lint/cfn-python-lint-0.39.0.ebuild index 64b6dd0c57c8..2ee32af274d3 100644 --- a/dev-python/cfn-python-lint/cfn-python-lint-0.39.0.ebuild +++ b/dev-python/cfn-python-lint/cfn-python-lint-0.39.0.ebuild @@ -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}" -} diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.41.0.ebuild b/dev-python/cfn-python-lint/cfn-python-lint-0.41.0.ebuild index 8fdc39d88ec2..a83123122bcb 100644 --- a/dev-python/cfn-python-lint/cfn-python-lint-0.41.0.ebuild +++ b/dev-python/cfn-python-lint/cfn-python-lint-0.41.0.ebuild @@ -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}" -} diff --git a/dev-python/cfn-python-lint/cfn-python-lint-0.42.0.ebuild b/dev-python/cfn-python-lint/cfn-python-lint-0.42.0.ebuild index 8fdc39d88ec2..a83123122bcb 100644 --- a/dev-python/cfn-python-lint/cfn-python-lint-0.42.0.ebuild +++ b/dev-python/cfn-python-lint/cfn-python-lint-0.42.0.ebuild @@ -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}" -} |