Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-DB/
Date: Sat, 30 Jan 2016 03:04:46
Message-Id: 1454123012.99bef6cb2b8a5a3b8b461c00328d28eacced1a23.mjo@gentoo
1 commit: 99bef6cb2b8a5a3b8b461c00328d28eacced1a23
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 30 03:03:09 2016 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 30 03:03:32 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99bef6cb
7
8 dev-php/PEAR-DB: add version 1.9.2.
9
10 This version bump adds support for php-7.x. The package also has a
11 passing test suite that has been added to the ebuild.
12
13 Gentoo-Bug: 573246
14 Reported-By: Hanno Böck <hanno <AT> gentoo.org>
15
16 Package-Manager: portage-2.2.26
17
18 dev-php/PEAR-DB/Manifest | 1 +
19 dev-php/PEAR-DB/PEAR-DB-1.9.2.ebuild | 24 ++++++++++++++++++++++++
20 2 files changed, 25 insertions(+)
21
22 diff --git a/dev-php/PEAR-DB/Manifest b/dev-php/PEAR-DB/Manifest
23 index 59ffb45..11d3bac 100644
24 --- a/dev-php/PEAR-DB/Manifest
25 +++ b/dev-php/PEAR-DB/Manifest
26 @@ -1 +1,2 @@
27 DIST DB-1.8.2.tgz 131693 SHA256 51a4ad2bd3a5ec3590591013620bc81a89bc871d299599d4152681f5d2b1f125 SHA512 0af79e037964962d6e517d28aa6908de011ea8e1effd35c3f5250462e4a58e4253671f830171bb59f11a491957c44d2732f667cca9351a3bebb7595dc92f3055 WHIRLPOOL 0c2f51ba24b20f3a11020556a0fbff5155fce95961a33ae1e7367407909af9177965a2c9f7b6ec0cc90572f907cbeb312fe4bd8e83875facbdb1ca7afcf5d316
28 +DIST DB-1.9.2.tgz 133795 SHA256 09a32b3eb7242accd61a8d8270596ab7486d2d63d2612ad51def696f7f2bd1b1 SHA512 126bbbb847a24c20731f1e5f4a549e9d7e0651a760f10c49cfc7550f80dd8b05f3560bc80110bcaab9e79dcbb714c6113948f14a727f7f4087a23178b3db0afa WHIRLPOOL 594d8a425b250a5501f1ffcff2e7cb19ddb88d70eaeff0749b0ad564dd2e9b7a90a94a0b4757e99a72631449965cfa8d7fc6d2c5beea78201822b1e05b1cdf41
29
30 diff --git a/dev-php/PEAR-DB/PEAR-DB-1.9.2.ebuild b/dev-php/PEAR-DB/PEAR-DB-1.9.2.ebuild
31 new file mode 100644
32 index 0000000..08fad89
33 --- /dev/null
34 +++ b/dev-php/PEAR-DB/PEAR-DB-1.9.2.ebuild
35 @@ -0,0 +1,24 @@
36 +# Copyright 1999-2016 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +# $Id$
39 +
40 +EAPI=5
41 +
42 +inherit php-pear-r1
43 +
44 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
45 +
46 +DESCRIPTION="Database abstraction layer for PHP"
47 +LICENSE="PHP-3"
48 +SLOT="0"
49 +IUSE="test"
50 +
51 +src_test() {
52 + # Requires the "pear" executable from dev-php/PEAR-PEAR, and also
53 + # a working version of the cli SAPI eselected.
54 + pear run-tests tests || die
55 +
56 + # The command succeeds regardless of whether or not the test suite
57 + # passed, but this file is only written when there was a failure.
58 + [[ -f run-tests.log ]] && die "test suite failed"
59 +}