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 E4E9B158083 for ; Mon, 16 Sep 2024 23:44:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA535E29AE; Mon, 16 Sep 2024 23:44:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F3B4E29AE for ; Mon, 16 Sep 2024 23:44:37 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E4AE342FAD for ; Mon, 16 Sep 2024 23:44:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA8601369 for ; Mon, 16 Sep 2024 23:44:34 +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: <1726530272.e6de0003818bfb772b19d24c4f8f693d42210ac1.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.090.ebuild X-VCS-Directories: dev-lang/fuzion/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: e6de0003818bfb772b19d24c4f8f693d42210ac1 X-VCS-Branch: master Date: Mon, 16 Sep 2024 23:44:34 +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: a0466f94-3eca-491b-a4e9-da4b79644a7f X-Archives-Hash: f05a7efbd573f6c403ad3ed3db6284d4 commit: e6de0003818bfb772b19d24c4f8f693d42210ac1 Author: Maciej Barć gentoo org> AuthorDate: Mon Sep 16 21:57:31 2024 +0000 Commit: Maciej Barć gentoo org> CommitDate: Mon Sep 16 23:44:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6de0003 dev-lang/fuzion: bump to 0.090 Signed-off-by: Maciej Barć gentoo.org> dev-lang/fuzion/Manifest | 1 + dev-lang/fuzion/fuzion-0.090.ebuild | 92 +++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/dev-lang/fuzion/Manifest b/dev-lang/fuzion/Manifest index 429e6db3ff78..98c2fbbae876 100644 --- a/dev-lang/fuzion/Manifest +++ b/dev-lang/fuzion/Manifest @@ -1,3 +1,4 @@ DIST fuzion-0.086.tar.gz 994894 BLAKE2B e698ea7b8de215c55e84e0f55f405156d5c386c1001c7b29e0c7c49e7a7e7babf7cb64cf30726a24aa7b6ccdc0eaf01cc543867361e2554f258d76be1fc08b97 SHA512 6d2df12d1dced9c5a61bb183767fc205ddbc0d04db8cae3f5e3eabd9ab60f18b3c2b3fa8f57702dc792882b1a6f79da1cfcb7801d84ecc2cff1844a4bc226f67 DIST fuzion-0.088.tar.gz 1123270 BLAKE2B 3d68c136a862c02955b4a15e6cfe4d41a63a106c47289f7fdfe0af2b0119ebe26cbd9c6920c8b5311c756264bdd33d46f4b1108869427f83d55a350c2ab52e6f SHA512 b0fb1ea4175912684b4759ec58a91bc25d963fa2fa6234116fa91a63d757d9af5da9e20a3fdcc340fe956c01026d4b74c7a12dac40a0b7826d74c567b4e3383a DIST fuzion-0.089.tar.gz 1235399 BLAKE2B b6814b9032e06481c4801c4519423f5019febb46390596941d3811fd053ceab66b3612cd6185fbda71eb14a6b1299bca80b572f27f90729a3713aad3ec1f675d SHA512 4eb7389c4346f15a8a75344d448f6ec35ae91615daba57a8cc2f220a7f6827fcf1de569da2dcf573f8a645640e3f2cb8e2c2a4acd9ad83fd83deca2addd75bdc +DIST fuzion-0.090.tar.gz 1271502 BLAKE2B 88d97759fb1213cdb2a428b6fdb4b3f2a662295530a07765b10b1308608d63d8e75ca001d10f07d92a05c0e6c8d6df491edc9f8a981727255df8cba5ca0f4ca7 SHA512 4f49c2673bfa36321688ce7b5d26f74b57b84b1b95dc5e67c9c3c526a92e6cdd6fc7777e3814117982b29198e5de500250000fa58387d91085f602fe037cf948 diff --git a/dev-lang/fuzion/fuzion-0.090.ebuild b/dev-lang/fuzion/fuzion-0.090.ebuild new file mode 100644 index 000000000000..92e01df35d36 --- /dev/null +++ b/dev-lang/fuzion/fuzion-0.090.ebuild @@ -0,0 +1,92 @@ +# 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://fuzion-lang.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-21:* + dev-libs/boehm-gc +" +DEPEND=" + virtual/jdk:21 +" +BDEPEND=" + test? ( + sys-devel/clang:* + ) +" + +DOCS=( README.md release_notes.md ) + +src_prepare() { + java-pkg-2_src_prepare + + # Remove bad tests. + local -a bad_tests=( + basicIntegers + nom + onesCount + process + reg_issue3178 + sockets + ) + local bad_test + for bad_test in "${bad_tests[@]}" ; do + rm -r "${S}/tests/${bad_test}" || die "failed to remove test ${bad_tests}" + done +} + +src_compile() { + emake -j1 +} + +src_test() { + emake -j1 run_tests_parallel +} + +src_install() { + # Remove unnecessary files from build directory. bug #893450 + local toremove + local toremove_path + for toremove in tests run_tests.{failures,results} ; do + toremove_path="${S}/build/${toremove}" + + if [[ -e "${toremove_path}" ]] ; then + rm -r "${toremove_path}" || die "failed to remove ${toremove_path}" + fi + done + + insinto "/usr/share/${PN}" + doins -r build/. + insopts -m755 + doins -r build/bin + + local exe + for exe in fz fzjava ; do + dosym -r "/usr/share/${PN}/bin/${exe}" "/usr/bin/${exe}" + done + + einstalldocs +}