From a46e68ce01a88185686db7e1bbd0b95f43b8ee0c Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Fri, 16 Feb 2018 15:08:09 -0500 Subject: dev-php/PEAR-File_Fortune: Revbump to add tests and for EAPI/eclass Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- .../PEAR-File_Fortune-1.0.0-r1.ebuild | 20 ++++++++++++++++++++ .../PEAR-File_Fortune/PEAR-File_Fortune-1.0.0.ebuild | 16 ---------------- 2 files changed, 20 insertions(+), 16 deletions(-) create mode 100644 dev-php/PEAR-File_Fortune/PEAR-File_Fortune-1.0.0-r1.ebuild delete mode 100644 dev-php/PEAR-File_Fortune/PEAR-File_Fortune-1.0.0.ebuild (limited to 'dev-php') diff --git a/dev-php/PEAR-File_Fortune/PEAR-File_Fortune-1.0.0-r1.ebuild b/dev-php/PEAR-File_Fortune/PEAR-File_Fortune-1.0.0-r1.ebuild new file mode 100644 index 000000000000..ec5a405cb607 --- /dev/null +++ b/dev-php/PEAR-File_Fortune/PEAR-File_Fortune-1.0.0-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Interface for reading from and writing to fortune files" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +RDEPEND=">=dev-lang/php-5.1.4:*" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +src_test(){ + phpunit tests || die +} diff --git a/dev-php/PEAR-File_Fortune/PEAR-File_Fortune-1.0.0.ebuild b/dev-php/PEAR-File_Fortune/PEAR-File_Fortune-1.0.0.ebuild deleted file mode 100644 index 1e33656d0fea..000000000000 --- a/dev-php/PEAR-File_Fortune/PEAR-File_Fortune-1.0.0.ebuild +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit php-pear-r1 - -DESCRIPTION="Interface for reading from and writing to fortune files" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -DEPEND=">=dev-lang/php-5.1.4:*" -RDEPEND="${DEPEND}" -- cgit v1.2.3-65-gdbad