dev-php/league-html-to-markdown - 9999 (nest)

Search

Install

Install this version:

emerge -a =dev-php/league-html-to-markdown-9999

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

autounmask =dev-php/league-html-to-markdown-9999

Or alternatively:

emerge --autounmask-write -a =dev-php/league-html-to-markdown-9999

Package Information

Description:
HTML To Markdown for PHP
Homepage:
https://github.com/thephpleague/html-to-markdown
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 9 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="League/HTMLToMarkdown"
PHP_REQ_USE="xml"

inherit composer git-r3

DESCRIPTION="HTML To Markdown for PHP"
HOMEPAGE="https://github.com/thephpleague/html-to-markdown"
EGIT_REPO_URI="https://github.com/thephpleague/html-to-markdown.git"

LICENSE="MIT"
SLOT="0"

BDEPEND="test? ( dev-php/mikehaertl-php-shellcommand )"

composer_enable_tests phpunit

src_install() {
	composer_src_install
	# install files into COMPOSER_INSTALL_PATH
	doins -r bin

	exeinto /usr/share/php/"${COMPOSER_INSTALL_PATH}"
	doexe bin/html-to-markdown
	dosym ../share/php/"${COMPOSER_INSTALL_PATH}"/html-to-markdown \
		/usr/bin/html-to-markdown
}

Inherited Eclasses

Dependencies

BDEPEND

test? ( dev-php/mikehaertl-php-shellcommand )