commit: a042780884d5b14c16990d4b4a9bf11be61acc55 Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Tue Aug 27 09:48:09 2024 +0000 Commit: Arsen Arsenović <arsen <AT> gentoo <DOT> org> CommitDate: Wed Sep 18 13:06:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0427808
dev-scheme/xdgdirs: switch to new guile mechanism Signed-off-by: Alfred Wingate <parona <AT> protonmail.com> Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org> dev-scheme/xdgdirs/xdgdirs-2.2-r100.ebuild | 34 ++++++++++++++++++++++++++++++ profiles/package.mask | 1 + 2 files changed, 35 insertions(+) diff --git a/dev-scheme/xdgdirs/xdgdirs-2.2-r100.ebuild b/dev-scheme/xdgdirs/xdgdirs-2.2-r100.ebuild new file mode 100644 index 000000000000..0dc3e304acd4 --- /dev/null +++ b/dev-scheme/xdgdirs/xdgdirs-2.2-r100.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GUILE_COMPAT=( 2-2 3-0 ) +inherit guile-single + +DESCRIPTION="Displays names/values of XDG Basedir variables" +HOMEPAGE="https://www.gnuvola.org/software/xdgdirs/" +SRC_URI="https://www.gnuvola.org/software/xdgdirs/${P}.tar.xz" + +LICENSE="GPL-3+ FDL-1.3" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" + +REQUIRED_USE="${GUILE_REQUIRED_USE}" + +RDEPEND="${GUILE_DEPS}" +DEPEND="${RDEPEND}" + +src_prepare() { + guile-single_src_prepare + + # fix shebang + sed -i -e "/exec/ s|guile|${GUILE}|" xdgdirs.in || die +} + +src_test() { + # breaks diffs for tests if not disabled + local -x GUILE_AUTO_COMPILE=0 + + emake check +} diff --git a/profiles/package.mask b/profiles/package.mask index 65ef9501f2c9..d9f8748e9d12 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -383,6 +383,7 @@ dev-scheme/guile:3.0 >=dev-scheme/guile-ssh-0.16.4-r100 >=dev-scheme/guile-zlib-0.1.0-r100 >=dev-scheme/guile-zstd-0.1.1-r100 +>=dev-scheme/xdgdirs-2.2-r100 # Eli Schwartz <[email protected]> (2024-08-15) # Abandoned upstream since 2011, unmaintained in gentoo since 2017. Tons of
