dev-php/doctrine-common - 9999 (nest)

Search

Install

Install this version:

emerge -a =dev-php/doctrine-common-9999

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

autounmask =dev-php/doctrine-common-9999

Or alternatively:

emerge --autounmask-write -a =dev-php/doctrine-common-9999

Package Information

Description:
Doctrine Common
Homepage:
https://github.com/doctrine/common
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 9 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="Doctrine"

inherit composer git-r3

DESCRIPTION="Doctrine Common"
HOMEPAGE="https://github.com/doctrine/common"
EGIT_REPO_URI="https://github.com/doctrine/common.git"

LICENSE="MIT"
SLOT="0"

RDEPEND="dev-php/doctrine-persistence"

PATCHES=( "${FILESDIR}/${PN}"-3.5.0-tests-ProxyMagicMethodsTest.patch
	"${FILESDIR}/${PN}"-3.5.0-tests-ProxyGeneratorTest.patch
	"${FILESDIR}/${PN}"-3.5.0-tests-DebugTest.patch
	"${FILESDIR}/${PN}"-3.5.0-tests-ClassUtilsTest.patch
	"${FILESDIR}/${PN}"-3.5.0-tests-AutoloaderTest.patch
	"${FILESDIR}/${PN}"-3.5.0-tests-ProxyLogicVoidReturnTypeTest.patch
	"${FILESDIR}/${PN}"-3.5.0-tests-ProxyLogicTypedPropertiesTest.patch
	"${FILESDIR}/${PN}"-3.5.0-tests-ProxyLogicIdentifierGetterTest.patch
	"${FILESDIR}/${PN}"-3.5.0-tests-ProxyLogicTest.patch
	"${FILESDIR}/${PN}"-3.5.0-tests-AbstractProxyFactoryTest.patch )

EPHPUNIT_BOOTSTRAP='vendor/autoload.php'
composer_enable_tests phpunit

src_prepare() {
	composer_src_prepare

	edo mkdir src/Common
	edo phpab -q -o src/Common/autoload.php -t "${FILESDIR}"/autoload.php.tpl src

	# PHPUnit expects class DoctrineExceptionTest, but file is empty
	edo rm tests/Common/DoctrineExceptionTest.php
}

Inherited Eclasses

Dependencies

RDEPEND

dev-php/doctrine-persistence