From 241d8f463c0cf896c480fa4d4babf477cfe232b8 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Fri, 20 Dec 2019 08:58:06 -0500 Subject: dev-php/sebastian-global-state: Version bump for 3.0.0 Signed-off-by: Brian Evans --- dev-php/sebastian-global-state/Manifest | 1 + .../files/autoload-3.0.0.php | 25 ++++++++++++++++++ .../sebastian-global-state-3.0.0.ebuild | 30 ++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 dev-php/sebastian-global-state/files/autoload-3.0.0.php create mode 100644 dev-php/sebastian-global-state/sebastian-global-state-3.0.0.ebuild (limited to 'dev-php') diff --git a/dev-php/sebastian-global-state/Manifest b/dev-php/sebastian-global-state/Manifest index 7bab74a043b7..edc11eb7be53 100644 --- a/dev-php/sebastian-global-state/Manifest +++ b/dev-php/sebastian-global-state/Manifest @@ -1 +1,2 @@ DIST sebastian-global-state-1.1.1.tar.gz 7659 BLAKE2B 9793e68f226901cb2d67e3d4ac03cc41323485a1b7d819dfe0a4cd9c00b19eb79ebf539a8705545a4c132ef8a2a286edc804016cb76400256008ecd298f2f3c5 SHA512 dec6387183ea6cf869b1302e641a9d85b6dd69ebf299354825ab2f8a06a82609f8e3a2bdeea6924b5520f813af7493fc8e957c3f9876dcaa302066770997186c +DIST sebastian-global-state-3.0.0.tar.gz 10550 BLAKE2B 58ad62cce7f94805add12105b3000c54e73624c780fa12970e779538f3ff06f145001c6d19e98e817982b092be992b4e1e55638f727fb3e7bad9d12c242546a5 SHA512 2a081fbf7b26afab0eeaf1933887dea12973c6cde1fe7115fe560d56e81ab69dceb7b3431818c51641778f6526abb0055e2a27420e53b2fe90e3f95ee57b01d0 diff --git a/dev-php/sebastian-global-state/files/autoload-3.0.0.php b/dev-php/sebastian-global-state/files/autoload-3.0.0.php new file mode 100644 index 000000000000..3724c6cbad52 --- /dev/null +++ b/dev-php/sebastian-global-state/files/autoload-3.0.0.php @@ -0,0 +1,25 @@ + '/Blacklist.php', + 'sebastianbergmann\globalstate\codeexporter' => '/CodeExporter.php', + 'sebastianbergmann\globalstate\exception' => '/exceptions/Exception.php', + 'sebastianbergmann\globalstate\restorer' => '/Restorer.php', + 'sebastianbergmann\globalstate\runtimeexception' => '/exceptions/RuntimeException.php', + 'sebastianbergmann\globalstate\snapshot' => '/Snapshot.php', + ], + __DIR__ +); + +// Required dependencies. +\Fedora\Autoloader\Dependencies::required([ + __DIR__."../ObjectReflector/autoload.php", + __DIR__."../RecursionContext/autoload.php", +]); + diff --git a/dev-php/sebastian-global-state/sebastian-global-state-3.0.0.ebuild b/dev-php/sebastian-global-state/sebastian-global-state-3.0.0.ebuild new file mode 100644 index 000000000000..42c9de8f21cc --- /dev/null +++ b/dev-php/sebastian-global-state/sebastian-global-state-3.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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-7.2:* + >=dev-php/sebastian-object-reflector-1.1.1 +