summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seren <guillaumeseren@gmail.com>2016-11-23 19:53:45 +0100
committerMichael Orlitzky <mjo@gentoo.org>2016-12-18 18:16:59 -0500
commit57de338f5b6c377d9b2e3c384e3ea6dcd1185732 (patch)
tree1273f4cb8797bd18323c504768f0389aa2e0d04a
parentdev-php/symfony-filesystem: Add 2.7.20 version (diff)
downloadgentoo-57de338f5b6c377d9b2e3c384e3ea6dcd1185732.tar.gz
gentoo-57de338f5b6c377d9b2e3c384e3ea6dcd1185732.tar.bz2
gentoo-57de338f5b6c377d9b2e3c384e3ea6dcd1185732.zip
dev-php/symfony-finder: Add 2.7.20 version
This is needed for composer-1.2.2, bug 439206. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
-rw-r--r--dev-php/symfony-finder/Manifest1
-rw-r--r--dev-php/symfony-finder/files/autoload.php8
-rw-r--r--dev-php/symfony-finder/metadata.xml16
-rw-r--r--dev-php/symfony-finder/symfony-finder-2.7.20.ebuild25
4 files changed, 50 insertions, 0 deletions
diff --git a/dev-php/symfony-finder/Manifest b/dev-php/symfony-finder/Manifest
new file mode 100644
index 000000000000..5c3f4212dabd
--- /dev/null
+++ b/dev-php/symfony-finder/Manifest
@@ -0,0 +1 @@
+DIST symfony-finder-2.7.20.tar.gz 36139 SHA256 87d98e578e2a594fd3a1e17b43910de336f498489a1e5744c1a1f4bc047e63e0 SHA512 b12f8f5c37e983799875e5aa5ed58a200147edf1f6f3d9fc6b3dc5b0b063dd057a53e0e71342b141b29c3aa934029ea5b67d4c1085e868197ab6e4b55eb7eab5 WHIRLPOOL 2c3083fd50db96282945148dbba33902021effaffdbd9251df050b3e40cd42b69e52ce2ef5131cfbd724ee8f85bdac75149c9e4665dcb27118d3901cb60f0b13
diff --git a/dev-php/symfony-finder/files/autoload.php b/dev-php/symfony-finder/files/autoload.php
new file mode 100644
index 000000000000..f08b7856a720
--- /dev/null
+++ b/dev-php/symfony-finder/files/autoload.php
@@ -0,0 +1,8 @@
+<?php
+/* Autoloader for symfony-finder and its dependencies */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\Finder\\', __DIR__);
diff --git a/dev-php/symfony-finder/metadata.xml b/dev-php/symfony-finder/metadata.xml
new file mode 100644
index 000000000000..3a3ed69eaabe
--- /dev/null
+++ b/dev-php/symfony-finder/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>guillaumeseren@gmail.com</email>
+ <name>Guillaume Seren</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ The Finder component finds files and directories
+ via an intuitive fluent interface.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-php/symfony-finder/symfony-finder-2.7.20.ebuild b/dev-php/symfony-finder/symfony-finder-2.7.20.ebuild
new file mode 100644
index 000000000000..24c73603d94f
--- /dev/null
+++ b/dev-php/symfony-finder/symfony-finder-2.7.20.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Symfony Finder Component"
+HOMEPAGE="https://github.com/symfony/finder"
+SRC_URI="https://github.com/symfony/finder/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-lang/php:*
+ dev-php/fedora-autoloader"
+
+S="${WORKDIR}/finder-${PV}"
+
+src_install() {
+ insinto "/usr/share/php/Symfony/Component/Finder"
+ doins -r . "${FILESDIR}"/autoload.php
+ dodoc README.md
+}