[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2024-05-15 Thread Julien Roy
commit: dd9cf0f40bda702dbf5098de34a8b1162f5721f3
Author: Julien Roy  jroy  ca>
AuthorDate: Wed May 15 15:21:30 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Wed May 15 15:21:30 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dd9cf0f4

dev-games/surgescript: enable py3.12

Closes: https://bugs.gentoo.org/931363
Signed-off-by: Julien Roy  jroy.ca>

 dev-games/surgescript/surgescript-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-games/surgescript/surgescript-.ebuild 
b/dev-games/surgescript/surgescript-.ebuild
index 05291be2f5..e4642d0718 100644
--- a/dev-games/surgescript/surgescript-.ebuild
+++ b/dev-games/surgescript/surgescript-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="dev-python/mkdocs-material"
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2024-03-20 Thread Haelwenn Monnier
commit: f13b20416fbf1f4a2b3a9b45d39b38df0571a19e
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Thu Mar 21 01:22:46 2024 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Thu Mar 21 01:23:02 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f13b2041

dev-games/surgescript: enable py3.12

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 dev-games/surgescript/surgescript-0.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-games/surgescript/surgescript-0.5.5.ebuild 
b/dev-games/surgescript/surgescript-0.5.5.ebuild
index 05291be2f5..e4642d0718 100644
--- a/dev-games/surgescript/surgescript-0.5.5.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="dev-python/mkdocs-material"
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2022-08-12 Thread Haelwenn Monnier
commit: d73ae8c425140536be407b419adff84c726382cf
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sat Aug 13 03:07:02 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Aug 13 03:10:51 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d73ae8c4

dev-games/surgescript: drop 0.5.4.4

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 dev-games/surgescript/Manifest   |  1 -
 dev-games/surgescript/surgescript-0.5.4.4.ebuild | 33 
 2 files changed, 34 deletions(-)

diff --git a/dev-games/surgescript/Manifest b/dev-games/surgescript/Manifest
index b5ad7109f..34a25ced9 100644
--- a/dev-games/surgescript/Manifest
+++ b/dev-games/surgescript/Manifest
@@ -1,2 +1 @@
-DIST surgescript-0.5.4.4.tar.gz 501298 BLAKE2B 
b86545dfaea83e7a8387060c90495c51fd150149c7922b741a666a853d83bc4daa1f80d7ef8f2d2563b81f460f207d759d154cf20ae555cdbfe418f9d23c29ef
 SHA512 
76d7d913353803372b7eec7226385f048f249a71e0a06fbdb255fddf411a0d4bf82773511a3db9c132e483d0dbca575dbfd35c5afae98287608fa2405bcc8200
 DIST surgescript-0.5.5.tar.gz 504167 BLAKE2B 
7537a7e29e2e5ab02c8c503b65c17a50d2fbe8ac0d2fac4d662a7da701559be2ab16c9539dcc5d9b8efd3d273d898e322a7e7a38b6ced78d17fc4178a99e07b9
 SHA512 
b3b79f36463b9ff91f2f8108d6917961d8aabfbd0693a9e9e275f57faa09022570519c553ceff8db93101058964d76df82448b487ed82c5331598df065fae34a

diff --git a/dev-games/surgescript/surgescript-0.5.4.4.ebuild 
b/dev-games/surgescript/surgescript-0.5.4.4.ebuild
deleted file mode 100644
index 9a6e4d217..0
--- a/dev-games/surgescript/surgescript-0.5.4.4.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 2019-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="
-   dev-python/mkdocs
-   dev-python/mkdocs-material
-"
-
-inherit cmake python-any-r1 docs
-
-DESCRIPTION="scripting language made for opensurge"
-HOMEPAGE="https://alemart.github.io/surgescript;
-
-if [[ "${PV}" == "" ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/alemart/surgescript.git;
-   SLOT="0"
-else
-   SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
-   KEYWORDS="~amd64"
-   SLOT="0/${PV}"
-fi
-
-LICENSE="Apache-2.0"
-
-src_compile() {
-   cmake_src_compile
-   docs_compile
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2022-08-12 Thread Haelwenn Monnier
commit: 9e8f4ade5befa7bd085cf169059207660a6abb38
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sat Aug 13 02:45:25 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Aug 13 03:10:51 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e8f4ade

dev-games/surgescript: Bump PYTHON_COMPAT to 3.11

Closes: https://bugs.gentoo.org/848117
Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 dev-games/surgescript/surgescript-0.5.5.ebuild | 4 ++--
 dev-games/surgescript/surgescript-.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-games/surgescript/surgescript-0.5.5.ebuild 
b/dev-games/surgescript/surgescript-0.5.5.ebuild
index 6885387d8..318014077 100644
--- a/dev-games/surgescript/surgescript-0.5.5.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..11} )
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="dev-python/mkdocs-material"
 

diff --git a/dev-games/surgescript/surgescript-.ebuild 
b/dev-games/surgescript/surgescript-.ebuild
index 6885387d8..318014077 100644
--- a/dev-games/surgescript/surgescript-.ebuild
+++ b/dev-games/surgescript/surgescript-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..11} )
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="dev-python/mkdocs-material"
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2022-08-12 Thread Haelwenn Monnier
commit: 3915bf024c7df41ac7ddea5878f1669bfeaa3fe1
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Sat Aug 13 03:06:45 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Aug 13 03:10:51 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3915bf02

