diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
commit | 7c59acba5699c9c58090a7a738669669a7307023 (patch) | |
tree | d51d27d020895a6b7a3298d9d1b9846c1fcb59a0 /dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild | |
parent | e2db47eaae00ec33f8971db44b68645c5d3b9590 (diff) |
gentoo resync : 21.08.2021
Diffstat (limited to 'dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild')
-rw-r--r-- | dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild b/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild index 331289048c42..849cb00d85f1 100644 --- a/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild +++ b/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild @@ -1,11 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) - -DISTUTILS_USE_SETUPTOOLS=bdepend +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Setuptools plugin that makes unit tests execute with trial instead of pyunit" @@ -22,7 +20,13 @@ RDEPEND=" >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] " -BDEPEND="${RDEPEND}" +BDEPEND="test? ( ${RDEPEND} )" + +src_prepare() { + # don't install docs into wrong location + sed -e '/data_files=/d' -i setup.py || die + distutils-r1_src_prepare +} python_test() { distutils_install_for_testing |