summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-12-18 09:23:47 -0500
committerBrian Evans <grknight@gentoo.org>2018-12-18 10:34:35 -0500
commit5b5495c98d0aa66783a6a4590f84870e36c80cd4 (patch)
treedd8c0df7b90ef25f7e56bb2f53669fcc3cf1ed50 /dev-php
parentwww-client/vivaldi-snapshot: Version 2.3.1401.7_p1 (diff)
downloadgentoo-5b5495c98d0aa66783a6a4590f84870e36c80cd4.tar.gz
gentoo-5b5495c98d0aa66783a6a4590f84870e36c80cd4.tar.bz2
gentoo-5b5495c98d0aa66783a6a4590f84870e36c80cd4.zip
dev-php/pecl-yaml: Version bump for 2.0.4
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-yaml/Manifest1
-rw-r--r--dev-php/pecl-yaml/pecl-yaml-2.0.4.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-php/pecl-yaml/Manifest b/dev-php/pecl-yaml/Manifest
index 349a1d040115..d369b3854d5f 100644
--- a/dev-php/pecl-yaml/Manifest
+++ b/dev-php/pecl-yaml/Manifest
@@ -2,3 +2,4 @@ DIST yaml-1.3.0.tgz 37075 BLAKE2B 90fc101dc5b1d040efbbda481d28a862dd4021d09cf185
DIST yaml-1.3.1.tgz 37263 BLAKE2B 4be9dad710a4b7b2ea3ed8222500bbf2c94807b1bed627c1460beb31b5745c1dd5484fed11d23bb7deec454fcbb5d88a93034c82f7fe978e6cbb26944c9f7c4f SHA512 67359e6b8d5b19ad594acd741dfb53006079fbdbdb7c3402be57c006f45c992158c505ad2bf0c52a1b997c9b9fac48724b1a44fc5744689b0f02b308324a4a4f
DIST yaml-2.0.0.tgz 37960 BLAKE2B df325cb73c4788a3022661e841c9ab479a103bcee76d4f911d2ba673d7fa7344006d8ba9a22aed3a701accee49593d524ee506052ac30231f02463c34d7b51e9 SHA512 760c9f9f5738594e3ad55c030fa619bc891e1d5a8feb85bec2389e2fd4d6d4933fd13abf68c85eb1bb4cc3b6f4a66079ea75a2046c47fe4095b01a50c8e65eab
DIST yaml-2.0.2.tgz 38495 BLAKE2B c992c72b7ba84ca3d953109a9d274c7c3b203f3ce75630860f40a43a565e9ffd92f1d831e386624351879598ee305a64cb3b4228eccfa58b4bf1db76f994cab9 SHA512 b3dd2098826cd7cdcfd1e5d97b9015de66812dc90e506e74a4a50a56afed5f9de0449465bb807a36a13170f479897cc62a9b108653aa7eb81895abd5966bde1a
+DIST yaml-2.0.4.tgz 39071 BLAKE2B 3a5dba0f6a16087909f4673543d64946e5929a5ef4cc616df6a4225aa2d274b2b5492b00ab0e95ed93f808bc2a4dd0a2f6d60c8c2ded078af35c4499042488d6 SHA512 138e5b4566800fc7d624baf71bc585d6d432755046e598ae9f4099fa565727e04d79bb171289a53eb9e5daa416ffee1b0fb4967c84976ac6cd6fc01b0a05fbae
diff --git a/dev-php/pecl-yaml/pecl-yaml-2.0.4.ebuild b/dev-php/pecl-yaml/pecl-yaml-2.0.4.ebuild
new file mode 100644
index 000000000000..804cd88748e5
--- /dev/null
+++ b/dev-php/pecl-yaml/pecl-yaml-2.0.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PV="${PV/_rc/RC}"
+PHP_EXT_PECL_FILENAME="yaml-${MY_PV}.tgz"
+PHP_EXT_NAME="yaml"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS=( CREDITS README )
+
+USE_PHP="php7-0 php7-1 php7-2 php7-3 php5-6"
+
+inherit php-ext-pecl-r3
+
+S="${WORKDIR}/yaml-${MY_PV}"
+PHP_EXT_S="${S}"
+USE_PHP="php7-0 php7-1 php7-2 php7-3"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="YAML 1.1 (YAML Ain't Markup Language) serialization for PHP"
+LICENSE="MIT"
+SLOT="7"
+IUSE=""
+
+DEPEND=">=dev-libs/libyaml-0.1.0"
+RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-yaml:0[php_targets_php5-6] )"
+PHP_EXT_ECONF_ARGS=""
+
+src_prepare() {
+ if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
+ php-ext-source-r3_src_prepare
+ else
+ default_src_prepare
+ fi
+}
+
+src_install() {
+ if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then
+ php-ext-pecl-r3_src_install
+ fi
+}