dev-nim/sync: new package, add 1.5.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-06-29 13:44:05 +05:00
parent 84b45a69d7
commit a8a0b3eeda
3 changed files with 43 additions and 0 deletions

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

@@ -0,0 +1 @@
DIST sync-1.5.0.tar.gz 75216 BLAKE2B 9de2415cd591d0094b7bdbb0a988a3547434d099e97f41eaca225e33bbd31a3d3d253f802d60f01455e21d91f192d604e4060824f9e7da12e507cc9236ef4480 SHA512 4943afff8e219283042001c43e7e47297197c598c5885dd958f29d42d96ee911582aff56a519305a9ffa87e2e8dffa8f2d1586d94fe9758c2aab08f6743480ab

13
dev-nim/sync/metadata.xml Normal file
View File

@@ -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>

View File

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