public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Alien-LibGumbo/
Date: Wed, 22 May 2024 02:18:51 +0000 (UTC)	[thread overview]
Message-ID: <1716344272.a25b9997efb1aace98f304a7c1739435b65b883a.sam@gentoo> (raw)

commit:     a25b9997efb1aace98f304a7c1739435b65b883a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 01:50:47 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 22 02:17:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a25b9997

dev-perl/Alien-LibGumbo: EAPI 8, rely on eclass impls

This covers more variables/args, etc.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../Alien-LibGumbo/Alien-LibGumbo-0.50.0-r4.ebuild | 53 ++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/dev-perl/Alien-LibGumbo/Alien-LibGumbo-0.50.0-r4.ebuild b/dev-perl/Alien-LibGumbo/Alien-LibGumbo-0.50.0-r4.ebuild
new file mode 100644
index 000000000000..fa2a8ba372d3
--- /dev/null
+++ b/dev-perl/Alien-LibGumbo/Alien-LibGumbo-0.50.0-r4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=RUZ
+DIST_VERSION=0.05
+inherit perl-module
+
+DESCRIPTION="Gumbo parser library"
+
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+# Alien-Build for Alien::Base
+RDEPEND="
+	>=dev-perl/Alien-Build-0.5.0
+	>=dev-perl/File-ShareDir-1.30.0
+	>=dev-perl/Path-Class-0.13.0
+	dev-libs/gumbo:=
+"
+DEPEND="
+	dev-libs/gumbo:=
+	dev-perl/Module-Build
+"
+BDEPEND="${RDEPEND}
+	>=dev-perl/Alien-Base-ModuleBuild-0.5.0
+	>=dev-perl/Module-Build-0.420.0
+"
+
+src_test() {
+	local MODULES=(
+		"Alien::LibGumbo ${DIST_VERSION}"
+		"Alien::LibGumbo::ConfigData"
+		"Alien::LibGumbo::Install::Files"
+	)
+	local failed=()
+	for dep in "${MODULES[@]}"; do
+		ebegin "Compile testing ${dep}"
+			perl -Mblib="${S}/blib" -M"${dep} ()" -e1
+		eend $? || failed+=( "$dep" )
+	done
+	if [[ ${failed[@]} ]]; then
+		echo
+		eerror "One or more modules failed compile:";
+		for dep in "${failed[@]}"; do
+			 eerror "  ${dep}"
+		done
+		die "Failing due to module compilation errors";
+	fi
+	# Currently useless
+	# perl-module_src_test
+}


             reply	other threads:[~2024-05-22  2:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-22  2:18 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-20 12:29 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Alien-LibGumbo/ Sam James
2023-05-20  5:59 Sam James
2022-11-23 14:08 Jakov Smolić
2020-08-06 16:05 Kent Fredric
2020-07-03  0:07 Kent Fredric
2020-06-20  4:15 Kent Fredric
2020-04-23  7:47 Kent Fredric
2019-08-02 10:10 Aaron W. Swenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1716344272.a25b9997efb1aace98f304a7c1739435b65b883a.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox