summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-10-19 23:08:58 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-10-19 23:08:58 +0200
commit3325ad77b56a744b367f379b68ea8883a4d179e6 (patch)
tree1e05aee71af75738f3cf248d6de40db00f9616d4 /dev-php/semver/semver-1.7.1.ebuild
parentdev-libs/nss: bump to v3.58 (diff)
downloadgentoo-3325ad77b56a744b367f379b68ea8883a4d179e6.tar.gz
gentoo-3325ad77b56a744b367f379b68ea8883a4d179e6.tar.bz2
gentoo-3325ad77b56a744b367f379b68ea8883a4d179e6.zip
dev-php/semver: bump to v1.7.1
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-php/semver/semver-1.7.1.ebuild')
-rw-r--r--dev-php/semver/semver-1.7.1.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-php/semver/semver-1.7.1.ebuild b/dev-php/semver/semver-1.7.1.ebuild
new file mode 100644
index 000000000000..56bf1017f3b7
--- /dev/null
+++ b/dev-php/semver/semver-1.7.1.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
+}