From 11d5994c35a66e0626491554beb5b171cb7ffd74 Mon Sep 17 00:00:00 2001 From: Amy Liffey Date: Mon, 9 Aug 2021 14:08:59 +0200 Subject: dev-lang/bff: version bump 1.0.7 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Amy Liffey --- dev-lang/bff/Manifest | 1 + dev-lang/bff/bff-1.0.7.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 dev-lang/bff/bff-1.0.7.ebuild (limited to 'dev-lang/bff') diff --git a/dev-lang/bff/Manifest b/dev-lang/bff/Manifest index f727de93c8b0..762e546eddc1 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 000000000000..377af34eea55 --- /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 +} -- cgit v1.2.3-65-gdbad