[pkg-php-pear] phpunit comments

"David Prévot" david at tilapin.org
Wed Feb 5 21:18:27 UTC 2014


> Hi Prach,
>
>>> Le 20/01/2014 12:10, Prach Pongpanich a écrit :
>
>>>> Could you please sponsor them?
>
>>>> [1] http://anonscm.debian.org/gitweb/?p=pkg-php/phpunit.git

> the manpage could better be generated during the build process
> (you can have a look at the php-doctrine-dbal and doctrine packages).

Beware, this may get tricky: building within pbuilder (via gbp), the
manpage gets pretty scarce (I know I didn’t get it right either on the
first try with doctrine and doctrine-dbal either, and it looks like I
messed up with apigen now — yay, another stuff to fix):

$ MANWIDTH=72 man phpunit | cat
PHP(1)                       User Commands                      PHP(1)



NAME
       PHP - The PHP Unit Testing framework

DESCRIPTION
       #!usr/bin/php

COPYRIGHT
       Copyright  ©  1997-2013 The PHP Group Zend Engine v2.5.0, Copy‐
       right (c) 1998-2013 Zend Technologies

              with Zend OPcache v7.0.3-dev, Copyright  (c)  1999-2013,
              by Zend Technologies



PHP 5.5.8-3 (cli) (built: JanFebruary 20142:11)                 PHP(1)


Another thing that may be nice to have in the future (i.e., for a further
upstream update), would be to ship the upstream repository, as documented:

http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.UPSTREAM.GIT.TARBALL

(I may point you to some package I maintain this way if needed. I always
try to do it when possible: among other goodies, it helps integrate patch
from a further upstream version, and also helps to prepare and forward
patch upstream.)

Regards

David






More information about the pkg-php-pear mailing list