dev-php/seld-jsonlint - 1.12.1 (nest)

Search

Install

Install this version:

emerge -a =dev-php/seld-jsonlint-1.12.1

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

autounmask =dev-php/seld-jsonlint-1.12.1

Or alternatively:

emerge --autounmask-write -a =dev-php/seld-jsonlint-1.12.1

Package Information

Description:
JSON Lint for PHP
Homepage:
https://github.com/Seldaek/jsonlint
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.12.1 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_AUTOLOAD="src/Seld/JsonLint"

inherit composer

DESCRIPTION="JSON Lint for PHP"
HOMEPAGE="https://github.com/Seldaek/jsonlint"
SRC_URI="https://github.com/Seldaek/${COMPOSER_PKG}/archive/${PV}.tar.gz -> ${P}.tar.gz"

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

PATCHES=( "${FILESDIR}/${PN}"-1.12.1-cli-autoload.patch )

EPHPUNIT_BOOTSTRAP="vendor/autoload.php"
EPHPUNIT_ARGS=( --no-configuration tests )
COMPOSER_TEST_PATCHES=( "${FILESDIR}/${PN}"-1.12.1-phpunit12.patch )
composer_enable_tests phpunit

src_install() {
	composer_src_install
	dobin bin/jsonlint
}

Inherited Eclasses

Manifest for 1.12.1

Type File Size Source URLs
DIST seld-jsonlint-1.12.1.tar.gz 15639 bytes https://github.com/Seldaek//archive/1.12.1.tar.gz