Gentoo Archives: gentoo-commits

From: Hanno Boeck <hanno@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-gnupg/
Date: Mon, 16 Jul 2018 09:04:30
Message-Id: 1531731839.c38e9c07638d7db84e8e98b3e999cefaf50745db.hanno@gentoo
1 commit: c38e9c07638d7db84e8e98b3e999cefaf50745db
2 Author: Hanno <hanno <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 16 09:03:59 2018 +0000
4 Commit: Hanno Boeck <hanno <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 16 09:03:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c38e9c07
7
8 dev-php/pecl-gnupg: Allow gnupg 2.
9
10 The existing package is not installable due to conflicting
11 dependencies.
12 Basic functionality works with gnupg 2. Some tests fail,
13 therefore restricting tests.
14
15 Closes: https://bugs.gentoo.org/657048
16 Package-Manager: Portage-2.3.42, Repoman-2.3.9
17
18 dev-php/pecl-gnupg/pecl-gnupg-1.4.0-r2.ebuild | 33 +++++++++++++++++++++++++++
19 1 file changed, 33 insertions(+)
20
21 diff --git a/dev-php/pecl-gnupg/pecl-gnupg-1.4.0-r2.ebuild b/dev-php/pecl-gnupg/pecl-gnupg-1.4.0-r2.ebuild
22 new file mode 100644
23 index 00000000000..d4642afe226
24 --- /dev/null
25 +++ b/dev-php/pecl-gnupg/pecl-gnupg-1.4.0-r2.ebuild
26 @@ -0,0 +1,33 @@
27 +# Copyright 1999-2018 Gentoo Foundation
28 +# Distributed under the terms of the GNU General Public License v2
29 +
30 +EAPI="6"
31 +
32 +MY_P="${PN/pecl-/}-${PV/_rc/RC}"
33 +PHP_EXT_NAME="gnupg"
34 +PHP_EXT_INI="yes"
35 +PHP_EXT_ZENDEXT="no"
36 +PHP_EXT_PECL_FILENAME="${MY_P}.tgz"
37 +PHP_EXT_S="${WORKDIR}/${MY_P}"
38 +
39 +USE_PHP="php5-6 php7-0 php7-1 php7-2"
40 +
41 +inherit php-ext-pecl-r3
42 +
43 +S="${PHP_EXT_S}"
44 +
45 +KEYWORDS="~amd64 ~x86"
46 +DESCRIPTION="PHP wrapper around the gpgme library"
47 +LICENSE="BSD-2"
48 +SLOT="0"
49 +IUSE=""
50 +
51 +DEPEND="app-crypt/gpgme app-crypt/gnupg"
52 +RDEPEND="${DEPEND}"
53 +
54 +PATCHES=( "${FILESDIR}"/1.3.2/01-large_file_system.patch )
55 +
56 +# tests are broken with gnupg 2.0/2.1, see:
57 +# https://github.com/php-gnupg/php-gnupg/issues/2
58 +# https://github.com/php-gnupg/php-gnupg/issues/3
59 +RESTRICT="test"