guru/dev-crystal/exception_page/exception_page-0.3.1.ebuild
Anna (cybertailor) Vyalkova af4407a475
dev-crystal/exception_page: add 0.3.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-07-09 06:24:33 +05:00

31 lines
656 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit shards
DESCRIPTION="A library for displaying exceptional exception pages for easier debugging"
HOMEPAGE="https://github.com/crystal-loot/exception_page"
SRC_URI="https://github.com/crystal-loot/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-crystal/backtracer"
BDEPEND="
test? (
dev-crystal/lucky_flow
)
"
src_prepare() {
default
# test error, related to lucky_flow ('be_on_page' method)
rm spec/exception_page_spec.cr || die
}