mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
dev-php/symfony-yaml: Add 2.1.0 version
This is needed for composer-1.2.2, bug 439206. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DIST symfony-yaml-2.1.0.tar.gz 37056 SHA256 67df42116b2c29f87bd83fca89ae721179e0234f059de435a40ea0698a13db46 SHA512 984fbd624d4bf70ae964da60d55b6d9883642eabce54f080c04d3d12b4d64e63f036683bc12052b0958bd4575f1b693f1453b2505e5e5666ddf2fb13c40e927f WHIRLPOOL 143d5b2de57185a803172d721e381953412b772a3a31fc587a00189bfd770ae549fe621ea1e964f3d193425a1d19a24edd22d9bce4b73ddbb25b68608169c8a3
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/* Autoloader for dev-php/symfony-yaml 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\\Yaml\\', __DIR__);
|
||||
@@ -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 Yaml component loads and dumps YAML files.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Symfony YAML Component"
|
||||
HOMEPAGE="https://github.com/symfony/yaml"
|
||||
SRC_URI="https://github.com/symfony/yaml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-php/phpunit )"
|
||||
|
||||
S="${WORKDIR}/yaml-${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/Yaml"
|
||||
doins -r . "${FILESDIR}"/autoload.php
|
||||
dodoc README.md
|
||||
}
|
||||
|
||||
src_test() {
|
||||
phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed"
|
||||
}
|
||||
Reference in New Issue
Block a user