aboutsummaryrefslogtreecommitdiff
blob: 8d024eef45899f65249aee42fcf76786d70416c2 (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
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit nimble

DESCRIPTION="make-like for Nim. Describe your builds as tasks!"
HOMEPAGE="https://github.com/fowlmouth/nake"
SRC_URI="https://github.com/fowlmouth/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="dev-libs/libpcre:3"

src_test() {
	local PATH="${BUILD_DIR}:${PATH}"

	cd "${S}"/tests || die
	for t in t*.nim; do
		[[ -f ${t} ]] || continue
		enim --hints:off r "${t}"
	done
}