forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-php/pecl-yaml: Version bumps to 1.3.0 and 2.0.0
Package-Manager: portage-2.3.2
- Loading branch information
Brian Evans
committed
Dec 7, 2016
1 parent
3787710
commit 367db84
Showing
3 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
DIST yaml-1.2.0.tgz 38606 SHA256 fdf0eec6bf16b0c45e58076a2048f96140a778463724fb82ab49ab5fb4c7e19a SHA512 bd67e98afea42f0ab803cbb88ec59f1979b1bd9338f000d3b452ba620f2751b25873f531bd2309c59eb524c275883f01ff3106e796bb56d42f29b1a756be1b4c WHIRLPOOL da4f1e015bb5e96f057de6347edc382d9c1c4ee980125703b587135d19412dce69fd49ebd3ae85cc2755704192a4c9aa61cc7067d077a263517233088e81e7c1 | ||
DIST yaml-1.3.0.tgz 37075 SHA256 bf4696386fbd4e8435628d84ccb8c261c9e481888c7e1ce537cccceadcb57500 SHA512 60f54db7cd22ef1dc31cb5b31950a138e0bd2cc436f9e667aaa69ddceb4dcd7aeea9ecca9d424cb6822c2300b382de8f10c07403f80df749192820b27881d96a WHIRLPOOL daab5ed57601a3df4c650eaa571295975cdbaaffc95fe963e97afc57f78d2b41c4391e4e9cbc1c48f2c4891c03b5677dd02bcb8689faa9886c39cf5a66270be4 | ||
DIST yaml-1.3.0b1.tgz 37084 SHA256 e846c10bc1b632cdb59c0f73a926ff3067e96fa646cb0eec1d8c85d372310285 SHA512 37068b759a760b5e61098fad42edc06a3d8a868df94a974887af7531fbddaaab5c6547fbf53d70b87855c0a8ae0ff58e56431bb1bdfaa0c1fff96a3f5cb120d8 WHIRLPOOL cc49e9704912991097a9fe7481335c4b6353c1202c08e9554df4b00abb4441cfd990ade8660094c56e6d7adb1dd8d201d3896f123204cf3e4f9468edf9b56594 | ||
DIST yaml-2.0.0.tgz 37960 SHA256 ef13ff56c184290c025a522bf9ae2e1b3ecc8543c3a5161dd02adec90897a221 SHA512 760c9f9f5738594e3ad55c030fa619bc891e1d5a8feb85bec2389e2fd4d6d4933fd13abf68c85eb1bb4cc3b6f4a66079ea75a2046c47fe4095b01a50c8e65eab WHIRLPOOL 0ea36c5b155a3d8f22c6fbb1a1f180dabb71a7843a5fb12fb99a6a9b7f543f30511b55ad4fd390c92103b675db6fb7ce90c38ff504c81487589e407c68318959 | ||
DIST yaml-2.0.0RC8.tgz 38077 SHA256 44cab15d57b2fb8fa916ff9291059a34b0c3fa99298c2b08a5082f334613753a SHA512 68d6a09556b2203d61cc1a5b1280eaafa9005cafec8614eccb06377bbb98cf18c883fed6b856a3683ec5a161bd7f14a21729a0a23172b88610cfaf4436e41484 WHIRLPOOL cfc922ed5677e438c856f389348e675c33d228538c362163bc6496164db0593801a90f6c9cab2ceca920ca8ef19a5f094b551f9d909300e4b6ee55eec0ac537b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
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 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_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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
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 php5-6" | ||
|
||
inherit php-ext-pecl-r3 | ||
|
||
S="${WORKDIR}/yaml-${MY_PV}" | ||
PHP_EXT_S="${S}" | ||
USE_PHP="php7-0" | ||
|
||
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 ; then | ||
php-ext-source-r3_src_prepare | ||
else | ||
default_src_prepare | ||
fi | ||
} | ||
|
||
src_install() { | ||
if use php_targets_php7-0 ; then | ||
php-ext-pecl-r3_src_install | ||
fi | ||
} |