summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seren <guillaumeseren@gmail.com>2016-11-24 09:03:32 +0100
committerMichael Orlitzky <mjo@gentoo.org>2016-12-18 18:17:05 -0500
commitbc36d09d052ec01702b265886ef0bc9109a29196 (patch)
treeaf2eef648bf7c608ea32ed43850c6ae35e653e35 /dev-php/symfony-console
parentdev-php/symfony-event-dispatcher: Add 2.1.0 version (diff)
downloadgentoo-bc36d09d052ec01702b265886ef0bc9109a29196.tar.gz
gentoo-bc36d09d052ec01702b265886ef0bc9109a29196.tar.bz2
gentoo-bc36d09d052ec01702b265886ef0bc9109a29196.zip
dev-php/symfony-console: Add 2.7.9 version
This is needed for composer-1.2.2, bug 439206. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'dev-php/symfony-console')
-rw-r--r--dev-php/symfony-console/Manifest1
-rw-r--r--dev-php/symfony-console/files/autoload.php16
-rw-r--r--dev-php/symfony-console/metadata.xml15
-rw-r--r--dev-php/symfony-console/symfony-console-2.7.9.ebuild28
4 files changed, 60 insertions, 0 deletions
diff --git a/dev-php/symfony-console/Manifest b/dev-php/symfony-console/Manifest
new file mode 100644
index 000000000000..958cbfb6aac0
--- /dev/null
+++ b/dev-php/symfony-console/Manifest
@@ -0,0 +1 @@
+DIST symfony-console-2.7.9.tar.gz 116610 SHA256 f4691b11de8e4416911041f42585d66db6ab4999cde411e6cbbe3a997e9815bb SHA512 3de7d78b92c8f0c99d3c90e83a23f6b61eecc195cf92b5c9ebea03a1dc85d2166287e619822238a2f2cd54a430b4a38c7c88be3ba74dab0b66c6104e980a088b WHIRLPOOL 6ece7a9845e00ebdcef702dfaad9b92cc7da65860353acb89f2f971d86a619096a491a4d2862c00f8601f3722062b2855195031e1223d61c1adb23edbec90e8c
diff --git a/dev-php/symfony-console/files/autoload.php b/dev-php/symfony-console/files/autoload.php
new file mode 100644
index 000000000000..14a8fabf46cb
--- /dev/null
+++ b/dev-php/symfony-console/files/autoload.php
@@ -0,0 +1,16 @@
+<?php
+/* Autoloader for symfony-console and its dependencies */
+
+$vendorDir = '/usr/share/php';
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\Console\\', __DIR__);
+
+// Dependencies
+\Fedora\Autoloader\Dependencies::required(array(
+ $vendorDir . '/Symfony/Component/EventDispatcher/autoload.php',
+ $vendorDir . '/Psr/Log/autoload.php',
+ $vendorDir . '/Symfony/Component/Process/autoload.php',
+));
diff --git a/dev-php/symfony-console/metadata.xml b/dev-php/symfony-console/metadata.xml
new file mode 100644
index 000000000000..4cdde10eb2f5
--- /dev/null
+++ b/dev-php/symfony-console/metadata.xml
@@ -0,0 +1,15 @@
+<?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 Console component eases the creation of beautiful and testable command line interfaces.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-php/symfony-console/symfony-console-2.7.9.ebuild b/dev-php/symfony-console/symfony-console-2.7.9.ebuild
new file mode 100644
index 000000000000..3006d86eea74
--- /dev/null
+++ b/dev-php/symfony-console/symfony-console-2.7.9.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Subtree split of the Symfony Console Component"
+HOMEPAGE="https://github.com/symfony/console"
+SRC_URI="https://github.com/symfony/console/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-lang/php:*
+ dev-php/fedora-autoloader
+ ~dev-php/psr-log-1.0.2
+ ~dev-php/symfony-event-dispatcher-2.1.0
+ ~dev-php/symfony-process-2.8.12"
+
+S="${WORKDIR}/console-${PV}"
+
+src_install() {
+ insinto "/usr/share/php/Symfony/Component/Console"
+ doins -r . "${FILESDIR}"/autoload.php
+ dodoc README.md
+}