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-yaml/
Date: Mon, 14 Aug 2017 15:01:23
Message-Id: 1502722859.953732e9106e37e718c12e3d79ec3ff2dae9daa2.grknight@gentoo
1 commit: 953732e9106e37e718c12e3d79ec3ff2dae9daa2
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 14 14:26:15 2017 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 14 15:00:59 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=953732e9
7
8 dev-php/pecl-yaml: Version bump for 1.3.1
9
10 Package-Manager: Portage-2.3.7, Repoman-2.3.3
11
12 dev-php/pecl-yaml/Manifest | 1 +
13 dev-php/pecl-yaml/pecl-yaml-1.3.1.ebuild | 50 ++++++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-php/pecl-yaml/Manifest b/dev-php/pecl-yaml/Manifest
17 index 510c821dd7e..943dc470e4f 100644
18 --- a/dev-php/pecl-yaml/Manifest
19 +++ b/dev-php/pecl-yaml/Manifest
20 @@ -1,3 +1,4 @@
21 DIST yaml-1.3.0.tgz 37075 SHA256 bf4696386fbd4e8435628d84ccb8c261c9e481888c7e1ce537cccceadcb57500 SHA512 60f54db7cd22ef1dc31cb5b31950a138e0bd2cc436f9e667aaa69ddceb4dcd7aeea9ecca9d424cb6822c2300b382de8f10c07403f80df749192820b27881d96a WHIRLPOOL daab5ed57601a3df4c650eaa571295975cdbaaffc95fe963e97afc57f78d2b41c4391e4e9cbc1c48f2c4891c03b5677dd02bcb8689faa9886c39cf5a66270be4
22 +DIST yaml-1.3.1.tgz 37263 SHA256 18c9455e731f33770106ce971e7d4af4b95c53078a29b93669809a669f7e75b9 SHA512 67359e6b8d5b19ad594acd741dfb53006079fbdbdb7c3402be57c006f45c992158c505ad2bf0c52a1b997c9b9fac48724b1a44fc5744689b0f02b308324a4a4f WHIRLPOOL 3c770770860c4335b518304948742924566ec02f9e244befe180e27eba3b6e31efbf1290367ee535b4f433628e36e7ee7e9638af5d5f0a4e00d753e5a4e35428
23 DIST yaml-2.0.0.tgz 37960 SHA256 ef13ff56c184290c025a522bf9ae2e1b3ecc8543c3a5161dd02adec90897a221 SHA512 760c9f9f5738594e3ad55c030fa619bc891e1d5a8feb85bec2389e2fd4d6d4933fd13abf68c85eb1bb4cc3b6f4a66079ea75a2046c47fe4095b01a50c8e65eab WHIRLPOOL 0ea36c5b155a3d8f22c6fbb1a1f180dabb71a7843a5fb12fb99a6a9b7f543f30511b55ad4fd390c92103b675db6fb7ce90c38ff504c81487589e407c68318959
24 DIST yaml-2.0.2.tgz 38495 SHA256 c3afb0dad47b6c3a5b7b449f57a4938df27bf974efbe188d85c4fb998eff0039 SHA512 b3dd2098826cd7cdcfd1e5d97b9015de66812dc90e506e74a4a50a56afed5f9de0449465bb807a36a13170f479897cc62a9b108653aa7eb81895abd5966bde1a WHIRLPOOL 3cca523abfb41c4b363739b40ea554ae85f4631e3c2d08749c096dc787ca58061dbfa261ebcc76f123d9a80377585918557d58d345268df1eae3c223ea5bd6dd
25
26 diff --git a/dev-php/pecl-yaml/pecl-yaml-1.3.1.ebuild b/dev-php/pecl-yaml/pecl-yaml-1.3.1.ebuild
27 new file mode 100644
28 index 00000000000..b8e538af44b
29 --- /dev/null
30 +++ b/dev-php/pecl-yaml/pecl-yaml-1.3.1.ebuild
31 @@ -0,0 +1,50 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +MY_PV="${PV/_beta/b}"
38 +PHP_EXT_PECL_FILENAME="yaml-${MY_PV}.tgz"
39 +PHP_EXT_NAME="yaml"
40 +PHP_EXT_INI="yes"
41 +PHP_EXT_ZENDEXT="no"
42 +DOCS=( CREDITS README )
43 +
44 +USE_PHP="php7-0 php7-1 php7-2 php5-6"
45 +
46 +inherit php-ext-pecl-r3
47 +
48 +USE_PHP="php5-6"
49 +
50 +S="${WORKDIR}/yaml-${MY_PV}"
51 +PHP_EXT_S="${S}"
52 +
53 +KEYWORDS="~amd64 ~x86"
54 +
55 +DESCRIPTION="YAML 1.1 (YAML Ain't Markup Language) serialization for PHP"
56 +LICENSE="MIT"
57 +SLOT="0"
58 +IUSE=""
59 +
60 +DEPEND=">=dev-libs/libyaml-0.1.0"
61 +RDEPEND="${DEPEND}"
62 +PDEPEND="
63 + php_targets_php7-0? ( dev-php/pecl-yaml:7[php_targets_php7-0] )
64 + php_targets_php7-1? ( dev-php/pecl-yaml:7[php_targets_php7-1] )
65 + php_targets_php7-2? ( dev-php/pecl-yaml:7[php_targets_php7-2] )
66 +"
67 +PHP_EXT_ECONF_ARGS=""
68 +
69 +src_prepare() {
70 + if use php_targets_php5-6 ; then
71 + php-ext-source-r3_src_prepare
72 + else
73 + default_src_prepare
74 + fi
75 +}
76 +
77 +src_install() {
78 + if use php_targets_php5-6 ; then
79 + php-ext-pecl-r3_src_install
80 + fi
81 +}