diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2022-06-29 13:44:05 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2022-06-29 16:52:37 +0500 |
commit | a8a0b3eedaa57b4198ed7c6fa9eed3554234359e (patch) | |
tree | 79f9cf81583b48841eefb54ce69be662240dc78f /dev-nim/sync | |
parent | dev-nim/npeg: new package, add 0.26.0 (diff) | |
download | guru-a8a0b3eedaa57b4198ed7c6fa9eed3554234359e.tar.gz guru-a8a0b3eedaa57b4198ed7c6fa9eed3554234359e.tar.bz2 guru-a8a0b3eedaa57b4198ed7c6fa9eed3554234359e.zip |
dev-nim/sync: new package, add 1.5.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-nim/sync')
-rw-r--r-- | dev-nim/sync/Manifest | 1 | ||||
-rw-r--r-- | dev-nim/sync/metadata.xml | 13 | ||||
-rw-r--r-- | dev-nim/sync/sync-1.5.0.ebuild | 29 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-nim/sync/Manifest b/dev-nim/sync/Manifest new file mode 100644 index 000000000..600f546f4 --- /dev/null +++ b/dev-nim/sync/Manifest @@ -0,0 +1 @@ +DIST sync-1.5.0.tar.gz 75216 BLAKE2B 9de2415cd591d0094b7bdbb0a988a3547434d099e97f41eaca225e33bbd31a3d3d253f802d60f01455e21d91f192d604e4060824f9e7da12e507cc9236ef4480 SHA512 4943afff8e219283042001c43e7e47297197c598c5885dd958f29d42d96ee911582aff56a519305a9ffa87e2e8dffa8f2d1586d94fe9758c2aab08f6743480ab diff --git a/dev-nim/sync/metadata.xml b/dev-nim/sync/metadata.xml new file mode 100644 index 000000000..b6e2d77ae --- /dev/null +++ b/dev-nim/sync/metadata.xml @@ -0,0 +1,13 @@ +<?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">planetis-m/sync</remote-id> + <bugs-to>https://github.com/planetis-m/sync/issues</bugs-to> + <doc>https://planetis-m.github.io/sync/index.html</doc> + </upstream> +</pkgmetadata> diff --git a/dev-nim/sync/sync-1.5.0.ebuild b/dev-nim/sync/sync-1.5.0.ebuild new file mode 100644 index 000000000..5ef306697 --- /dev/null +++ b/dev-nim/sync/sync-1.5.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit nimble + +DESCRIPTION="Useful synchronization primitives" +HOMEPAGE="https://github.com/planetis-m/sync https://nimble.directory/pkg/sync" +SRC_URI="https://github.com/planetis-m/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="${PV}" +KEYWORDS="~amd64" + +set_package_url "https://github.com/planetis-m/sync" + +src_prepare() { + default + + # remove failing tests + rm tests/tspsc1.nim || die +} + +src_test() { + for file in tests/t*.nim; do + enim --hints:off --threads:on r "${file}" + done +} |