Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/PEAR-DB/
Date: Wed, 02 Aug 2017 20:43:49
Message-Id: 1501706608.0cf3eeaee0d5c6ef0fe7e2fed36ec53fc6f8a310.grknight@gentoo
1 commit: 0cf3eeaee0d5c6ef0fe7e2fed36ec53fc6f8a310
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 2 20:43:28 2017 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 2 20:43:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf3eeae
7
8 dev-php/PEAR-DB: Revbump for new EAPI and eclass; Drop old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-php/PEAR-DB/Manifest | 1 -
13 dev-php/PEAR-DB/PEAR-DB-1.8.2.ebuild | 13 -------------
14 dev-php/PEAR-DB/PEAR-DB-1.9.2-r1.ebuild | 26 ++++++++++++++++++++++++++
15 3 files changed, 26 insertions(+), 14 deletions(-)
16
17 diff --git a/dev-php/PEAR-DB/Manifest b/dev-php/PEAR-DB/Manifest
18 index 11d3bacbaec..e85a89df0de 100644
19 --- a/dev-php/PEAR-DB/Manifest
20 +++ b/dev-php/PEAR-DB/Manifest
21 @@ -1,2 +1 @@
22 -DIST DB-1.8.2.tgz 131693 SHA256 51a4ad2bd3a5ec3590591013620bc81a89bc871d299599d4152681f5d2b1f125 SHA512 0af79e037964962d6e517d28aa6908de011ea8e1effd35c3f5250462e4a58e4253671f830171bb59f11a491957c44d2732f667cca9351a3bebb7595dc92f3055 WHIRLPOOL 0c2f51ba24b20f3a11020556a0fbff5155fce95961a33ae1e7367407909af9177965a2c9f7b6ec0cc90572f907cbeb312fe4bd8e83875facbdb1ca7afcf5d316
23 DIST DB-1.9.2.tgz 133795 SHA256 09a32b3eb7242accd61a8d8270596ab7486d2d63d2612ad51def696f7f2bd1b1 SHA512 126bbbb847a24c20731f1e5f4a549e9d7e0651a760f10c49cfc7550f80dd8b05f3560bc80110bcaab9e79dcbb714c6113948f14a727f7f4087a23178b3db0afa WHIRLPOOL 594d8a425b250a5501f1ffcff2e7cb19ddb88d70eaeff0749b0ad564dd2e9b7a90a94a0b4757e99a72631449965cfa8d7fc6d2c5beea78201822b1e05b1cdf41
24
25 diff --git a/dev-php/PEAR-DB/PEAR-DB-1.8.2.ebuild b/dev-php/PEAR-DB/PEAR-DB-1.8.2.ebuild
26 deleted file mode 100644
27 index eab4fd73d9c..00000000000
28 --- a/dev-php/PEAR-DB/PEAR-DB-1.8.2.ebuild
29 +++ /dev/null
30 @@ -1,13 +0,0 @@
31 -# Copyright 1999-2015 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -
36 -inherit php-pear-r1
37 -
38 -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
39 -
40 -DESCRIPTION="Database abstraction layer for PHP"
41 -LICENSE="PHP-3"
42 -SLOT="0"
43 -IUSE=""
44
45 diff --git a/dev-php/PEAR-DB/PEAR-DB-1.9.2-r1.ebuild b/dev-php/PEAR-DB/PEAR-DB-1.9.2-r1.ebuild
46 new file mode 100644
47 index 00000000000..ef5e7305e35
48 --- /dev/null
49 +++ b/dev-php/PEAR-DB/PEAR-DB-1.9.2-r1.ebuild
50 @@ -0,0 +1,26 @@
51 +# Copyright 1999-2017 Gentoo Foundation
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=6
55 +
56 +inherit php-pear-r2
57 +
58 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
59 +
60 +DESCRIPTION="Database abstraction layer for PHP"
61 +LICENSE="PHP-3"
62 +SLOT="0"
63 +IUSE="test"
64 +DEPEND="test? ( dev-php/PEAR-PEAR )"
65 +
66 +DOCS=( doc/TESTERS doc/IDEAS doc/MAINTAINERS doc/STATUS )
67 +
68 +src_test() {
69 + # Requires the "pear" executable from dev-php/PEAR-PEAR, and also
70 + # a working version of the cli SAPI eselected.
71 + pear run-tests tests || die
72 +
73 + # The command succeeds regardless of whether or not the test suite
74 + # passed, but this file is only written when there was a failure.
75 + [[ -f run-tests.log ]] && die "test suite failed"
76 +}