diff options
author | Brian Evans <grknight@gentoo.org> | 2019-12-20 12:47:49 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2019-12-20 13:34:22 -0500 |
commit | abfae1066d70ad1df2da54babaf6b31be21a5181 (patch) | |
tree | f788a3d819086a9b03bbdff47d6cf51439527435 /dev-php | |
parent | dev-php/phpunit: Version bump for 8.5.0 (diff) | |
download | gentoo-abfae1066d70ad1df2da54babaf6b31be21a5181.tar.gz gentoo-abfae1066d70ad1df2da54babaf6b31be21a5181.tar.bz2 gentoo-abfae1066d70ad1df2da54babaf6b31be21a5181.zip |
dev-php/phpspec-prophecy: Version bump for 1.10.0
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/phpspec-prophecy/Manifest | 1 | ||||
-rw-r--r-- | dev-php/phpspec-prophecy/files/autoload-1.10.0.php | 15 | ||||
-rw-r--r-- | dev-php/phpspec-prophecy/phpspec-prophecy-1.10.0.ebuild | 31 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-php/phpspec-prophecy/Manifest b/dev-php/phpspec-prophecy/Manifest index 75ca418ed54b..0e7506955c25 100644 --- a/dev-php/phpspec-prophecy/Manifest +++ b/dev-php/phpspec-prophecy/Manifest @@ -1,3 +1,4 @@ +DIST phpspec-prophecy-1.10.0.tar.gz 38663 BLAKE2B 44a292eb24cbef36217c108cc09497847b27e249fa3894bdd6846e7547aab7a514396deb9918f7b1ddfe4e71142beb266914669c1d3ce151dfac2aafe7be214b SHA512 f2f871dfe6db2b405ef57b859f82b7540c233ce3056601aee3a09394416a625445e4b94db50cef240a5b0da0fc972fb8b8ca3216750b6a658f09817a60da21b1 DIST phpspec-prophecy-1.7.0.tar.gz 60338 BLAKE2B 8171120d8407f2e554150d5e3ea1972c54d4e2ce0e6698763f0b3c7e1645340ce22404da7844fed8412579c46f372852b4553c6d8a65c8094ef3065b0dbbd80c SHA512 e8efb3882d869f10fe39dff7c2185e1ec6f044c794fd6a5785e1c1c69c71b91dc3997f61bd2566d3243dde0becce568beba9a18fa0fd152e6ce74ca43a9a0fb0 DIST phpspec-prophecy-1.8.0.tar.gz 37907 BLAKE2B 4bdd55d7fc14604c9fade23c60bf51f4c03accc182d7c5ad445dc6212a1e41b1bf392fe8f4a29768ecfcb2af479c0db3e29d5787d12e1f3222b032ba7e64dbc8 SHA512 992673f7cd148cf0b8752bbad614bbe34175a761cd4bf8849625794b505342d1bd918212a0f1463d94513f9e805d3dd127ba129d6622bcda29ea2b5c57a5582f DIST phpspec-prophecy-1.9.0.tar.gz 38262 BLAKE2B 1642d38afa368be504da73c0bcf34921fe167dff5665651af23142f33979a35d8d10112e3d1c5b1b38448b92b4741ebda2c183dca10473dce833090a603f95f6 SHA512 d0ba1840ca84cf4b0642083858326c593086f35ba3a6d83746956efbe5d538910efc01655eaa14b4e2b7e17e7bd19cd2494cdfad0dd5bdfb43cdee2402a55b05 diff --git a/dev-php/phpspec-prophecy/files/autoload-1.10.0.php b/dev-php/phpspec-prophecy/files/autoload-1.10.0.php new file mode 100644 index 000000000000..fbc88617da61 --- /dev/null +++ b/dev-php/phpspec-prophecy/files/autoload-1.10.0.php @@ -0,0 +1,15 @@ +<?php +/* Autoloader for dev-php/phpspec-prophecy */ + +if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { + require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; +} + +Fedora\Autoloader\Autoload::addPsr4('Prophecy\\', __DIR__); + +\Fedora\Autoloader\Dependencies::required(array( + '/usr/share/php/phpDocumentor/ReflectionDocBlock/autoload.php', + '/usr/share/php/SebastianBergmann/Comparator/autoload.php', + '/usr/share/php/Doctrine/Instantiator/autoload.php', + '/usr/share/php/SebastianBergmann/RecursionContext/autoload.php', +)); diff --git a/dev-php/phpspec-prophecy/phpspec-prophecy-1.10.0.ebuild b/dev-php/phpspec-prophecy/phpspec-prophecy-1.10.0.ebuild new file mode 100644 index 000000000000..77a6e0f02b05 --- /dev/null +++ b/dev-php/phpspec-prophecy/phpspec-prophecy-1.10.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PN="prophecy" +MY_VENDOR="phpspec" + +DESCRIPTION="Highly opinionated mocking framework" +HOMEPAGE="https://github.com/phpspec/prophecy" +SRC_URI="https://github.com/${MY_VENDOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +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-php/doctrine-instantiator-2 + <dev-php/phpdocumentor-reflection-docblock-6 + <dev-php/sebastian-comparator-4 + <dev-php/sebastian-recursion-context-4 + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/${MY_VENDOR}/Prophecy + doins -r src/Prophecy/* + newins "${FILESDIR}/autoload-1.10.0.php" autoload.php +} |