* [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Crypt_HMAC2/
@ 2018-02-13 19:40 Brian Evans
0 siblings, 0 replies; only message in thread
From: Brian Evans @ 2018-02-13 19:40 UTC (permalink / raw
To: gentoo-commits
commit: 6214e09be43357f6af2a963c1ef77f16250c4cbe
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 13 19:32:22 2018 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Tue Feb 13 19:40:14 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6214e09b
dev-php/PEAR-Crypt_HMAC2: Revbump for EAPI and eclass changes; enable tests
Package-Manager: Portage-2.3.24, Repoman-2.3.6
...C2-1.0.0.ebuild => PEAR-Crypt_HMAC2-1.0.0-r1.ebuild} | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0.ebuild b/dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0-r1.ebuild
similarity index 69%
rename from dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0.ebuild
rename to dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0-r1.ebuild
index dd721a85f55..2647980b40b 100644
--- a/dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0.ebuild
+++ b/dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0-r1.ebuild
@@ -1,21 +1,20 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
+EAPI=6
-inherit php-pear-r1
+inherit php-pear-r2
DESCRIPTION="Implementation of Hashed Message Authentication Code for PHP5"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
+DEPEND="test? ( dev-php/PEAR-PEAR dev-php/phpunit )"
+HTML_DOCS=( docs/intro.xml )
-src_install() {
- php-pear-r1_src_install
-
- #Useless file that often conflicts with other packages
- rm "${D}/usr/share/php/generate_package_xml.php"
+src_test() {
+ phpunit tests || die
}
pkg_postinst() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-13 19:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-13 19:40 [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-Crypt_HMAC2/ Brian Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox