diff --git a/dev-games/surgescript/Manifest b/dev-games/surgescript/Manifest index a6ddd340eb..f83d2f38fe 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 e53dbb1e8e..d7a9c5bc11 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}" == "9999" ]]; 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.4.ebuild b/dev-games/surgescript/surgescript-0.5.4.4.ebuild new file mode 100644 index 0000000000..6016491e0a --- /dev/null +++ b/dev-games/surgescript/surgescript-0.5.4.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..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}" == "9999" ]]; 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 +} diff --git a/dev-games/surgescript/surgescript-9999.ebuild b/dev-games/surgescript/surgescript-9999.ebuild index e53dbb1e8e..6016491e0a 100644 --- a/dev-games/surgescript/surgescript-9999.ebuild +++ b/dev-games/surgescript/surgescript-9999.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}" == "9999" ]]; 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" -}