diff options
Diffstat (limited to 'dev-lang/fuzion')
-rw-r--r-- | dev-lang/fuzion/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/fuzion/fuzion-0.081.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-lang/fuzion/Manifest b/dev-lang/fuzion/Manifest index b694e36225be..fcbf70b38813 100644 --- a/dev-lang/fuzion/Manifest +++ b/dev-lang/fuzion/Manifest @@ -1,3 +1,5 @@ DIST fuzion-0.080.tar.gz 659142 BLAKE2B b1889ea646ddcb49248db1aa65cfbd3971ddfcad28976e39f631d7f6e3bd7e78f4dbc08756711820e982bcee8aef7eaf8de69a01408457d371c00fad926386ac SHA512 6bae87090b613dc82cc08526c66a62b81e757dc686130553a6f35ef9ea11dacbd726ee52ccb63019bcec876d5531b6a7263f48538eb05c062482f7609cd229c8 +DIST fuzion-0.081.tar.gz 710674 BLAKE2B ef58bb6b27640f6de4af3abe63b5ef6edbf82b6dc1914ba5dacf66ab2330e5eee884fbe08a3152353454474fd6226cdc5746b04bc791e4d26e81ae6fe8f47b3b SHA512 784823e5c1dc26cac2f61320b1c0aee232a8582e77fbb0d7a99d1ddc116232c436b0a1fc662fda025f93acee05c49e99a2cffdd6d0f1fa013c82d6475a194aeb EBUILD fuzion-0.080.ebuild 1167 BLAKE2B cfd39d258fcd3c30cca01538cf2e9a1ade8efd619268f05b65949cdbdf4bac970e4617ceb4b16fe85dd5c16c79cfb29d351446bdfe020cbedaa31b3df225ded2 SHA512 cc4f04359e552c451321fab0bacdfdd2a2a7aec66190d2df1d0ac65201fe89960a212e8f742e7767a8a2cc53b0a4bd75921d1062ff9b1967ac87ca04c6743bad +EBUILD fuzion-0.081.ebuild 1167 BLAKE2B 5264cc60755a49de1751898d8103cf791f1b9181d6ce06c3ce4b1100f971226ace22e5848088d0aaa2858bd5f0d05563916e8a9968a43cfd6f8062bd634f6b34 SHA512 befedccd4c0e28c66e3ba1ee81927cc0b5f5a74dc9b63dde2d04eb366ce52b859ff5d04e2754d410a1edcde1b5303258673e85bd107013908e9f971737196a87 MISC metadata.xml 678 BLAKE2B 1785e807c53bd64819e1e7510d96a6d81bf316351d38633cd45f506fe79faad7334fb13ca646366c31146f66301dfbe638a71fffee0726867f6863340b7d14f3 SHA512 d61ffbe425b6a6b84dc1f813f279c0e655650e8b5273c69492f1092414ae956c8f1413bda3a87e5a28783a1d219d7d69282eeeaab1c8e6227a04c05ca0bea27b diff --git a/dev-lang/fuzion/fuzion-0.081.ebuild b/dev-lang/fuzion/fuzion-0.081.ebuild new file mode 100644 index 000000000000..207890e5124a --- /dev/null +++ b/dev-lang/fuzion/fuzion-0.081.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 +} |