From 3f8ef8f524972ef9f9af93e16309cfd2b5fa628f Mon Sep 17 00:00:00 2001 From: Endercheif <45527309+Endercheif@users.noreply.github.com> Date: Wed, 7 Dec 2022 23:54:00 -0800 Subject: [PATCH 1/5] Add support for samarium (#1) * pkg(samarium-0.3.1): added samarium * fix: use pip3 * fix: set version explicitly --- 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 100755 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 100755 index 0000000..84bf62a --- /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 pip3 install samarium==0.3.1 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 081ed1bac112521422fccb6b700b1ede2f14c711 Mon Sep 17 00:00:00 2001 From: Endercheif <45527309+Endercheif@users.noreply.github.com> Date: Thu, 8 Dec 2022 00:04:32 -0800 Subject: [PATCH 2/5] pip3 -> pip --- 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 84bf62a..cf666a9 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==0.3.1 +python3 -m pip install samarium==0.3.1 From e9426d6c03cbd8e7d1fb8cc8d1b8ec25e85abd66 Mon Sep 17 00:00:00 2001 From: Endercheif <45527309+Endercheif@users.noreply.github.com> Date: Wed, 14 Dec 2022 17:42:55 -0800 Subject: [PATCH 3/5] fix: pip install from github --- 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 cf666a9..ca0240c 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 pip install samarium==0.3.1 +python3 -m pip install https://github.com/samarium-lang/Samarium/archive/refs/tags/0.3.1.zip From 9de88e2f6c5ac9356dec099bf6ac260152814c04 Mon Sep 17 00:00:00 2001 From: Endercheif <45527309+Endercheif@users.noreply.github.com> Date: Sun, 18 Dec 2022 20:47:44 -0800 Subject: [PATCH 4/5] fix: install samarium from `python3.10` --- 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 ca0240c..7e2866a 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 pip install https://github.com/samarium-lang/Samarium/archive/refs/tags/0.3.1.zip +python3.10 -m pip install https://github.com/samarium-lang/Samarium/archive/refs/tags/0.3.1.zip From cbc4db7ada444d529ea6a9a2116d11e4a2d5786b Mon Sep 17 00:00:00 2001 From: Endercheif <45527309+Endercheif@users.noreply.github.com> Date: Sun, 5 Feb 2023 18:56:59 -0800 Subject: [PATCH 5/5] fix: installing samarium with pip --- 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 7e2866a..b0f6ea0 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.10 -m pip install https://github.com/samarium-lang/Samarium/archive/refs/tags/0.3.1.zip +bin/pip3 install https://github.com/samarium-lang/Samarium/archive/refs/tags/0.3.1.zip