dev-games/surgescript: Fix mkdocs configuration

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 dev-games/surgescript/surgescript-0.5.5.ebuild | 6 ++
 dev-games/surgescript/surgescript-.ebuild  | 6 ++
 2 files changed, 12 insertions(+)

diff --git a/dev-games/surgescript/surgescript-0.5.5.ebuild 
b/dev-games/surgescript/surgescript-0.5.5.ebuild
index 318014077..ca88782f6 100644
--- a/dev-games/surgescript/surgescript-0.5.5.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.5.ebuild
@@ -27,6 +27,12 @@ IUSE="examples static-libs"
 
 DOCS=( CHANGES.md README.md )
 
+src_prepare() {
+   cmake_src_prepare
+
+   sed -i -e '/^strict: true$/d' -e '/^google_analytics/d' mkdocs.yml || 
die
+}
+
 src_configure() {
local mycmakeoptions=(
-DWANT_STATIC=$(usex static-libs)

diff --git a/dev-games/surgescript/surgescript-.ebuild 
b/dev-games/surgescript/surgescript-.ebuild
index 318014077..ca88782f6 100644
--- a/dev-games/surgescript/surgescript-.ebuild
+++ b/dev-games/surgescript/surgescript-.ebuild
@@ -27,6 +27,12 @@ IUSE="examples static-libs"
 
 DOCS=( CHANGES.md README.md )
 
+src_prepare() {
+   cmake_src_prepare
+
+   sed -i -e '/^strict: true$/d' -e '/^google_analytics/d' mkdocs.yml || 
die
+}
+
 src_configure() {
local mycmakeoptions=(
-DWANT_STATIC=$(usex static-libs)



[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2021-05-26 Thread Anna Vyalkova
commit: a09de087cf448a542b161ef779469185199f99a5
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Wed May 26 13:15:52 2021 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Wed May 26 13:18:14 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a09de087

dev-games/surgescript: add 0.5.5 and use flags

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-games/surgescript/Manifest |  2 +-
 ...ipt-0.5.4.3.ebuild => surgescript-0.5.5.ebuild} | 25 ---
 dev-games/surgescript/surgescript-.ebuild  | 28 --
 3 files changed, 39 insertions(+), 16 deletions(-)

diff --git a/dev-games/surgescript/Manifest b/dev-games/surgescript/Manifest
index f83d2f38f..b5ad7109f 100644
--- a/dev-games/surgescript/Manifest
+++ b/dev-games/surgescript/Manifest
@@ -1,2 +1,2 @@
-DIST surgescript-0.5.4.3.tar.gz 500022 BLAKE2B 
08598ad4adbd3cbf841354cde8ef3c9348abd196a828e9a9606b3cfa3b268c68aa7561a95c09692ef0d78d7c497207ddfc176e2528e6ae9a064af229c24e80d6
 SHA512 
0ffbb464326f019a6b523eca280c75c02f5976c07f61e6507cb46b1b2bf8bf0779b6fbd56c9204aee33ecf0ce513e07be8d5503d3cbd06443205ab57d674a6b3
 DIST surgescript-0.5.4.4.tar.gz 501298 BLAKE2B 
b86545dfaea83e7a8387060c90495c51fd150149c7922b741a666a853d83bc4daa1f80d7ef8f2d2563b81f460f207d759d154cf20ae555cdbfe418f9d23c29ef
 SHA512 
76d7d913353803372b7eec7226385f048f249a71e0a06fbdb255fddf411a0d4bf82773511a3db9c132e483d0dbca575dbfd35c5afae98287608fa2405bcc8200
+DIST surgescript-0.5.5.tar.gz 504167 BLAKE2B 
7537a7e29e2e5ab02c8c503b65c17a50d2fbe8ac0d2fac4d662a7da701559be2ab16c9539dcc5d9b8efd3d273d898e322a7e7a38b6ced78d17fc4178a99e07b9
 SHA512 
b3b79f36463b9ff91f2f8108d6917961d8aabfbd0693a9e9e275f57faa09022570519c553ceff8db93101058964d76df82448b487ed82c5331598df065fae34a

diff --git a/dev-games/surgescript/surgescript-0.5.4.3.ebuild 
b/dev-games/surgescript/surgescript-0.5.5.ebuild
similarity index 53%
rename from dev-games/surgescript/surgescript-0.5.4.3.ebuild
rename to dev-games/surgescript/surgescript-0.5.5.ebuild
index d7a9c5bc1..297698c7f 100644
--- a/dev-games/surgescript/surgescript-0.5.4.3.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.5.ebuild
@@ -5,10 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
 DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="
-   dev-python/mkdocs
-   dev-python/mkdocs-material
-"
+DOCS_DEPEND="dev-python/mkdocs-material"
 
 inherit cmake python-any-r1 docs
 
@@ -17,15 +14,25 @@ HOMEPAGE="https://alemart.github.io/surgescript;
 
 if [[ "${PV}" == "" ]]; then
inherit git-r3
-   EGIT_REPO_URI="https://github.com/alemart/surgescript.git;
+   EGIT_REPO_URI="https://github.com/alemart/${PN}.git;
SLOT="0"
 else
-   SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   SRC_URI="https://github.com/alemart/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64"
-   SLOT="0/${PV}"
+   SLOT="0/$(ver_cut 1-3)"
 fi
 
 LICENSE="Apache-2.0"
+IUSE="examples static-libs"
+
+DOCS=( CHANGES.md README.md )
+
+src_configure() {
+   local mycmakeoptions=(
+   -DWANT_STATIC=$(usex static-libs)
+   )
+   cmake_src_configure
+}
 
 src_compile() {
cmake_src_compile
@@ -34,5 +41,7 @@ src_compile() {
 
 src_install() {
cmake_src_install
-   mv "${D}"/usr/lib "${D}"/usr/"$(get_libdir)" || die "Failed moving to 
libdir"
+
+   docompress -x /usr/share/doc/${PF}/examples
+   use examples && dodoc -r examples
 }

diff --git a/dev-games/surgescript/surgescript-.ebuild 
b/dev-games/surgescript/surgescript-.ebuild
index 6016491e0..297698c7f 100644
--- a/dev-games/surgescript/surgescript-.ebuild
+++ b/dev-games/surgescript/surgescript-.ebuild
@@ -5,10 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{7..9} )
 DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="
-   dev-python/mkdocs
-   dev-python/mkdocs-material
-"
+DOCS_DEPEND="dev-python/mkdocs-material"
 
 inherit cmake python-any-r1 docs
 
@@ -17,17 +14,34 @@ HOMEPAGE="https://alemart.github.io/surgescript;
 
 if [[ "${PV}" == "" ]]; then
inherit git-r3
-   EGIT_REPO_URI="https://github.com/alemart/surgescript.git;
+   EGIT_REPO_URI="https://github.com/alemart/${PN}.git;
SLOT="0"
 else
-   SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   SRC_URI="https://github.com/alemart/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64"
-   SLOT="0/${PV}"
+   SLOT="0/$(ver_cut 1-3)"
 fi
 
 LICENSE="Apache-2.0"
+IUSE="examples static-libs"
+
+DOCS=( CHANGES.md README.md )
+
+src_configure() {
+   local mycmakeoptions=(
+   -DWANT_STATIC=$(usex static-libs)
+   )
+   cmake_src_configure
+}
 
 src_compile() {
cmake_src_compile
docs_compile
 }
+
+src_install() {
+   cmake_src_install
+
+   docompress -x /usr/share/doc/${PF}/examples
+   use 

[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2020-12-21 Thread Theo Anderson
commit: 72197474ed56974e85d0e9b46c3c121e8bf8d8b2
Author: Theo Anderson  posteo  de>
AuthorDate: Mon Dec 21 10:10:58 2020 +
Commit: Theo Anderson  posteo  de>
CommitDate: Mon Dec 21 10:10:58 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=72197474

dev-games/surgescript: bump to 0.5.4.4; sync live

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson  posteo.de>

 dev-games/surgescript/Manifest   |  1 +
 dev-games/surgescript/surgescript-0.5.4.3.ebuild | 11 +--
 ...escript-0.5.4.3.ebuild => surgescript-0.5.4.4.ebuild} | 16 +---
 dev-games/surgescript/surgescript-.ebuild| 16 +---
 4 files changed, 16 insertions(+), 28 deletions(-)

diff --git a/dev-games/surgescript/Manifest b/dev-games/surgescript/Manifest
index a6ddd340..f83d2f38 100644
--- a/dev-games/surgescript/Manifest
+++ b/dev-games/surgescript/Manifest
@@ -1 +1,2 @@
 DIST surgescript-0.5.4.3.tar.gz 500022 BLAKE2B 
08598ad4adbd3cbf841354cde8ef3c9348abd196a828e9a9606b3cfa3b268c68aa7561a95c09692ef0d78d7c497207ddfc176e2528e6ae9a064af229c24e80d6
 SHA512 
0ffbb464326f019a6b523eca280c75c02f5976c07f61e6507cb46b1b2bf8bf0779b6fbd56c9204aee33ecf0ce513e07be8d5503d3cbd06443205ab57d674a6b3
+DIST surgescript-0.5.4.4.tar.gz 501298 BLAKE2B 
b86545dfaea83e7a8387060c90495c51fd150149c7922b741a666a853d83bc4daa1f80d7ef8f2d2563b81f460f207d759d154cf20ae555cdbfe418f9d23c29ef
 SHA512 
76d7d913353803372b7eec7226385f048f249a71e0a06fbdb255fddf411a0d4bf82773511a3db9c132e483d0dbca575dbfd35c5afae98287608fa2405bcc8200

diff --git a/dev-games/surgescript/surgescript-0.5.4.3.ebuild 
b/dev-games/surgescript/surgescript-0.5.4.3.ebuild
index e53dbb1e..d7a9c5bc 100644
--- a/dev-games/surgescript/surgescript-0.5.4.3.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.4.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7..9} )
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="
dev-python/mkdocs
@@ -12,9 +12,12 @@ DOCS_DEPEND="
 
 inherit cmake python-any-r1 docs
 
+DESCRIPTION="scripting language made for opensurge"
+HOMEPAGE="https://alemart.github.io/surgescript;
+
 if [[ "${PV}" == "" ]]; then
inherit git-r3
-   EGIT_REPO_URI="https://github.com/alemart/surgescript;
+   EGIT_REPO_URI="https://github.com/alemart/surgescript.git;
SLOT="0"
 else
SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
@@ -22,18 +25,14 @@ else
SLOT="0/${PV}"
 fi
 
-DESCRIPTION="scripting language made for opensurge"
-HOMEPAGE="https://alemart.github.io/surgescript;
 LICENSE="Apache-2.0"
 
 src_compile() {
cmake_src_compile
-
docs_compile
 }
 
 src_install() {
cmake_src_install
-
mv "${D}"/usr/lib "${D}"/usr/"$(get_libdir)" || die "Failed moving to 
libdir"
 }

diff --git a/dev-games/surgescript/surgescript-0.5.4.3.ebuild 
b/dev-games/surgescript/surgescript-0.5.4.4.ebuild
similarity index 74%
copy from dev-games/surgescript/surgescript-0.5.4.3.ebuild
copy to dev-games/surgescript/surgescript-0.5.4.4.ebuild
index e53dbb1e..6016491e 100644
--- a/dev-games/surgescript/surgescript-0.5.4.3.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.4.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7..9} )
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="
dev-python/mkdocs
@@ -12,9 +12,12 @@ DOCS_DEPEND="
 
 inherit cmake python-any-r1 docs
 
+DESCRIPTION="scripting language made for opensurge"
+HOMEPAGE="https://alemart.github.io/surgescript;
+
 if [[ "${PV}" == "" ]]; then
inherit git-r3
-   EGIT_REPO_URI="https://github.com/alemart/surgescript;
+   EGIT_REPO_URI="https://github.com/alemart/surgescript.git;
SLOT="0"
 else
SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
@@ -22,18 +25,9 @@ else
SLOT="0/${PV}"
 fi
 
-DESCRIPTION="scripting language made for opensurge"
-HOMEPAGE="https://alemart.github.io/surgescript;
 LICENSE="Apache-2.0"
 
 src_compile() {
cmake_src_compile
-
docs_compile
 }
-
-src_install() {
-   cmake_src_install
-
-   mv "${D}"/usr/lib "${D}"/usr/"$(get_libdir)" || die "Failed moving to 
libdir"
-}

diff --git a/dev-games/surgescript/surgescript-.ebuild 
b/dev-games/surgescript/surgescript-.ebuild
index e53dbb1e..6016491e 100644
--- a/dev-games/surgescript/surgescript-.ebuild
+++ b/dev-games/surgescript/surgescript-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7..9} )
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="
dev-python/mkdocs
@@ -12,9 +12,12 @@ DOCS_DEPEND="
 
 inherit cmake python-any-r1 docs
 
