From: Brian Evans Date: Thu, 19 Dec 2019 21:38:19 +0000 (-0500) Subject: dev-php/sebastian-object-reflector: New package X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a8b2280222ec60f056a41ea79c3bd248b73b6437;p=gentoo.git dev-php/sebastian-object-reflector: New package As a dependency of dev-php/sebastian-global-state new version Signed-off-by: Brian Evans --- diff --git a/dev-php/sebastian-object-reflector/Manifest b/dev-php/sebastian-object-reflector/Manifest new file mode 100644 index 000000000000..696a3886fa33 --- /dev/null +++ b/dev-php/sebastian-object-reflector/Manifest @@ -0,0 +1 @@ +DIST sebastian-object-reflector-1.1.1.tar.gz 4755 BLAKE2B c549186722bde6625d44478dc90023511cd4e2fb9fe206b08881746e4443275b20eaad86a13bc202b3f464cad7239aac28da9962db7a97b9c789534424cb3ead SHA512 42dc43d1a606b1aedf2cc40443139d115fc38a50a2e51d2b4d72ecededf39bf5cecbed6d1bb002dbb6f7bd3c7da50d9436f7489f9078d52d61af7777f31f5e57 diff --git a/dev-php/sebastian-object-reflector/files/autoload.php b/dev-php/sebastian-object-reflector/files/autoload.php new file mode 100644 index 000000000000..5190fda9b96c --- /dev/null +++ b/dev-php/sebastian-object-reflector/files/autoload.php @@ -0,0 +1,15 @@ + '/Exception.php', + 'sebastianbergmann\objectreflector\invalidargumentexception' => '/InvalidArgumentException.php', + 'sebastianbergmann\objectreflector\objectreflector' => '/ObjectReflector.php', + ], + __DIR__ +); diff --git a/dev-php/sebastian-object-reflector/metadata.xml b/dev-php/sebastian-object-reflector/metadata.xml new file mode 100644 index 000000000000..145e45a7391b --- /dev/null +++ b/dev-php/sebastian-object-reflector/metadata.xml @@ -0,0 +1,11 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/version + + diff --git a/dev-php/sebastian-object-reflector/sebastian-object-reflector-1.1.1.ebuild b/dev-php/sebastian-object-reflector/sebastian-object-reflector-1.1.1.ebuild new file mode 100644 index 000000000000..c7d927bc2c56 --- /dev/null +++ b/dev-php/sebastian-object-reflector/sebastian-object-reflector-1.1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="object-reflector" + +DESCRIPTION="Allows reflection of object attributes, including inherited and non-public ones" +HOMEPAGE="http://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-lang/php-7*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/ObjectReflector + doins src/ObjectReflector.php src/{,InvalidArgument}Exception.php + doins "${FILESDIR}/autoload.php" +}