From 150566e9dbc30c59a1fb24c50dc4395e4aab1f1e Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 22 Jan 2018 21:09:04 -0500 Subject: dev-php/semver: new version 1.4.2. This new version of semver fixes parsing versions with a leading "v", thereby fixing bug 644884. I tried to enable the test suite but the release tarballs omit it for now. Closes: https://bugs.gentoo.org/644884 Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- dev-php/semver/semver-1.4.2.ebuild | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dev-php/semver/semver-1.4.2.ebuild (limited to 'dev-php/semver/semver-1.4.2.ebuild') diff --git a/dev-php/semver/semver-1.4.2.ebuild b/dev-php/semver/semver-1.4.2.ebuild new file mode 100644 index 000000000000..21aed1b27903 --- /dev/null +++ b/dev-php/semver/semver-1.4.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Semantic versioning utilities, constraint parsing, and checking" +HOMEPAGE="https://github.com/composer/semver" +SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-lang/php:* + dev-php/fedora-autoloader" + +# The releases don't contain the test suite at the moment, see +# https://github.com/composer/semver/issues/59 + +src_install() { + insinto '/usr/share/php/Composer/Semver' + doins -r src/. "${FILESDIR}/autoload.php" + dodoc README.md +} -- cgit v1.2.3-65-gdbad