dev-php/sebastian-diff - 7.0.0 (nest)

Search

Install

Install this version:

emerge -a =dev-php/sebastian-diff-7.0.0

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

autounmask =dev-php/sebastian-diff-7.0.0

Or alternatively:

emerge --autounmask-write -a =dev-php/sebastian-diff-7.0.0

Package Information

Description:
PHP Diff implementation
Homepage:
https://github.com/sebastianbergmann/diff
License:
BSD

Ebuild Details

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

EAPI=9

COMPOSER_INSTALL_PATH="SebastianBergmann/Diff"
PHP_MIN_VER="8.3"

inherit composer

DESCRIPTION="PHP Diff implementation"
HOMEPAGE="https://github.com/sebastianbergmann/diff"
SRC_URI="https://github.com/sebastianbergmann/${COMPOSER_PKG}/archive/${PV}.tar.gz -> ${P}.tar.gz"

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

BDEPEND="dev-php/theseer-Autoload"

DOCS=( {ChangeLog,README}.md )

COMPOSER_TEST_PATCHES=( "${FILESDIR}/${PN}"-7.0.0-tests.patch )
EPHPUNIT_BOOTSTRAP='vendor/autoload.php'
composer_enable_tests phpunit

src_prepare() {
	composer_src_prepare

	edo phpab -q -o src/autoload.php -t fedora2 src
}

src_test() {
	composer_prepare_tests
	edo phpab -q -o tests/autoload.php -t fedora2 tests
	ephpunit
}

Inherited Eclasses

Dependencies

BDEPEND

dev-php/theseer-Autoload

Manifest for 7.0.0

Type File Size Source URLs
DIST sebastian-diff-7.0.0.tar.gz 13590 bytes https://github.com/sebastianbergmann//archive/7.0.0.tar.gz