commit:     61354e1d9913245111eca1d6a8d6818548a17b85
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  1 13:44:55 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Nov  1 19:17:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61354e1d

dev-lang/fuzion: bump to 0.085

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/fuzion/Manifest            |  1 +
 dev-lang/fuzion/fuzion-0.085.ebuild | 72 +++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/dev-lang/fuzion/Manifest b/dev-lang/fuzion/Manifest
index 6b7061c17b41..23c85e2b98f3 100644
--- a/dev-lang/fuzion/Manifest
+++ b/dev-lang/fuzion/Manifest
@@ -1,2 +1,3 @@
 DIST fuzion-0.083.tar.gz 830470 BLAKE2B 
dcd320fbc8e4e426857f26004678e6e768d3baa987668db2c8b6e2b52c8dfffecd4e65f5d3930f7aa0726b0ae5be1a6266c6721fd4de7d0d277e2e779adaf3ff
 SHA512 
1f727bb280d3de15f085093eac63810c6cadb6e8a5939d288abdbd5b79f4bb982e568dba484c5db087b3050635330f4b93d81c457ec50c7e2e9ceb21dc89dea5
 DIST fuzion-0.084.tar.gz 858114 BLAKE2B 
0c0f30b22a85527ae7acf2150e18c79257ac60cd5c17ec9d7e53a6f8e496f1dafa199dfdd34a0c4940dcdce28d1c8c794b1d5a5ff4fe3b3fa6229862be760027
 SHA512 
cb628557dcdb7835a77e1472e45da485e69706487aa26d74fc630272fcb5e408adcd7b1ed485e0c7b34eed761911b15126ac82ef0fd748354da02fda09b9dbe9
+DIST fuzion-0.085.tar.gz 951247 BLAKE2B 
5ae8999453759e0a8e5fb44b0aec833adb2c66ca9fea3e3092e2f298cc27a98c75abe0947337e9bb43920009d3bed8aa526a325fc58791d6177cb4f2d7ae7f23
 SHA512 
4a40eeffaa40b0568d90a20cf4125e7bddcc651fbe55b38866bb3cc90517749259336f776c33b762969986accae01e532b09418114b7c60e98377074bf144a17

diff --git a/dev-lang/fuzion/fuzion-0.085.ebuild 
b/dev-lang/fuzion/fuzion-0.085.ebuild
new file mode 100644
index 000000000000..ad9ea106d3a1
--- /dev/null
+++ b/dev-lang/fuzion/fuzion-0.085.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-pkg-2
+
+DESCRIPTION="A language with a focus on simplicity, safety and correctness"
+HOMEPAGE="https://flang.dev/
+       https://github.com/tokiwa-software/fuzion/";
+
+if [[ "${PV}" == *9999* ]] ; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/tokiwa-software/${PN}.git";
+else
+       
SRC_URI="https://github.com/tokiwa-software/${PN}/archive/refs/tags/v${PV}.tar.gz
+               -> ${P}.tar.gz"
+
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=virtual/jre-17:*
+       dev-libs/boehm-gc
+"
+DEPEND="
+       >=virtual/jdk-17:*
+"
+BDEPEND="
+       test? ( sys-devel/clang:* )
+"
+
+DOCS=( README.md release_notes.md )
+
+src_compile() {
+       emake -j1
+}
+
+src_test() {
+       emake -j1 run_tests_parallel
+}
+
+src_install() {
+       # Remove unnecessary files from build directory. bug #893450
+       local torm
+       local torm_path
+       for torm in tests run_tests.{failures,results} ; do
+               torm_path="${S}/build/${torm}"
+
+               if [[ -e "${torm_path}" ]] ; then
+                       rm -r "${torm_path}" || die "failed to remove 
${torm_path}"
+               fi
+       done
+
+       insinto "/usr/share/${PN}"
+       doins -r build/.
+       insopts -m755
+       doins -r build/bin
+
+       local bin
+       for bin in fz fzjava ; do
+               dosym -r "/usr/share/${PN}/bin/${bin}" "/usr/bin/${bin}"
+       done
+
+       einstalldocs
+}

Reply via email to