This is needed for composer-1.2.2, bug 439206.
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
--- /dev/null
+DIST semver-1.0.0.tar.gz 9428 SHA256 527597180e90e2a36f173e2a669b7694ff3a4a3925cda4d5c8fa3cd3113eddf9 SHA512 7f7d529f7fb47049e65bbc47fcd4c1fa2dfef7de7441ed29d7bd81450414fbf3a4e0dfdfec0c9c019656d125e1591856a341d989b37c3aab70fbe5fa2f92f9a1 WHIRLPOOL 2bc7b6a54b34d7bebf5978210db4d89e8ff05d9724cf34658028d4a788fbc0aaaabf2248594feea67554a5885c173c738cfe7da158a05218f8d3a2eb45a354a2
--- /dev/null
+<?php
+/* Autoloader for composer/ca-bundle and its dependencies */
+
+if (!class_exists('Fedora\\Autoloader\\Autoload', false)) {
+ require_once '/usr/share/php/Fedora/Autoloader/autoload.php';
+}
+
+\Fedora\Autoloader\Autoload::addPsr4('Composer\\Semver\\', __DIR__);
--- /dev/null
+<?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>
+ Semantic versioning utilities with the addition of version constraints parsing and checking.
+ </longdescription>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Semantic versioning utilities with constraints parsing and checking"
+HOMEPAGE="https://github.com/composer/semver"
+SRC_URI="https://github.com/composer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-lang/php:*
+ dev-php/fedora-autoloader"
+
+src_install() {
+ insinto "/usr/share/php/Composer/Semver"
+ doins -r src/. "${FILESDIR}"/autoload.php
+ dodoc README.md
+}