summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-11-01 02:21:38 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-11-01 02:21:38 +0100
commit5c0b082b93de237039ea34bcabaef71f3d213f04 (patch)
tree4fcfc65a7e99b08a94e8d8bbe323b73e93eacf34 /dev-php/semver
parentdev-php/composer: bump to v2.1.10 (diff)
downloadgentoo-5c0b082b93de237039ea34bcabaef71f3d213f04.tar.gz
gentoo-5c0b082b93de237039ea34bcabaef71f3d213f04.tar.bz2
gentoo-5c0b082b93de237039ea34bcabaef71f3d213f04.zip
dev-php/semver: bump to v3.2.6
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-php/semver')
-rw-r--r--dev-php/semver/Manifest1
-rw-r--r--dev-php/semver/semver-3.2.6.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-php/semver/Manifest b/dev-php/semver/Manifest
index 9e7cde8809a6..4c000303e894 100644
--- a/dev-php/semver/Manifest
+++ b/dev-php/semver/Manifest
@@ -3,3 +3,4 @@ DIST semver-1.5.1.tar.gz 10534 BLAKE2B ca6743415867db96696cc604c00a1ffabb35617af
DIST semver-1.7.0.tar.gz 11249 BLAKE2B 8997f07f009f64472762fdccc8255d7149a03416bf912d74bb818d8bb3b31e81c5897d15e3a0dc0b6ad28fe2e0ddadc13f8c4f9ff63bfb05f6c5880a74d90a89 SHA512 7d90d172c91d56218b44d994d9b997486c950c72d19026c9a9cccd594348896222aa4b74ba9fd0735e2702b7a63133fb6a16089ace97bd2b8f97dbe862b07e82
DIST semver-1.7.1.tar.gz 11433 BLAKE2B 9f0f054bd657081efd73a23c2ce3d04d12c2fbd8115c54d5b17ca895e7a6bf47a50fdd13213560dd7a0c75a427dbc2aba5c610a726dcc2729d7a531e0c6c1d7d SHA512 7e2f60dfbe7b39eb2a6fcb0439e4ad94d981f4b7b467f0853e923bc22dfe95d1ecaf6ae537ddc46f774cddd0d01b4cf73b6588dbcac45edc7811cacf26f3d23f
DIST semver-3.2.4.tar.gz 19806 BLAKE2B 8d8c78f570c7b2c4b37a096e2835c2611d09e77cafaab555b588d48fa0600b85bc9487d54d67556eb2440e0d04b6ffa46c54dd678b4c2cc7b206fe6d33157111 SHA512 ed2aed0a55e23f76b05b1dc3eee18938eda1d21205f786d02c83a879dd0ef5aaf799201967c2166e70f383980ab047bd93dd7d1b5d7154d853d551bafa2eddb1
+DIST semver-3.2.6.tar.gz 19872 BLAKE2B 239e6a82168e5b9b1077c25de672138f11395bebe31fec088ff874cd83b0acf52b10e155740376733a091bb2844082a5db79740a10cfb70a06020d3c45555d8a SHA512 44e2d195c224af93a6440a97a90e4a201221a7d1ce6bc413b8c86e4bc3d24ede193179294e9bd83da636827e8530f3aefc212652210655be6aa7cc1681a28f3f
diff --git a/dev-php/semver/semver-3.2.6.ebuild b/dev-php/semver/semver-3.2.6.ebuild
new file mode 100644
index 000000000000..ba48da91ec5f
--- /dev/null
+++ b/dev-php/semver/semver-3.2.6.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 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"
+
+BDEPEND="dev-php/theseer-Autoload"
+
+RDEPEND="dev-php/fedora-autoloader
+ >=dev-lang/php-7.2:*"
+
+src_prepare() {
+ default
+
+ phpab \
+ --output src/autoload.php \
+ --template fedora2 \
+ --basedir src \
+ src \
+ || die
+}
+
+src_install() {
+ insinto '/usr/share/php/Composer/Semver'
+ doins -r src/*
+
+ einstalldocs
+}