Files
guru/dev-nim/nake/nake-1.9.4-r1.ebuild
Anna (cybertailor) Vyalkova a8aefa181a dev-nim/nake: add missing dep
Closes: https://bugs.gentoo.org/901145
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2023-07-14 21:13:53 +05:00

27 lines
555 B
Bash

# 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
}