summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-03-19 22:51:19 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-03-19 22:54:53 +0100
commitbb57567892fe845f6a49b4af743c7322458a9176 (patch)
tree12760d76b883b684f0165b131fa6cadac2bb767b /dev-php/symfony-finder
parentdev-php/symfony-filesystem: bump to v3.4.36 (diff)
downloadgentoo-bb57567892fe845f6a49b4af743c7322458a9176.tar.gz
gentoo-bb57567892fe845f6a49b4af743c7322458a9176.tar.bz2
gentoo-bb57567892fe845f6a49b4af743c7322458a9176.zip
dev-php/symfony-finder: bump to v3.4.38
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
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.4.38.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-php/symfony-finder/Manifest b/dev-php/symfony-finder/Manifest
index 77527123b73b..ea7b76dad6bb 100644
--- a/dev-php/symfony-finder/Manifest
+++ b/dev-php/symfony-finder/Manifest
@@ -1,2 +1,3 @@
DIST symfony-finder-3.2.8.tar.gz 24452 BLAKE2B eed88ea672381fa3a0fef9390109fa7b89b8de87f4e0174fcb24c009044818b7c56846eec0b3240eed1c05fe7d682713fdd41c84e5d766cc2632e5576b38b741 SHA512 7eff457c6c70bf58b4af7e9adbeeb68a1ad684b95510d929f137545be6b755ece37949687f4de27c7fb4d5f208e30c6b0b3a32a804f7a6a6b8ed0d4ed7dfd9cd
DIST symfony-finder-3.4.28.tar.gz 25618 BLAKE2B 592a10a5e8d7f1782242d79bc11ebfde6d528025a65bb18d5c36b238c418a3df10e637a285d0859bb79ab152aafdad5d61d32396efed6f6fe0e800aff03fae69 SHA512 5b1754e47eb484fddfb1d29f181efaabb371e62c2afe5c7c1d0552ac82de81aff0fbc6594498b859b64cd34cf35e57cf29110d59e5f376263f1b136a4d184b69
+DIST symfony-finder-3.4.38.tar.gz 25631 BLAKE2B e15224294373f35222ba5af10598339714892d637e7ee6e52ad6e0fd22802c3ea7fd9eda2e172ff0f73a3788afc640ff8093440ab71f1182d13783f96d5b70df SHA512 60987869275547b097ce8492164a443f4535d41d8b4453da3aadf96af536dd1ed6148fbb7100959e5ca7f560b2333359c9256e5d76a71e98aa6e3ccd808df051
diff --git a/dev-php/symfony-finder/symfony-finder-3.4.38.ebuild b/dev-php/symfony-finder/symfony-finder-3.4.38.ebuild
new file mode 100644
index 000000000000..cf2ac3ad9a12
--- /dev/null
+++ b/dev-php/symfony-finder/symfony-finder-3.4.38.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Symfony Finder Component"
+HOMEPAGE="https://github.com/symfony/finder"
+SRC_URI="https://github.com/symfony/finder/archive/v${PV}.tar.gz -> symfony-finder-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-lang/php:*
+ dev-php/fedora-autoloader"
+DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-5.7.15 )"
+
+S="${WORKDIR}/finder-${PV}"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.4.28-skip-file-time-sort-tests.patch )
+
+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
+ doins *.php "${FILESDIR}"/autoload.php
+ dodoc CHANGELOG.md README.md
+}
+
+src_test() {
+ phpunit --bootstrap "${S}/autoload-test.php" || die 'test suite failed'
+}