1 |
commit: 344efd1264754faaeb184f644eac4eec350ebe67 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 8 13:24:09 2022 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 8 13:24:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=344efd12 |
7 |
|
8 |
dev-php/smarty: Drop old |
9 |
|
10 |
Bug: https://bugs.gentoo.org/830980 |
11 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
12 |
|
13 |
dev-php/smarty/Manifest | 2 -- |
14 |
dev-php/smarty/smarty-3.1.39.ebuild | 46 ------------------------------------- |
15 |
dev-php/smarty/smarty-4.0.3.ebuild | 46 ------------------------------------- |
16 |
3 files changed, 94 deletions(-) |
17 |
|
18 |
diff --git a/dev-php/smarty/Manifest b/dev-php/smarty/Manifest |
19 |
index 4c1b431efd98..1af0ed132b60 100644 |
20 |
--- a/dev-php/smarty/Manifest |
21 |
+++ b/dev-php/smarty/Manifest |
22 |
@@ -1,4 +1,2 @@ |
23 |
DIST manual-en.3.1.14.zip 408414 BLAKE2B 03d4e7a386eb3bd5b19e5c555ec34b86812838a5b5fac8ec0ab9701fba89a5867714da57d950f68224a89bbe2267c18d638ee850681860de309c74bbfb3d0a0b SHA512 d384e3856b45ed3f992f3732a5465120abe9fb947cdf13ff67a9c4264f72987d24885ee61cd7309b728e64cdfe4f34c3e7f757096d35de56d962f3b78def9e58 |
24 |
-DIST smarty-3.1.39.tar.gz 264604 BLAKE2B ab5e8e052fd83e38a99725f03dcc4a206848c153b0584c12de1c605d9a9a5b47d23c29bd8a5179e53cf73921c89632ee2c4e9921002f41a4de97c6dc2e7d91a1 SHA512 84566bdefd83784c5b22ea4c21405261010a03e07839b15f6e1837aeb93ae12ae724a31648627b5f8794659e2fcd6cbbcd633be8d290dd1744e45e87fbe60fd2 |
25 |
-DIST smarty-4.0.3.tar.gz 358999 BLAKE2B 13866ff2da1d99672337815eb264b3941a51ef4b26079995790a1759e7a1acd1e6c724af25eae5eec18f992f1a1f08564746867d5c715df9755a8899cd96c641 SHA512 9a3cf224b38e4e0fd55d2242f4b09531ae44f581979b64754fea1bab4f540b49c0222e9a43622d87d3d82e68c6d8aaca31bb34dc0b1b691ed413de6af06e69cb |
26 |
DIST smarty-4.0.4.tar.gz 359012 BLAKE2B 84f34ff1e00f81de8961e252a14a7d813180b789820ace363c7a64f05d57c874d1f77068aed43d1d4cfc9aed0b348625e85e75a30ae3f1dab7a15c92f6ed9ab5 SHA512 1eef2585b415905e4a67328ab56ae473e5121b8f3a50f0d3aa3c60ab331eda9137744c92dcf2fcc674a6ec68eb714aa60468d1b56a436a94778be242fbd0b377 |
27 |
|
28 |
diff --git a/dev-php/smarty/smarty-3.1.39.ebuild b/dev-php/smarty/smarty-3.1.39.ebuild |
29 |
deleted file mode 100644 |
30 |
index e78d49468259..000000000000 |
31 |
--- a/dev-php/smarty/smarty-3.1.39.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,46 +0,0 @@ |
34 |
-# Copyright 1999-2021 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
- |
39 |
-DOC_PV="3.1.14" |
40 |
- |
41 |
-DESCRIPTION="A template engine for PHP" |
42 |
-HOMEPAGE="https://www.smarty.net/" |
43 |
-SRC_URI="https://github.com/smarty-php/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
44 |
- doc? ( https://www.smarty.net/files/docs/manual-en.${DOC_PV}.zip )" |
45 |
- |
46 |
-LICENSE="LGPL-3" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86" |
49 |
-IUSE="doc" |
50 |
- |
51 |
-BDEPEND="doc? ( app-arch/unzip )" |
52 |
- |
53 |
-# PHP unicode support is detected at runtime, and the cached templates |
54 |
-# that smarty generates depend on it. If, later on, PHP is reinstalled |
55 |
-# without unicode support, all of the previously-generated cached |
56 |
-# templates will begin to throw 500 errrors for missing mb_foo |
57 |
-# functions. See bug #532618. |
58 |
-RDEPEND="dev-lang/php:*[unicode]" |
59 |
- |
60 |
-src_install() { |
61 |
- insinto "/usr/share/php/${PN}" |
62 |
- doins -r libs/* |
63 |
- |
64 |
- local DOCS=( *.txt README README.md ) |
65 |
- local HTML_DOCS |
66 |
- use doc && HTML_DOCS="${WORKDIR}/manual-en/"* |
67 |
- einstalldocs |
68 |
-} |
69 |
- |
70 |
-pkg_postinst() { |
71 |
- elog "${PN} has been installed in /usr/share/php/${PN}/." |
72 |
- elog |
73 |
- elog 'To use it in your scripts, include the Smarty.class.php file' |
74 |
- elog "from the \"${PN}\" directory; for example," |
75 |
- elog |
76 |
- elog " require('${PN}/Smarty.class.php');" |
77 |
- elog |
78 |
- elog 'After that, the Smarty class will be available to you.' |
79 |
-} |
80 |
|
81 |
diff --git a/dev-php/smarty/smarty-4.0.3.ebuild b/dev-php/smarty/smarty-4.0.3.ebuild |
82 |
deleted file mode 100644 |
83 |
index b8594fc0e25c..000000000000 |
84 |
--- a/dev-php/smarty/smarty-4.0.3.ebuild |
85 |
+++ /dev/null |
86 |
@@ -1,46 +0,0 @@ |
87 |
-# Copyright 1999-2022 Gentoo Authors |
88 |
-# Distributed under the terms of the GNU General Public License v2 |
89 |
- |
90 |
-EAPI=8 |
91 |
- |
92 |
-DOC_PV="3.1.14" |
93 |
- |
94 |
-DESCRIPTION="A template engine for PHP" |
95 |
-HOMEPAGE="https://www.smarty.net/" |
96 |
-SRC_URI="https://github.com/smarty-php/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
97 |
- doc? ( https://www.smarty.net/files/docs/manual-en.${DOC_PV}.zip )" |
98 |
- |
99 |
-LICENSE="LGPL-3" |
100 |
-SLOT="0" |
101 |
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
102 |
-IUSE="doc" |
103 |
- |
104 |
-BDEPEND="doc? ( app-arch/unzip )" |
105 |
- |
106 |
-# PHP unicode support is detected at runtime, and the cached templates |
107 |
-# that smarty generates depend on it. If, later on, PHP is reinstalled |
108 |
-# without unicode support, all of the previously-generated cached |
109 |
-# templates will begin to throw 500 errrors for missing mb_foo |
110 |
-# functions. See bug #532618. |
111 |
-RDEPEND="dev-lang/php:*[unicode]" |
112 |
- |
113 |
-src_install() { |
114 |
- insinto "/usr/share/php/${PN}" |
115 |
- doins -r libs/* |
116 |
- |
117 |
- local DOCS=( CHANGELOG.md README.md SECURITY.md ) |
118 |
- local HTML_DOCS |
119 |
- use doc && HTML_DOCS="${WORKDIR}/manual-en/"* |
120 |
- einstalldocs |
121 |
-} |
122 |
- |
123 |
-pkg_postinst() { |
124 |
- elog "${PN} has been installed in /usr/share/php/${PN}/." |
125 |
- elog |
126 |
- elog 'To use it in your scripts, include the Smarty.class.php file' |
127 |
- elog "from the \"${PN}\" directory; for example," |
128 |
- elog |
129 |
- elog " require('${PN}/Smarty.class.php');" |
130 |
- elog |
131 |
- elog 'After that, the Smarty class will be available to you.' |
132 |
-} |