summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-08-14 10:11:35 -0400
committerBrian Evans <grknight@gentoo.org>2017-08-14 11:00:53 -0400
commitc60297951cb04a193f920a401d107cdc976794e1 (patch)
tree98b3e6e115916bc4ecc4ec28b77f0e5196acda57 /dev-php/pecl-yaml
parentdev-php/pecl-redis: Version bump wrt bug 627818 (diff)
downloadgentoo-c60297951cb04a193f920a401d107cdc976794e1.tar.gz
gentoo-c60297951cb04a193f920a401d107cdc976794e1.tar.bz2
gentoo-c60297951cb04a193f920a401d107cdc976794e1.zip
dev-php/pecl-yaml: Version bump for 2.0.2
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'dev-php/pecl-yaml')
-rw-r--r--dev-php/pecl-yaml/Manifest1
-rw-r--r--dev-php/pecl-yaml/pecl-yaml-2.0.2.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-php/pecl-yaml/Manifest b/dev-php/pecl-yaml/Manifest
index 602e25feb459..510c821dd7e9 100644
--- a/dev-php/pecl-yaml/Manifest
+++ b/dev-php/pecl-yaml/Manifest
@@ -1,2 +1,3 @@
DIST yaml-1.3.0.tgz 37075 SHA256 bf4696386fbd4e8435628d84ccb8c261c9e481888c7e1ce537cccceadcb57500 SHA512 60f54db7cd22ef1dc31cb5b31950a138e0bd2cc436f9e667aaa69ddceb4dcd7aeea9ecca9d424cb6822c2300b382de8f10c07403f80df749192820b27881d96a WHIRLPOOL daab5ed57601a3df4c650eaa571295975cdbaaffc95fe963e97afc57f78d2b41c4391e4e9cbc1c48f2c4891c03b5677dd02bcb8689faa9886c39cf5a66270be4
DIST yaml-2.0.0.tgz 37960 SHA256 ef13ff56c184290c025a522bf9ae2e1b3ecc8543c3a5161dd02adec90897a221 SHA512 760c9f9f5738594e3ad55c030fa619bc891e1d5a8feb85bec2389e2fd4d6d4933fd13abf68c85eb1bb4cc3b6f4a66079ea75a2046c47fe4095b01a50c8e65eab WHIRLPOOL 0ea36c5b155a3d8f22c6fbb1a1f180dabb71a7843a5fb12fb99a6a9b7f543f30511b55ad4fd390c92103b675db6fb7ce90c38ff504c81487589e407c68318959
+DIST yaml-2.0.2.tgz 38495 SHA256 c3afb0dad47b6c3a5b7b449f57a4938df27bf974efbe188d85c4fb998eff0039 SHA512 b3dd2098826cd7cdcfd1e5d97b9015de66812dc90e506e74a4a50a56afed5f9de0449465bb807a36a13170f479897cc62a9b108653aa7eb81895abd5966bde1a WHIRLPOOL 3cca523abfb41c4b363739b40ea554ae85f4631e3c2d08749c096dc787ca58061dbfa261ebcc76f123d9a80377585918557d58d345268df1eae3c223ea5bd6dd
diff --git a/dev-php/pecl-yaml/pecl-yaml-2.0.2.ebuild b/dev-php/pecl-yaml/pecl-yaml-2.0.2.ebuild
new file mode 100644
index 000000000000..bcd73c631481
--- /dev/null
+++ b/dev-php/pecl-yaml/pecl-yaml-2.0.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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 php5-6"
+
+inherit php-ext-pecl-r3
+
+S="${WORKDIR}/yaml-${MY_PV}"
+PHP_EXT_S="${S}"
+USE_PHP="php7-0 php7-1 php7-2"
+
+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 ; 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 ; then
+ php-ext-pecl-r3_src_install
+ fi
+}