summaryrefslogtreecommitdiff
path: root/dev-php/sebastian-recursion-context
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/sebastian-recursion-context')
-rw-r--r--dev-php/sebastian-recursion-context/Manifest4
-rw-r--r--dev-php/sebastian-recursion-context/files/autoload.php15
-rw-r--r--dev-php/sebastian-recursion-context/metadata.xml11
-rw-r--r--dev-php/sebastian-recursion-context/sebastian-recursion-context-2.0.0.ebuild26
4 files changed, 56 insertions, 0 deletions
diff --git a/dev-php/sebastian-recursion-context/Manifest b/dev-php/sebastian-recursion-context/Manifest
new file mode 100644
index 000000000000..358939ee9d75
--- /dev/null
+++ b/dev-php/sebastian-recursion-context/Manifest
@@ -0,0 +1,4 @@
+AUX autoload.php 492 SHA256 a3d0263a676d6ea7d0f2937da27e7cca090bd7dbb9974d1fc1168707a607d4cc SHA512 6850fe9b76c5055d42cb8fd21496082b626c113fccbaa9048c7fc07c4853c610f91f83665df441964175265ab2df7244e7ae67c7ed5664ed2850886b973fcf97 WHIRLPOOL 6c77f70f859cfafab98f20e203c9f3c09a6faa8242dcfb57391db6e104f72ee52050b88ce3350a1ea0dea2ee44d35f6c917acde69b7eae3f4be4afb401413b7e
+DIST sebastian-recursion-context-2.0.0.tar.gz 4526 SHA256 4e3344e2f3b76ea9cf1cfad9c3bd69c0513d9b25bd2030e8d8c578a924642a97 SHA512 9d25d148decc81f5a21d7a4e1f966563bf6ec765fcc1b1ce779668b74dfa39959db07cf296e9cffcbcb3943c8911709bb73f22c5bfcc81c5d2fcbb51967cf75e WHIRLPOOL 05edbc06187307de51bcd88bc0177c7ee5cb443f426d5154d1bce7d33948fc8092aec765e9cfd67a9471a254402dbb269ebbfb3655c6721e5873150b29208924
+EBUILD sebastian-recursion-context-2.0.0.ebuild 639 SHA256 603508323da32a7e3be1d6d3a26abd96b638d90d014188867abafab7fb6d07cd SHA512 8b64b8743fb1086aedf4f9a28c347fc456c586a75f4f69bdc14ab14583fa962dc95ed223984191e0193a5f98a172b9b34caba4ca68362271f60578b090428318 WHIRLPOOL 33c070b63a3d20078209c32160702fd49baa600ba0342ddae8b99a8b0aa8847580d3a669a7b4005f35695c9d39124933b2fdf4faf8ebdc3d56b965bc99ccb52d
+MISC metadata.xml 322 SHA256 34e3655863b8130010ccea2323cb797d39a5b3bba3b7f0085adfa3ef0348f339 SHA512 e345c6459f1c0f795081e2874aa4a4023998d0a0f6b28462468ef89c7cfaf38366671a68d05516e6d0f3e03b0cdfcbe849c1e224f7b1e3a723232c7db32281b6 WHIRLPOOL 2b1ff345241d6b0452f1347fc9eeade46f76894faf411ee1d027ce252ef4ba99ca3042b8903ed1bd45b911e829fc170ee36948d21c837f0f2411198b93bf36aa
diff --git a/dev-php/sebastian-recursion-context/files/autoload.php b/dev-php/sebastian-recursion-context/files/autoload.php
new file mode 100644
index 000000000000..5f7e83143612
--- /dev/null
+++ b/dev-php/sebastian-recursion-context/files/autoload.php
@@ -0,0 +1,15 @@
+<?php
+/* Autoloader for dev-php/sebastian-recursion-context */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addClassMap(
+ array(
+ 'sebastianbergmann\recursioncontext\context' => '/Context.php',
+ 'sebastianbergmann\recursioncontext\exception' => '/Exception.php',
+ 'sebastianbergmann\recursioncontext\invalidargumentexception' => '/InvalidArgumentException.php',
+ ),
+ __DIR__
+);
diff --git a/dev-php/sebastian-recursion-context/metadata.xml b/dev-php/sebastian-recursion-context/metadata.xml
new file mode 100644
index 000000000000..f5ad6af5af2e
--- /dev/null
+++ b/dev-php/sebastian-recursion-context/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>php-bugs@gentoo.org</email>
+ <name>PHP</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">sebastianbergmann/</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-php/sebastian-recursion-context/sebastian-recursion-context-2.0.0.ebuild b/dev-php/sebastian-recursion-context/sebastian-recursion-context-2.0.0.ebuild
new file mode 100644
index 000000000000..e99fb14efd97
--- /dev/null
+++ b/dev-php/sebastian-recursion-context/sebastian-recursion-context-2.0.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN/sebastian-//}"
+
+DESCRIPTION="Recursively process PHP variables"
+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-5.6:*"
+
+src_install() {
+ insinto /usr/share/php/SebastianBergmann/RecursionContext
+ doins -r src/*
+ doins "${FILESDIR}/autoload.php"
+}