commit:     1a03690c377ae3b4d8472eb247b104ddfb8d8764
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 01:43:15 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 22 01:44:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a03690c

dev-perl/Net-LibIDN2: use eclass phase functions

As I noted in the bug:
> dev-perl/Net-LibIDN2 doesn't use the Module::Build support in the eclass,
> so we should fix that. This means it doesn't get all the flag variables,
> but it ends up not being the problem here.

It's also just clutter to unnecessarily (and not as comprehensively) do
the same thing the eclass does, so clean it up.

Bug: https://bugs.gentoo.org/932176
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-perl/Net-LibIDN2/Net-LibIDN2-1.20.0-r1.ebuild | 24 +++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/dev-perl/Net-LibIDN2/Net-LibIDN2-1.20.0-r1.ebuild 
b/dev-perl/Net-LibIDN2/Net-LibIDN2-1.20.0-r1.ebuild
new file mode 100644
index 000000000000..4653fa41e669
--- /dev/null
+++ b/dev-perl/Net-LibIDN2/Net-LibIDN2-1.20.0-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=THOR
+DIST_VERSION=1.02
+inherit perl-module
+
+DESCRIPTION="Perl bindings for GNU Libidn2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x64-solaris"
+
+RDEPEND="net-dns/libidn2:="
+DEPEND="net-dns/libidn2:="
+BDEPEND="${RDEPEND}
+       dev-perl/Module-Build
+       virtual/perl-ExtUtils-CBuilder
+       virtual/perl-ExtUtils-ParseXS
+       dev-perl/Module-Build
+       test? (
+               >=virtual/perl-Test-Simple-0.10.0
+       )
+"

Reply via email to