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/pecl-oauth/
Date: Tue, 11 Feb 2020 18:50:25
Message-Id: 1581447014.6acadb595b84788e3638100714a724e19ec58a0e.grknight@gentoo
1 commit: 6acadb595b84788e3638100714a724e19ec58a0e
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 11 18:49:06 2020 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 11 18:50:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6acadb59
7
8 dev-php/pecl-oauth: Drop old 2.0.4
9
10 Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
11
12 dev-php/pecl-oauth/Manifest | 1 -
13 dev-php/pecl-oauth/pecl-oauth-2.0.4.ebuild | 61 ------------------------------
14 2 files changed, 62 deletions(-)
15
16 diff --git a/dev-php/pecl-oauth/Manifest b/dev-php/pecl-oauth/Manifest
17 index dd696e1ce5b..418f09077ac 100644
18 --- a/dev-php/pecl-oauth/Manifest
19 +++ b/dev-php/pecl-oauth/Manifest
20 @@ -1,2 +1 @@
21 -DIST oauth-2.0.4.tgz 49359 BLAKE2B d5fb23293fc03f40e2b3a5c5ad51bce1b06a6004e1f20d1563b3db7bb79a71f70bca467348d68b4f6d2393003b4ad23debbe5877192d9e189056e86f9fc00b3e SHA512 269b579f87a9f3f229433c74937f74b9b6df453a6e05f7751ca12fa5f24c9ad62d1ebe5cdb370d33d774a0f2e244c1c685a53226dcb35c0005b5532a00c137d4
22 DIST oauth-2.0.5.tgz 49641 BLAKE2B eec258d8dc900c19bea19b0b1db3e1f5b103b65e1298cef0819741181811d98ab86812ab557a3457520bcb6ece48b2b0f081d23897ce06e12b715998cbc1ad2a SHA512 847f8a07aba930d606038a78915ddd9c24aab241d27b844a766e0da3caabf419fd891573524a55b40559a827b1adc1261748efabac5ed1bee45fa770935379ee
23
24 diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.4.ebuild b/dev-php/pecl-oauth/pecl-oauth-2.0.4.ebuild
25 deleted file mode 100644
26 index 076b3f695e0..00000000000
27 --- a/dev-php/pecl-oauth/pecl-oauth-2.0.4.ebuild
28 +++ /dev/null
29 @@ -1,61 +0,0 @@
30 -# Copyright 1999-2019 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI="7"
34 -PHP_EXT_NAME="oauth"
35 -PHP_EXT_INI="yes"
36 -PHP_EXT_ZENDEXT="no"
37 -
38 -USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4"
39 -
40 -inherit php-ext-pecl-r3
41 -
42 -# Really only build for 7.0
43 -USE_PHP="php7-0 php7-1 php7-2 php7-3 php7-4"
44 -
45 -KEYWORDS="~amd64 ~x86"
46 -
47 -DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
48 -LICENSE="BSD"
49 -SLOT="7"
50 -IUSE="+curl examples"
51 -
52 -DEPEND="php_targets_php7-0? ( dev-lang/php:7.0[hash]
53 - dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
54 - php_targets_php7-1? ( dev-lang/php:7.1[hash]
55 - dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
56 - php_targets_php7-2? ( dev-lang/php:7.2[hash]
57 - dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
58 - php_targets_php7-3? ( dev-lang/php:7.3[hash]
59 - dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
60 - php_targets_php7-4? (
61 - dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
62 -"
63 -RDEPEND="${DEPEND} php_targets_php5-6? ( ${CATEGORY}/${PN}:0[php_targets_php5-6(-)?] )"
64 -
65 -src_prepare() {
66 - if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4; then
67 - # Disable tests that depend on header order
68 - rm "${S}/tests/bug16946.phpt" "${S}/tests/overflow_redir.phpt" || die
69 - php-ext-source-r3_src_prepare
70 - else
71 - eapply_user
72 - fi
73 -}
74 -
75 -src_configure() {
76 - if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4; then
77 - local PHP_EXT_ECONF_ARGS=(
78 - --enable-oauth
79 - $(use_with curl)
80 - )
81 -
82 - php-ext-source-r3_src_configure
83 - fi
84 -}
85 -
86 -src_install() {
87 - if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4; then
88 - php-ext-pecl-r3_src_install
89 - fi
90 -}