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 | |
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')
-rw-r--r-- | dev-php/semver/Manifest | 2 | ||||
-rw-r--r-- | dev-php/semver/files/autoload.php | 2 | ||||
-rw-r--r-- | dev-php/semver/semver-1.0.0.ebuild | 22 | ||||
-rw-r--r-- | dev-php/semver/semver-1.4.2.ebuild | 24 |
4 files changed, 26 insertions, 24 deletions
diff --git a/dev-php/semver/Manifest b/dev-php/semver/Manifest index e037eacd8543..36d484190b9b 100644 --- a/dev-php/semver/Manifest +++ b/dev-php/semver/Manifest @@ -1 +1 @@ -DIST semver-1.0.0.tar.gz 9428 BLAKE2B cbdfa4a1a2b9889c683e498af6b83ed84a269993efb2223d1296455a634cf8ddb51b20e9af36ce0fae58a7ea4e4fa186c3e7a0a2912d2f7e73f82020c9763667 SHA512 7f7d529f7fb47049e65bbc47fcd4c1fa2dfef7de7441ed29d7bd81450414fbf3a4e0dfdfec0c9c019656d125e1591856a341d989b37c3aab70fbe5fa2f92f9a1 +DIST semver-1.4.2.tar.gz 10408 BLAKE2B 1504b6dff157e1b3c5ca338060e668f478fdd4e6a61be7835af6da669d22ef15a2143551e96bd01926fd2b408736fd8e70df22e1364b80712dc7d65608889b27 SHA512 2e41e2e70e9e62b280bff40b1a05b3803d95fb088eb4ce395e1f1fed79a40efc3a0ad16f8506d83a81b0e1d08e069640b2b084cc91aeb1ed41d934fd18249fe2 diff --git a/dev-php/semver/files/autoload.php b/dev-php/semver/files/autoload.php index 2295f8bd9a0e..bf9e65beee0b 100644 --- a/dev-php/semver/files/autoload.php +++ b/dev-php/semver/files/autoload.php @@ -2,7 +2,7 @@ /* Autoloader for composer/ca-bundle and its dependencies */ if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { - require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; + require_once 'Fedora/Autoloader/autoload.php'; } \Fedora\Autoloader\Autoload::addPsr4('Composer\\Semver\\', __DIR__); diff --git a/dev-php/semver/semver-1.0.0.ebuild b/dev-php/semver/semver-1.0.0.ebuild deleted file mode 100644 index aa18286b690b..000000000000 --- a/dev-php/semver/semver-1.0.0.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2016 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="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 -} 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 +} |