From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C3C48139083 for ; Fri, 22 Dec 2017 04:28:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0C4CE0D8F; Fri, 22 Dec 2017 04:28:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9EA11E0D8F for ; Fri, 22 Dec 2017 04:27:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 04C2533FE49 for ; Fri, 22 Dec 2017 04:27:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 91DD4AE7E for ; Fri, 22 Dec 2017 04:27:55 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1513916819.3e0626ba870b97a5258731cc582379824d8d9b53.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PHPMailer/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/PHPMailer/PHPMailer-5.2.26-r1.ebuild dev-php/PHPMailer/PHPMailer-5.2.26-r2.ebuild X-VCS-Directories: dev-php/PHPMailer/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: 3e0626ba870b97a5258731cc582379824d8d9b53 X-VCS-Branch: master Date: Fri, 22 Dec 2017 04:27:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4a774508-5ff8-478c-a1ab-fbfd507fdd7b X-Archives-Hash: 356ca124eb17913d38adcfff79eba04d commit: 3e0626ba870b97a5258731cc582379824d8d9b53 Author: Michael Orlitzky gentoo org> AuthorDate: Fri Dec 22 04:01:37 2017 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Fri Dec 22 04:26:59 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e0626ba dev-php/PHPMailer: another revision to sort out PHP extension deps. Package-Manager: Portage-2.3.13, Repoman-2.3.3 ...-5.2.26-r1.ebuild => PHPMailer-5.2.26-r2.ebuild} | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/dev-php/PHPMailer/PHPMailer-5.2.26-r1.ebuild b/dev-php/PHPMailer/PHPMailer-5.2.26-r2.ebuild similarity index 62% rename from dev-php/PHPMailer/PHPMailer-5.2.26-r1.ebuild rename to dev-php/PHPMailer/PHPMailer-5.2.26-r2.ebuild index 152762c2a1f..1cd077177b3 100644 --- a/dev-php/PHPMailer/PHPMailer-5.2.26-r1.ebuild +++ b/dev-php/PHPMailer/PHPMailer-5.2.26-r2.ebuild @@ -10,9 +10,26 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc +examples" +IUSE="doc examples idn ssl" -RDEPEND="dev-lang/php:*[ctype,filter,ssl]" +# The ctype and filter extensions get used unconditionally, with no +# fallback and no "extension missing" exception. All of the other +# extensions are technically optional, depending on how you use +# PHPMailer and whether or not you're willing to settle for fallback +# implementations. +# +# The insane dependency string is to prevent the ctype and filter +# extensions from being provided by one version (i.e. slot) of PHP, +# while intl and unicode are provided by another. +RDEPEND=" + ssl? ( + idn? ( dev-lang/php:*[ctype,filter,intl,ssl,unicode] ) + !idn? ( dev-lang/php:*[ctype,filter,ssl] ) + ) + !ssl? ( + idn? ( dev-lang/php:*[ctype,filter,intl,unicode] ) + !idn? ( dev-lang/php:*[ctype,filter] ) + )" DEPEND="${RDEPEND} doc? ( dev-php/phpDocumentor )"