1 |
commit: 6214e09be43357f6af2a963c1ef77f16250c4cbe |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 13 19:32:22 2018 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 13 19:40:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6214e09b |
7 |
|
8 |
dev-php/PEAR-Crypt_HMAC2: Revbump for EAPI and eclass changes; enable tests |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
...C2-1.0.0.ebuild => PEAR-Crypt_HMAC2-1.0.0-r1.ebuild} | 17 ++++++++--------- |
13 |
1 file changed, 8 insertions(+), 9 deletions(-) |
14 |
|
15 |
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 |
16 |
similarity index 69% |
17 |
rename from dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0.ebuild |
18 |
rename to dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0-r1.ebuild |
19 |
index dd721a85f55..2647980b40b 100644 |
20 |
--- a/dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0.ebuild |
21 |
+++ b/dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0-r1.ebuild |
22 |
@@ -1,21 +1,20 @@ |
23 |
-# Copyright 1999-2014 Gentoo Foundation |
24 |
+# Copyright 1999-2018 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI="4" |
28 |
+EAPI=6 |
29 |
|
30 |
-inherit php-pear-r1 |
31 |
+inherit php-pear-r2 |
32 |
|
33 |
DESCRIPTION="Implementation of Hashed Message Authentication Code for PHP5" |
34 |
LICENSE="BSD" |
35 |
SLOT="0" |
36 |
KEYWORDS="~amd64 ~x86" |
37 |
-IUSE="" |
38 |
+IUSE="test" |
39 |
+DEPEND="test? ( dev-php/PEAR-PEAR dev-php/phpunit )" |
40 |
+HTML_DOCS=( docs/intro.xml ) |
41 |
|
42 |
-src_install() { |
43 |
- php-pear-r1_src_install |
44 |
- |
45 |
- #Useless file that often conflicts with other packages |
46 |
- rm "${D}/usr/share/php/generate_package_xml.php" |
47 |
+src_test() { |
48 |
+ phpunit tests || die |
49 |
} |
50 |
|
51 |
pkg_postinst() { |