dev-nim/weave: new package, add 0.4.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-07-13 10:03:57 +05:00
parent 10f3b109d3
commit e920ae4bbc
3 changed files with 40 additions and 0 deletions

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

@@ -0,0 +1 @@
DIST weave-0.4.0.tar.gz 1150585 BLAKE2B b60588853fbd5b0535941d78e1830f2b19fe2e58e62bd3ebcf10c9b749b5486ae0b92b434c293539bc2950da2e333a0c2bef01634db6ec33c1958cae02344776 SHA512 a836b6a0bf497af90c8de4f389b31e5644846a240294fc8b81df046792df3ab49ab0ff59191aa19a61fe12c162c0c80d96685e9a0e51fe1bc881ebb9ae54b7f4

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">mratsim/weave</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,28 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit nimble
DESCRIPTION="a state-of-the-art multithreading runtime"
HOMEPAGE="
https://github.com/mratsim/weave
https://nimble.directory/pkg/weave
"
SRC_URI="https://github.com/mratsim/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( Apache-2.0 MIT )"
SLOT="${PV}"
KEYWORDS="~amd64"
RDEPEND="dev-nim/synthesis"
set_package_url "https://github.com/mratsim/weave"
src_prepare() {
default
# failing tests
sed "/weave\/parallel_for.nim/d" -i ${PN}.nimble || die
}