dev-php/phar-io-manifest - 2.0.4 (nest)

Search

Install

Install this version:

emerge -a =dev-php/phar-io-manifest-2.0.4

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

autounmask =dev-php/phar-io-manifest-2.0.4

Or alternatively:

emerge --autounmask-write -a =dev-php/phar-io-manifest-2.0.4

Package Information

Description:
Reading phar.io manifest information from a PHP Archive (PHAR)
Homepage:
https://github.com/phar-io/manifest
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
2.0.4 9 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

COMPOSER_INSTALL_PATH="PharIo/Manifest"
COMPOSER_VENDOR="${PN%-*}"
COMPOSER_PKG="${PN##*-}"
PHP_REQ_USE="phar,xml(-),xmlwriter(-)"

inherit composer

DESCRIPTION="Reading phar.io manifest information from a PHP Archive (PHAR)"
HOMEPAGE="https://github.com/phar-io/manifest"
SRC_URI="https://github.com/phar-io/${COMPOSER_PKG}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND=">=dev-php/phar-io-version-3.2.1"
BDEPEND="dev-php/theseer-Autoload"

DOCS=( {CHANGELOG,README}.md )

COMPOSER_TEST_PATCHES=(
	"${FILESDIR}/${PN}"-2.0.4-tests-ManifestDocumentMapperTest.patch
	"${FILESDIR}/${PN}"-2.0.4-tests-ManifestSerializerTest.patch )
composer_enable_tests phpunit

src_prepare() {
	composer_src_prepare

	edo phpab -q -o src/autoload.php -t "${FILESDIR}"/autoload.php.tpl src
}

Inherited Eclasses

Dependencies

RDEPEND

>=dev-php/phar-io-version-3.2.1

BDEPEND

dev-php/theseer-Autoload

Manifest for 2.0.4

Type File Size Source URLs
DIST phar-io-manifest-2.0.4.tar.gz 15939 bytes https://github.com/phar-io/manifest/archive/2.0.4.tar.gz