summaryrefslogtreecommitdiff
path: root/dev-php/symfony-event-dispatcher
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-php/symfony-event-dispatcher
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-php/symfony-event-dispatcher')
-rw-r--r--dev-php/symfony-event-dispatcher/Manifest4
-rw-r--r--dev-php/symfony-event-dispatcher/files/autoload.php14
-rw-r--r--dev-php/symfony-event-dispatcher/metadata.xml22
-rw-r--r--dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.1.0-r1.ebuild41
4 files changed, 81 insertions, 0 deletions
diff --git a/dev-php/symfony-event-dispatcher/Manifest b/dev-php/symfony-event-dispatcher/Manifest
new file mode 100644
index 000000000000..33aafe2ad496
--- /dev/null
+++ b/dev-php/symfony-event-dispatcher/Manifest
@@ -0,0 +1,4 @@
+AUX autoload.php 469 SHA256 6d311541a67e288096694d9f96239b1b6e875c0c8c96a9003f5ac41810b513e5 SHA512 742d6a7be50fcf6f07d5b23abd7aa965986d8effde182769ce46894370d0d05e8cc0c7d62c0ec0bf2f8c2f33e3253a5381952e3b36434027219dcac7b4fe1f14 WHIRLPOOL 7411ba6184aea93d643cdf51a970894f563bfd78f2284ecd243513156ff536ec1b67e7712fc98108b112b3115f8491c05b09173533aea2699b4c9d5310ad7132
+DIST symfony-event-dispatcher-2.1.0.tar.gz 10271 SHA256 00a086a275c25ad9ab00839d7f07f5b7e655f653d504686d6a8eed7fbce1683a SHA512 2430e0955322aa938635b34cfa151166218da51bcc7ac1ff52789fc16aef9eeaa5c504f9d03daa819f47652e5207703314c8695e5023369fe8edf88af06bc54b WHIRLPOOL e21b4c78708ffa580490ae642ea883f374d1e42668d9a0dfccc02ceaa1835552ef8971039f83b3a7c911ea6881e7c984c1baf57c693c88bac6e8091c9a074cc4
+EBUILD symfony-event-dispatcher-2.1.0-r1.ebuild 900 SHA256 0f7c766530cac4742ab3b9b991a1c15bdb14379ce2e111cac9a554cbb468dd2f SHA512 1ff87aca4eebe3628b105214b531c472184f403260ef6b57a9ceffacaae433375c08fb688d6c816798d037d19348eecc344c5e4b686dc6776ef315e9ed71e5d3 WHIRLPOOL e85785f40fbf1ce7a2f0a638eafb501766a8f5745a379e61aceef8a530c46628a53a5dfbfff3d77bf48af28d5c50307d8156a46d66c953a7e049759d5a0ae088
+MISC metadata.xml 765 SHA256 bc707019a554b6684db384b9a949921e912a690214417e2c2ebb188c65df0633 SHA512 f08e3b2a072a43b7dd1b18ba22b9e84f8e5d0ab9c25a879cd9c29814e9235d65b16501153874a1cd14d4e562c5f25e5b632822f5619748b6bfab0e2e4276b7a2 WHIRLPOOL aec9afb97c754a486d99e4abf47eb5506ab4220a140f5ab5dd118a2aec293f4ea93d5961ae1741dc68ae9d3349c9d160709db3ba2574d09dd80d12779a8c62b8
diff --git a/dev-php/symfony-event-dispatcher/files/autoload.php b/dev-php/symfony-event-dispatcher/files/autoload.php
new file mode 100644
index 000000000000..e1accd4c7a6a
--- /dev/null
+++ b/dev-php/symfony-event-dispatcher/files/autoload.php
@@ -0,0 +1,14 @@
+<?php
+/* Autoloader for dev-php/symfony-event-dispatcher 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\\EventDispatcher\\', __DIR__);
+
+// Dependencies
+\Fedora\Autoloader\Dependencies::required(array(
+ $vendorDir . '/Symfony/Component/DependencyInjection/autoload.php',
+));
diff --git a/dev-php/symfony-event-dispatcher/metadata.xml b/dev-php/symfony-event-dispatcher/metadata.xml
new file mode 100644
index 000000000000..2260041b16dc
--- /dev/null
+++ b/dev-php/symfony-event-dispatcher/metadata.xml
@@ -0,0 +1,22 @@
+<?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>
+ <maintainer type="project">
+ <email>php-bugs@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ The EventDispatcher component provides tools that allow your application components
+ to communicate with each other by dispatching events and listening to them.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">symfony/event-dispatcher</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.1.0-r1.ebuild b/dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.1.0-r1.ebuild
new file mode 100644
index 000000000000..9ec88c6a4770
--- /dev/null
+++ b/dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.1.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Symfony EventDispatcher Component"
+HOMEPAGE="https://github.com/symfony/event-dispatcher"
+SRC_URI="https://github.com/symfony/event-dispatcher/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ dev-lang/php:*
+ dev-php/fedora-autoloader
+ >=dev-php/symfony-dependency-injection-2.1.0"
+DEPEND="
+ test? (
+ ${RDEPEND}
+ dev-php/phpunit )"
+
+S="${WORKDIR}/event-dispatcher-${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/EventDispatcher"
+ doins -r . "${FILESDIR}"/autoload.php
+ dodoc README.md
+}
+
+src_test() {
+ phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed"
+}