summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2019-12-20 09:08:32 -0500
committerBrian Evans <grknight@gentoo.org>2019-12-20 13:34:21 -0500
commit34a66919959a5121c7dda47281d308796ccb5e5c (patch)
tree6a58870023fbcd37340357af08051c85ca88ee1a /dev-php/sebastian-object-enumerator
parentdev-php/sebastian-global-state: Version bump for 3.0.0 (diff)
downloadgentoo-34a66919959a5121c7dda47281d308796ccb5e5c.tar.gz
gentoo-34a66919959a5121c7dda47281d308796ccb5e5c.tar.bz2
gentoo-34a66919959a5121c7dda47281d308796ccb5e5c.zip
dev-php/sebastian-object-enumerator: Version bump for 3.0.3
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-php/sebastian-object-enumerator')
-rw-r--r--dev-php/sebastian-object-enumerator/Manifest1
-rw-r--r--dev-php/sebastian-object-enumerator/files/autoload-3.0.3.php20
-rw-r--r--dev-php/sebastian-object-enumerator/sebastian-object-enumerator-3.0.3.ebuild29
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-php/sebastian-object-enumerator/Manifest b/dev-php/sebastian-object-enumerator/Manifest
index 3b46a206a560..ae6ac094869f 100644
--- a/dev-php/sebastian-object-enumerator/Manifest
+++ b/dev-php/sebastian-object-enumerator/Manifest
@@ -1 +1,2 @@
DIST sebastian-object-enumerator-2.0.1.tar.gz 4861 BLAKE2B cc68da9e38e756e478eedab588c023ebbf15d28d6f9e5399f178c581765aa02324ffe6f0bdf5e561f61791f449d8763e6cfdb572c779adaa9c7dedcc8b0f15a8 SHA512 087ef23c079be2ef56948c734cbdefbf4d8cad36c6c26aae5e38401ec3f306d91067aea28a2226811d1ed90611c7c8070a4f5c3733a24eb56f6a177eb332a9b3
+DIST sebastian-object-enumerator-3.0.3.tar.gz 4989 BLAKE2B 8d2314daf82280dc746cdc91c3c927d012440ef162a59918e038a15775f0113cf7bc0ae0eafb83d6d6992cdb2680bdd92935789584305906747fd71f13fcad5a SHA512 9bbff5081e1627d7ab98e01830cf6245f15b3ca96a56f6074e090f10862d19d0849251d69bf1117d3634b7e0ef86e266b2e9d4062e75eff9c9bc5f994dfe9a2d
diff --git a/dev-php/sebastian-object-enumerator/files/autoload-3.0.3.php b/dev-php/sebastian-object-enumerator/files/autoload-3.0.3.php
new file mode 100644
index 000000000000..07afae81e5d4
--- /dev/null
+++ b/dev-php/sebastian-object-enumerator/files/autoload-3.0.3.php
@@ -0,0 +1,20 @@
+<?php
+/* Autoloader for dev-php/sebastian-object-enumerator */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addClassMap(
+ [
+ 'sebastianbergmann\objectenumerator\enumerator' => '/Enumerator.php',
+ 'sebastianbergmann\objectenumerator\exception' => '/Exception.php',
+ 'sebastianbergmann\objectenumerator\invalidargumentexception' => '/InvalidArgumentException.php',
+ ],
+ __DIR__
+);
+
+\Fedora\Autoloader\Dependencies::required([
+ __DIR__.'/../ObjectReflector/autoload.php',
+ __DIR__.'/../RecursionContext/autoload.php',
+]);
diff --git a/dev-php/sebastian-object-enumerator/sebastian-object-enumerator-3.0.3.ebuild b/dev-php/sebastian-object-enumerator/sebastian-object-enumerator-3.0.3.ebuild
new file mode 100644
index 000000000000..ec2f666727bf
--- /dev/null
+++ b/dev-php/sebastian-object-enumerator/sebastian-object-enumerator-3.0.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/sebastian-//}"
+
+DESCRIPTION="Traverses array structures and object graphs to enumerate all referenced objects"
+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-php/sebastian-object-reflector-2.0
+ >=dev-php/sebastian-recursion-context-3.0
+ <dev-php/sebastian-recursion-context-4.0
+ =dev-lang/php-7*:*"
+
+src_install() {
+ insinto /usr/share/php/SebastianBergmann/ObjectEnumerator
+ doins -r src/*
+ newins "${FILESDIR}/autoload-3.0.3.php" autoload.php
+}