From 6e9e8c74f36e31117647c4414b98b1fda95b18a1 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 19 May 2026 01:43:53 +0900 Subject: internal/rosa: migrate buildcatrust Other nss-related packages are unlikely to be migrated any time soon. Signed-off-by: Ophestra --- internal/rosa/python.go | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'internal/rosa/python.go') diff --git a/internal/rosa/python.go b/internal/rosa/python.go index a9ec642a..512c38fb 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -198,20 +198,21 @@ func (s *S) newPythonPackage( build P, extra ...ArtifactH, ) { name = "python-" + name - s.mustRegister(func(t Toolchain) (pkg.Artifact, string) { - return t.NewPackage(name, version, source, attrP, attr, slices.Concat( - P{Python}, - extra, - build, - )...), version - }, &Metadata{ - Name: name, - Description: description, - Website: website, - - Dependencies: slices.Concat(P{Python}, extra), - - ID: id, + s.MustRegister(name, func(t Toolchain) (*Metadata, pkg.Artifact) { + return &Metadata{ + Name: name, + Description: description, + Website: website, + Version: version, + + Dependencies: slices.Concat(P{Python}, extra), + + ID: id, + }, t.NewPackage(name, version, source, attrP, attr, slices.Concat( + P{Python}, + extra, + build, + )...) }) } -- cgit v1.3.1