Files
gentoo/dev-perl/Syntax-Operator-Equ/Syntax-Operator-Equ-0.110.0.ebuild
Sam JamesandKerin Millar 167f500692 dev-perl/Syntax-Operator-Equ: new package, add 0.110.0
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>
2026-09-23 10:31:42 +01:00

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
)
"