diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-23 00:06:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-23 00:06:40 +0100 |
commit | b3b92de25c3fc5f6bddc5e513027140591a0b2a5 (patch) | |
tree | f2ce6d7e747abea3e8fa7d99e32ad5d98cf33988 /dev-perl/Alien-LibGumbo | |
parent | 236e75597883501f8700d9ba1a5c8276f578a17f (diff) |
gentoo auto-resync : 23:05:2024 - 00:06:39
Diffstat (limited to 'dev-perl/Alien-LibGumbo')
-rw-r--r-- | dev-perl/Alien-LibGumbo/Alien-LibGumbo-0.50.0-r4.ebuild | 53 | ||||
-rw-r--r-- | dev-perl/Alien-LibGumbo/Manifest | 1 |
2 files changed, 54 insertions, 0 deletions
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 +} diff --git a/dev-perl/Alien-LibGumbo/Manifest b/dev-perl/Alien-LibGumbo/Manifest index d46e708b9639..09ce037ccd81 100644 --- a/dev-perl/Alien-LibGumbo/Manifest +++ b/dev-perl/Alien-LibGumbo/Manifest @@ -1,3 +1,4 @@ DIST Alien-LibGumbo-0.05.tar.gz 581628 BLAKE2B 1fb6affac4cde2554047efbd09e40d159f6aa37eb1576e2d165998d0896840ca6d4a9c5e94349819ce46e278245b55e0b631fa46ed4b1fd8d5b2c2304e1260e1 SHA512 3e1640b901a9597e50ef4bcadaa7d48592cd849feb6ccf42391c441e0c51f1d2556dab3533f8a23dc183464197336df22287c309f73ae741472c743445366628 EBUILD Alien-LibGumbo-0.50.0-r3.ebuild 1309 BLAKE2B 13d201d86cd808cbd4ebeac41196d29be3997d900e16f79125366fd645ee76a07a200c676d0dd5637b75188fbfacff988895c1bb8cfa3121014c4cb0185570b9 SHA512 f30347724ae4339cc5d9665a0ceb0613e75fd421f7aac76057b01e619e5c3ddbe202fd340850737c71152d40923e2c04a3533fa66627d9c2789fba441086a66f +EBUILD Alien-LibGumbo-0.50.0-r4.ebuild 1090 BLAKE2B 8615b995759b7b76ad747cd3079d5423340dff2697fd0f8aac5d23d40eb722255c23795a94d2bf77e64b4e5786da0b6d057ff4e576ee4c7b29987ad5c6b4405b SHA512 0074e99b4e357e56d2e5e6a9589f802fed4dd072fe416ece64de7b2dcae026ca27051cae514ebe8cc23a05eefac7033bba321de724557eb45f38145acf2c2e4d MISC metadata.xml 673 BLAKE2B 5e27c7d4f202392855201ca2d3b549824a6b3f67782dcdfd52dc2328411819014106fc9e3e8a9d03d2effff39756148d4006a74091dbc513003275361c78e9b4 SHA512 79a43c207e36b583214df8b95b389d61b5a64d19a6dfeac6a678ab79e36c13da3ed779c7f16aff7fc8b0bd3c294d055baf9c2a907f43c365a215d73725443fa5 |