dev-php/sebastian-global-state: New package for an unbundled phpunit

Package-Manager: Portage-2.3.4, Repoman-2.3.2
This commit is contained in:
Brian Evans 2017-03-09 10:21:25 -05:00
parent c2eb2b6bf3
commit f055eeabd8
No known key found for this signature in database
GPG Key ID: D1F781EFF9F4A3B6
4 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST sebastian-global-state-1.1.1.tar.gz 7659 SHA256 da19e3b3f65b20bc70a6a822ec432a4be70af96142e9dc7e1fa4d699cb3c5a4d SHA512 dec6387183ea6cf869b1302e641a9d85b6dd69ebf299354825ab2f8a06a82609f8e3a2bdeea6924b5520f813af7493fc8e957c3f9876dcaa302066770997186c WHIRLPOOL 72da8a3ce30c81d784b73f8406a65000a2461bebc82f6a36543be6ceac6e7989f5ff716d9b10ab5b21602f53fc35bf656a2374e457fd266db14a705146b20c59

View File

@ -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__
);

View File

@ -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>php-bugs@gentoo.org</email>
<name>PHP</name>
</maintainer>
</pkgmetadata>

View File

@ -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="~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/GlobalState
doins -r src/*
doins "${FILESDIR}/autoload.php"
}