summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-08-14 10:26:15 -0400
committerBrian Evans <grknight@gentoo.org>2017-08-14 11:00:59 -0400
commit953732e9106e37e718c12e3d79ec3ff2dae9daa2 (patch)
tree9cf83a676f2f41f8d677eeb769d051cec5dbc16e /dev-php
parentdev-php/pecl-yaml: Version bump for 2.0.2 (diff)
downloadgentoo-953732e9106e37e718c12e3d79ec3ff2dae9daa2.tar.gz
gentoo-953732e9106e37e718c12e3d79ec3ff2dae9daa2.tar.bz2
gentoo-953732e9106e37e718c12e3d79ec3ff2dae9daa2.zip
dev-php/pecl-yaml: Version bump for 1.3.1
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-yaml/Manifest1
-rw-r--r--dev-php/pecl-yaml/pecl-yaml-1.3.1.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-php/pecl-yaml/Manifest b/dev-php/pecl-yaml/Manifest
index 510c821dd7e9..943dc470e4f2 100644
--- a/dev-php/pecl-yaml/Manifest
+++ b/dev-php/pecl-yaml/Manifest
@@ -1,3 +1,4 @@
DIST yaml-1.3.0.tgz 37075 SHA256 bf4696386fbd4e8435628d84ccb8c261c9e481888c7e1ce537cccceadcb57500 SHA512 60f54db7cd22ef1dc31cb5b31950a138e0bd2cc436f9e667aaa69ddceb4dcd7aeea9ecca9d424cb6822c2300b382de8f10c07403f80df749192820b27881d96a WHIRLPOOL daab5ed57601a3df4c650eaa571295975cdbaaffc95fe963e97afc57f78d2b41c4391e4e9cbc1c48f2c4891c03b5677dd02bcb8689faa9886c39cf5a66270be4
+DIST yaml-1.3.1.tgz 37263 SHA256 18c9455e731f33770106ce971e7d4af4b95c53078a29b93669809a669f7e75b9 SHA512 67359e6b8d5b19ad594acd741dfb53006079fbdbdb7c3402be57c006f45c992158c505ad2bf0c52a1b997c9b9fac48724b1a44fc5744689b0f02b308324a4a4f WHIRLPOOL 3c770770860c4335b518304948742924566ec02f9e244befe180e27eba3b6e31efbf1290367ee535b4f433628e36e7ee7e9638af5d5f0a4e00d753e5a4e35428
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-1.3.1.ebuild b/dev-php/pecl-yaml/pecl-yaml-1.3.1.ebuild
new file mode 100644
index 000000000000..b8e538af44ba
--- /dev/null
+++ b/dev-php/pecl-yaml/pecl-yaml-1.3.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PV="${PV/_beta/b}"
+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
+
+USE_PHP="php5-6"
+
+S="${WORKDIR}/yaml-${MY_PV}"
+PHP_EXT_S="${S}"
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="YAML 1.1 (YAML Ain't Markup Language) serialization for PHP"
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-libs/libyaml-0.1.0"
+RDEPEND="${DEPEND}"
+PDEPEND="
+ php_targets_php7-0? ( dev-php/pecl-yaml:7[php_targets_php7-0] )
+ php_targets_php7-1? ( dev-php/pecl-yaml:7[php_targets_php7-1] )
+ php_targets_php7-2? ( dev-php/pecl-yaml:7[php_targets_php7-2] )
+"
+PHP_EXT_ECONF_ARGS=""
+
+src_prepare() {
+ if use php_targets_php5-6 ; then
+ php-ext-source-r3_src_prepare
+ else
+ default_src_prepare
+ fi
+}
+
+src_install() {
+ if use php_targets_php5-6 ; then
+ php-ext-pecl-r3_src_install
+ fi
+}