From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5C7201384B4 for ; Sat, 7 Nov 2015 00:06:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B286421C04F; Sat, 7 Nov 2015 00:06:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3FDA021C04F for ; Sat, 7 Nov 2015 00:06:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EAD5033FDBF for ; Sat, 7 Nov 2015 00:06:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C0A7119B for ; Sat, 7 Nov 2015 00:06:11 +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: <1446854276.a16b160f1893154607f64c44825c6763a2fc66cf.mjo@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PHPMailer/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/PHPMailer/Manifest dev-php/PHPMailer/PHPMailer-5.2.14.ebuild dev-php/PHPMailer/metadata.xml X-VCS-Directories: dev-php/PHPMailer/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: a16b160f1893154607f64c44825c6763a2fc66cf X-VCS-Branch: master Date: Sat, 7 Nov 2015 00:06:11 +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: 872757c3-a750-45e1-84b8-2aae7605b5b5 X-Archives-Hash: 7781a993b6838c2502ce6be3a8d42ecf commit: a16b160f1893154607f64c44825c6763a2fc66cf Author: Michael Orlitzky gentoo org> AuthorDate: Fri Nov 6 23:57:56 2015 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Fri Nov 6 23:57:56 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a16b160f dev-php/PHPMailer: new package to construct and send email using PHP. Package-Manager: portage-2.2.20.1 dev-php/PHPMailer/Manifest | 1 + dev-php/PHPMailer/PHPMailer-5.2.14.ebuild | 57 +++++++++++++++++++++++++++++++ dev-php/PHPMailer/metadata.xml | 9 +++++ 3 files changed, 67 insertions(+) diff --git a/dev-php/PHPMailer/Manifest b/dev-php/PHPMailer/Manifest new file mode 100644 index 0000000..2ea457d --- /dev/null +++ b/dev-php/PHPMailer/Manifest @@ -0,0 +1 @@ +DIST PHPMailer-5.2.14.tar.gz 192100 SHA256 54acc99a6cdd807c5646e712e4499308d885bc76a3dc27679388fe0359bd3a93 SHA512 f3cacbdea4b008e6f0bddbc06fc08c8afebe64f74dded5fe87022a6ccf36db19bf4cf4f303399373c250afec32f87645eab6acd8adbcfbed3af349edd51f9e49 WHIRLPOOL c202ad61a6380b23f3e7460f333e396ef9be16f097a798f048a806d184a8ed2f50a32183d7420e7e1439865367177df0d352246928a67b315a89ed339534ad6c diff --git a/dev-php/PHPMailer/PHPMailer-5.2.14.ebuild b/dev-php/PHPMailer/PHPMailer-5.2.14.ebuild new file mode 100644 index 0000000..880f5b0 --- /dev/null +++ b/dev-php/PHPMailer/PHPMailer-5.2.14.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="Full-featured email creation and transfer class for PHP" +HOMEPAGE="https://github.com/PHPMailer/PHPMailer" +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 test" + +RDEPEND="dev-lang/php:*" +DEPEND="${RDEPEND} + doc? ( dev-php/phpDocumentor ) + test? ( dev-php/phpunit )" + +# The test suite requires network access. +RESTRICT=test + +src_compile(){ + if use doc; then + phpdoc --filename="class.*.php" \ + --target="./html" \ + --title="${PN}" \ + --sourcecode \ + --force \ + --progressbar \ + || die "failed to generate API documentation" + fi +} + +src_install(){ + insinto "/usr/share/php/${PN}" + doins -r *.php language extras + + dodoc README.md changelog.md + dodoc docs/* + use examples && dodoc -r examples + + use doc && dohtml -r html/* +} + +src_test(){ + cd test/ || die + phpunit . || die "test suite failed" +} + +pkg_postinst(){ + elog "${PN} has been installed in /usr/share/php/${PN}/." + elog "To use it in a script, require('${PN}/${PN}Autoload.php')," + elog "and then use the ${PN} class normally. Most of the examples in" + elog "the documentation should work without further modification." +} diff --git a/dev-php/PHPMailer/metadata.xml b/dev-php/PHPMailer/metadata.xml new file mode 100644 index 0000000..b04ba66 --- /dev/null +++ b/dev-php/PHPMailer/metadata.xml @@ -0,0 +1,9 @@ + + + + php + + mjo@gentoo.org + Michael Orlitzky + +