1 |
commit: f055eeabd8f0dfebc45b4b116195f59c8ff23660 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 9 15:21:25 2017 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 9 16:21:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f055eeab |
7 |
|
8 |
dev-php/sebastian-global-state: New package for an unbundled phpunit |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
|
12 |
dev-php/sebastian-global-state/Manifest | 1 + |
13 |
dev-php/sebastian-global-state/files/autoload.php | 18 +++++++++++++++ |
14 |
dev-php/sebastian-global-state/metadata.xml | 8 +++++++ |
15 |
.../sebastian-global-state-1.1.1.ebuild | 26 ++++++++++++++++++++++ |
16 |
4 files changed, 53 insertions(+) |
17 |
|
18 |
diff --git a/dev-php/sebastian-global-state/Manifest b/dev-php/sebastian-global-state/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..52c5af670eb |
21 |
--- /dev/null |
22 |
+++ b/dev-php/sebastian-global-state/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST sebastian-global-state-1.1.1.tar.gz 7659 SHA256 da19e3b3f65b20bc70a6a822ec432a4be70af96142e9dc7e1fa4d699cb3c5a4d SHA512 dec6387183ea6cf869b1302e641a9d85b6dd69ebf299354825ab2f8a06a82609f8e3a2bdeea6924b5520f813af7493fc8e957c3f9876dcaa302066770997186c WHIRLPOOL 72da8a3ce30c81d784b73f8406a65000a2461bebc82f6a36543be6ceac6e7989f5ff716d9b10ab5b21602f53fc35bf656a2374e457fd266db14a705146b20c59 |
25 |
|
26 |
diff --git a/dev-php/sebastian-global-state/files/autoload.php b/dev-php/sebastian-global-state/files/autoload.php |
27 |
new file mode 100644 |
28 |
index 00000000000..e7c855e9b3f |
29 |
--- /dev/null |
30 |
+++ b/dev-php/sebastian-global-state/files/autoload.php |
31 |
@@ -0,0 +1,18 @@ |
32 |
+<?php |
33 |
+/* Autoloader for dev-php/sebastian-global-state */ |
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\globalstate\blacklist' => '/Blacklist.php', |
42 |
+ 'sebastianbergmann\globalstate\codeexporter' => '/CodeExporter.php', |
43 |
+ 'sebastianbergmann\globalstate\exception' => '/Exception.php', |
44 |
+ 'sebastianbergmann\globalstate\restorer' => '/Restorer.php', |
45 |
+ 'sebastianbergmann\globalstate\runtimeexception' => '/RuntimeException.php', |
46 |
+ 'sebastianbergmann\globalstate\snapshot' => '/Snapshot.php', |
47 |
+ ), |
48 |
+ __DIR__ |
49 |
+); |
50 |
|
51 |
diff --git a/dev-php/sebastian-global-state/metadata.xml b/dev-php/sebastian-global-state/metadata.xml |
52 |
new file mode 100644 |
53 |
index 00000000000..b86acf66c75 |
54 |
--- /dev/null |
55 |
+++ b/dev-php/sebastian-global-state/metadata.xml |
56 |
@@ -0,0 +1,8 @@ |
57 |
+<?xml version="1.0" encoding="UTF-8"?> |
58 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
59 |
+<pkgmetadata> |
60 |
+ <maintainer type="project"> |
61 |
+ <email>php-bugs@g.o</email> |
62 |
+ <name>PHP</name> |
63 |
+ </maintainer> |
64 |
+</pkgmetadata> |
65 |
|
66 |
diff --git a/dev-php/sebastian-global-state/sebastian-global-state-1.1.1.ebuild b/dev-php/sebastian-global-state/sebastian-global-state-1.1.1.ebuild |
67 |
new file mode 100644 |
68 |
index 00000000000..ecece9b03b2 |
69 |
--- /dev/null |
70 |
+++ b/dev-php/sebastian-global-state/sebastian-global-state-1.1.1.ebuild |
71 |
@@ -0,0 +1,26 @@ |
72 |
+# Copyright 1999-2017 Gentoo Foundation |
73 |
+# Distributed under the terms of the GNU General Public License v2 |
74 |
+ |
75 |
+EAPI=6 |
76 |
+ |
77 |
+MY_PN="${PN/sebastian-//}" |
78 |
+ |
79 |
+DESCRIPTION="Snapshotting of global state" |
80 |
+HOMEPAGE="http://phpunit.de" |
81 |
+SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
82 |
+ |
83 |
+LICENSE="BSD" |
84 |
+SLOT="0" |
85 |
+KEYWORDS="~amd64 ~x86" |
86 |
+IUSE="" |
87 |
+ |
88 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
89 |
+ |
90 |
+RDEPEND="dev-php/fedora-autoloader |
91 |
+ >=dev-lang/php-5.6:*" |
92 |
+ |
93 |
+src_install() { |
94 |
+ insinto /usr/share/php/SebastianBergmann/GlobalState |
95 |
+ doins -r src/* |
96 |
+ doins "${FILESDIR}/autoload.php" |
97 |
+} |