summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2016-12-19 14:13:56 -0500
committerBrian Evans <grknight@gentoo.org>2016-12-19 14:13:56 -0500
commitbb87221e74450d456e3e152f4b0c01dfe7b97c99 (patch)
tree23c44f554f705a7f83dd25af01ccc15588c31f5f /dev-php/pecl-mailparse
parentsci-mathematics/coq: add missing findlib build dep, bug #603126 (diff)
downloadgentoo-bb87221e74450d456e3e152f4b0c01dfe7b97c99.tar.gz
gentoo-bb87221e74450d456e3e152f4b0c01dfe7b97c99.tar.bz2
gentoo-bb87221e74450d456e3e152f4b0c01dfe7b97c99.zip
dev-php/pecl-mailparse: Version bump, cleaning dependencies
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-php/pecl-mailparse')
-rw-r--r--dev-php/pecl-mailparse/Manifest1
-rw-r--r--dev-php/pecl-mailparse/pecl-mailparse-2.1.6-r4.ebuild43
-rw-r--r--dev-php/pecl-mailparse/pecl-mailparse-3.0.2.ebuild51
3 files changed, 95 insertions, 0 deletions
diff --git a/dev-php/pecl-mailparse/Manifest b/dev-php/pecl-mailparse/Manifest
index 98dd8410f51d..7f54b2363809 100644
--- a/dev-php/pecl-mailparse/Manifest
+++ b/dev-php/pecl-mailparse/Manifest
@@ -1,2 +1,3 @@
DIST mailparse-2.1.6.tgz 36538 SHA256 73705197d2b2ee782efa5477eb2a21432f592c2cb05a72c3a037bbe39e02b5cc SHA512 a7337dd2e99a953a55b38c236da95a6bd2950c2bca16fc0ddfec39be8b0ffe01007353fc7b562d0509e0bb1623c3d2b03935d1c98a07dcd9f0b14bb508bce374 WHIRLPOOL 238f209a45d83eb9b91cf34f1398ff85c538e8273f73791d4736b15e21de3d48395fd0b838e927cd9dd247bff265782c3e96c87b1d90e73bffc1e6b04beea1ba
DIST mailparse-3.0.1.tgz 38226 SHA256 42ee10de881a3739acf73ddef8800d80c3c57f70072f41bdb22e6e87ebc9cc62 SHA512 42318d145c49644b0a1aea0e18aa3c6899f8ee2a8def7b9c22f7c02737426de22aba00a4c899a269b1d8e64c190654413d857622c882b92caa07f201620f1e61 WHIRLPOOL 0f451f7059e983cc95b87672da07c241be94393b504d44a3faf096be10de4d270191a20591ce2e7fa12ad5572424064a6f10480a769ec5f0b4e09f4638c294dd
+DIST mailparse-3.0.2.tgz 38206 SHA256 d81a6f8a48e43fca1c0f0d6c90d666830c24d584a23a60add43062aaf221843b SHA512 be04e15cf3577542447186d7ead4e31159c171c99de0a255d4ee2f6f760b80ecb44be056bd9089180601f622b9a71f4331f194e1adaa702d1d964009682896f6 WHIRLPOOL d93cedfa38d5c746e680edcdcac2c6e8baf5f223b01c1868b1a8f9390ef1b3ebe50802c50e338b45528d68a4342c4b7020236e90cb397a97479b70cdf3f99e20
diff --git a/dev-php/pecl-mailparse/pecl-mailparse-2.1.6-r4.ebuild b/dev-php/pecl-mailparse/pecl-mailparse-2.1.6-r4.ebuild
new file mode 100644
index 000000000000..ae4d7de88091
--- /dev/null
+++ b/dev-php/pecl-mailparse/pecl-mailparse-2.1.6-r4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PHP_EXT_NAME="mailparse"
+PHP_EXT_ECONF_ARGS=""
+DOCS=( README )
+
+USE_PHP="php5-6 php7-0 php7-1"
+
+inherit php-ext-pecl-r3
+
+USE_PHP="php5-6"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+DESCRIPTION="PHP extension for parsing RFC822 and RFC2045 (MIME) messages"
+LICENSE="PHP-2.02"
+SLOT="0"
+IUSE=""
+
+RDEPEND="php_targets_php5-6? ( dev-lang/php:5.6[unicode] )"
+DEPEND="${RDEPEND}
+ dev-util/re2c"
+PDEPEND="
+php_targets_php7-0? ( dev-php/pecl-mailparse:7[php_targets_php7-0] )
+php_targets_php7-1? ( dev-php/pecl-mailparse:7[php_targets_php7-1] )
+"
+
+src_prepare() {
+ if use php_targets_php5-6 ; then
+ php-ext-source-r3_src_prepare
+ else
+ eapply_user
+ fi
+}
+
+src_install() {
+ if use php_targets_php5-6 ; then
+ php-ext-pecl-r3_src_install
+ fi
+}
diff --git a/dev-php/pecl-mailparse/pecl-mailparse-3.0.2.ebuild b/dev-php/pecl-mailparse/pecl-mailparse-3.0.2.ebuild
new file mode 100644
index 000000000000..306af4b51cd8
--- /dev/null
+++ b/dev-php/pecl-mailparse/pecl-mailparse-3.0.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PHP_EXT_NAME="mailparse"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_ECONF_ARGS=""
+DOCS=( README )
+
+USE_PHP="php7-0 php7-1 php5-6"
+
+inherit php-ext-pecl-r3
+
+# Only build for 7.x
+USE_PHP="php7-0 php7-1"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+DESCRIPTION="PHP extension for parsing and working with RFC822 and MIME compliant messages"
+LICENSE="PHP-3.01"
+SLOT="7"
+IUSE=""
+
+for target in ${USE_PHP}; do
+ phpslot=${target/php}
+ phpslot=${phpslot/-/.}
+ PHPUSEDEPEND="${PHPUSEDEPEND}
+ php_targets_${target}? ( dev-lang/php:${phpslot}[unicode] )"
+done
+unset target phpslot
+
+DEPEND="${PHPUSEDEPEND}
+ dev-util/re2c"
+RDEPEND="${PHPUSEDEPEND} php_targets_php5-6? ( dev-php/pecl-mailparse:0[php_targets_php5-6] )"
+
+src_prepare() {
+ if use php_targets_php7-0 || use php_targets_php7-1 ; then
+ php-ext-source-r3_src_prepare
+ else
+ default_src_prepare
+ fi
+}
+
+src_install() {
+ if use php_targets_php7-0 || use php_targets_php7-1 ; then
+ php-ext-pecl-r3_src_install
+ fi
+}