diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-26 20:41:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-26 20:41:49 +0100 |
commit | 12795ed0561fe52503d6aa3a1c60888553a03bd2 (patch) | |
tree | bebc6554f117bd11f5e1c3503ed66966afcb5f3f /dev-lang/fuzion | |
parent | 7e8f2c69a019131eaeb989242d022260ea5a84ff (diff) |
gentoo auto-resync : 26:10:2023 - 20:41:49
Diffstat (limited to 'dev-lang/fuzion')
-rw-r--r-- | dev-lang/fuzion/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/fuzion/fuzion-0.084.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-lang/fuzion/Manifest b/dev-lang/fuzion/Manifest index aa252cc7697f..afd6a45c0fb2 100644 --- a/dev-lang/fuzion/Manifest +++ b/dev-lang/fuzion/Manifest @@ -1,3 +1,5 @@ DIST fuzion-0.083.tar.gz 830470 BLAKE2B dcd320fbc8e4e426857f26004678e6e768d3baa987668db2c8b6e2b52c8dfffecd4e65f5d3930f7aa0726b0ae5be1a6266c6721fd4de7d0d277e2e779adaf3ff SHA512 1f727bb280d3de15f085093eac63810c6cadb6e8a5939d288abdbd5b79f4bb982e568dba484c5db087b3050635330f4b93d81c457ec50c7e2e9ceb21dc89dea5 +DIST fuzion-0.084.tar.gz 858114 BLAKE2B 0c0f30b22a85527ae7acf2150e18c79257ac60cd5c17ec9d7e53a6f8e496f1dafa199dfdd34a0c4940dcdce28d1c8c794b1d5a5ff4fe3b3fa6229862be760027 SHA512 cb628557dcdb7835a77e1472e45da485e69706487aa26d74fc630272fcb5e408adcd7b1ed485e0c7b34eed761911b15126ac82ef0fd748354da02fda09b9dbe9 EBUILD fuzion-0.083.ebuild 1314 BLAKE2B c7da07fb8a172d9d0124e7d835a76ff145f9352d4b008d3b0020e423f346c9fa9c169ac46672ddd8894f55e342c75679909da7e22983b989011ad255844eecfe SHA512 38a721c53b917f9eea7092f355bb7a83827183e5a6c6e4d53fbe7db47fa0b93e9c177dba47dcd7f64314cf87b7ce93f5b8a4970353bd621050093f53645f4ac8 +EBUILD fuzion-0.084.ebuild 1341 BLAKE2B 8f4a040dedbdd44bd8143f8b745e3f3ab3d3c87bfe882425c317f3787bcc310a17b001aea04cd099ea0d31a28a0265037d21c378e8c6dbfc336a3e2ad018ac91 SHA512 404aa42daa1ea44a96ac7b667c965434873ee89fd9dd3dde82a0f06324ad9786cbb5091b3c6c770a8d298fcb28f5d14fd335ebd697dff33ec7a5ace0cd91f1a8 MISC metadata.xml 678 BLAKE2B 1785e807c53bd64819e1e7510d96a6d81bf316351d38633cd45f506fe79faad7334fb13ca646366c31146f66301dfbe638a71fffee0726867f6863340b7d14f3 SHA512 d61ffbe425b6a6b84dc1f813f279c0e655650e8b5273c69492f1092414ae956c8f1413bda3a87e5a28783a1d219d7d69282eeeaab1c8e6227a04c05ca0bea27b diff --git a/dev-lang/fuzion/fuzion-0.084.ebuild b/dev-lang/fuzion/fuzion-0.084.ebuild new file mode 100644 index 000000000000..ad9ea106d3a1 --- /dev/null +++ b/dev-lang/fuzion/fuzion-0.084.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 +} |