summaryrefslogtreecommitdiff
path: root/dev-php/sebastian-global-state
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-php/sebastian-global-state
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-php/sebastian-global-state')
-rw-r--r--dev-php/sebastian-global-state/Manifest4
-rw-r--r--dev-php/sebastian-global-state/files/autoload.php18
-rw-r--r--dev-php/sebastian-global-state/metadata.xml11
-rw-r--r--dev-php/sebastian-global-state/sebastian-global-state-1.1.1.ebuild26
4 files changed, 59 insertions, 0 deletions
diff --git a/dev-php/sebastian-global-state/Manifest b/dev-php/sebastian-global-state/Manifest
new file mode 100644
index 000000000000..29f70118490d
--- /dev/null
+++ b/dev-php/sebastian-global-state/Manifest
@@ -0,0 +1,4 @@
+AUX autoload.php 657 BLAKE2B 239a7bcc4ac117a513f807d8c3266c4951e4b3bf86a6c2625c2ab480905a99b5e9175238b8d8bec080228f7f7c734eefe5325fc147dfadb73a988aaa7ac3fcf1 SHA512 26f6a18f580a3080c80ef6abe8598fa589ade4343152fffcf3e967a208ec1e28b3231f241402cb6f8e22b8f6c1d248f0d999186846d5ced069a624571133f7f5
+DIST sebastian-global-state-1.1.1.tar.gz 7659 BLAKE2B 9793e68f226901cb2d67e3d4ac03cc41323485a1b7d819dfe0a4cd9c00b19eb79ebf539a8705545a4c132ef8a2a286edc804016cb76400256008ecd298f2f3c5 SHA512 dec6387183ea6cf869b1302e641a9d85b6dd69ebf299354825ab2f8a06a82609f8e3a2bdeea6924b5520f813af7493fc8e957c3f9876dcaa302066770997186c
+EBUILD sebastian-global-state-1.1.1.ebuild 620 BLAKE2B e0798061025f0d8742caed1bba52da58ac237bcc22789d260ac83c1907aa7cbefbdf0167e46987e91fe7a07bd6d4a4dbc8e589d7fb74ccb9fd93e10cbb252164 SHA512 35c80599c591cea3dc57a1224679efd32564066b607b20a51bd02c3c96e8f3c23aaef5b148ad33eb988fbced375c05e5c3eec4ee58d4b63357383bc925e455b9
+MISC metadata.xml 322 BLAKE2B b031a3917e07e8c98b19228e012a05a46e4ad57b59e394efc345092541c652f2df5f2fe4fe35be69eb9c62f64bf55f0a12636ff9cafa2f510d06b86916f869cb SHA512 e345c6459f1c0f795081e2874aa4a4023998d0a0f6b28462468ef89c7cfaf38366671a68d05516e6d0f3e03b0cdfcbe849c1e224f7b1e3a723232c7db32281b6
diff --git a/dev-php/sebastian-global-state/files/autoload.php b/dev-php/sebastian-global-state/files/autoload.php
new file mode 100644
index 000000000000..e7c855e9b3f3
--- /dev/null
+++ b/dev-php/sebastian-global-state/files/autoload.php
@@ -0,0 +1,18 @@
+<?php
+/* Autoloader for dev-php/sebastian-global-state */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addClassMap(
+ array(
+ 'sebastianbergmann\globalstate\blacklist' => '/Blacklist.php',
+ 'sebastianbergmann\globalstate\codeexporter' => '/CodeExporter.php',
+ 'sebastianbergmann\globalstate\exception' => '/Exception.php',
+ 'sebastianbergmann\globalstate\restorer' => '/Restorer.php',
+ 'sebastianbergmann\globalstate\runtimeexception' => '/RuntimeException.php',
+ 'sebastianbergmann\globalstate\snapshot' => '/Snapshot.php',
+ ),
+ __DIR__
+);
diff --git a/dev-php/sebastian-global-state/metadata.xml b/dev-php/sebastian-global-state/metadata.xml
new file mode 100644
index 000000000000..f5ad6af5af2e
--- /dev/null
+++ b/dev-php/sebastian-global-state/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-global-state/sebastian-global-state-1.1.1.ebuild b/dev-php/sebastian-global-state/sebastian-global-state-1.1.1.ebuild
new file mode 100644
index 000000000000..857b100c116c
--- /dev/null
+++ b/dev-php/sebastian-global-state/sebastian-global-state-1.1.1.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="Snapshotting of global state"
+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/GlobalState
+ doins -r src/*
+ doins "${FILESDIR}/autoload.php"
+}