# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DIST_AUTHOR="DCONWAY" DIST_VERSION="0.002007" inherit perl-module optfeature DESCRIPTION="Perl module and command line tool (rxrx) to visually debug regexes in-place" LICENSE="|| ( Artistic GPL-1+ )" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" IUSE="minimal" RDEPEND=" !minimal? ( dev-perl/TermReadKey virtual/perl-Time-HiRes )" DEPEND="${RDEPEND} virtual/perl-version" BDEPEND=" dev-perl/Module-Build virtual/perl-ExtUtils-MakeMaker" pkg_postinst() { # People may find JSON::XS's whole aesthetic offputting, so install it manually if you want it. # This also supports JSON::DWIW but that isn't packaged elog "${PN} has optional runtime dependencies:" optfeature "JSON output" dev-perl/{JSON{-XS,},YAML-Syck} }