summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-05-17 21:30:10 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-05-17 22:45:09 +0200
commit06beadbaf65462a7b4bf5fb79edd7e0addce04a1 (patch)
tree26d76f9e36c5f9c5afd6141f911a3cad9ad5fa21 /dev-lang
parentsys-auth/elogind: fix musl selinux patch (diff)
downloadgentoo-06beadbaf65462a7b4bf5fb79edd7e0addce04a1.tar.gz
gentoo-06beadbaf65462a7b4bf5fb79edd7e0addce04a1.tar.bz2
gentoo-06beadbaf65462a7b4bf5fb79edd7e0addce04a1.zip
dev-lang/fuzion: bump to 0.082
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/fuzion/Manifest1
-rw-r--r--dev-lang/fuzion/fuzion-0.082.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-lang/fuzion/Manifest b/dev-lang/fuzion/Manifest
index 71608025d117..745cb4b80b6c 100644
--- a/dev-lang/fuzion/Manifest
+++ b/dev-lang/fuzion/Manifest
@@ -1,2 +1,3 @@
DIST fuzion-0.080.tar.gz 659142 BLAKE2B b1889ea646ddcb49248db1aa65cfbd3971ddfcad28976e39f631d7f6e3bd7e78f4dbc08756711820e982bcee8aef7eaf8de69a01408457d371c00fad926386ac SHA512 6bae87090b613dc82cc08526c66a62b81e757dc686130553a6f35ef9ea11dacbd726ee52ccb63019bcec876d5531b6a7263f48538eb05c062482f7609cd229c8
DIST fuzion-0.081.tar.gz 710674 BLAKE2B ef58bb6b27640f6de4af3abe63b5ef6edbf82b6dc1914ba5dacf66ab2330e5eee884fbe08a3152353454474fd6226cdc5746b04bc791e4d26e81ae6fe8f47b3b SHA512 784823e5c1dc26cac2f61320b1c0aee232a8582e77fbb0d7a99d1ddc116232c436b0a1fc662fda025f93acee05c49e99a2cffdd6d0f1fa013c82d6475a194aeb
+DIST fuzion-0.082.tar.gz 751728 BLAKE2B d876d8bc762e9f2bee25e93aee0b118721136398f9e6c98e70adc50ce684fdcaa15991448ca748b1ae1f348e5facc442277b600ab3b5a809284144aa2f9b4928 SHA512 17cd56186e0fd7e07d5f592b7f8edc47e2609d0a6df08877c1db773f9ac56d8fd8ce60a1b7cffd918e23e20fad29a4c05c49d95a07cc3bec492e67d749837c83
diff --git a/dev-lang/fuzion/fuzion-0.082.ebuild b/dev-lang/fuzion/fuzion-0.082.ebuild
new file mode 100644
index 000000000000..207890e5124a
--- /dev/null
+++ b/dev-lang/fuzion/fuzion-0.082.ebuild
@@ -0,0 +1,55 @@
+# 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/"
+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() {
+ emake -j1 run_tests_parallel
+}
+
+src_install() {
+ # Remove unnecessary files from build directory. bug #893450
+ local torm 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 ${toremove_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
+}