+DESCRIPTION="scripting language made for opensurge"
+HOMEPAGE="https://alemart.github.io/surgescript;
+
 if [[ "${PV}" == "" ]]; then
inherit git-r3
-   

[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2020-12-06 Thread Andrew Ammerlaan
commit: c8ae8551d1dbd418c9cf5db29c09c036274608ab
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Dec  6 10:25:52 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Dec  6 10:45:51 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8ae8551

dev-games/surgescript: inherit python-any-r1

no longer inherited automatically by docs

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-games/surgescript/surgescript-0.5.4.3.ebuild | 3 ++-
 dev-games/surgescript/surgescript-.ebuild| 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-games/surgescript/surgescript-0.5.4.3.ebuild 
b/dev-games/surgescript/surgescript-0.5.4.3.ebuild
index 0c9fa28c..e53dbb1e 100644
--- a/dev-games/surgescript/surgescript-0.5.4.3.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.4.3.ebuild
@@ -3,13 +3,14 @@
 
 EAPI=7
 
+PYTHON_COMPAT=( python3_{7,8,9} )
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="
dev-python/mkdocs
dev-python/mkdocs-material
 "
 
-inherit cmake docs
+inherit cmake python-any-r1 docs
 
 if [[ "${PV}" == "" ]]; then
inherit git-r3

diff --git a/dev-games/surgescript/surgescript-.ebuild 
b/dev-games/surgescript/surgescript-.ebuild
index 0c9fa28c..e53dbb1e 100644
--- a/dev-games/surgescript/surgescript-.ebuild
+++ b/dev-games/surgescript/surgescript-.ebuild
@@ -3,13 +3,14 @@
 
 EAPI=7
 
+PYTHON_COMPAT=( python3_{7,8,9} )
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="
dev-python/mkdocs
dev-python/mkdocs-material
 "
 
-inherit cmake docs
+inherit cmake python-any-r1 docs
 
 if [[ "${PV}" == "" ]]; then
inherit git-r3



[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2020-04-11 Thread Andrew Ammerlaan
commit: 80b491a914b2048d09b193425695f61bb5628146
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sat Apr 11 07:58:51 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sat Apr 11 07:58:51 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80b491a9

dev-games/surgescript: fix colliding files found by ecompress

when USE="doc" (fixed by using eclass which removes the
problematic files)

Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-games/surgescript/surgescript-0.5.4.3.ebuild | 19 ---
 dev-games/surgescript/surgescript-.ebuild| 19 ---
 2 files changed, 16 insertions(+), 22 deletions(-)

diff --git a/dev-games/surgescript/surgescript-0.5.4.3.ebuild 
b/dev-games/surgescript/surgescript-0.5.4.3.ebuild
index 16e25a5..8b2dadc 100644
--- a/dev-games/surgescript/surgescript-0.5.4.3.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.4.3.ebuild
@@ -3,7 +3,13 @@
 
 EAPI=7
 
-inherit cmake
+DOCBUILDER="mkdocs"
+DOCDEPEND="
+   dev-python/mkdocs
+   dev-python/mkdocs-material
+"
+
+inherit cmake docs
 
 if [[ "${PV}" == "" ]]; then
inherit git-r3
@@ -19,19 +25,10 @@ DESCRIPTION="scripting language made for opensurge"
 HOMEPAGE="https://alemart.github.io/surgescript;
 LICENSE="Apache-2.0"
 
-IUSE="doc"
-
-BDEPEND="doc? (
-   dev-python/mkdocs
-   dev-python/mkdocs-material )"
-
 src_compile() {
cmake_src_compile
 
-   if use doc; then
-   mkdocs build || die "failed to make docs"
-   HTML_DOCS="site"
-   fi
+   docs_compile
 }
 
 src_install() {

diff --git a/dev-games/surgescript/surgescript-.ebuild 
b/dev-games/surgescript/surgescript-.ebuild
index 16e25a5..8b2dadc 100644
--- a/dev-games/surgescript/surgescript-.ebuild
+++ b/dev-games/surgescript/surgescript-.ebuild
@@ -3,7 +3,13 @@
 
 EAPI=7
 
-inherit cmake
+DOCBUILDER="mkdocs"
+DOCDEPEND="
+   dev-python/mkdocs
+   dev-python/mkdocs-material
+"
+
+inherit cmake docs
 
 if [[ "${PV}" == "" ]]; then
inherit git-r3
@@ -19,19 +25,10 @@ DESCRIPTION="scripting language made for opensurge"
 HOMEPAGE="https://alemart.github.io/surgescript;
 LICENSE="Apache-2.0"
 
-IUSE="doc"
-
-BDEPEND="doc? (
-   dev-python/mkdocs
-   dev-python/mkdocs-material )"
-
 src_compile() {
cmake_src_compile
 
-   if use doc; then
-   mkdocs build || die "failed to make docs"
-   HTML_DOCS="site"
-   fi
+   docs_compile
 }
 
 src_install() {



[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2020-04-10 Thread Haelwenn Monnier
commit: 2bad8311595d35fcf5310c33626dc5f6d2b4c069
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Apr 10 22:47:46 2020 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Apr 11 00:05:52 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2bad8311

dev-games/surgescript: Version bump, 0.5.4.3

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 dev-games/surgescript/Manifest   | 1 +
 .../{surgescript-.ebuild => surgescript-0.5.4.3.ebuild}  | 9 -
 dev-games/surgescript/surgescript-.ebuild| 9 -
 3 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/dev-games/surgescript/Manifest b/dev-games/surgescript/Manifest
index 7592559..d6c09cc 100644
--- a/dev-games/surgescript/Manifest
+++ b/dev-games/surgescript/Manifest
@@ -1 +1,2 @@
+DIST surgescript-0.5.4.3.tar.gz 500022 BLAKE2B 
08598ad4adbd3cbf841354cde8ef3c9348abd196a828e9a9606b3cfa3b268c68aa7561a95c09692ef0d78d7c497207ddfc176e2528e6ae9a064af229c24e80d6
 SHA512 
0ffbb464326f019a6b523eca280c75c02f5976c07f61e6507cb46b1b2bf8bf0779b6fbd56c9204aee33ecf0ce513e07be8d5503d3cbd06443205ab57d674a6b3
 DIST surgescript-0.5.4.tar.gz 422111 BLAKE2B 
88733d7ae350ebc3874d3b0e5ec91a896227b8e03b1c56e1c462bc2dd989c0df7e1ac230b31ac7a187217f32f1059bea7f6661cffc3d32aaf2c9c7db22bd94d4
 SHA512 
d75f29dd21f73beccee559eef22d75b8502d9de79874a282855bdf872ecd9862a8e0a898699aca42b373a2abdca81d77f15255235c27420a2da417d3970fcaf4

diff --git a/dev-games/surgescript/surgescript-.ebuild 
b/dev-games/surgescript/surgescript-0.5.4.3.ebuild
similarity index 82%
copy from dev-games/surgescript/surgescript-.ebuild
copy to dev-games/surgescript/surgescript-0.5.4.3.ebuild
index b76cc96..16e25a5 100644
--- a/dev-games/surgescript/surgescript-.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.4.3.ebuild
@@ -8,15 +8,16 @@ inherit cmake
 if [[ "${PV}" == "" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/alemart/surgescript;
+   SLOT="0"
 else
SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
KEYWORDS="~amd64"
+   SLOT="0/${PV}"
 fi
 
 DESCRIPTION="scripting language made for opensurge"
 HOMEPAGE="https://alemart.github.io/surgescript;
 LICENSE="Apache-2.0"
-SLOT="0"
 
 IUSE="doc"
 
@@ -32,3 +33,9 @@ src_compile() {
HTML_DOCS="site"
fi
 }
+
+src_install() {
+   cmake_src_install
+
+   mv "${D}"/usr/lib "${D}"/usr/"$(get_libdir)" || die "Failed moving to 
libdir"
+}

diff --git a/dev-games/surgescript/surgescript-.ebuild 
b/dev-games/surgescript/surgescript-.ebuild
index b76cc96..16e25a5 100644
--- a/dev-games/surgescript/surgescript-.ebuild
+++ b/dev-games/surgescript/surgescript-.ebuild
@@ -8,15 +8,16 @@ inherit cmake
 if [[ "${PV}" == "" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/alemart/surgescript;
+   SLOT="0"
 else
SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
KEYWORDS="~amd64"
+   SLOT="0/${PV}"
 fi
 
 DESCRIPTION="scripting language made for opensurge"
 HOMEPAGE="https://alemart.github.io/surgescript;
 LICENSE="Apache-2.0"
-SLOT="0"
 
 IUSE="doc"
 
@@ -32,3 +33,9 @@ src_compile() {
HTML_DOCS="site"
fi
 }
+
+src_install() {
+   cmake_src_install
+
+   mv "${D}"/usr/lib "${D}"/usr/"$(get_libdir)" || die "Failed moving to 
libdir"
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2020-04-10 Thread Haelwenn Monnier
commit: 88a81e08b58217c42ff536978ea95f6bd7ab829d
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Apr 10 23:06:32 2020 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Apr 11 00:05:52 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=88a81e08

dev-games/surgescript: Version clean, 0.5.4

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 dev-games/surgescript/Manifest |  1 -
 dev-games/surgescript/surgescript-0.5.4.ebuild | 34 --
 2 files changed, 35 deletions(-)

diff --git a/dev-games/surgescript/Manifest b/dev-games/surgescript/Manifest
index d6c09cc..a6ddd34 100644
--- a/dev-games/surgescript/Manifest
+++ b/dev-games/surgescript/Manifest
@@ -1,2 +1 @@
 DIST surgescript-0.5.4.3.tar.gz 500022 BLAKE2B 
08598ad4adbd3cbf841354cde8ef3c9348abd196a828e9a9606b3cfa3b268c68aa7561a95c09692ef0d78d7c497207ddfc176e2528e6ae9a064af229c24e80d6
 SHA512 
0ffbb464326f019a6b523eca280c75c02f5976c07f61e6507cb46b1b2bf8bf0779b6fbd56c9204aee33ecf0ce513e07be8d5503d3cbd06443205ab57d674a6b3
-DIST surgescript-0.5.4.tar.gz 422111 BLAKE2B 
88733d7ae350ebc3874d3b0e5ec91a896227b8e03b1c56e1c462bc2dd989c0df7e1ac230b31ac7a187217f32f1059bea7f6661cffc3d32aaf2c9c7db22bd94d4
 SHA512 
d75f29dd21f73beccee559eef22d75b8502d9de79874a282855bdf872ecd9862a8e0a898699aca42b373a2abdca81d77f15255235c27420a2da417d3970fcaf4

diff --git a/dev-games/surgescript/surgescript-0.5.4.ebuild 
b/dev-games/surgescript/surgescript-0.5.4.ebuild
deleted file mode 100644
index b76cc96..000
--- a/dev-games/surgescript/surgescript-0.5.4.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 2019-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-if [[ "${PV}" == "" ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/alemart/surgescript;
-else
-   SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
-   KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="scripting language made for opensurge"
-HOMEPAGE="https://alemart.github.io/surgescript;
-LICENSE="Apache-2.0"
-SLOT="0"
-
-IUSE="doc"
-
-BDEPEND="doc? (
-   dev-python/mkdocs
-   dev-python/mkdocs-material )"
-
-src_compile() {
-   cmake_src_compile
-
-   if use doc; then
-   mkdocs build || die "failed to make docs"
-   HTML_DOCS="site"
-   fi
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2020-04-10 Thread Haelwenn Monnier
commit: c6c95198fe0ad3bec900b0518b96a7e328c9ee9f
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Fri Apr 10 22:58:38 2020 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Apr 11 00:05:51 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c6c95198

dev-games/surgescript: Fix mkdoc addition

default here would override to the EAPI default function rather than
the one that cmake.eclass puts as a replacement to src_compile.

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 dev-games/surgescript/surgescript-0.5.4.ebuild | 3 ++-
 dev-games/surgescript/surgescript-.ebuild  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-games/surgescript/surgescript-0.5.4.ebuild 
b/dev-games/surgescript/surgescript-0.5.4.ebuild
index 983d3d5..b76cc96 100644
--- a/dev-games/surgescript/surgescript-0.5.4.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.4.ebuild
@@ -25,7 +25,8 @@ BDEPEND="doc? (
dev-python/mkdocs-material )"
 
 src_compile() {
-   default
+   cmake_src_compile
+
if use doc; then
mkdocs build || die "failed to make docs"
HTML_DOCS="site"

diff --git a/dev-games/surgescript/surgescript-.ebuild 
b/dev-games/surgescript/surgescript-.ebuild
index 983d3d5..b76cc96 100644
--- a/dev-games/surgescript/surgescript-.ebuild
+++ b/dev-games/surgescript/surgescript-.ebuild
@@ -25,7 +25,8 @@ BDEPEND="doc? (
dev-python/mkdocs-material )"
 
 src_compile() {
-   default
+   cmake_src_compile
+
if use doc; then
mkdocs build || die "failed to make docs"
HTML_DOCS="site"



[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2020-04-04 Thread Haelwenn Monnier
commit: 7685a1e2ce972f97d8aa52247dc63b63f7e034fd
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Tue Mar 31 10:51:17 2020 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Sat Apr  4 21:18:29 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7685a1e2

dev-games/surgescript: Move from cmake-utils to cmake

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 dev-games/surgescript/surgescript-0.5.4.ebuild | 2 +-
 dev-games/surgescript/surgescript-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-games/surgescript/surgescript-0.5.4.ebuild 
b/dev-games/surgescript/surgescript-0.5.4.ebuild
index 2df1bdd..983d3d5 100644
--- a/dev-games/surgescript/surgescript-0.5.4.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 if [[ "${PV}" == "" ]]; then
inherit git-r3

diff --git a/dev-games/surgescript/surgescript-.ebuild 
b/dev-games/surgescript/surgescript-.ebuild
index 2df1bdd..983d3d5 100644
--- a/dev-games/surgescript/surgescript-.ebuild
+++ b/dev-games/surgescript/surgescript-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 if [[ "${PV}" == "" ]]; then
inherit git-r3



[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2020-03-09 Thread Andrew Ammerlaan
commit: db5b7daa7163ea40d780b650f7006de39e2adc0b
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Mar  9 17:34:26 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Mar  9 17:34:26 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db5b7daa

dev-games/surgescript: add use doc

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-games/surgescript/surgescript-0.5.4.ebuild | 17 +++--
 dev-games/surgescript/surgescript-.ebuild  | 17 +++--
 2 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/dev-games/surgescript/surgescript-0.5.4.ebuild 
b/dev-games/surgescript/surgescript-0.5.4.ebuild
index 63ebe50..2df1bdd 100644
--- a/dev-games/surgescript/surgescript-0.5.4.ebuild
+++ b/dev-games/surgescript/surgescript-0.5.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,4 +17,17 @@ DESCRIPTION="scripting language made for opensurge"
 HOMEPAGE="https://alemart.github.io/surgescript;
 LICENSE="Apache-2.0"
 SLOT="0"
-# TODO: build documentation, needs dev-python/mkdocs-material
+
+IUSE="doc"
+
+BDEPEND="doc? (
+   dev-python/mkdocs
+   dev-python/mkdocs-material )"
+
+src_compile() {
+   default
+   if use doc; then
+   mkdocs build || die "failed to make docs"
+   HTML_DOCS="site"
+   fi
+}

diff --git a/dev-games/surgescript/surgescript-.ebuild 
b/dev-games/surgescript/surgescript-.ebuild
index 63ebe50..2df1bdd 100644
--- a/dev-games/surgescript/surgescript-.ebuild
+++ b/dev-games/surgescript/surgescript-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,4 +17,17 @@ DESCRIPTION="scripting language made for opensurge"
 HOMEPAGE="https://alemart.github.io/surgescript;
 LICENSE="Apache-2.0"
 SLOT="0"
-# TODO: build documentation, needs dev-python/mkdocs-material
+
+IUSE="doc"
+
+BDEPEND="doc? (
+   dev-python/mkdocs
+   dev-python/mkdocs-material )"
+
+src_compile() {
+   default
+   if use doc; then
+   mkdocs build || die "failed to make docs"
+   HTML_DOCS="site"
+   fi
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-games/surgescript/

2019-10-08 Thread Haelwenn Monnier
commit: bac4c1ff51c08392fc13af748cfcc24020f4f499
Author: Haelwenn (lanodan) Monnier  hacktivis  me>
AuthorDate: Mon Jul 22 21:50:09 2019 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Tue Oct  8 22:50:58 2019 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bac4c1ff

dev-games/surgescript: New Package

Signed-off-by: Haelwenn (lanodan) Monnier  hacktivis.me>

 dev-games/surgescript/Manifest |  1 +
 dev-games/surgescript/metadata.xml |  8 
 dev-games/surgescript/surgescript-0.5.4.ebuild | 20 
 dev-games/surgescript/surgescript-.ebuild  | 20 
 4 files changed, 49 insertions(+)

diff --git a/dev-games/surgescript/Manifest b/dev-games/surgescript/Manifest
new file mode 100644
index 000..7592559
--- /dev/null
+++ b/dev-games/surgescript/Manifest
@@ -0,0 +1 @@
+DIST surgescript-0.5.4.tar.gz 422111 BLAKE2B 
88733d7ae350ebc3874d3b0e5ec91a896227b8e03b1c56e1c462bc2dd989c0df7e1ac230b31ac7a187217f32f1059bea7f6661cffc3d32aaf2c9c7db22bd94d4
 SHA512 
d75f29dd21f73beccee559eef22d75b8502d9de79874a282855bdf872ecd9862a8e0a898699aca42b373a2abdca81d77f15255235c27420a2da417d3970fcaf4

diff --git a/dev-games/surgescript/metadata.xml 
b/dev-games/surgescript/metadata.xml
new file mode 100644
index 000..c698af2
--- /dev/null
+++ b/dev-games/surgescript/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   cont...@hacktivis.me
+   Haelwenn (lanodan) Monnier
+   
+

diff --git a/dev-games/surgescript/surgescript-0.5.4.ebuild 
b/dev-games/surgescript/surgescript-0.5.4.ebuild
new file mode 100644
index 000..63ebe50
--- /dev/null
+++ b/dev-games/surgescript/surgescript-0.5.4.ebuild
@@ -0,0 +1,20 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+if [[ "${PV}" == "" ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/alemart/surgescript;
+else
+   SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="scripting language made for opensurge"
+HOMEPAGE="https://alemart.github.io/surgescript;
+LICENSE="Apache-2.0"
+SLOT="0"
+# TODO: build documentation, needs dev-python/mkdocs-material

diff --git a/dev-games/surgescript/surgescript-.ebuild 
b/dev-games/surgescript/surgescript-.ebuild
new file mode 100644
index 000..63ebe50
--- /dev/null
+++ b/dev-games/surgescript/surgescript-.ebuild
@@ -0,0 +1,20 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+if [[ "${PV}" == "" ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/alemart/surgescript;
+else
+   SRC_URI="https://github.com/alemart/surgescript/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="scripting language made for opensurge"
+HOMEPAGE="https://alemart.github.io/surgescript;
+LICENSE="Apache-2.0"
+SLOT="0"
+# TODO: build documentation, needs dev-python/mkdocs-material