[pkg-php-pear] Bug#746179: Please, handle multiple versions with Composer

David Prévot taffit at debian.org
Sun Apr 27 17:50:55 UTC 2014


Package: pkg-php-tools
Version: 1.11
Severity: normal
Tags: patch
Control: affects -1 aws-sdk-for-php

Hi,

The upcoming aws-sdk-for-php version, that relies on composer, requires:

	"guzzle/guzzle": ">=3.7.0,<=3.9.9"

The current dh_phpcomposer chokes on it:

	[pear_error: message="Unable to parse version (>=3.7.0,<=3.9.9)" code=0 mode=return level=notice prefix="" info=""]

and produces an awful version string:

	php-guzzle (ERROR:parsing ? >=3.7.0,<=3.9.9)

The attached patch fixes the issue. I’m not sure if I should commit
such non well tested (and potentially ugly) patch directly, please tell
me if you would feel comfortable with that (on the other hand, since I’m
using the #738690 and #738284 proposed patches for a while without
drawback, I just pushed the fixes).

Regards

David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Composer-Handle-multiple-versions.patch
Type: text/x-diff
Size: 1222 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20140427/1b1fe788/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20140427/1b1fe788/attachment.sig>


More information about the pkg-php-pear mailing list