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 D3A1F138330 for ; Mon, 3 Oct 2016 18:45:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EABA0E0B90; Mon, 3 Oct 2016 18:44:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BC947E0B90 for ; Mon, 3 Oct 2016 18:44: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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DA319340ECE for ; Mon, 3 Oct 2016 18:44:56 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 42B242497 for ; Mon, 3 Oct 2016 18:44:55 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1475520274.560e29bcbb49759169b1dc20b606360aa95af84e.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/smarty/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-php/smarty/Manifest dev-php/smarty/smarty-3.1.30.ebuild X-VCS-Directories: dev-php/smarty/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 560e29bcbb49759169b1dc20b606360aa95af84e X-VCS-Branch: master Date: Mon, 3 Oct 2016 18:44: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: 55c29cd6-6d20-49f0-9321-1274edfc3ead X-Archives-Hash: e07e1a05b55aa4141e70b67200beee60 commit: 560e29bcbb49759169b1dc20b606360aa95af84e Author: Brian Evans gentoo org> AuthorDate: Mon Oct 3 18:44:34 2016 +0000 Commit: Brian Evans gentoo org> CommitDate: Mon Oct 3 18:44:34 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=560e29bc dev-php/smarty: Version bump Package-Manager: portage-2.3.1 dev-php/smarty/Manifest | 1 + dev-php/smarty/smarty-3.1.30.ebuild | 47 +++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-php/smarty/Manifest b/dev-php/smarty/Manifest index 7931ce8..5424708 100644 --- a/dev-php/smarty/Manifest +++ b/dev-php/smarty/Manifest @@ -1,3 +1,4 @@ DIST Smarty-3.1.21.tar.gz 208308 SHA256 e872f98a194a31b9dea710fceb308431c0e2b846e46ce845b547f54e5789c465 SHA512 018b85f9b8f0de5b5c796cc7ee250159e3e0eba3d91344ce619cc96f2bab45510d49a240938c2b15820cfef9f6de52121194db7d9991559a3e58c31288fa46af WHIRLPOOL 9bbc8965bb8fb1394abf2dbb564fbc62af9259f285952cd9cdc69dd06e9f615f5fbb4e39c408e69b926107ab9c2f958af927c80d4d3792d4dee2a7da68f442c2 DIST manual-en.3.1.14.zip 408414 SHA256 3aabe51e932b790d24dd8a3c77188b43b99a127f3adaeb0108f085c310404850 SHA512 d384e3856b45ed3f992f3732a5465120abe9fb947cdf13ff67a9c4264f72987d24885ee61cd7309b728e64cdfe4f34c3e7f757096d35de56d962f3b78def9e58 WHIRLPOOL 33dd45ea6cd7bc1129625eb72417fae7c41226a92a6aaddcb72c4426517bd465529599fd8bfc259d8bc3f70f7cd064ada020da4ea7d260cf9801af6944db29f4 DIST smarty-3.1.27.tar.gz 226277 SHA256 56851d938fde2133331263d0e7788a6f8428f00a97e8d58f486983e64afe6415 SHA512 3ccb17c13a35070fdf50bc641bf6e218890013881fdd5ee03ed5d14c314d646b4aabcfe723a59723bd1c10dd2b63dd92110cf2505edeb5c45ca32ce6ce623ca2 WHIRLPOOL d15f6b7c0753262e9d9a698fdd877b7e5466a0b8d4a59c21e5cce2ed0cd7177bc5e02709e7af7bd312af1bc5e5658bd284eda04b5233c55ede7e491e9c617aef +DIST smarty-3.1.30.tar.gz 255464 SHA256 62461370c73fb3eb315c6a0a55f9bdbb04d115a0e3eaf46d76d68336524f344f SHA512 6ad9a6cf10b81fecbdc4daa4acbd9724db5f1c2a014e35039b36b0bf00ba000946a2126f7da5899e587a79419f451aafcd1ee14597a32cf290bbd0bf13a877d0 WHIRLPOOL c78d912618f80cbc8226c10b8371ed9514417149cc5f694967616ff3b9c880c424351a303fc14ab42a2dc7683c015c41c7b9006a3123f76df918b75d303463bd diff --git a/dev-php/smarty/smarty-3.1.30.ebuild b/dev-php/smarty/smarty-3.1.30.ebuild new file mode 100644 index 00000000..827b7ad --- /dev/null +++ b/dev-php/smarty/smarty-3.1.30.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DOC_PV="3.1.14" + +DESCRIPTION="A template engine for PHP" +HOMEPAGE="http://www.smarty.net/" +SRC_URI="https://github.com/smarty-php/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + doc? ( http://www.smarty.net/files/docs/manual-en.${DOC_PV}.zip )" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc" + +DEPEND="doc? ( app-arch/unzip )" + +# PHP unicode support is detected at runtime, and the cached templates +# that smarty generates depend on it. If, later on, PHP is reinstalled +# without unicode support, all of the previously-generated cached +# templates will begin to throw 500 errrors for missing mb_foo +# functions. See bug #532618. +RDEPEND="dev-lang/php:*[unicode]" + +src_install() { + insinto "/usr/share/php/${PN}" + doins -r libs/* + + local DOCS=( *.txt README README.md ) + local HTML_DOCS + use doc && HTML_DOCS="${WORKDIR}/manual-en/"* + einstalldocs +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/${PN}/." + elog + elog 'To use it in your scripts, include the Smarty.class.php file' + elog "from the \"${PN}\" directory; for example," + elog + elog " require('${PN}/Smarty.class.php');" + elog + elog 'After that, the Smarty class will be available to you.' +}