mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
dev-nim/sync: new package, add 1.5.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
29
dev-nim/sync/sync-1.5.0.ebuild
Normal file
29
dev-nim/sync/sync-1.5.0.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user