aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-07-13 10:03:57 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-07-13 10:03:57 +0500
commite920ae4bbcdf9210126739219f37cdd24b3a6554 (patch)
tree33e89c19c69e08a06d739007aa4489934df12fa5
parentdev-nim/synthesis: new package, add 0.2.0 (diff)
downloadguru-e920ae4bbcdf9210126739219f37cdd24b3a6554.tar.gz
guru-e920ae4bbcdf9210126739219f37cdd24b3a6554.tar.bz2
guru-e920ae4bbcdf9210126739219f37cdd24b3a6554.zip
dev-nim/weave: new package, add 0.4.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
-rw-r--r--dev-nim/weave/Manifest1
-rw-r--r--dev-nim/weave/metadata.xml11
-rw-r--r--dev-nim/weave/weave-0.4.0.ebuild28
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-nim/weave/Manifest b/dev-nim/weave/Manifest
new file mode 100644
index 000000000..e1d0f2bef
--- /dev/null
+++ b/dev-nim/weave/Manifest
@@ -0,0 +1 @@
+DIST weave-0.4.0.tar.gz 1150585 BLAKE2B b60588853fbd5b0535941d78e1830f2b19fe2e58e62bd3ebcf10c9b749b5486ae0b92b434c293539bc2950da2e333a0c2bef01634db6ec33c1958cae02344776 SHA512 a836b6a0bf497af90c8de4f389b31e5644846a240294fc8b81df046792df3ab49ab0ff59191aa19a61fe12c162c0c80d96685e9a0e51fe1bc881ebb9ae54b7f4
diff --git a/dev-nim/weave/metadata.xml b/dev-nim/weave/metadata.xml
new file mode 100644
index 000000000..8aca35c03
--- /dev/null
+++ b/dev-nim/weave/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">mratsim/weave</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-nim/weave/weave-0.4.0.ebuild b/dev-nim/weave/weave-0.4.0.ebuild
new file mode 100644
index 000000000..28cbb5209
--- /dev/null
+++ b/dev-nim/weave/weave-0.4.0.ebuild
@@ -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
+}