[pkg-php-pear] [php-maint] pkg-php-tools / php5-json - circular dependency?

Mathieu Parent math.parent at gmail.com
Thu Sep 19 07:30:50 UTC 2013


2013/9/18 David Prévot <taffit at debian.org>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> [ Thanks for keeping me CC, I’m not subscribed to the pkg-php-maint list. ]
>
> Hi,

Hi all,

> Le 18/09/2013 15:51, Lior Kaplan a écrit :
>
>> I'm CCing David to explain the dependency of pkg-php-tools in JSON, I don't
>> see an obvious reason for that, and might just be missing something.
>
> It’s commented in 9f7d92d: “lib/scripts/phppkginfo call[s] json_decode
> now provided by php5-json.” (this comment could have make it in the
> changelog, sorry). CCing pkg-php-tools at p.d.o if someones believes
> another approach should be investigated.

This dependency is for composer support. We may split pkg-php-tools in
two packages:
- pkg-php-tools-bootstrap: identical to current pkg-php-tools without
php5-json dep
- pkg-php-tools: empty package depending on pkg-php-tools-bootstrap
and php5-json

Then php5-json can buildep on pkg-php-tools-bootstrap (with a lintian override).

This is not very clean, and I'm open to better ideas.

But:

Note that php5 will soon depends on php5-json, so there is still a circular dep
ref: http://anonscm.debian.org/gitweb/?p=pkg-php/php.git;a=commitdiff;h=c3d4814177a9a39e17396d3186258d4314e04f5e

Regards

-- 
Mathieu



More information about the pkg-php-pear mailing list