diff options
Diffstat (limited to 'dev-php/symfony-event-dispatcher')
-rw-r--r-- | dev-php/symfony-event-dispatcher/Manifest | 2 | ||||
-rw-r--r-- | dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.8.50.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-php/symfony-event-dispatcher/Manifest b/dev-php/symfony-event-dispatcher/Manifest index ee31c60b2152..bc8ef4833b46 100644 --- a/dev-php/symfony-event-dispatcher/Manifest +++ b/dev-php/symfony-event-dispatcher/Manifest @@ -1,4 +1,6 @@ AUX autoload.php 469 BLAKE2B d86604375d82bf06cf1a50404d9218f7c73a9b08b3b1add7b123fdf82d199ea757259f5f4d8c4876b3537022a35a0a5dec627b5e94df596cfc19cc7f8801639e SHA512 742d6a7be50fcf6f07d5b23abd7aa965986d8effde182769ce46894370d0d05e8cc0c7d62c0ec0bf2f8c2f33e3253a5381952e3b36434027219dcac7b4fe1f14 DIST symfony-event-dispatcher-2.1.0.tar.gz 10271 BLAKE2B 0fcb3fd95643a24ff31d4e60c31e801e488c323358dc723be95471dc01df9d052fc6cb19ce5401ba4512cc4e308fd149975f969cf89406b48d11e48ef6313ee1 SHA512 2430e0955322aa938635b34cfa151166218da51bcc7ac1ff52789fc16aef9eeaa5c504f9d03daa819f47652e5207703314c8695e5023369fe8edf88af06bc54b +DIST symfony-event-dispatcher-2.8.50.tar.gz 15682 BLAKE2B dff817cc540074caabef6bbcd24fedee8bc377fbd688ead9d7a95df9987c79446bac630f806dfa190572a214393676042682b84bed58a6e0d5bb47d0dfd64986 SHA512 ecb5e17d5f0639c49fa35e9dc33d3b7d6a7792c95d9020ede9ceebe0de5e0192101607ac6f797e35a7ea5ced36231e616d76fe4f8ab74c0d42014782de590a35 EBUILD symfony-event-dispatcher-2.1.0-r1.ebuild 900 BLAKE2B fbfb113a55195326e8d8ec72dc79856f80fc12db43afd17c6f3a46f815495477d307f1aea03ef1e7ca5bc765a4c4c0ac20649065b331bb22d88c0c01cdfb1144 SHA512 1ff87aca4eebe3628b105214b531c472184f403260ef6b57a9ceffacaae433375c08fb688d6c816798d037d19348eecc344c5e4b686dc6776ef315e9ed71e5d3 +EBUILD symfony-event-dispatcher-2.8.50.ebuild 897 BLAKE2B 3a4066091680daad0945b29b610d67b81385e16c74ed8e07f4dbb1c1a81854edf36b7d623affe8a17d691a8bcbd8138087023da7a79f23ab8d7e4d194a39d6f5 SHA512 11ce492699e08157445dfa7de1c90024ba769707916fb6b3225f1e50154daf13aee36b28eb1e25602603bba497c4f2b379d4c19dd46b075d16bc9b0708feca89 MISC metadata.xml 775 BLAKE2B e25fad462227e8d7ae05cfe82044f57c9f8c5de7dc8d88d8151c549a2e040dbeaee82866919dda13efe6d8574e3160725fbd9d42019593177d03ea352cadce9a SHA512 11095327870ea93690d14782556a5c28fa6cf2a099ff63b9f8d0ced042f79e4fc96d4b7b33b9fe4820eaf8159385a6b8056ddb32309d376675646dc1e262fe00 diff --git a/dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.8.50.ebuild b/dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.8.50.ebuild new file mode 100644 index 000000000000..eb7534b30305 --- /dev/null +++ b/dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.8.50.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# 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" +} |