diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-05-22 02:33:15 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-05-22 03:19:49 +0200 |
commit | 83ce72185e7effb0e8444c045cb21b6995b266d0 (patch) | |
tree | 30efa0b0191afb3befa4abad32c9527dca1febfb /dev-scheme | |
parent | dev-scheme/fibers: disable Werror (diff) | |
download | gentoo-83ce72185e7effb0e8444c045cb21b6995b266d0.tar.gz gentoo-83ce72185e7effb0e8444c045cb21b6995b266d0.tar.bz2 gentoo-83ce72185e7effb0e8444c045cb21b6995b266d0.zip |
dev-scheme/fibers: bump to 1.2.0_p20230522
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/fibers/Manifest | 1 | ||||
-rw-r--r-- | dev-scheme/fibers/fibers-1.2.0_p20230522.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-scheme/fibers/Manifest b/dev-scheme/fibers/Manifest index fa9b8cd04f82..12710e3d869d 100644 --- a/dev-scheme/fibers/Manifest +++ b/dev-scheme/fibers/Manifest @@ -1 +1,2 @@ DIST fibers-1.2.0.tar.gz 104975 BLAKE2B d43175eeb03bf8ed1100e948423e0e7abb5ae1d859f3d4dd82f775b7b0ff477d99d1d2fffd9ccf0a1c19ab398f33eb1d7cefad30ba1991a63a63755ae38e6f07 SHA512 3113e287ab2b09c54c14a5c4d2b0330fcfc96281ec6f234655acadfb5a3c0a2872b602089e4fa025f42ba52749e71121062057029097f0957d71e97c0e4e9c71 +DIST fibers-1.2.0_p20230522.tar.gz 108368 BLAKE2B 4d7b773d29b235c94a86b55e17d8cbf1544024e803a00681f46221483f9112da954befb612ba2ceaa185ec6992b049a9fb144f32331ab7699436d8e107de8b10 SHA512 1ea2a6a56bbae88244a3f606cef24087949b18aa931af4d98ee1212665a93cb107cc9f8a1d250b45954f76979002656eac002105e6b3b82c0422ddb9006602d9 diff --git a/dev-scheme/fibers/fibers-1.2.0_p20230522.ebuild b/dev-scheme/fibers/fibers-1.2.0_p20230522.ebuild new file mode 100644 index 000000000000..419260f126f5 --- /dev/null +++ b/dev-scheme/fibers/fibers-1.2.0_p20230522.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +[[ ${PV} == *_p20230522 ]] && COMMIT=83712f630a976e3084329c9917c40bde19fcc7e5 + +inherit autotools + +DESCRIPTION="Lightweight concurrency facility for Guile Scheme" +HOMEPAGE="https://github.com/wingo/fibers/ + https://github.com/wingo/fibers/wiki/Manual/" +SRC_URI="https://github.com/wingo/${PN}/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${COMMIT} + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-scheme/guile-2.1.7:=" +DEPEND="${RDEPEND}" + +# guile generates ELF files without use of C or machine code +# It's a portage's false positive. bug #677600 +QA_PREBUILT='*[.]go' + +src_prepare() { + default + + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 + find "${S}" -name "*.scm" -exec touch {} + || die + + eautoreconf +} + +src_configure() { + econf --disable-Werror +} + +src_install() { + default + + find "${ED}" -type f -name "*.la" -delete || die + + # Workaround llvm-strip problem of mangling guile ELF debug + # sections: https://bugs.gentoo.org/905898 + dostrip -x "/usr/$(get_libdir)/guile" +} |