From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 89727158451 for ; Fri, 12 Jan 2024 23:22:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EE95E2A0D; Fri, 12 Jan 2024 23:22:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D11DFE2A0B for ; Fri, 12 Jan 2024 23:22:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1942E343174 for ; Fri, 12 Jan 2024 23:22:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C103E14BD for ; Fri, 12 Jan 2024 23:22:10 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1705101719.aef0824d5312c055a25f98a5f0dfbefad9a03863.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/fuzion/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/fuzion/Manifest dev-lang/fuzion/fuzion-0.086.ebuild X-VCS-Directories: dev-lang/fuzion/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: aef0824d5312c055a25f98a5f0dfbefad9a03863 X-VCS-Branch: master Date: Fri, 12 Jan 2024 23:22:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 626cdac2-8c01-47de-9df4-b767e0b6dde9 X-Archives-Hash: 89dbcd42a945d7b77a9feb97fca2a088 commit: aef0824d5312c055a25f98a5f0dfbefad9a03863 Author: Maciej Barć gentoo org> AuthorDate: Fri Jan 12 21:24:10 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Fri Jan 12 23:21:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aef0824d dev-lang/fuzion: bump to 0.086 Signed-off-by: Maciej Barć gentoo.org> dev-lang/fuzion/Manifest | 1 + dev-lang/fuzion/fuzion-0.086.ebuild | 73 +++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/dev-lang/fuzion/Manifest b/dev-lang/fuzion/Manifest index 50c58d72012c..7fa40b129abd 100644 --- a/dev-lang/fuzion/Manifest +++ b/dev-lang/fuzion/Manifest @@ -1 +1,2 @@ DIST fuzion-0.085.tar.gz 951247 BLAKE2B 5ae8999453759e0a8e5fb44b0aec833adb2c66ca9fea3e3092e2f298cc27a98c75abe0947337e9bb43920009d3bed8aa526a325fc58791d6177cb4f2d7ae7f23 SHA512 4a40eeffaa40b0568d90a20cf4125e7bddcc651fbe55b38866bb3cc90517749259336f776c33b762969986accae01e532b09418114b7c60e98377074bf144a17 +DIST fuzion-0.086.tar.gz 994894 BLAKE2B e698ea7b8de215c55e84e0f55f405156d5c386c1001c7b29e0c7c49e7a7e7babf7cb64cf30726a24aa7b6ccdc0eaf01cc543867361e2554f258d76be1fc08b97 SHA512 6d2df12d1dced9c5a61bb183767fc205ddbc0d04db8cae3f5e3eabd9ab60f18b3c2b3fa8f57702dc792882b1a6f79da1cfcb7801d84ecc2cff1844a4bc226f67 diff --git a/dev-lang/fuzion/fuzion-0.086.ebuild b/dev-lang/fuzion/fuzion-0.086.ebuild new file mode 100644 index 000000000000..388f1e28729c --- /dev/null +++ b/dev-lang/fuzion/fuzion-0.086.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 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 +" +# jdk:17 for https://bugs.gentoo.org/916689 +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 +}