diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2018-01-22 21:09:04 -0500 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2018-01-22 21:09:04 -0500 |
commit | 150566e9dbc30c59a1fb24c50dc4395e4aab1f1e (patch) | |
tree | 2736aa8e0e3206bb14ef420da951edacf4482bdf /dev-php/semver/semver-1.4.2.ebuild | |
parent | net-misc/openssh: Revision bump, bump X509 patch to 11.1 (diff) | |
download | gentoo-150566e9dbc30c59a1fb24c50dc4395e4aab1f1e.tar.gz gentoo-150566e9dbc30c59a1fb24c50dc4395e4aab1f1e.tar.bz2 gentoo-150566e9dbc30c59a1fb24c50dc4395e4aab1f1e.zip |
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
Diffstat (limited to 'dev-php/semver/semver-1.4.2.ebuild')
-rw-r--r-- | dev-php/semver/semver-1.4.2.ebuild | 24 |
1 files changed, 24 insertions, 0 deletions
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 +} |