summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2021-03-20 08:28:38 -0400
committerBrian Evans <grknight@gentoo.org>2021-03-20 08:31:41 -0400
commit099ce4bafcf7004ab884713bcf3b5558cec4b0af (patch)
treeca73bd46d1871c94f44861729e6a9283610d5874 /dev-php/semver/semver-1.7.0.ebuild
parentsci-geosciences/gpx-viewer: Port to EAPI 7 (diff)
downloadgentoo-099ce4bafcf7004ab884713bcf3b5558cec4b0af.tar.gz
gentoo-099ce4bafcf7004ab884713bcf3b5558cec4b0af.tar.bz2
gentoo-099ce4bafcf7004ab884713bcf3b5558cec4b0af.zip
Revert "dev-php/semver: drop 1.4.2, 1.5.1, 1.7.0, 1.7.1"
This reverts commit 7b31460bada2aba05994096d5e0d105ad7936b0b. Signed-off-by: Brian Evans <grknight@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
+}