From 0bccd72e3e28f769b583b4334d43a0a1a4a7df7c Mon Sep 17 00:00:00 2001 From: Guillaume Seren Date: Thu, 24 Nov 2016 08:40:24 +0100 Subject: [PATCH] dev-php/semver: Add 1.0.0 version This is needed for composer-1.2.2, bug 439206. Signed-off-by: Michael Orlitzky --- dev-php/semver/Manifest | 1 + dev-php/semver/files/autoload.php | 8 ++++++++ dev-php/semver/metadata.xml | 15 +++++++++++++++ dev-php/semver/semver-1.0.0.ebuild | 23 +++++++++++++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 dev-php/semver/Manifest create mode 100644 dev-php/semver/files/autoload.php create mode 100644 dev-php/semver/metadata.xml create mode 100644 dev-php/semver/semver-1.0.0.ebuild diff --git a/dev-php/semver/Manifest b/dev-php/semver/Manifest new file mode 100644 index 000000000000..46e60c3f27c4 --- /dev/null +++ b/dev-php/semver/Manifest @@ -0,0 +1 @@ +DIST semver-1.0.0.tar.gz 9428 SHA256 527597180e90e2a36f173e2a669b7694ff3a4a3925cda4d5c8fa3cd3113eddf9 SHA512 7f7d529f7fb47049e65bbc47fcd4c1fa2dfef7de7441ed29d7bd81450414fbf3a4e0dfdfec0c9c019656d125e1591856a341d989b37c3aab70fbe5fa2f92f9a1 WHIRLPOOL 2bc7b6a54b34d7bebf5978210db4d89e8ff05d9724cf34658028d4a788fbc0aaaabf2248594feea67554a5885c173c738cfe7da158a05218f8d3a2eb45a354a2 diff --git a/dev-php/semver/files/autoload.php b/dev-php/semver/files/autoload.php new file mode 100644 index 000000000000..2295f8bd9a0e --- /dev/null +++ b/dev-php/semver/files/autoload.php @@ -0,0 +1,8 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Semantic versioning utilities with the addition of version constraints parsing and checking. + + diff --git a/dev-php/semver/semver-1.0.0.ebuild b/dev-php/semver/semver-1.0.0.ebuild new file mode 100644 index 000000000000..ea8ee4f271cd --- /dev/null +++ b/dev-php/semver/semver-1.0.0.ebuild @@ -0,0 +1,23 @@ +# 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 +} -- 2.26.2