diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-13 20:05:43 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-13 20:05:43 +0900 |
| commit | be7de68a42c0ad0d948601e9aa40337585559472 (patch) | |
| tree | bf568eb00ba9929632ad33529ad2fb101df4865b /internal/rosa | |
| parent | a759cf3666897e97d8437cd1b74356d20c7cadca (diff) | |
internal/rosa/perl: Test::Cmd artifact
Required by lm_sensors test suite.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa')
| -rw-r--r-- | internal/rosa/all.go | 1 | ||||
| -rw-r--r-- | internal/rosa/perl.go | 24 |
2 files changed, 25 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go index a12b6696..72e30510 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -133,6 +133,7 @@ const ( PerlPodParser PerlSGMLS PerlTermReadKey + PerlTestCmd PerlTextCharWidth PerlTextWrapI18N PerlUnicodeLineBreak diff --git a/internal/rosa/perl.go b/internal/rosa/perl.go index 3800d18b..43c85114 100644 --- a/internal/rosa/perl.go +++ b/internal/rosa/perl.go @@ -382,3 +382,27 @@ func init() { ID: 3549, } } + +func (t Toolchain) newPerlTestCmd() (pkg.Artifact, string) { + const ( + version = "1.09" + checksum = "gpGUwyC9IozDiYSgW_kXARNfXsTPFa6cTowJmmCBbPqcs2-pONZca_SB06FGy-7H" + ) + return t.newViaPerlMakeMaker("Test::Cmd", version, newFromCPAN( + "NEILB", + "Test-Cmd", + version, + checksum, + ), nil), version +} +func init() { + artifactsM[PerlTestCmd] = Metadata{ + f: Toolchain.newPerlTestCmd, + + Name: "perl-Test::Cmd", + Description: "portable testing of commands and scripts", + Website: "https://metacpan.org/release/Test-Cmd", + + ID: 6014, + } +} |
