View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit common-lisp-3
COMMIT="9566ce8adfb299faef803d95736c780413a1373c"
DESCRIPTION="Flexible bivalent streams for Common Lisp"
HOMEPAGE="https://github.com/marijnh/ieee-floats"
SRC_URI="https://github.com/marijnh/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="test? ( dev-lisp/asdf
dev-lisp/fiveam )"
src_test() {
local -x CL_SOURCE_REGISTRY="${S}:${CLSYSTEMROOT}"
common-lisp-export-impl-args "$(common-lisp-find-lisp-impl)"
${CL_BINARY} "${CL_EVAL}" "(asdf:test-system :ieee-floats)" \
|| die "test failed"
}