Install this version:
emerge -a =dev-php/justinrainbow-json-schema-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-php/justinrainbow-json-schema-9999
Or alternatively:
emerge --autounmask-write -a =dev-php/justinrainbow-json-schema-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 9 | 0 |
# 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 git-r3
DESCRIPTION="JSON Schema for PHP"
HOMEPAGE="https://github.com/jsonrainbow/json-schema"
EGIT_REPO_URI="https://github.com/jsonrainbow/json-schema.git"
SRC_URI="https://github.com/SpiderX/portage-overlay/releases/download/${PN}-6.11.0/${PN}-6.11.0-patches.tar.xz"
LICENSE="MIT"
SLOT="0"
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 )"
PATCHES=( "${WORKDIR}/${PN}-6.11.0-patches/tests" )
composer_enable_tests phpunit
src_unpack() {
git-r3_src_unpack
unpack ${A}
}
src_prepare() {
composer_src_prepare
edo mkdir -p vendor/json-schema
edo ln -s ../../../../../../../../../../usr/share/php/json-schema-test-suite vendor/json-schema
}
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
!dev-php/json-schema dev-php/marc-mabe-php-enum
test? ( dev-php/json-schema-test-suite )