dev-python/trampoline - 0.1.2 (ruizhi-overlay)

Search

Install

Install this version:

emerge -a =dev-python/trampoline-0.1.2

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

autounmask =dev-python/trampoline-0.1.2

Or alternatively:

emerge --autounmask-write -a =dev-python/trampoline-0.1.2

Package Information

Description:
Simple and tiny yield-based trampoline implementation
Homepage:
https://gitlab.com/ferreum/trampoline https://pypi.org/project/trampoline/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.1.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=no
PYTHON_COMPAT=( python3_{12..15} )

inherit distutils-r1 pypi

DESCRIPTION="Simple and tiny yield-based trampoline implementation"
HOMEPAGE="https://gitlab.com/ferreum/trampoline https://pypi.org/project/trampoline/"
SRC_URI="$(pypi_wheel_url "${PN}")"
S="${WORKDIR}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="dev-python/installer[${PYTHON_USEDEP}]"

src_unpack() {
	cp "${DISTDIR}/${A}" "${WORKDIR}/" || die
}

src_compile() { :; }

src_install() {
	python_foreach_impl install_wheel
}

install_wheel() {
	${EPYTHON} -m installer --destdir="${D}" "${WORKDIR}/${A}" || die
	python_optimize
}

Inherited Eclasses

Dependencies

BDEPEND

dev-python/installer[]