From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX <venerix@redcorelinux.org> Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-php/smarty/Manifest | 8 +++++++ dev-php/smarty/metadata.xml | 16 +++++++++++++ dev-php/smarty/smarty-3.1.30.ebuild | 46 +++++++++++++++++++++++++++++++++++++ dev-php/smarty/smarty-3.1.31.ebuild | 46 +++++++++++++++++++++++++++++++++++++ 4 files changed, 116 insertions(+) create mode 100644 dev-php/smarty/Manifest create mode 100644 dev-php/smarty/metadata.xml create mode 100644 dev-php/smarty/smarty-3.1.30.ebuild create mode 100644 dev-php/smarty/smarty-3.1.31.ebuild (limited to 'dev-php/smarty') diff --git a/dev-php/smarty/Manifest b/dev-php/smarty/Manifest new file mode 100644 index 000000000000..2f04a424bc63 --- /dev/null +++ b/dev-php/smarty/Manifest @@ -0,0 +1,8 @@ +DIST manual-en.3.1.14.zip 408414 SHA256 3aabe51e932b790d24dd8a3c77188b43b99a127f3adaeb0108f085c310404850 SHA512 d384e3856b45ed3f992f3732a5465120abe9fb947cdf13ff67a9c4264f72987d24885ee61cd7309b728e64cdfe4f34c3e7f757096d35de56d962f3b78def9e58 WHIRLPOOL 33dd45ea6cd7bc1129625eb72417fae7c41226a92a6aaddcb72c4426517bd465529599fd8bfc259d8bc3f70f7cd064ada020da4ea7d260cf9801af6944db29f4 +DIST smarty-3.1.30.tar.gz 255464 SHA256 62461370c73fb3eb315c6a0a55f9bdbb04d115a0e3eaf46d76d68336524f344f SHA512 6ad9a6cf10b81fecbdc4daa4acbd9724db5f1c2a014e35039b36b0bf00ba000946a2126f7da5899e587a79419f451aafcd1ee14597a32cf290bbd0bf13a877d0 WHIRLPOOL c78d912618f80cbc8226c10b8371ed9514417149cc5f694967616ff3b9c880c424351a303fc14ab42a2dc7683c015c41c7b9006a3123f76df918b75d303463bd +DIST smarty-3.1.31.tar.gz 244196 SHA256 b1f2976a3fabfd4e91f1412e262bc55118af30f46e2fcde2a8ba69192aae82d3 SHA512 807343e4229413ea0f5219a828d4e91603fb5454f4abe8aa2d41f0a6fe32fa476e791340e1e95178ded3774d1524e98489c104c6fa391e70a8225de28fdcca18 WHIRLPOOL 71cf9eb8d18149538f374939715e921bf04420e2b7ed4ff30a4ac7857ee2807052c7ee2725eaa19bdc63f2aa59fa785ca73cad162b5d2bbaeb35677679a84602 +EBUILD smarty-3.1.30.ebuild 1329 SHA256 06d4e99a67c1b80b30e690df0acf23cf86dc5a28daad350a7eea49acd6fb9a64 SHA512 44dc07bf8992493879cfc7a343c8dc2b41d64d75121d3e8cfeeabd0b10e57bb04ba7fde15fc067dbfeb276d39c835007cca114152d7d6ba4538c59bc19203e8e WHIRLPOOL 1b5ec139b73771b0765d629ac335a7b9815aefe8a8ff267e096633305498d210669cf0e87b48890458ad95caf913bbb65dff0223e402f71fa58817d1f20fb4f9 +EBUILD smarty-3.1.31.ebuild 1337 SHA256 37bd9944304bb920d3dbb97bd7341aab91454d52ca1b8fd382e10876df37aa3f SHA512 8f678139dc0899166b13c2c1a860dadddb4d79fb29cdb9e8bbb4a2feb0a417526772d5fe3a7e4db4185a0a07ffb36191116c2bfdfb780ec483b22e225acc71e0 WHIRLPOOL 0e3c810ad471799b3a84bc23efb6fe0542885e4e7c514106219af822a36a2e1eff6b76f97f689f3253df6ac3aaedb74286baa7efaaf81b8a288f88c75e7f9018 +MISC ChangeLog 2952 SHA256 e0d8f0d5dc5ce111cacfca5242df6ea0f767c6b0e5b8815d70dfecbf0350b313 SHA512 eba654606a372a49d177acb679295685cef252d6cb11dc0f6a67d6702acc7b32a08060c8991c0942169a0fc3a0e51869e1b9f5ed437cb163c7921b43c01e9724 WHIRLPOOL bd5b6212763c56839e59a846d4c1d8c2e213aeea3cbab5d0b6d43d62f5b753d1000d49a28483e86676d27c2581afac102081afab336b05303d8d875d455555e5 +MISC ChangeLog-2015 18150 SHA256 e81fa95ffead2c7d715e853d9c790719b15f4b046a6d590b06e63973d9db8b7f SHA512 0d536eed488ed0e55b35822806f6f8f81cc21d6b0e8a4e7c0f155586c93a52da1703c9d2bf910f91d0b37b77b9ce697769583d6853f537a837e52ec5155d3ed4 WHIRLPOOL 8e4ec144fa43716d06203d37f60dfd63a4afd968469c2faa309e78afaf9d957a7b80d249339b63b9c5d61aeaba4e1599db65e6c7ca9486d0dd85401119356978 +MISC metadata.xml 581 SHA256 743e8ee011574693a0d32d153d093d884fc9d0e71d3f28216658dd19016fc6a4 SHA512 1bf0fea8d62a06b1b67ee417eeb44dbb476ba590b35808f7c7bc1b40a6758b2c3f931e8290c2908a14828f8e2789eb8e2c6d5a26e106f97359f45a476fd31401 WHIRLPOOL 6bd42dfc923eb32d3d5edbcca0dbeaf25b7b289c54e60481891159816d79d18bf4502f43c42dd39c2e1f8fc66f459bb7ca60ab53b00d28a7a219972504d92863 diff --git a/dev-php/smarty/metadata.xml b/dev-php/smarty/metadata.xml new file mode 100644 index 000000000000..65adc5d3d3e2 --- /dev/null +++ b/dev-php/smarty/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>php-bugs@gentoo.org</email> + <name>PHP</name> + </maintainer> + <longdescription lang="en"> + Smarty is a template engine for PHP, facilitating the separation of + presentation (HTML/CSS) from application logic. This implies that PHP + code is application logic, and is separated from the presentation. + </longdescription> + <upstream> + <remote-id type="github">smarty-php/smarty</remote-id> + </upstream> +</pkgmetadata> 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 000000000000..77b161474216 --- /dev/null +++ b/dev-php/smarty/smarty-3.1.30.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.' +} diff --git a/dev-php/smarty/smarty-3.1.31.ebuild b/dev-php/smarty/smarty-3.1.31.ebuild new file mode 100644 index 000000000000..d0f0c4c87fc3 --- /dev/null +++ b/dev-php/smarty/smarty-3.1.31.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.' +} -- cgit v1.2.3