summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-03-09 10:14:06 -0500
committerBrian Evans <grknight@gentoo.org>2017-03-09 11:21:01 -0500
commit06c5bda11ec423d9c52a4792a89ffaaffb2952c0 (patch)
tree3f9753ea34a044c7fc250e0cae89459de99021a5 /dev-php/webmozart-assert/webmozart-assert-1.2.0.ebuild
parentapp-portage/repoman: add ~x64-cygwin keyword (diff)
downloadgentoo-06c5bda11ec423d9c52a4792a89ffaaffb2952c0.tar.gz
gentoo-06c5bda11ec423d9c52a4792a89ffaaffb2952c0.tar.bz2
gentoo-06c5bda11ec423d9c52a4792a89ffaaffb2952c0.zip
dev-php/webmozart-assert: New package for an unbundled phpunit
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'dev-php/webmozart-assert/webmozart-assert-1.2.0.ebuild')
-rw-r--r--dev-php/webmozart-assert/webmozart-assert-1.2.0.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-php/webmozart-assert/webmozart-assert-1.2.0.ebuild b/dev-php/webmozart-assert/webmozart-assert-1.2.0.ebuild
new file mode 100644
index 000000000000..ae442678e210
--- /dev/null
+++ b/dev-php/webmozart-assert/webmozart-assert-1.2.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/webmozart-//}"
+
+DESCRIPTION="Assertions to validate method input/output with nice error messages"
+HOMEPAGE="https://github.com/webmozart/assert"
+SRC_URI="https://github.com/webmozart/${MY_PN}/archive/${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-lang/php-5.6:*"
+
+src_install() {
+ insinto /usr/share/php/Webmozart/Assert
+ doins -r src/*
+ doins "${FILESDIR}/autoload.php"
+}