From e903e7f5429edb99959620fe55df7896c9b08b0a Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 19 Apr 2026 22:40:43 +0900 Subject: [PATCH] internal/rosa/python: install pygments from source This finally has its dependencies. Signed-off-by: Ophestra --- internal/rosa/python.go | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/internal/rosa/python.go b/internal/rosa/python.go index 77e8f498..34cabe73 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -413,13 +413,22 @@ func init() { } func init() { - artifactsM[PythonPygments] = newPypi( - "pygments", 3986, - " a syntax highlighting package written in Python", - "2.20.0", "py3", "none", "any", - "qlyqX2YSXcV0Z8XgGaPttc_gkq-xsu_nYs6NFOcYnk-CX7qmcj45gG-h6DpwPIcO", + const ( + version = "2.20.0" + checksum = "L-2P6vn7c_CNZYliE5CJAWLxO1ziDQVVkf8bnZbHj8aSCQ43oWv11wC9KzU9MeCa" ) + artifactsM[PythonPygments] = newPythonPackage( + "pygments", 3986, + "a syntax highlighting package written in Python", + "https://pygments.org/", + version, newFromGitHub( + "pygments/pygments", + version, checksum, + ), nil, nil, P{PythonHatchling}, + ) +} +func init() { artifactsM[PythonIniConfig] = newPypi( "iniconfig", 114778, "a small and simple INI-file parser module",