dev-php/semver - 3.4.4 (php-overlay)

Search

Install

Install this version:

emerge -a =dev-php/semver-3.4.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-php/semver-3.4.4

Or alternatively:

emerge --autounmask-write -a =dev-php/semver-3.4.4

Package Information

Description:
Semver library that offers utilities, version constraint parsing and validation.
Homepage:
https://github.com/composer/semver
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
3.4.4 8 ~amd64 ~arm ~arm64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Semver library that offers utilities, version constraint parsing and validation."
HOMEPAGE="https://github.com/composer/semver"
SRC_URI="https://github.com/composer/semver/archive/${PV}.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/semver-${PV}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"

BDEPEND="dev-php/theseer-autoload"
RDEPEND="
	>=dev-lang/php-7.4:*
	dev-php/fedora-autoloader
"

src_prepare() {
	default

	phpab \
		--quiet \
		--output autoload.php \
		--template fedora2 \
		--basedir . \
		. \
		|| die
}

src_install() {
	insinto "/usr/share/php/Composer/Semver"
	doins -r src autoload.php || die
}

Dependencies

RDEPEND

	>=dev-lang/php-7.4:*
	dev-php/fedora-autoloader

BDEPEND

dev-php/theseer-autoload

Manifest for 3.4.4

Type File Size Source URLs
DIST semver-3.4.4.tar.gz 20662 bytes https://github.com/composer/semver/archive/3.4.4.tar.gz