summaryrefslogtreecommitdiff
path: root/dev-crystal/exception_page/exception_page-0.5.0-r1.ebuild
blob: 73e8ed6e3731d5646c6c2a355db004afd741733c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2022-2024 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_test() {
	# Passing '--debug' option is required for a test that checks if
	# code frames are displayed.
	crystal_spec --debug
}