* [gentoo-commits] repo/gentoo:master commit in: dev-php/phpspec-prophecy/files/, dev-php/phpspec-prophecy/
@ 2017-03-09 16:23 Brian Evans
0 siblings, 0 replies; 2+ messages in thread
From: Brian Evans @ 2017-03-09 16:23 UTC (permalink / raw
To: gentoo-commits
commit: a7100386fb4ccd88c2fbe9a6df4004596bfcb1fe
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 9 15:41:41 2017 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Mar 9 16:22:26 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7100386
dev-php/phpspec-prophecy: New package for an unbundled phpunit
Package-Manager: Portage-2.3.4, Repoman-2.3.2
dev-php/phpspec-prophecy/Manifest | 1 +
dev-php/phpspec-prophecy/files/autoload.php | 15 +++++++++++
dev-php/phpspec-prophecy/metadata.xml | 8 ++++++
.../phpspec-prophecy/phpspec-prophecy-1.7.0.ebuild | 31 ++++++++++++++++++++++
4 files changed, 55 insertions(+)
diff --git a/dev-php/phpspec-prophecy/Manifest b/dev-php/phpspec-prophecy/Manifest
new file mode 100644
index 00000000000..4c45b19e5b8
--- /dev/null
+++ b/dev-php/phpspec-prophecy/Manifest
@@ -0,0 +1 @@
+DIST phpspec-prophecy-1.7.0.tar.gz 60338 SHA256 7825f7b942fc9887fa0311ab84fcca3ddb6b99ab8405995a3783e00165944c20 SHA512 e8efb3882d869f10fe39dff7c2185e1ec6f044c794fd6a5785e1c1c69c71b91dc3997f61bd2566d3243dde0becce568beba9a18fa0fd152e6ce74ca43a9a0fb0 WHIRLPOOL bb540116eaa5f42f7792a0b5df5469973ee1bc99105c0145bc9d6d00f8710c2a468b53400b9650adbb0cca739e75e98e82ba5dc41c2cb5b5df7e4a0911115dd7
diff --git a/dev-php/phpspec-prophecy/files/autoload.php b/dev-php/phpspec-prophecy/files/autoload.php
new file mode 100644
index 00000000000..eb61ccb5eed
--- /dev/null
+++ b/dev-php/phpspec-prophecy/files/autoload.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::addPsr0('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/metadata.xml b/dev-php/phpspec-prophecy/metadata.xml
new file mode 100644
index 00000000000..b86acf66c75
--- /dev/null
+++ b/dev-php/phpspec-prophecy/metadata.xml
@@ -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>
diff --git a/dev-php/phpspec-prophecy/phpspec-prophecy-1.7.0.ebuild b/dev-php/phpspec-prophecy/phpspec-prophecy-1.7.0.ebuild
new file mode 100644
index 00000000000..f6f7abc6d37
--- /dev/null
+++ b/dev-php/phpspec-prophecy/phpspec-prophecy-1.7.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="prophecy"
+MY_VENDOR="phpspec"
+
+DESCRIPTION="Highly opinionated mocking framework"
+HOMEPAGE="https://github.com/${MY_VENDOR}/${MY_PN}"
+SRC_URI="https://github.com/${MY_VENDOR}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+RDEPEND="dev-php/fedora-autoloader
+ <dev-php/doctrine-instantiator-2
+ <dev-php/phpdocumentor-reflection-docblock-4
+ <dev-php/sebastian-comparator-3
+ <dev-php/sebastian-recursion-context-4
+ >=dev-lang/php-5.6:*"
+
+src_install() {
+ insinto /usr/share/php/${MY_VENDOR}/Prophecy
+ doins -r src/Prophecy/*
+ doins "${FILESDIR}/autoload.php"
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/phpspec-prophecy/files/, dev-php/phpspec-prophecy/
@ 2019-12-20 18:34 Brian Evans
0 siblings, 0 replies; 2+ messages in thread
From: Brian Evans @ 2019-12-20 18:34 UTC (permalink / raw
To: gentoo-commits
commit: abfae1066d70ad1df2da54babaf6b31be21a5181
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 20 17:47:49 2019 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Dec 20 18:34:22 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abfae106
dev-php/phpspec-prophecy: Version bump for 1.10.0
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
dev-php/phpspec-prophecy/Manifest | 1 +
dev-php/phpspec-prophecy/files/autoload-1.10.0.php | 15 +++++++++++
.../phpspec-prophecy-1.10.0.ebuild | 31 ++++++++++++++++++++++
3 files changed, 47 insertions(+)
diff --git a/dev-php/phpspec-prophecy/Manifest b/dev-php/phpspec-prophecy/Manifest
index 75ca418ed54..0e7506955c2 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 00000000000..fbc88617da6
--- /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 00000000000..77a6e0f02b0
--- /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
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-20 18:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-09 16:23 [gentoo-commits] repo/gentoo:master commit in: dev-php/phpspec-prophecy/files/, dev-php/phpspec-prophecy/ Brian Evans
-- strict thread matches above, loose matches on Subject: below --
2019-12-20 18:34 Brian Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox