From 5054d7f897bd63777534e22424e6ab96e4d734f3 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Thu, 9 Mar 2017 10:24:15 -0500 Subject: dev-php/sebastian-environment: New package for an unbundled phpunit Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- dev-php/sebastian-environment/Manifest | 1 + dev-php/sebastian-environment/files/autoload.php | 14 ++++++++++++ dev-php/sebastian-environment/metadata.xml | 8 +++++++ .../sebastian-environment-2.0.0.ebuild | 26 ++++++++++++++++++++++ 4 files changed, 49 insertions(+) create mode 100644 dev-php/sebastian-environment/Manifest create mode 100644 dev-php/sebastian-environment/files/autoload.php create mode 100644 dev-php/sebastian-environment/metadata.xml create mode 100644 dev-php/sebastian-environment/sebastian-environment-2.0.0.ebuild (limited to 'dev-php/sebastian-environment') diff --git a/dev-php/sebastian-environment/Manifest b/dev-php/sebastian-environment/Manifest new file mode 100644 index 000000000000..37b657d42705 --- /dev/null +++ b/dev-php/sebastian-environment/Manifest @@ -0,0 +1 @@ +DIST sebastian-environment-2.0.0.tar.gz 5607 SHA256 0462a65d901c97056b1ebaadcfebc4b2756c17b7e3fb8504030e49f6cb9a6f00 SHA512 cf91f0a5f057007f318c5d6b11f8a1345b8df35d513c6291c5b725f0874ed301a64d1097c3fac1e6b32533caa96b3f78ac415d99b9b6ef63dc4a303b90d49c88 WHIRLPOOL e7571a56fe7a4e7e5f16027e620a668a3c7e545b8b2374516fe7eb66d0b4bbc829e46ec650ecf85230073e7910e83a382ee102c27fe8f458d0f6e33373f3a155 diff --git a/dev-php/sebastian-environment/files/autoload.php b/dev-php/sebastian-environment/files/autoload.php new file mode 100644 index 000000000000..3abd16ee357b --- /dev/null +++ b/dev-php/sebastian-environment/files/autoload.php @@ -0,0 +1,14 @@ + '/Console.php', + 'sebastianbergmann\environment\runtime' => '/Runtime.php', + ), + __DIR__ +); diff --git a/dev-php/sebastian-environment/metadata.xml b/dev-php/sebastian-environment/metadata.xml new file mode 100644 index 000000000000..b86acf66c756 --- /dev/null +++ b/dev-php/sebastian-environment/metadata.xml @@ -0,0 +1,8 @@ + + + + + php-bugs@gentoo.org + PHP + + diff --git a/dev-php/sebastian-environment/sebastian-environment-2.0.0.ebuild b/dev-php/sebastian-environment/sebastian-environment-2.0.0.ebuild new file mode 100644 index 000000000000..4b0b8b214a7f --- /dev/null +++ b/dev-php/sebastian-environment/sebastian-environment-2.0.0.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="Helps writing PHP code that has runtime-specific execution paths" +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/Environment + doins -r src/* + doins "${FILESDIR}/autoload.php" +} -- cgit v1.2.3-65-gdbad