public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-nim/sync/
@ 2022-06-29 11:52 Anna Vyalkova
  0 siblings, 0 replies; 2+ messages in thread
From: Anna Vyalkova @ 2022-06-29 11:52 UTC (permalink / raw
  To: gentoo-commits

commit:     a8a0b3eedaa57b4198ed7c6fa9eed3554234359e
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jun 29 08:44:05 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Jun 29 11:52:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a8a0b3ee

dev-nim/sync: new package, add 1.5.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-nim/sync/Manifest          |  1 +
 dev-nim/sync/metadata.xml      | 13 +++++++++++++
 dev-nim/sync/sync-1.5.0.ebuild | 29 +++++++++++++++++++++++++++++
 3 files changed, 43 insertions(+)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-nim/sync/
@ 2022-07-02  4:18 Anna Vyalkova
  0 siblings, 0 replies; 2+ messages in thread
From: Anna Vyalkova @ 2022-07-02  4:18 UTC (permalink / raw
  To: gentoo-commits

commit:     ddcebd802b97b64116a06bd141337a6483fc14c9
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Jul  2 03:43:19 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Jul  2 04:17:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ddcebd80

dev-nim/sync: drop custom src_test

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-nim/sync/sync-1.5.0.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-nim/sync/sync-1.5.0.ebuild b/dev-nim/sync/sync-1.5.0.ebuild
index 243c838e0..83949b57c 100644
--- a/dev-nim/sync/sync-1.5.0.ebuild
+++ b/dev-nim/sync/sync-1.5.0.ebuild
@@ -22,8 +22,9 @@ src_prepare() {
 	rm tests/tspsc1.nim || die
 }
 
-src_test() {
-	for file in tests/t*.nim; do
-		enim --hints:off --threads:on r "${file}"
-	done
+src_configure() {
+	mynimargs=(
+		--threads:on
+	)
+	nimble_src_configure
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-02  4:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-02  4:18 [gentoo-commits] repo/proj/guru:dev commit in: dev-nim/sync/ Anna Vyalkova
  -- strict thread matches above, loose matches on Subject: below --
2022-06-29 11:52 Anna Vyalkova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox