dev-php/justinrainbow-json-schema - 6.11.0 (nest)

Search

Install

Install this version:

emerge -a =dev-php/justinrainbow-json-schema-6.11.0

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

autounmask =dev-php/justinrainbow-json-schema-6.11.0

Or alternatively:

emerge --autounmask-write -a =dev-php/justinrainbow-json-schema-6.11.0

Package Information

Description:
JSON Schema for PHP
Homepage:
https://github.com/jsonrainbow/json-schema
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
6.11.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_AUTOLOAD="src/JsonSchema"
COMPOSER_INSTALL_PATH=""
PHP_REQ_USE="curl?"

inherit composer

DESCRIPTION="JSON Schema for PHP"
HOMEPAGE="https://github.com/jsonrainbow/json-schema"
SRC_URI="https://github.com/jsonrainbow/${COMPOSER_PKG}/archive/${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/SpiderX/portage-overlay/releases/download/${P}/${P}-patches.tar.xz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="curl"
REQUIRED_USE="test? ( curl )"

RDEPEND="!dev-php/json-schema
	dev-php/marc-mabe-php-enum"
BDEPEND="test? ( dev-php/json-schema-test-suite )"

COMPOSER_TEST_PATCHES=( "${WORKDIR}/${P}-patches/tests" )
composer_enable_tests phpunit

src_test() {
	composer_prepare_tests
	edo mkdir -p vendor/json-schema
	edo ln  -s ../../../../../../../../../../usr/share/php/json-schema-test-suite vendor/json-schema
	ephpunit
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-php/justinrainbow-json-schema | euse -E <flag> -p dev-php/justinrainbow-json-schema | euse -D <flag> -p dev-php/justinrainbow-json-schema

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

!dev-php/json-schema
	dev-php/marc-mabe-php-enum

BDEPEND

test? ( dev-php/json-schema-test-suite )

Manifest for 6.11.0

Type File Size Source URLs
DIST justinrainbow-json-schema-6.11.0-patches.tar.xz 11924 bytes https://github.com/SpiderX/portage-overlay/releases/download/justinrainbow-json-schema-6.11.0/justinrainbow-json-schema-6.11.0-patches.tar.xz
DIST justinrainbow-json-schema-6.11.0.tar.gz 76132 bytes https://github.com/jsonrainbow//archive/6.11.0.tar.gz