summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-03-19 22:44:51 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-03-19 22:54:48 +0100
commit9383cd96e73f3021baa0797326ffb1be558cd079 (patch)
treeac7c8e0fbea35ffbc297fa68ca5e8c1b95baa71c /dev-php
parentdev-php/phar-utils: bump to v1.1.0 (diff)
downloadgentoo-9383cd96e73f3021baa0797326ffb1be558cd079.tar.gz
gentoo-9383cd96e73f3021baa0797326ffb1be558cd079.tar.bz2
gentoo-9383cd96e73f3021baa0797326ffb1be558cd079.zip
dev-php/semver: bump to v1.5.1
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/semver/Manifest1
-rw-r--r--dev-php/semver/semver-1.5.1.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-php/semver/Manifest b/dev-php/semver/Manifest
index 36d484190b9b..56e67ef5872d 100644
--- a/dev-php/semver/Manifest
+++ b/dev-php/semver/Manifest
@@ -1 +1,2 @@
DIST semver-1.4.2.tar.gz 10408 BLAKE2B 1504b6dff157e1b3c5ca338060e668f478fdd4e6a61be7835af6da669d22ef15a2143551e96bd01926fd2b408736fd8e70df22e1364b80712dc7d65608889b27 SHA512 2e41e2e70e9e62b280bff40b1a05b3803d95fb088eb4ce395e1f1fed79a40efc3a0ad16f8506d83a81b0e1d08e069640b2b084cc91aeb1ed41d934fd18249fe2
+DIST semver-1.5.1.tar.gz 10534 BLAKE2B ca6743415867db96696cc604c00a1ffabb35617af055a621079621fb73d951453f4c893ccf1377a142c05f5481a42884b380455c37e4e945c382f811a3917f72 SHA512 c9b582217060124fe20dcd7821e669173b9deffa976ad8921f48d22793f03af5deb4006380932e49e06da13a63db9aaa63254118d43448575446b78226d9cf3f
diff --git a/dev-php/semver/semver-1.5.1.ebuild b/dev-php/semver/semver-1.5.1.ebuild
new file mode 100644
index 000000000000..1301f1d01d41
--- /dev/null
+++ b/dev-php/semver/semver-1.5.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# 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/semver/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
+}