commit:     34a66919959a5121c7dda47281d308796ccb5e5c
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 20 14:08:32 2019 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Dec 20 18:34:21 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34a66919

dev-php/sebastian-object-enumerator: Version bump for 3.0.3

Signed-off-by: Brian Evans <grknight <AT> gentoo.org>

 dev-php/sebastian-object-enumerator/Manifest       |  1 +
 .../files/autoload-3.0.3.php                       | 20 +++++++++++++++
 .../sebastian-object-enumerator-3.0.3.ebuild       | 29 ++++++++++++++++++++++
 3 files changed, 50 insertions(+)

diff --git a/dev-php/sebastian-object-enumerator/Manifest 
b/dev-php/sebastian-object-enumerator/Manifest
index 3b46a206a56..ae6ac094869 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 00000000000..07afae81e5d
--- /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 00000000000..ec2f666727b
--- /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
+}

Reply via email to