Skip to content

Commit

Permalink
dev-python/pytest-shutil: Set DISTUTILS_USE_SETUPTOOLS
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Dec 16, 2019
1 parent 1a6b8f0 commit cdcd531
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev-python/pytest-shutil/pytest-shutil-1.7.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )

inherit distutils-r1
Expand All @@ -14,6 +16,7 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~mips ~s390 ~sparc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
Expand All @@ -29,8 +32,6 @@ BDEPEND="
${RDEPEND}
"

RESTRICT="!test? ( test )"

python_prepare_all() {
# keeps trying to install this in tests
sed -i 's:path.py::' setup.py || die
Expand Down

0 comments on commit cdcd531

Please sign in to comment.