dev-php/psr-log - 3.0.2 (php-overlay)

Search

Install

Install this version:

emerge -a =dev-php/psr-log-3.0.2

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

autounmask =dev-php/psr-log-3.0.2

Or alternatively:

emerge --autounmask-write -a =dev-php/psr-log-3.0.2

Package Information

Description:
Common interface for logging libraries
Homepage:
https://github.com/php-fig/log
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
3.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="Common interface for logging libraries"
HOMEPAGE="https://github.com/php-fig/log"
SRC_URI="https://github.com/php-fig/log/archive/${PV}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/log-${PV}"

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

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

src_prepare() {
	default

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

src_install() {
	insinto "/usr/share/php/Psr/Log"
	doins -r src autoload.php || die
}

Dependencies

RDEPEND

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

BDEPEND

dev-php/theseer-autoload

Manifest for 3.0.2

Type File Size Source URLs
DIST psr-log-3.0.2.tar.gz 3604 bytes https://github.com/php-fig/log/archive/3.0.2.tar.gz