diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-20 01:26:11 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-20 01:26:11 +0900 |
| commit | 11d99439ac8909c3650911fafeafba17a186501f (patch) | |
| tree | 34ecbc6d1c0685bde9ce90a8038a3415a62300ea | |
| parent | 39e4c5b8acf4abbf978a551ed7d608143722c618 (diff) | |
internal/rosa/python: install markupsafe from source
Required by mesa.
Signed-off-by: Ophestra <cat@gensokyo.uk>
| -rw-r--r-- | internal/rosa/python.go | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/internal/rosa/python.go b/internal/rosa/python.go index 02153794..56d50330 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -484,17 +484,29 @@ func init() { } func init() { - artifactsM[PythonMarkupSafe] = newPypi( + const ( + version = "3.0.3" + checksum = "txRGYdWE3his1lHHRI-lZADw0-ILvUg2l5OGdFHtFXIb_QowGxwdxHCUSJIgmjQs" + ) + artifactsM[PythonMarkupSafe] = newPythonPackage( "markupsafe", 3918, "implements a text object that escapes characters so it is safe to use in HTML and XML", - "3.0.3", "cp314", "cp314", "musllinux_1_2_"+linuxArch(), - perArch[string]{ - "amd64": "E2mo9ig_FKgTpGon_8qqviSEULwhnmxTIqd9vfyNxNpK4yofVYM7eLW_VE-LKbtO", - "arm64": "iG_hqsncOs8fA7bCaAg0x9XenXWlo9sqblyPcSG7yA9sfGLvM9KZznCpwWfOCwFC", - "riscv64": "7DI7U0M3jvr7U4uZml25GLw3m3EvMubCtNukZmss1gkVJ_DVkhV5DgX3Wt_sztbv", - }.unwrap(), + "https://markupsafe.palletsprojects.com/", + version, newFromGitHub( + "pallets/markupsafe", + version, checksum, + ), nil, &PipHelper{ + EnterSource: true, + Install: true, + Script: "pytest", + }, P{ + PythonSetuptools, + PythonPyTest, + }, ) +} +func init() { artifactsM[PythonMako] = newPypi( "mako", 3915, "a template library written in Python", |
