Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-mailparse/
Date: Fri, 06 Apr 2018 18:30:41
Message-Id: 1523039418.d447113d0b0097091dc6e3e4f5caca2af4e3f0bd.grknight@gentoo
1 commit: d447113d0b0097091dc6e3e4f5caca2af4e3f0bd
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 6 18:30:18 2018 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 6 18:30:18 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d447113d
7
8 dev-php/pecl-mailparse: Revbump for php 7.2
9
10 Package-Manager: Portage-2.3.28, Repoman-2.3.9
11
12 .../pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild | 47 ++++++++++++++++++++++
13 1 file changed, 47 insertions(+)
14
15 diff --git a/dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild b/dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild
16 new file mode 100644
17 index 00000000000..9b37d88dcd9
18 --- /dev/null
19 +++ b/dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild
20 @@ -0,0 +1,47 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +PHP_EXT_NAME="mailparse"
27 +PHP_EXT_INI="yes"
28 +PHP_EXT_ZENDEXT="no"
29 +PHP_EXT_ECONF_ARGS=""
30 +DOCS=( README )
31 +
32 +USE_PHP="php7-0 php7-1 php5-6 php7-2"
33 +
34 +inherit php-ext-pecl-r3
35 +
36 +# Only build for 7.x
37 +USE_PHP="php7-0 php7-1 php7-2"
38 +
39 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
40 +
41 +DESCRIPTION="PHP extension for parsing and working with RFC822 and MIME compliant messages"
42 +LICENSE="PHP-3.01"
43 +SLOT="7"
44 +IUSE=""
45 +
46 +PHPUSEDEPEND="
47 + php_targets_php7-0? ( dev-lang/php:7.0[unicode] )
48 + php_targets_php7-1? ( dev-lang/php:7.1[unicode] )
49 + php_targets_php7-2? ( dev-lang/php:7.2[unicode] )
50 +"
51 +DEPEND="${PHPUSEDEPEND}
52 + dev-util/re2c"
53 +RDEPEND="${PHPUSEDEPEND} php_targets_php5-6? ( dev-php/pecl-mailparse:0[php_targets_php5-6] )"
54 +
55 +src_prepare() {
56 + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 ; then
57 + php-ext-source-r3_src_prepare
58 + else
59 + default
60 + fi
61 +}
62 +
63 +src_install() {
64 + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 ; then
65 + php-ext-pecl-r3_src_install
66 + fi
67 +}