diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2020-04-28 11:27:27 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2020-04-28 11:33:52 -0400 |
commit | 8f4f964350c4e5aa6f31af96c7271d39d2a7794a (patch) | |
tree | ed8a218f66e2b869f4dbcfba951e708a4d0da8ea /dev-lang/R | |
parent | dev-perl/AnyEvent-HTTP: Bump to version 2.250.0 (diff) | |
download | gentoo-8f4f964350c4e5aa6f31af96c7271d39d2a7794a.tar.gz gentoo-8f4f964350c4e5aa6f31af96c7271d39d2a7794a.tar.bz2 gentoo-8f4f964350c4e5aa6f31af96c7271d39d2a7794a.zip |
dev-lang/R: pull in LaTeX stuff for the test suite.
At least one test (reg-packages.R) tries to run texi2dvi which in turn
looks for /usr/bin/tex, and will fail without it. This commit adds
IUSE=test, and pulls in virtual/latex-base when it is set.
Bug: https://bugs.gentoo.org/718056
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'dev-lang/R')
-rw-r--r-- | dev-lang/R/R-3.6.3-r1.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-lang/R/R-3.6.3-r1.ebuild b/dev-lang/R/R-3.6.3-r1.ebuild index 0f45bd0490e6..274948dece15 100644 --- a/dev-lang/R/R-3.6.3-r1.ebuild +++ b/dev-lang/R/R-3.6.3-r1.ebuild @@ -17,14 +17,17 @@ SRC_URI=" LICENSE="|| ( GPL-2 GPL-3 ) LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="cairo doc icu java jpeg lapack minimal nls openmp perl png prefix profile readline static-libs tiff tk X" +IUSE="cairo doc icu java jpeg lapack minimal nls openmp perl png prefix profile readline static-libs test tiff tk X" REQUIRED_USE="png? ( || ( cairo X ) ) jpeg? ( || ( cairo X ) ) tiff? ( || ( cairo X ) )" +# At least one package installation in the test suite requires TeX, +# and will fail without it (bug #718056). BDEPEND="virtual/pkgconfig doc? ( virtual/latex-base dev-texlive/texlive-fontsrecommended - )" + ) + test? ( virtual/latex-base )" DEPEND=" app-arch/bzip2:0= app-arch/xz-utils:0= @@ -49,7 +52,8 @@ RDEPEND="${DEPEND} sys-libs/zlib:0[minizip] java? ( >=virtual/jre-1.5 )" -RESTRICT="minimal? ( test )" +RESTRICT="minimal? ( test ) + !test? ( test )" PATCHES=( "${FILESDIR}"/${PN}-3.4.1-parallel.patch |