dev-nim/nake: new package, add 1.9.4

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-07-10 23:46:43 +05:00
parent 8cf6d8072d
commit e070a5e2fb
3 changed files with 36 additions and 0 deletions

1
dev-nim/nake/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST nake-1.9.4.tar.gz 10693 BLAKE2B e3de93537ac84818cd2dda60974d94a442b8d1aa7d3bd10f6f0a76f7641f38b153f5a7634a3dbe7e1cdcd91700cd37c846ab8e35d7e397101ce1eb2247fabf80 SHA512 cce92313d4668956dd48c3add0f6859fe9c5b33002c31dc9440dccc68636131591889fb7aa739d3ce0fb5d24725499ff6fd65c6f66294fd757461ad1f53942c3

11
dev-nim/nake/metadata.xml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
<upstream>
<remote-id type="github">fowlmouth/nake</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,24 @@
# 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"
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
}