aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/rosa/all.go5
-rw-r--r--internal/rosa/python.go47
2 files changed, 52 insertions, 0 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go
index 4213a077..4e0207ea 100644
--- a/internal/rosa/all.go
+++ b/internal/rosa/all.go
@@ -23,6 +23,7 @@ const (
Go
Gperf
Hakurei
+ IniConfig
KernelHeaders
LibXau
Libexpat
@@ -34,9 +35,13 @@ const (
Make
Meson
Ninja
+ Packaging
Patch
Perl
PkgConfig
+ Pluggy
+ PyTest
+ Pygments
Python
Rsync
Setuptools
diff --git a/internal/rosa/python.go b/internal/rosa/python.go
index f5c61dbd..4b7226a4 100644
--- a/internal/rosa/python.go
+++ b/internal/rosa/python.go
@@ -106,3 +106,50 @@ pip3 install \
)))
}
func init() { artifactsF[Setuptools] = Toolchain.newSetuptools }
+
+func (t Toolchain) newPygments() pkg.Artifact {
+ return t.newViaPip("pygments", "2.19.2", "none", "any",
+ "ak_lwTalmSr7W4Mjy2XBZPG9I6a0gwSy2pS87N8x4QEuZYif0ie9z0OcfRfi9msd",
+ "https://files.pythonhosted.org/packages/"+
+ "c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/")
+}
+func init() { artifactsF[Pygments] = Toolchain.newPygments }
+
+func (t Toolchain) newPluggy() pkg.Artifact {
+ return t.newViaPip("pluggy", "1.6.0", "none", "any",
+ "2HWYBaEwM66-y1hSUcWI1MyE7dVVuNNRW24XD6iJBey4YaUdAK8WeXdtFMQGC-4J",
+ "https://files.pythonhosted.org/packages/"+
+ "54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/")
+}
+func init() { artifactsF[Pluggy] = Toolchain.newPluggy }
+
+func (t Toolchain) newPackaging() pkg.Artifact {
+ return t.newViaPip("packaging", "26.0", "none", "any",
+ "iVVXcqdwHDskPKoCFUlh2x8J0Gyq-bhO4ns9DvUJ7oJjeOegRYtSIvLV33Bki-pP",
+ "https://files.pythonhosted.org/packages/"+
+ "b7/b9/c538f279a4e237a006a2c98387d081e9eb060d203d8ed34467cc0f0b9b53/")
+}
+func init() { artifactsF[Packaging] = Toolchain.newPackaging }
+
+func (t Toolchain) newIniConfig() pkg.Artifact {
+ const version = "2.3.0"
+ return t.newViaPip("iniconfig", version, "none", "any",
+ "SDgs4S5bXi77aVOeKTPv2TUrS3M9rduiK4DpU0hCmDsSBWqnZcWInq9lsx6INxut",
+ "https://github.com/pytest-dev/iniconfig/releases/download/"+
+ "v"+version+"/")
+}
+func init() { artifactsF[IniConfig] = Toolchain.newIniConfig }
+
+func (t Toolchain) newPyTest() pkg.Artifact {
+ const version = "9.0.2"
+ return t.newViaPip("pytest", version, "none", "any",
+ "IM2wDbLke1EtZhF92zvAjUl_Hms1uKDtM7U8Dt4acOaChMnDg1pW7ib8U0wYGDLH",
+ "https://github.com/pytest-dev/pytest/releases/download/"+
+ version+"/",
+ t.Load(IniConfig),
+ t.Load(Packaging),
+ t.Load(Pluggy),
+ t.Load(Pygments),
+ )
+}
+func init() { artifactsF[PyTest] = Toolchain.newPyTest }