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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 22E39158086 for ; Tue, 11 Jan 2022 16:05:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 697122BC022; Tue, 11 Jan 2022 16:05:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ED6DE2BC022 for ; Tue, 11 Jan 2022 16:05:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D8E48342AFB for ; Tue, 11 Jan 2022 16:05:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6F43C239 for ; Tue, 11 Jan 2022 16:05:42 +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: <1641917112.7ceabb261d8cfed718f1d1939da6f5e58b69424c.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-4.0.3.ebuild X-VCS-Directories: dev-php/smarty/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 7ceabb261d8cfed718f1d1939da6f5e58b69424c X-VCS-Branch: master Date: Tue, 11 Jan 2022 16:05:42 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fce1af13-e0e0-48a4-bce8-37ef404a371c X-Archives-Hash: 56ea54756516bb728264814de4b46369 commit: 7ceabb261d8cfed718f1d1939da6f5e58b69424c Author: Brian Evans gentoo org> AuthorDate: Tue Jan 11 16:05:12 2022 +0000 Commit: Brian Evans gentoo org> CommitDate: Tue Jan 11 16:05:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ceabb26 dev-php/smarty: Version bump for 4.0.3 Bug: https://bugs.gentoo.org/830980 Signed-off-by: Brian Evans gentoo.org> dev-php/smarty/Manifest | 1 + dev-php/smarty/smarty-4.0.3.ebuild | 46 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-php/smarty/Manifest b/dev-php/smarty/Manifest index 59f8dd20ec00..e4b287b8034e 100644 --- a/dev-php/smarty/Manifest +++ b/dev-php/smarty/Manifest @@ -1,2 +1,3 @@ DIST manual-en.3.1.14.zip 408414 BLAKE2B 03d4e7a386eb3bd5b19e5c555ec34b86812838a5b5fac8ec0ab9701fba89a5867714da57d950f68224a89bbe2267c18d638ee850681860de309c74bbfb3d0a0b SHA512 d384e3856b45ed3f992f3732a5465120abe9fb947cdf13ff67a9c4264f72987d24885ee61cd7309b728e64cdfe4f34c3e7f757096d35de56d962f3b78def9e58 DIST smarty-3.1.39.tar.gz 264604 BLAKE2B ab5e8e052fd83e38a99725f03dcc4a206848c153b0584c12de1c605d9a9a5b47d23c29bd8a5179e53cf73921c89632ee2c4e9921002f41a4de97c6dc2e7d91a1 SHA512 84566bdefd83784c5b22ea4c21405261010a03e07839b15f6e1837aeb93ae12ae724a31648627b5f8794659e2fcd6cbbcd633be8d290dd1744e45e87fbe60fd2 +DIST smarty-4.0.3.tar.gz 358999 BLAKE2B 13866ff2da1d99672337815eb264b3941a51ef4b26079995790a1759e7a1acd1e6c724af25eae5eec18f992f1a1f08564746867d5c715df9755a8899cd96c641 SHA512 9a3cf224b38e4e0fd55d2242f4b09531ae44f581979b64754fea1bab4f540b49c0222e9a43622d87d3d82e68c6d8aaca31bb34dc0b1b691ed413de6af06e69cb diff --git a/dev-php/smarty/smarty-4.0.3.ebuild b/dev-php/smarty/smarty-4.0.3.ebuild new file mode 100644 index 000000000000..b8594fc0e25c --- /dev/null +++ b/dev-php/smarty/smarty-4.0.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOC_PV="3.1.14" + +DESCRIPTION="A template engine for PHP" +HOMEPAGE="https://www.smarty.net/" +SRC_URI="https://github.com/smarty-php/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + doc? ( https://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" + +BDEPEND="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=( CHANGELOG.md README.md SECURITY.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.' +}