dev-perl/YAML-PP: Add missing deps re bug #719642

Test::Deep's absence was breaking tests.

Additionally, I've added all the other dependencies upstream mentioned,
and moved from DEPEND to BDEPEND for EAPI7 reasons.

The "export ... " line is removed because it only affects the building
of XS/C code, of which this package has none (otherwise I'd have moved
it to src_configure because calling 'export' really shouldn't happen in
global scope, especially for this example, which could break pontetial
application of per-package settings with package.env)

Closes: https://bugs.gentoo.org/719642
Package-Manager: Portage-2.3.97, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
This commit is contained in:
Kent Fredric
2020-04-27 03:13:42 +12:00
parent a1e312d6b6
commit be43f87f40

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DIST_AUTHOR=TINITA
DIST_VERSION=0.018
SRC_TEST="do"
inherit perl-module
DESCRIPTION="YAML 1.2 processor in perl"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE='test'
RESTRICT="!test? ( test )"
RDEPEND="
virtual/perl-Carp
virtual/perl-Data-Dumper
virtual/perl-Encode
virtual/perl-Exporter
virtual/perl-MIME-Base64
virtual/perl-Module-Load
>=virtual/perl-Scalar-List-Utils-1.70.0
"
BDEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? (
virtual/perl-File-Spec
virtual/perl-IO
dev-perl/Test-Deep
>=virtual/perl-Test-Simple-0.980.0
dev-perl/Test-Warn
)
"