commit:     5f28770ea9502cb65c82e18a55593ffaf40d0285
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  6 03:05:36 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Feb  6 17:23:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f28770e

dev-lang/fuzion: new package; add 0.080

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

 dev-lang/fuzion/Manifest            |  1 +
 dev-lang/fuzion/fuzion-0.080.ebuild | 47 +++++++++++++++++++++++++++++++++++++
 dev-lang/fuzion/metadata.xml        | 19 +++++++++++++++
 3 files changed, 67 insertions(+)

diff --git a/dev-lang/fuzion/Manifest b/dev-lang/fuzion/Manifest
new file mode 100644
index 000000000000..42122178f63b
--- /dev/null
+++ b/dev-lang/fuzion/Manifest
@@ -0,0 +1 @@
+DIST fuzion-0.080.tar.gz 659142 BLAKE2B 
b1889ea646ddcb49248db1aa65cfbd3971ddfcad28976e39f631d7f6e3bd7e78f4dbc08756711820e982bcee8aef7eaf8de69a01408457d371c00fad926386ac
 SHA512 
6bae87090b613dc82cc08526c66a62b81e757dc686130553a6f35ef9ea11dacbd726ee52ccb63019bcec876d5531b6a7263f48538eb05c062482f7609cd229c8

diff --git a/dev-lang/fuzion/fuzion-0.080.ebuild 
b/dev-lang/fuzion/fuzion-0.080.ebuild
new file mode 100644
index 000000000000..85dd0ea40aab
--- /dev/null
+++ b/dev-lang/fuzion/fuzion-0.080.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A language with a focus on simplicity, safety and correctness"
+HOMEPAGE="https://flang.dev/
+       https://github.com/tokiwa-software/fuzion/";
+SRC_URI="https://github.com/tokiwa-software/${PN}/archive/v${PV}.tar.gz
+       -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=virtual/jre-17:*"
+DEPEND=">=virtual/jdk-17:*"
+BDEPEND="test? ( sys-devel/clang:* )"
+
+DOCS=( README.md release_notes.md )
+
+src_compile () {
+       emake -j1
+}
+
+src_test() {
+       unset _JAVA_OPTIONS  # Setting _JAVA_OPTIONS causes testsuite failures.
+       emake -j1 run_tests_parallel
+}
+
+src_install() {
+       rm -r "${S}"/build/tests || die
+
+       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
+}

diff --git a/dev-lang/fuzion/metadata.xml b/dev-lang/fuzion/metadata.xml
new file mode 100644
index 000000000000..47ee98be75cb
--- /dev/null
+++ b/dev-lang/fuzion/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Maciej Barć</name>
+  </maintainer>
+  <longdescription>
+    A language that unifies concepts to improve productivity and to use tools
+    for performance and correctness.
+  </longdescription>
+  <upstream>
+    <changelog>https://flang.dev/release_notes.txt</changelog>
+    <doc>https://flang.dev/docs/index</doc>
+    <bugs-to>https://github.com/tokiwa-software/fuzion/issues/</bugs-to>
+    <remote-id type="github">tokiwa-software/fuzion</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to