summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seren <guillaumeseren@gmail.com>2017-03-30 17:39:48 +0200
committerMichael Orlitzky <mjo@gentoo.org>2017-04-25 17:51:33 -0400
commitf9d9955091c01b12508dce6506cfa45d96d9434a (patch)
treea8814412bb390d1ea9e4b9f018fcbcc7226b4fb3 /dev-php/symfony-finder
parentpackage.mask: Mask new PyPy release for testing (diff)
downloadgentoo-f9d9955091c01b12508dce6506cfa45d96d9434a.tar.gz
gentoo-f9d9955091c01b12508dce6506cfa45d96d9434a.tar.bz2
gentoo-f9d9955091c01b12508dce6506cfa45d96d9434a.zip
dev-php/symfony-finder: Add version bump 3.2.6
Add version bump 3.2.6 Gentoo-Bug: 613898
Diffstat (limited to 'dev-php/symfony-finder')
-rw-r--r--dev-php/symfony-finder/Manifest1
-rw-r--r--dev-php/symfony-finder/symfony-finder-3.2.6.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-php/symfony-finder/Manifest b/dev-php/symfony-finder/Manifest
index 5c3f4212dab..90e3263ddff 100644
--- a/dev-php/symfony-finder/Manifest
+++ b/dev-php/symfony-finder/Manifest
@@ -1 +1,2 @@
DIST symfony-finder-2.7.20.tar.gz 36139 SHA256 87d98e578e2a594fd3a1e17b43910de336f498489a1e5744c1a1f4bc047e63e0 SHA512 b12f8f5c37e983799875e5aa5ed58a200147edf1f6f3d9fc6b3dc5b0b063dd057a53e0e71342b141b29c3aa934029ea5b67d4c1085e868197ab6e4b55eb7eab5 WHIRLPOOL 2c3083fd50db96282945148dbba33902021effaffdbd9251df050b3e40cd42b69e52ce2ef5131cfbd724ee8f85bdac75149c9e4665dcb27118d3901cb60f0b13
+DIST symfony-finder-3.2.6.tar.gz 24432 SHA256 410e46ac676d532608a8e29885e4066c4108a970f6e03e0ff80155706ac06580 SHA512 ffcff1ff1ae09b7a8a02cade82f97f4e634e24a8d1466d05e1940682be712e9bf58f5df511d650a791d2a564bb1f3fa7fdbcee8f5c5206cda398102b3355546d WHIRLPOOL dd4fa1740d6deb320d334433cfafd3af3b089c3cdc1d62bddf73d20f0e773137ddf86643413ed0e2cf7ba86d04cabfc4a5e1aa08caa4bf7e60e7616191c57aaf
diff --git a/dev-php/symfony-finder/symfony-finder-3.2.6.ebuild b/dev-php/symfony-finder/symfony-finder-3.2.6.ebuild
new file mode 100644
index 00000000000..bac77a1346b
--- /dev/null
+++ b/dev-php/symfony-finder/symfony-finder-3.2.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION=" Symfony Finder Component"
+HOMEPAGE="https://github.com/symfony/finder"
+SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> symfony-finder-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+# 20170204-The test suite is broken in 3.1.10 on php-5.x
+RESTRICT="test"
+
+RDEPEND="
+ dev-lang/php:*
+ dev-php/fedora-autoloader"
+DEPEND="
+ test? (
+ ${RDEPEND}
+ dev-php/phpunit )"
+
+S="${WORKDIR}/finder-${PV}"
+
+src_prepare() {
+ default
+ if use test; then
+ cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die
+ fi
+}
+
+src_install() {
+ insinto "/usr/share/php/Symfony/Component/Finder"
+ doins -r Comparator Exception Iterator Finder.php \
+ Glob.php LICENSE SplFileInfo.php "${FILESDIR}"/autoload.php
+ dodoc README.md
+}
+
+src_test() {
+ phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed"
+}