diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2022-07-04 07:59:23 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2022-07-06 01:02:20 +0500 |
commit | 4458a82bcb25528815057f629daa7b7355676744 (patch) | |
tree | 8b05f9f6347ddcd41ae85e7a0622631d91ab2718 /dev-nim | |
parent | nim-utils.eclass: create testament skipfile once (diff) | |
download | guru-4458a82bcb25528815057f629daa7b7355676744.tar.gz guru-4458a82bcb25528815057f629daa7b7355676744.tar.bz2 guru-4458a82bcb25528815057f629daa7b7355676744.zip |
dev-nim/packedjson: new package, add 0.2.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-nim')
-rw-r--r-- | dev-nim/packedjson/Manifest | 1 | ||||
-rw-r--r-- | dev-nim/packedjson/metadata.xml | 11 | ||||
-rw-r--r-- | dev-nim/packedjson/packedjson-0.2.2.ebuild | 24 |
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-nim/packedjson/Manifest b/dev-nim/packedjson/Manifest new file mode 100644 index 000000000..17cd02b19 --- /dev/null +++ b/dev-nim/packedjson/Manifest @@ -0,0 +1 @@ +DIST packedjson-0.2.2.tar.gz 13748 BLAKE2B 44d8d7b4d9e8e10ea5ba1893185d8bcf0d05d735fb24d9d82618f23c9b6f03a4653ddab32e5059609cd619f358d73972504d7231bc6143d60dd84a875b382bbf SHA512 0e0493e55b8bf05624d0e995afad455e7fcf5018985f397feb9b1cf99830836e760fb91b68ec718c9488bb592ad59556d7f737a415fa75f248455858ed304123 diff --git a/dev-nim/packedjson/metadata.xml b/dev-nim/packedjson/metadata.xml new file mode 100644 index 000000000..b9448e53f --- /dev/null +++ b/dev-nim/packedjson/metadata.xml @@ -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">Araq/packedjson</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-nim/packedjson/packedjson-0.2.2.ebuild b/dev-nim/packedjson/packedjson-0.2.2.ebuild new file mode 100644 index 000000000..cb4494757 --- /dev/null +++ b/dev-nim/packedjson/packedjson-0.2.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nimble + +DESCRIPTION="an alternative Nim implementation for JSON" +HOMEPAGE=" + https://github.com/Araq/packedjson + https://nimble.directory/pkg/packedjson +" +SRC_URI="https://github.com/Araq/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="${PV}" +KEYWORDS="~amd64" + +set_package_url "https://github.com/Araq/packedjson" + +src_test() { + enim r ${PN}.nim | tee "${T}"/tests.out + grep -q "test failed" "${T}"/tests.out && die "tests failed" +} |