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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A376139360 for ; Mon, 9 Aug 2021 12:14:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C8F3E0837; Mon, 9 Aug 2021 12:14:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53C56E0837 for ; Mon, 9 Aug 2021 12:14:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 09951342C82 for ; Mon, 9 Aug 2021 12:14:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DE2FC7BD for ; Mon, 9 Aug 2021 12:14:18 +0000 (UTC) From: "Amy Liffey" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Liffey" Message-ID: <1628511244.11d5994c35a66e0626491554beb5b171cb7ffd74.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/bff/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/bff/Manifest dev-lang/bff/bff-1.0.7.ebuild X-VCS-Directories: dev-lang/bff/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Liffey X-VCS-Revision: 11d5994c35a66e0626491554beb5b171cb7ffd74 X-VCS-Branch: master Date: Mon, 9 Aug 2021 12:14:18 +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: d001cbf5-62fa-4474-91fd-5b37c54d8926 X-Archives-Hash: 40a3b806bc32832fb2e9fa48fa381ab9 commit: 11d5994c35a66e0626491554beb5b171cb7ffd74 Author: Amy Liffey gentoo org> AuthorDate: Mon Aug 9 12:08:59 2021 +0000 Commit: Amy Liffey gentoo org> CommitDate: Mon Aug 9 12:14:04 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11d5994c dev-lang/bff: version bump 1.0.7 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Amy Liffey gentoo.org> dev-lang/bff/Manifest | 1 + dev-lang/bff/bff-1.0.7.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-lang/bff/Manifest b/dev-lang/bff/Manifest index f727de93c8b..762e546eddc 100644 --- a/dev-lang/bff/Manifest +++ b/dev-lang/bff/Manifest @@ -1 +1,2 @@ DIST bff-1.0.5.tar.gz 4833 BLAKE2B 9e3b44da9cd001552119e25764b171c86027755583f79a13b1d1035ecbab134df0aa31234c1479370599dd56a76a7f1c67eff61d2c1189430bab6a9a22f629d8 SHA512 78e481f6f371421ce6f046041fe6d48be2e11000ddda82f60244c0100665469c4aff4f151d297bb533140d723f68d5a3844e0c29a256b022ac93cafbd2abe9fd +DIST bff-1.0.7.tar.gz 5121 BLAKE2B 581cac5c20742811d9c848d59833256c2c72f08f256ad0b061723b7bb57efa64b0873ae8011323f53dbecd21e61d8d1610b393a4f0a3695508ee4b607fa541db SHA512 8ab43671ea02d59db291b338f4323aba2879318539efbd249883ef241295a12f3d3e55bcb4b0ad6e3f886a044eec0bfcecf526b70c81099afdf89320babfee6d diff --git a/dev-lang/bff/bff-1.0.7.ebuild b/dev-lang/bff/bff-1.0.7.ebuild new file mode 100644 index 00000000000..377af34eea5 --- /dev/null +++ b/dev-lang/bff/bff-1.0.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="A brainfuck interpreter" +HOMEPAGE="https://github.com/apankrat/bff" +SRC_URI="https://github.com/apankrat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="" +RDEPEND="" + +src_compile() { + # Makefile is not nice + emake -f /dev/null CC="$(tc-getCC)" bff +} + +src_test() { + ebegin "Running mandelbrot test" + ./bff samples/mandelbrot.b > mandelbrot.out + eend $? || die + md5sum -c <<< '5024283fa65866ddd347b877798e84d8 mandelbrot.out' \ + && cat mandelbrot.out \ + || die "mandelbrot did not output correctly" +} + +src_install() { + dobin bff +}