diff options
author | Brian Evans <grknight@gentoo.org> | 2018-02-16 16:58:10 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2018-02-16 17:00:16 -0500 |
commit | 4a68a7012f5f46f798fe8ceb259e80e3f83fbf6c (patch) | |
tree | f998371363b0d0498ecd7734738a8e0fe4f81572 /dev-php/PEAR-HTML_CSS/PEAR-HTML_CSS-1.5.4-r2.ebuild | |
parent | dev-php/PEAR-File_Gettext: Revbump direct to stable (diff) | |
download | gentoo-4a68a7012f5f46f798fe8ceb259e80e3f83fbf6c.tar.gz gentoo-4a68a7012f5f46f798fe8ceb259e80e3f83fbf6c.tar.bz2 gentoo-4a68a7012f5f46f798fe8ceb259e80e3f83fbf6c.zip |
dev-php/PEAR-HTML_CSS: Revbump with tests, EAPI and eclass changes
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-php/PEAR-HTML_CSS/PEAR-HTML_CSS-1.5.4-r2.ebuild')
-rw-r--r-- | dev-php/PEAR-HTML_CSS/PEAR-HTML_CSS-1.5.4-r2.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-php/PEAR-HTML_CSS/PEAR-HTML_CSS-1.5.4-r2.ebuild b/dev-php/PEAR-HTML_CSS/PEAR-HTML_CSS-1.5.4-r2.ebuild new file mode 100644 index 000000000000..c9b8063f636f --- /dev/null +++ b/dev-php/PEAR-HTML_CSS/PEAR-HTML_CSS-1.5.4-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Provides a simple interface for generating a stylesheet declaration" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="minimal test" +RDEPEND=">=dev-php/PEAR-HTML_Common-1.2.4 + !minimal? ( >=dev-php/PEAR-Services_W3C_CSSValidator-0.1.0 )" +DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-3.7 )" +PATCHES=( "${FILESDIR}/HTML_CSS-1.5.4-fix-tests.patch" ) + +src_prepare() { + mkdir HTML || die + mv CSS CSS.php HTML || die + default +} + +src_test() { + ln -s ../HTML tests/HTML || die + phpunit tests/AllTests.php || die +} |