mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
This module acts as a polyfill for the equ and === infix operators introduced by Perl 5.45.3. Link: https://github.com/Perl/PPCs/blob/main/ppcs/ppc0030-undef-aware-equality.md Co-authored-by: Kerin Millar <kfm@plushkava.net> Signed-off-by: Sam James <sam@gentoo.org>
29 lines
608 B
Bash
29 lines
608 B
Bash
# Copyright 2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DIST_AUTHOR=PEVANS
|
|
DIST_VERSION=0.11
|
|
inherit perl-module
|
|
|
|
DESCRIPTION="Equality operators that distinguish undef"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
# The infix operators require the PL_infix_plugin hook introduced by Perl 5.38.
|
|
# Older versions would only be able to make use of is_strequ() and is_numequ().
|
|
RDEPEND="
|
|
>=dev-lang/perl-5.38
|
|
>=dev-perl/meta-0.3.2
|
|
>=dev-perl/XS-Parse-Keyword-0.470.0
|
|
"
|
|
BDEPEND="
|
|
${RDEPEND}
|
|
>=dev-perl/Module-Build-0.400.400
|
|
test? (
|
|
virtual/perl-Test2-Suite
|
|
)
|
|
"
|