summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seren <guillaumeseren@gmail.com>2016-11-23 19:15:30 +0100
committerMichael Orlitzky <mjo@gentoo.org>2016-12-18 18:16:58 -0500
commita7733e14f60c23458c3a2d7c8f4e93d8f5b38ae8 (patch)
treeccd817f54c5785dc251cfe28176899705bf1a8ed /dev-php/symfony-process
parentdev-php/psr-log: Add 1.0.2 version (diff)
downloadgentoo-a7733e14f60c23458c3a2d7c8f4e93d8f5b38ae8.tar.gz
gentoo-a7733e14f60c23458c3a2d7c8f4e93d8f5b38ae8.tar.bz2
gentoo-a7733e14f60c23458c3a2d7c8f4e93d8f5b38ae8.zip
dev-php/symfony-process: Add 2.8.12 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-process')
-rw-r--r--dev-php/symfony-process/Manifest1
-rw-r--r--dev-php/symfony-process/files/autoload.php9
-rw-r--r--dev-php/symfony-process/metadata.xml15
-rw-r--r--dev-php/symfony-process/symfony-process-2.8.12.ebuild25
4 files changed, 50 insertions, 0 deletions
diff --git a/dev-php/symfony-process/Manifest b/dev-php/symfony-process/Manifest
new file mode 100644
index 000000000000..e78c78e979f9
--- /dev/null
+++ b/dev-php/symfony-process/Manifest
@@ -0,0 +1 @@
+DIST symfony-process-2.8.12.tar.gz 29787 SHA256 86cd9300ecb870a88d843363fa0a7415e0ee3b7815c94f76ccb21b901075337b SHA512 2956572f394aa58e784f7b2b3922f4c8f1d71d5eb9859b757ce5986776d3e960ffbfcee2fb55ff89c176362a5ee0276d3b71ef00ae7338be1761bd88b4116294 WHIRLPOOL 8ede35f972146645c4d75855cd9b8ea0c51a746698d952c3c6716ae0fbe138abe551f432a2bd9e2afe3945cff7ea9021bb102486fbc8c60c2528f78d083983ee
diff --git a/dev-php/symfony-process/files/autoload.php b/dev-php/symfony-process/files/autoload.php
new file mode 100644
index 000000000000..f0b5ceb02c9b
--- /dev/null
+++ b/dev-php/symfony-process/files/autoload.php
@@ -0,0 +1,9 @@
+<?php
+/* Autoloader for symfony-process 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\\Process\\', __DIR__);
diff --git a/dev-php/symfony-process/metadata.xml b/dev-php/symfony-process/metadata.xml
new file mode 100644
index 000000000000..d492e9e40f3f
--- /dev/null
+++ b/dev-php/symfony-process/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 Process component executes commands in sub-processes.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-php/symfony-process/symfony-process-2.8.12.ebuild b/dev-php/symfony-process/symfony-process-2.8.12.ebuild
new file mode 100644
index 000000000000..ac64cd6c6e1a
--- /dev/null
+++ b/dev-php/symfony-process/symfony-process-2.8.12.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 Process Component"
+HOMEPAGE="https://github.com/symfony/process"
+SRC_URI="https://github.com/symfony/process/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}/process-${PV}"
+
+src_install() {
+ insinto "/usr/share/php/Symfony/Component/Process"
+ doins -r . "${FILESDIR}"/autoload.php
+ dodoc README.md
+}