diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-12-18 11:57:21 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-12-18 12:18:11 -0500 |
commit | 7f873b4c39d17c82268c502cf470432939f5d01a (patch) | |
tree | 98048cb0be9e7813da07e60e106626385648b234 /sys-apps/findutils | |
parent | sys-apps/findutils: drop old 4.5.x versions (diff) | |
download | gentoo-7f873b4c39d17c82268c502cf470432939f5d01a.tar.gz gentoo-7f873b4c39d17c82268c502cf470432939f5d01a.tar.bz2 gentoo-7f873b4c39d17c82268c502cf470432939f5d01a.zip |
sys-apps/findutils: fix python handling when running tests #518838
Diffstat (limited to 'sys-apps/findutils')
-rw-r--r-- | sys-apps/findutils/findutils-4.5.14-r1.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys-apps/findutils/findutils-4.5.14-r1.ebuild b/sys-apps/findutils/findutils-4.5.14-r1.ebuild index 6d0ad7085f59..f4f5a4415e0a 100644 --- a/sys-apps/findutils/findutils-4.5.14-r1.ebuild +++ b/sys-apps/findutils/findutils-4.5.14-r1.ebuild @@ -4,7 +4,9 @@ EAPI="4" -inherit eutils flag-o-matic toolchain-funcs +PYTHON_COMPAT=( python2_7 ) + +inherit eutils flag-o-matic toolchain-funcs python-any-r1 DESCRIPTION="GNU utilities for finding files" HOMEPAGE="https://www.gnu.org/software/findutils/" @@ -18,8 +20,13 @@ IUSE="debug nls selinux static" RDEPEND="selinux? ( sys-libs/libselinux ) nls? ( virtual/libintl )" DEPEND="${RDEPEND} + test? ( ${PYTHON_DEPS} ) nls? ( sys-devel/gettext )" +pkg_setup() { + use test && python-any-r1_pkg_setup +} + src_prepare() { epatch "${FILESDIR}"/${P}-test-bashisms.patch #531020 # Don't build or install locate because it conflicts with slocate, |