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 EB31B15800F for ; Tue, 31 Jan 2023 13:41:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11FE6E09AB; Tue, 31 Jan 2023 13:41:59 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E40A2E09AB for ; Tue, 31 Jan 2023 13:41:58 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C9F4C340C7F for ; Tue, 31 Jan 2023 13:41:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 17DD162F for ; Tue, 31 Jan 2023 13:41:56 +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: <1675172268.e95103d06272a04fc8a1bf95527053cdec1dbd32.mjo@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.3.0.ebuild X-VCS-Directories: dev-php/smarty/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: e95103d06272a04fc8a1bf95527053cdec1dbd32 X-VCS-Branch: master Date: Tue, 31 Jan 2023 13:41:56 +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: 4d266840-71df-4f6e-9a06-4a8cd948df30 X-Archives-Hash: 114c2886408ad80150e37e7eea5d460f commit: e95103d06272a04fc8a1bf95527053cdec1dbd32 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Jan 31 13:37:48 2023 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Tue Jan 31 13:37:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e95103d0 dev-php/smarty: add 4.3.0 Signed-off-by: Michael Orlitzky gentoo.org> dev-php/smarty/Manifest | 1 + dev-php/smarty/smarty-4.3.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-php/smarty/Manifest b/dev-php/smarty/Manifest index fe6283ca44ca..854d81f2df8c 100644 --- a/dev-php/smarty/Manifest +++ b/dev-php/smarty/Manifest @@ -1 +1,2 @@ DIST smarty-4.2.1.tar.gz 236881 BLAKE2B 4014178cfc4411a9ded3120d0e3e977af0190bc03f6ed21bbd2c484ca8fb4e5aa79fe9c606ee13be87db94c17a00d7d0399cb04fe09c4b439b95bc7b9331d675 SHA512 0d55ab1d329aaa0853a1c40b5b0207d3ddc8b0c25d863a217b3c4ac8bb0a796bb60eda2919b5dda569565b03b8dd44dff67b55d8fafc005164f2848bb481d131 +DIST smarty-4.3.0.tar.gz 360023 BLAKE2B 7f3fbeab71b9deb30242cfaf62a67380397a0ad0ca6c657186aa8150f27df46b33dbe55d32657f71f13ea6fe31d37dbfba44dee43ab21ef6906ba56e1ccdff60 SHA512 7db02a455ab4a6aeb69792f5cdd043a2045fa3a2045d06e1a2423cd4dae48c306be149c25567d1be92f50789e14c4d314b7bd29f3f52b74b00bfeeedc0be7ca9 diff --git a/dev-php/smarty/smarty-4.3.0.ebuild b/dev-php/smarty/smarty-4.3.0.ebuild new file mode 100644 index 000000000000..312ca47189f6 --- /dev/null +++ b/dev-php/smarty/smarty-4.3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A template engine for PHP" +HOMEPAGE="https://www.smarty.net/ https://github.com/smarty-php/smarty/" +SRC_URI="https://github.com/smarty-php/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +# 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/* + + # The smarty docs and examples aren't part of the tarball, + # https://github.com/smarty-php/smarty/issues/799 + local DOCS=( CHANGELOG.md README.md SECURITY.md ) + 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.' +}