diff options
author | Brian Evans <grknight@gentoo.org> | 2017-03-20 10:10:46 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2017-03-20 10:10:46 -0400 |
commit | fbbf61e966840c474e9f8197a2cac32125fdb897 (patch) | |
tree | 8618fdd6974241744ab84652300f971a0138dafc /dev-php/PEAR-XML_Serializer | |
parent | gnustep-base/gnustep-make: drop old (diff) | |
download | gentoo-fbbf61e966840c474e9f8197a2cac32125fdb897.tar.gz gentoo-fbbf61e966840c474e9f8197a2cac32125fdb897.tar.bz2 gentoo-fbbf61e966840c474e9f8197a2cac32125fdb897.zip |
dev-php/PEAR-XML_Serializer: Revbump to use new eclass
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-php/PEAR-XML_Serializer')
-rw-r--r-- | dev-php/PEAR-XML_Serializer/PEAR-XML_Serializer-0.21.0-r1.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-php/PEAR-XML_Serializer/PEAR-XML_Serializer-0.21.0-r1.ebuild b/dev-php/PEAR-XML_Serializer/PEAR-XML_Serializer-0.21.0-r1.ebuild new file mode 100644 index 000000000000..ff245a357ebb --- /dev/null +++ b/dev-php/PEAR-XML_Serializer/PEAR-XML_Serializer-0.21.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +inherit php-pear-r2 + +DESCRIPTION="Swiss-army knife for reading and writing XML files" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="examples test" + +RDEPEND="dev-lang/php:*[xml] + >=dev-php/PEAR-XML_Parser-1.2.7 + >=dev-php/PEAR-XML_Util-1.1.1-r1 + " +DEPEND="test? ( ${RDEPEND} )" + +src_install() { + php-pear-r2_src_install + if use examples ; then + insinto /usr/share/php/docs/${PN/PEAR-//} + doins -r examples + fi +} + +src_test() { + peardev run-tests -r || die +} |