dev-php/seld-signal-handler - 2.0.2 (php-overlay)

Search

Install

Install this version:

emerge -a =dev-php/seld-signal-handler-2.0.2

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

autounmask =dev-php/seld-signal-handler-2.0.2

Or alternatively:

emerge --autounmask-write -a =dev-php/seld-signal-handler-2.0.2

Package Information

Description:
Simple unix signal handler that silently fails where signals are not supported for easy cross-platform development
Homepage:
https://github.com/Seldaek/signal-handler
License:
MIT

Ebuild Details

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

EAPI=8

DESCRIPTION="Simple unix signal handler that silently fails where signals are not supported for easy cross-platform development"
HOMEPAGE="https://github.com/Seldaek/signal-handler"
SRC_URI="https://github.com/Seldaek/signal-handler/archive/${PV}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/signal-handler-${PV}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"

BDEPEND="dev-php/theseer-autoload"
RDEPEND="
	>=dev-lang/php-7.2:*
	dev-php/fedora-autoloader
"

src_prepare() {
	default

	phpab \
		--quiet \
		--output autoload.php \
		--template fedora2 \
		--basedir . \
		. \
		|| die
}

src_install() {
	insinto "/usr/share/php/Seld/Signal-Handler"
	doins -r src autoload.php || die
}

Dependencies

RDEPEND

	>=dev-lang/php-7.2:*
	dev-php/fedora-autoloader

BDEPEND

dev-php/theseer-autoload

Manifest for 2.0.2

Type File Size Source URLs
DIST seld-signal-handler-2.0.2.tar.gz 6833 bytes https://github.com/Seldaek/signal-handler/archive/2.0.2.tar.gz