summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-09-14 01:15:53 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-09-14 01:17:48 +0200
commit2c1e98133ff06b8e38b55aada5a05fe8c7603a1d (patch)
tree1cf82f476e10c8d03888b72c598cc529214096c2 /dev-php/semver/semver-1.7.0.ebuild
parentdev-php/phar-utils: bump to v1.1.1 (diff)
downloadgentoo-2c1e98133ff06b8e38b55aada5a05fe8c7603a1d.tar.gz
gentoo-2c1e98133ff06b8e38b55aada5a05fe8c7603a1d.tar.bz2
gentoo-2c1e98133ff06b8e38b55aada5a05fe8c7603a1d.zip
dev-php/semver: bump to v1.7.0
Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-php/semver/semver-1.7.0.ebuild')
-rw-r--r--dev-php/semver/semver-1.7.0.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-php/semver/semver-1.7.0.ebuild b/dev-php/semver/semver-1.7.0.ebuild
new file mode 100644
index 000000000000..56bf1017f3b7
--- /dev/null
+++ b/dev-php/semver/semver-1.7.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+}