diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-05 20:37:09 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-05 20:37:09 +0900 |
| commit | e3ffe85670326306db65866e227869b34c76bd64 (patch) | |
| tree | ceeb23a8def2a7992a9215ffa5fb4a91df295cdd /internal | |
| parent | f4403ba5cd51aba297f719b0c44e961dc7214170 (diff) | |
internal/rosa/python: pycparser artifact
Required by mesa.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/rosa/all.go | 1 | ||||
| -rw-r--r-- | internal/rosa/python.go | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go index 2fbedd82..8fee7867 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -145,6 +145,7 @@ const ( PythonPluggy PythonPyTest PythonPyYAML + PythonPycparser PythonPygments PythonSetuptools PythonSetuptoolsSCM diff --git a/internal/rosa/python.go b/internal/rosa/python.go index 500d14fc..07c56856 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -584,3 +584,24 @@ func init() { }, P{PythonSetuptools}, ) } + +func init() { + const ( + version = "3.00" + checksum = "4qfCMFKp0fLsRsloOAF780tXX_Ce_68RwinCmjNGObAX32WpF_iBafIKW1S1bYlA" + ) + artifactsM[PythonPycparser] = newPythonPackage( + "pycparser", 8175, + "complete C99 parser in pure Python", + "https://github.com/eliben/pycparser", + version, newFromGitHub( + "eliben/pycparser", + "release_v"+version, checksum, + ), &PackageAttr{ + // test case hard codes gcc + ScriptEarly: ` +ln -s clang /system/bin/gcc +`, + }, nil, P{PythonSetuptools}, + ) +} |
