1 |
commit: b56fbd52e589f7e139c7c7d27e55240ed245bcc9 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 18 18:43:10 2021 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 18 18:46:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56fbd52 |
7 |
|
8 |
dev-php/PEAR-Log: bump to v1.13.3 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
dev-php/PEAR-Log/Manifest | 1 + |
14 |
dev-php/PEAR-Log/PEAR-Log-1.13.3.ebuild | 51 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 52 insertions(+) |
16 |
|
17 |
diff --git a/dev-php/PEAR-Log/Manifest b/dev-php/PEAR-Log/Manifest |
18 |
index 0283dfac627..ee627883a70 100644 |
19 |
--- a/dev-php/PEAR-Log/Manifest |
20 |
+++ b/dev-php/PEAR-Log/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST Log-1.13.1.tgz 46764 BLAKE2B dc0f4605ed801818ddf070ec3beb6818af1630d99bec721cd3f487e709f87bd4a1628a05854c48fe9775aab546bdce4618061ef37674aa9921f536deccc6a080 SHA512 246510b7dbff4dc9f9cdd951d76baf2dd377e30ffde6d38cadac10091dcb92f8095406edb6d8a87ebe2330d514ce99f355f84ebfe57cd8a3f3babc316995148a |
23 |
DIST Log-1.13.2.tgz 46801 BLAKE2B 529677ed8a840742840a8ebeb5f5c7d4e8a8af257f9c3b1cb9ff990e42e760e0040f7df8d94794f40ec5654cf33e1909b7b48ca3f656d2a2bc0310c6705d6c24 SHA512 a4adaf7ee2af600a6c14ed398159c61a7df73b2c6be928f0ea6bbaf90d4b0e866e5a169953fa7819e293cd5cb29c6aca762ced79f3619dfbb38af1ea8731b1c4 |
24 |
+DIST Log-1.13.3.tgz 46815 BLAKE2B 139cc96e475bce1e1e34672c97060d8c2f77767d290641936ec9b28502fbf74ae2fcbb06c51bb991b413dfb8b59ae365f608f5db0687342fd2f4033a77d097f1 SHA512 76baf5f6c800252d30403f64f3390291193c208789e1a3b88b945bf4a28defcd465fe2313ec83487f0be95ba2a99ca75d41f4bfb01f83b84b50fdcdb68e901d4 |
25 |
|
26 |
diff --git a/dev-php/PEAR-Log/PEAR-Log-1.13.3.ebuild b/dev-php/PEAR-Log/PEAR-Log-1.13.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..2c518ff5dab |
29 |
--- /dev/null |
30 |
+++ b/dev-php/PEAR-Log/PEAR-Log-1.13.3.ebuild |
31 |
@@ -0,0 +1,51 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+MY_PN="${PN/PEAR-/}" |
38 |
+MY_P="${MY_PN}-${PV}" |
39 |
+ |
40 |
+DESCRIPTION="The Log framework provides an abstracted logging system" |
41 |
+HOMEPAGE="https://pear.php.net/package/Log" |
42 |
+SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
46 |
+IUSE="examples test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+# The DB, Mail, and MDB2 dependencies are technically optional, but |
50 |
+# automagic. To avoid surprises, we require them unconditionally. |
51 |
+CDEPEND="dev-lang/php:* |
52 |
+ dev-php/PEAR-PEAR |
53 |
+ dev-php/PEAR-DB |
54 |
+ dev-php/PEAR-Mail |
55 |
+ dev-php/PEAR-MDB2" |
56 |
+ |
57 |
+BDEPEND="test? ( ${CDEPEND} )" |
58 |
+ |
59 |
+RDEPEND="${CDEPEND}" |
60 |
+ |
61 |
+S="${WORKDIR}/${MY_P}" |
62 |
+ |
63 |
+src_test() { |
64 |
+ # Requires the "pear" executable from dev-php/PEAR-PEAR. |
65 |
+ pear run-tests tests || die |
66 |
+ |
67 |
+ # The command succeeds regardless of whether or not the test suite |
68 |
+ # passed, but this file is only written when there was a failure. |
69 |
+ [[ -f run-tests.log ]] && die "test suite failed" |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ dodoc docs/guide.txt misc/log.sql |
74 |
+ use examples && dodoc -r examples |
75 |
+ |
76 |
+ # I don't like installing "Log.php" right at the top-level, but any |
77 |
+ # packages depending on us will expect to find it there and not as |
78 |
+ # e.g. Log/Log.php. |
79 |
+ insinto "/usr/share/php/" |
80 |
+ doins Log.php |
81 |
+ doins -r Log |
82 |
+} |