public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PHPMailer/
Date: Sat,  7 Nov 2015 00:06:11 +0000 (UTC)	[thread overview]
Message-ID: <1446854276.a16b160f1893154607f64c44825c6763a2fc66cf.mjo@gentoo> (raw)

commit:     a16b160f1893154607f64c44825c6763a2fc66cf
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  6 23:57:56 2015 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>php</herd>
+  <maintainer>
+    <email>mjo@gentoo.org</email>
+    <name>Michael Orlitzky</name>
+  </maintainer>
+</pkgmetadata>


             reply	other threads:[~2015-11-07  0:06 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-07  0:06 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-07-15 21:49 [gentoo-commits] repo/gentoo:master commit in: dev-php/PHPMailer/ Michael Orlitzky
2016-12-26 13:44 Michael Orlitzky
2016-12-28 15:50 Michael Orlitzky
2017-05-14 16:22 Michael Orlitzky
2017-07-24 19:52 Michael Orlitzky
2017-12-19 21:35 Michael Orlitzky
2017-12-20  0:55 Michael Orlitzky
2017-12-22  4:27 Michael Orlitzky
2018-10-28  0:05 Michael Orlitzky
2019-02-22 14:55 Thomas Deutschmann
2019-02-22 14:55 Thomas Deutschmann
2019-02-22 14:55 Thomas Deutschmann
2019-11-17 21:01 Thomas Deutschmann
2019-12-09 23:33 Thomas Deutschmann
2019-12-26 10:23 Thomas Deutschmann
2020-03-19 21:55 Thomas Deutschmann
2020-03-19 21:55 Thomas Deutschmann
2020-06-10 13:47 Michael Orlitzky
2020-06-10 13:47 Michael Orlitzky
2020-08-06 14:34 Thomas Deutschmann
2021-02-09 18:47 Thomas Deutschmann
2021-02-09 18:49 Thomas Deutschmann
2021-04-05 20:32 Thomas Deutschmann
2021-05-14 14:05 Thomas Deutschmann
2021-05-14 14:05 Thomas Deutschmann
2021-06-17 23:20 Thomas Deutschmann
2021-07-01 19:26 Michael Orlitzky
2021-08-24 13:17 Thomas Deutschmann
2022-09-06 14:40 Michael Orlitzky
2024-05-05  1:15 Michael Orlitzky
2024-05-05  1:15 Michael Orlitzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1446854276.a16b160f1893154607f64c44825c6763a2fc66cf.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox