From caf7f7f4260544d16e2db2397e081fda93c6541d Mon Sep 17 00:00:00 2001 From: Endercheif Date: Wed, 2 Nov 2022 10:52:09 -0700 Subject: [PATCH 1/3] pkg(samarium-0.3.1): added samarium --- packages/samarium/0.3.1/build.sh | 3 +++ packages/samarium/0.3.1/environment | 2 ++ packages/samarium/0.3.1/metadata.json | 5 +++++ packages/samarium/0.3.1/run | 1 + packages/samarium/0.3.1/test.sm | 3 +++ readme.md | 1 + 6 files changed, 15 insertions(+) create mode 100644 packages/samarium/0.3.1/build.sh create mode 100644 packages/samarium/0.3.1/environment create mode 100644 packages/samarium/0.3.1/metadata.json create mode 100644 packages/samarium/0.3.1/run create mode 100644 packages/samarium/0.3.1/test.sm diff --git a/packages/samarium/0.3.1/build.sh b/packages/samarium/0.3.1/build.sh new file mode 100644 index 0000000..fd4a7f1 --- /dev/null +++ b/packages/samarium/0.3.1/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash +source ../../python/3.10.0/build.sh +python3 -m pip install samarium diff --git a/packages/samarium/0.3.1/environment b/packages/samarium/0.3.1/environment new file mode 100644 index 0000000..b482830 --- /dev/null +++ b/packages/samarium/0.3.1/environment @@ -0,0 +1,2 @@ +#!/bin/bash +export PATH=$PWD/bin:$PATH diff --git a/packages/samarium/0.3.1/metadata.json b/packages/samarium/0.3.1/metadata.json new file mode 100644 index 0000000..9f3b810 --- /dev/null +++ b/packages/samarium/0.3.1/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "samarium", + "version": "0.3.1", + "aliases": ["sm"] +} diff --git a/packages/samarium/0.3.1/run b/packages/samarium/0.3.1/run new file mode 100644 index 0000000..d65533d --- /dev/null +++ b/packages/samarium/0.3.1/run @@ -0,0 +1 @@ +python3 -m samarium $1 diff --git a/packages/samarium/0.3.1/test.sm b/packages/samarium/0.3.1/test.sm new file mode 100644 index 0000000..57d4d5c --- /dev/null +++ b/packages/samarium/0.3.1/test.sm @@ -0,0 +1,3 @@ +=> * { + "OK"!; +} diff --git a/readme.md b/readme.md index 1135e90..7ef99b5 100644 --- a/readme.md +++ b/readme.md @@ -380,6 +380,7 @@ Content-Type: application/json `rscript`, `ruby`, `rust`, +`samarium`, `scala`, `smalltalk`, `sqlite3`, From 67970e970fa05a3d57d577ff490f54d5e204173a Mon Sep 17 00:00:00 2001 From: Endercheif Date: Sun, 13 Nov 2022 19:39:01 -0800 Subject: [PATCH 2/3] fix: use pip3 --- packages/samarium/0.3.1/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 packages/samarium/0.3.1/build.sh diff --git a/packages/samarium/0.3.1/build.sh b/packages/samarium/0.3.1/build.sh old mode 100644 new mode 100755 index fd4a7f1..4c1045b --- a/packages/samarium/0.3.1/build.sh +++ b/packages/samarium/0.3.1/build.sh @@ -1,3 +1,3 @@ #!/bin/bash source ../../python/3.10.0/build.sh -python3 -m pip install samarium +python3 -m pip3 install samarium From 134bb554e7e1eb3d644cb3095b0dc43cad307385 Mon Sep 17 00:00:00 2001 From: Endercheif <45527309+Endercheif@users.noreply.github.com> Date: Sun, 13 Nov 2022 21:35:28 -0800 Subject: [PATCH 3/3] fix: set version explicitly --- packages/samarium/0.3.1/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/samarium/0.3.1/build.sh b/packages/samarium/0.3.1/build.sh index 4c1045b..84bf62a 100755 --- a/packages/samarium/0.3.1/build.sh +++ b/packages/samarium/0.3.1/build.sh @@ -1,3 +1,3 @@ #!/bin/bash source ../../python/3.10.0/build.sh -python3 -m pip3 install samarium +python3 -m pip3 install samarium==0.3.1