sys-apps/racket-where - 1.0.3 (racket-overlay)

Search

Install

Install this version:

emerge -a =sys-apps/racket-where-1.0.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-apps/racket-where-1.0.3

Or alternatively:

emerge --autounmask-write -a =sys-apps/racket-where-1.0.3

Package Information

Description:
Small tool to find installed Racket packages
Homepage:
https://gitlab.com/gentoo-racket/racket-where/
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
1.0.3 8 ~amd64 ~arm ~ppc ~ppc64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

SCRBL_DOCS="FALSE"

inherit racket

DESCRIPTION="Small tool to find installed Racket packages"
HOMEPAGE="https://gitlab.com/gentoo-racket/racket-where/"

if [[ "${PV}" == *9999* ]]; then
	inherit git-r3

	EGIT_REPO_URI="https://gitlab.com/gentoo-racket/${PN}"
else
	SRC_URI="https://gitlab.com/gentoo-racket/${PN}/-/archive/${PV}/${P}.tar.bz2"

	KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
fi

S="${S}/src"

LICENSE="GPL-2+"
SLOT="0"

do_compile() {
	pushd "${1}" >/dev/null || die

	sh "./${PN}/compile.sh" || die "compilation failed"

	popd >/dev/null || die
}

src_compile() {
	do_compile "${S}"

	raco_temporary_install
}

pkg_prerm() {
	if has_version "dev-scheme/racket" ; then
		# Ensure that the bytecode is up to date; otherwise this step will
		# fail if updating "dev-scheme/racket" to a different version (PV).

		do_compile "${RACKET_P_DIR}"

		racket_pkg_prerm
	fi
}

Inherited Eclasses

Manifest for 1.0.3

Type File Size Source URLs
DIST racket-where-1.0.3.tar.bz2 9569 bytes https://gitlab.com/gentoo-racket/racket-where/-/archive/1.0.3/racket-where-1.0.3.tar.bz2