commit: 3361d878f1cefb3f8d31e5f8e20ccf62619117fc
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 9 15:16:19 2017 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Mar 9 16:21:11 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3361d878
dev-php/sebastian-resource-operations: New package for an unbundled phpunit
Package-Manager: Portage-2.3.4, Repoman-2.3.2
dev-php/sebastian-resource-operations/Manifest | 1 +
.../files/autoload.php | 13 +++++++++++
dev-php/sebastian-resource-operations/metadata.xml | 8 +++++++
.../sebastian-resource-operations-1.0.0.ebuild | 27 ++++++++++++++++++++++
4 files changed, 49 insertions(+)
diff --git a/dev-php/sebastian-resource-operations/Manifest
b/dev-php/sebastian-resource-operations/Manifest
new file mode 100644
index 00000000000..c3227a48c4a
--- /dev/null
+++ b/dev-php/sebastian-resource-operations/Manifest
@@ -0,0 +1 @@
+DIST sebastian-resource-operations-1.0.0.tar.gz 6449 SHA256
d6b237f1fe1f6bc45450e03cdacfbd276bf3b7aba832bfea3c2e8507e47ed4a7 SHA512
d11d06c9b8b4a1507238443588f34a85836fcd65d2afdb9bcf3cecfe352cba46c9349988550e901c301db8a21f19cc960a8164653ac66e57661cebddf52ad906
WHIRLPOOL
a51c04775f92511440015f4c37fe335247d9812721ad43132e178f4923a9f6a43d11a9fdda77455e0e9e513b4580c643a3b231daeddc375401d7d6fdf942d823
diff --git a/dev-php/sebastian-resource-operations/files/autoload.php
b/dev-php/sebastian-resource-operations/files/autoload.php
new file mode 100644
index 00000000000..f7b9a4d6f68
--- /dev/null
+++ b/dev-php/sebastian-resource-operations/files/autoload.php
@@ -0,0 +1,13 @@
+<?php
+/* Autoloader for dev-php/sebastian-resource-operations */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addClassMap(
+ array(
+ 'sebastianbergmann\resourceoperations\resourceoperations' =>
'/ResourceOperations.php',
+ ),
+ __DIR__
+);
diff --git a/dev-php/sebastian-resource-operations/metadata.xml
b/dev-php/sebastian-resource-operations/metadata.xml
new file mode 100644
index 00000000000..b86acf66c75
--- /dev/null
+++ b/dev-php/sebastian-resource-operations/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ <name>PHP</name>
+ </maintainer>
+</pkgmetadata>
diff --git
a/dev-php/sebastian-resource-operations/sebastian-resource-operations-1.0.0.ebuild
b/dev-php/sebastian-resource-operations/sebastian-resource-operations-1.0.0.ebuild
new file mode 100644
index 00000000000..9c70fe7addb
--- /dev/null
+++
b/dev-php/sebastian-resource-operations/sebastian-resource-operations-1.0.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN/sebastian-//}"
+
+DESCRIPTION="Provides a list of PHP built-in functions that operate on
resources"
+HOMEPAGE="http://phpunit.de"
+SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+RDEPEND="dev-php/fedora-autoloader
+ >=dev-lang/php-5.6:*
+ "
+
+src_install() {
+ insinto /usr/share/php/SebastianBergmann/ResourceOperations
+ doins -r src/*
+ doins "${FILESDIR}/autoload.php"
+}