1 |
commit: 3361d878f1cefb3f8d31e5f8e20ccf62619117fc |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 9 15:16:19 2017 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 9 16:21:11 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3361d878 |
7 |
|
8 |
dev-php/sebastian-resource-operations: New package for an unbundled phpunit |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
|
12 |
dev-php/sebastian-resource-operations/Manifest | 1 + |
13 |
.../files/autoload.php | 13 +++++++++++ |
14 |
dev-php/sebastian-resource-operations/metadata.xml | 8 +++++++ |
15 |
.../sebastian-resource-operations-1.0.0.ebuild | 27 ++++++++++++++++++++++ |
16 |
4 files changed, 49 insertions(+) |
17 |
|
18 |
diff --git a/dev-php/sebastian-resource-operations/Manifest b/dev-php/sebastian-resource-operations/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..c3227a48c4a |
21 |
--- /dev/null |
22 |
+++ b/dev-php/sebastian-resource-operations/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST sebastian-resource-operations-1.0.0.tar.gz 6449 SHA256 d6b237f1fe1f6bc45450e03cdacfbd276bf3b7aba832bfea3c2e8507e47ed4a7 SHA512 d11d06c9b8b4a1507238443588f34a85836fcd65d2afdb9bcf3cecfe352cba46c9349988550e901c301db8a21f19cc960a8164653ac66e57661cebddf52ad906 WHIRLPOOL a51c04775f92511440015f4c37fe335247d9812721ad43132e178f4923a9f6a43d11a9fdda77455e0e9e513b4580c643a3b231daeddc375401d7d6fdf942d823 |
25 |
|
26 |
diff --git a/dev-php/sebastian-resource-operations/files/autoload.php b/dev-php/sebastian-resource-operations/files/autoload.php |
27 |
new file mode 100644 |
28 |
index 00000000000..f7b9a4d6f68 |
29 |
--- /dev/null |
30 |
+++ b/dev-php/sebastian-resource-operations/files/autoload.php |
31 |
@@ -0,0 +1,13 @@ |
32 |
+<?php |
33 |
+/* Autoloader for dev-php/sebastian-resource-operations */ |
34 |
+ |
35 |
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { |
36 |
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; |
37 |
+} |
38 |
+ |
39 |
+\Fedora\Autoloader\Autoload::addClassMap( |
40 |
+ array( |
41 |
+ 'sebastianbergmann\resourceoperations\resourceoperations' => '/ResourceOperations.php', |
42 |
+ ), |
43 |
+ __DIR__ |
44 |
+); |
45 |
|
46 |
diff --git a/dev-php/sebastian-resource-operations/metadata.xml b/dev-php/sebastian-resource-operations/metadata.xml |
47 |
new file mode 100644 |
48 |
index 00000000000..b86acf66c75 |
49 |
--- /dev/null |
50 |
+++ b/dev-php/sebastian-resource-operations/metadata.xml |
51 |
@@ -0,0 +1,8 @@ |
52 |
+<?xml version="1.0" encoding="UTF-8"?> |
53 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
54 |
+<pkgmetadata> |
55 |
+ <maintainer type="project"> |
56 |
+ <email>php-bugs@g.o</email> |
57 |
+ <name>PHP</name> |
58 |
+ </maintainer> |
59 |
+</pkgmetadata> |
60 |
|
61 |
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 |
62 |
new file mode 100644 |
63 |
index 00000000000..9c70fe7addb |
64 |
--- /dev/null |
65 |
+++ b/dev-php/sebastian-resource-operations/sebastian-resource-operations-1.0.0.ebuild |
66 |
@@ -0,0 +1,27 @@ |
67 |
+# Copyright 1999-2017 Gentoo Foundation |
68 |
+# Distributed under the terms of the GNU General Public License v2 |
69 |
+ |
70 |
+EAPI=6 |
71 |
+ |
72 |
+MY_PN="${PN/sebastian-//}" |
73 |
+ |
74 |
+DESCRIPTION="Provides a list of PHP built-in functions that operate on resources" |
75 |
+HOMEPAGE="http://phpunit.de" |
76 |
+SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
77 |
+ |
78 |
+LICENSE="BSD" |
79 |
+SLOT="0" |
80 |
+KEYWORDS="~amd64 ~x86" |
81 |
+IUSE="" |
82 |
+ |
83 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
84 |
+ |
85 |
+RDEPEND="dev-php/fedora-autoloader |
86 |
+ >=dev-lang/php-5.6:* |
87 |
+ " |
88 |
+ |
89 |
+src_install() { |
90 |
+ insinto /usr/share/php/SebastianBergmann/ResourceOperations |
91 |
+ doins -r src/* |
92 |
+ doins "${FILESDIR}/autoload.php" |
93 |
+} |