dev-php/sebastian-object-enumerator: Version bump for 3.0.3
authorBrian Evans <grknight@gentoo.org>
Fri, 20 Dec 2019 14:08:32 +0000 (09:08 -0500)
committerBrian Evans <grknight@gentoo.org>
Fri, 20 Dec 2019 18:34:21 +0000 (13:34 -0500)
Signed-off-by: Brian Evans <grknight@gentoo.org>
dev-php/sebastian-object-enumerator/Manifest
dev-php/sebastian-object-enumerator/files/autoload-3.0.3.php [new file with mode: 0644]
dev-php/sebastian-object-enumerator/sebastian-object-enumerator-3.0.3.ebuild [new file with mode: 0644]

index 3b46a206a5604bce41bc327a2bf61b5afe84dddf..ae6ac094869f824d53c250656617121430a7c583 100644 (file)
@@ -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 (file)
index 0000000..07afae8
--- /dev/null
@@ -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 (file)
index 0000000..ec2f666
--- /dev/null
@@ -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
+}