Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/fibers/
Date: Mon, 30 Jan 2023 23:45:28
Message-Id: 1675121123.3482215046c22a35452f5c60e500fa5779d0b9a3.xgqt@gentoo
1 commit: 3482215046c22a35452f5c60e500fa5779d0b9a3
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 23:25:23 2023 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 23:25:23 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34822150
7
8 dev-scheme/fibers: new package; add 1.2.0
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 dev-scheme/fibers/Manifest | 1 +
13 dev-scheme/fibers/fibers-1.2.0.ebuild | 39 +++++++++++++++++++++++++++++++++++
14 dev-scheme/fibers/metadata.xml | 22 ++++++++++++++++++++
15 3 files changed, 62 insertions(+)
16
17 diff --git a/dev-scheme/fibers/Manifest b/dev-scheme/fibers/Manifest
18 new file mode 100644
19 index 000000000000..fa9b8cd04f82
20 --- /dev/null
21 +++ b/dev-scheme/fibers/Manifest
22 @@ -0,0 +1 @@
23 +DIST fibers-1.2.0.tar.gz 104975 BLAKE2B d43175eeb03bf8ed1100e948423e0e7abb5ae1d859f3d4dd82f775b7b0ff477d99d1d2fffd9ccf0a1c19ab398f33eb1d7cefad30ba1991a63a63755ae38e6f07 SHA512 3113e287ab2b09c54c14a5c4d2b0330fcfc96281ec6f234655acadfb5a3c0a2872b602089e4fa025f42ba52749e71121062057029097f0957d71e97c0e4e9c71
24
25 diff --git a/dev-scheme/fibers/fibers-1.2.0.ebuild b/dev-scheme/fibers/fibers-1.2.0.ebuild
26 new file mode 100644
27 index 000000000000..ca3a3103affc
28 --- /dev/null
29 +++ b/dev-scheme/fibers/fibers-1.2.0.ebuild
30 @@ -0,0 +1,39 @@
31 +# Copyright 1999-2023 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit autotools
37 +
38 +DESCRIPTION="Lightweight concurrency facility for Guile Scheme"
39 +HOMEPAGE="https://github.com/wingo/fibers/
40 + https://github.com/wingo/fibers/wiki/Manual/"
41 +SRC_URI="https://github.com/wingo/${PN}/archive/v${PV}.tar.gz
42 + -> ${P}.tar.gz"
43 +
44 +LICENSE="LGPL-3+"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +RESTRICT="strip"
48 +
49 +RDEPEND=">=dev-scheme/guile-2.1.7:="
50 +DEPEND="${RDEPEND}"
51 +
52 +# guile generates ELF files without use of C or machine code
53 +# It's a portage's false positive. bug #677600
54 +QA_PREBUILT='*[.]go'
55 +
56 +src_prepare() {
57 + default
58 +
59 + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
60 + find "${S}" -name "*.scm" -exec touch {} + || die
61 +
62 + eautoreconf
63 +}
64 +
65 +src_install() {
66 + default
67 +
68 + find "${D}" -name "*.la" -delete || die
69 +}
70
71 diff --git a/dev-scheme/fibers/metadata.xml b/dev-scheme/fibers/metadata.xml
72 new file mode 100644
73 index 000000000000..c95b5f88b1d8
74 --- /dev/null
75 +++ b/dev-scheme/fibers/metadata.xml
76 @@ -0,0 +1,22 @@
77 +<?xml version="1.0" encoding="UTF-8"?>
78 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
79 +
80 +<pkgmetadata>
81 + <maintainer type="project">
82 + <email>scheme@g.o</email>
83 + <name>Gentoo Scheme Project</name>
84 + </maintainer>
85 + <longdescription>
86 + Fibers is a Guile library that implements a a lightweight concurrency
87 + facility, inspired by systems like Concurrent ML, Go, and Erlang. A fiber
88 + is like a "goroutine" from the Go language: a lightweight thread-like
89 + abstraction. Systems built with Fibers can scale up to millions of
90 + concurrent fibers, tens of thousands of concurrent socket connections, and
91 + many parallel cores. The Fibers library also provides Concurrent ML-like
92 + channels for communication between fibers.
93 + </longdescription>
94 + <upstream>
95 + <bugs-to>https://gitlab.com/wingo/fibers/-/issues/</bugs-to>
96 + <remote-id type="github">wingo/fibers</remote-id>
97 + </upstream>
98 +</pkgmetadata>