# Copyright 1999-2024 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit common-lisp-3 COMMIT="9a7cb7f48b04197c0495df3b6d2e8395ad13f790" DESCRIPTION="Implementation pools for resource management" HOMEPAGE="https://github.com/archimag/garbage-pools" SRC_URI="https://github.com/archimag/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" RESTRICT="!test? ( test )" # tests not ready BDEPEND="test? ( dev-lisp/lift )" 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 :garbage-pools-test)" \ || die "test failed" }