aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/python.go
AgeCommit message (Collapse)Author
3 daysinternal/rosa: remove /usr/srcOphestra
There is only one primary source directory per package, so naming the directory after the package makes little sense, and introduces many complications and ugliness of having to refer to their own name. This change also moves extras to /extra, preserving the relative pathnames. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-28internal/rosa: do not hard code prefixOphestra
This allows the prefix to be changed, at runtime if needed. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-23internal/rosa/meson: support cross-compilationOphestra
Meson does not want to play nice and accept arguments or environment variables for cross-compiling configuration, so a so-called mfile had to be generated and placed here. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-10-22internal/rosa: optionally bypass cross-compilationOphestra
Cross-compilation is not applicable to everything, and it is quite wasteful rebuilding the same thing for every architecture when it is just using host tools to create arch-independent files. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-09-05internal/rosa: separate native tools from librariesOphestra
This removes most redundant runtime arguments and is useful for cross-compilation. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-07-30internal/rosa: remove legacy exec helperOphestra
This change also adds a fourth stage to the bootstrap machinery, offering more correct toolchain validation that works around LLVM dynamic linking flaws. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-06-16internal/rosa/python: respect toolchain optsOphestra
This was missed when migrating the pip helper. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-23internal/rosa: remove unused helpersOphestra
These are no longer needed after migration. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-21internal/rosa: expose in-place behaviour in generic helperOphestra
This change also combines the createDir and wantsDir methods, and replaces the non-inplace target of the generic helper with a deterministic path. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-21internal/rosa/package: migrate nssOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-20internal/rosa: remove global handlesOphestra
These no longer serve any purpose. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-19internal/rosa/package: migrate python packagesOphestra
This also migrates LLVM LIT via the newly implemented special case. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-19internal/rosa/perl: Makefile.PL helperOphestra
This can be invoked from azalea. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-19internal/rosa/package: migrate python interpreterOphestra
Packages will take quite some work. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-19internal/rosa/python: remove unnecessary inputOphestra
This is added by the helper. Removing it has no effect since it is promoted by Append. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-19internal/rosa: migrate buildcatrustOphestra
Other nss-related packages are unlikely to be migrated any time soon. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-19internal/rosa: create metadata alongside artifactOphestra
This enables deferring evaluation of azalea-based packages and fixes the longstanding quirk of version being disjoint from other metadata. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-18internal/rosa: migrate GNU softwareOphestra
These are quite trivial, so migrate them in one pass. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-17internal/rosa: pass stage alongside stateOphestra
This cleans up many function signatures. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-17internal/rosa: key metadata by stringOphestra
For upcoming azalea integration. The API is quite ugly right now to ease migration. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-12internal/rosa/python: trove-classifiers 2026.4.28.13 to 2026.5.7.17Ophestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-12internal/rosa/python: 3.14.4 to 3.14.5Ophestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-05internal/rosa/python: pycparser artifactOphestra
Required by mesa. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-05-02internal/rosa/python: lit artifactOphestra
Used by LLVM-related projects. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-29internal/rosa/python: mako 1.3.11 to 1.3.12Ophestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-29internal/rosa/python: trove-classifiers 2026.1.14.14 to 2026.4.28.13Ophestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-28internal/rosa/python: pathspec 1.0.4 to 1.1.1Ophestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-28internal/rosa/python: packaging 26.1 to 26.2Ophestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-23internal/rosa/python: wheel artifactOphestra
No idea why this ended up as a package. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-20internal/rosa/python: remove pypi helpersOphestra
Pypi is disallowed by policy so these helpers are no longer useful. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-20internal/rosa/python: install pyyaml from sourceOphestra
Required by mesa. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-20internal/rosa/python: install mako from sourceOphestra
Required by mesa. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-20internal/rosa/python: run tests via helperOphestra
Despite the lack of standards, pytest seems somewhat widely agreed upon. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-20internal/rosa/python: install markupsafe from sourceOphestra
Required by mesa. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-20internal/rosa/python: optionally install before checkOphestra
Some test suites require package to be installed globally. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: install pytest from sourceOphestra
Used by many python packages. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: install iniconfig from sourceOphestra
This also required the setuptools-scm hack. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: install pygments from sourceOphestra
This finally has its dependencies. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: hatchling artifactOphestra
Required by many python packages. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: trove-classifiers artifactOphestra
Required by hatchling. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: install packaging from sourceOphestra
This is required by many packages. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: install pluggy from sourceOphestra
This finally has all its dependencies at this point. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: setuptools-scm artifactOphestra
Awful hack required by many packages. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: pass build dependencies separatelyOphestra
This is cleaner with less duplicate code. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: pathspec artifactOphestra
Required by hatchling, which is required by many python packages. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: flirt_core artifactOphestra
A build system required by a dependency of another build system, which is required by yet another build system. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: change insane strict_timestamps defaultOphestra
There is no scenario where this is useful, and it breaks builds. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: append to source pathOphestra
This gets around messy projects with multiple packages. Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: migrate setuptools to wrapperOphestra
Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-04-19internal/rosa/python: wrap python packageOphestra
Metadata for this is somewhat boilerplate-heavy, so wrap it to create metadata in one call. Signed-off-by: Ophestra <cat@gensokyo.uk>