1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
php-parser for Debian
---------------------
This packages tracks the upstream Git repository as part of its sources.
It follows git-buildpackage advices as on:
<http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.UPSTREAM.GIT.TARBALL>
The tarball created from Git is recorded using pristine-tar.
A quick summary of how one can update the Debian packaging, assuming
that one already has the appropriate build-dependencies, `devscripts`,
`pristine-tar`, and `git-buildpackage` installed. $VERSION is assumed
to be the new upstream version:
gbp clone git+ssh://git.debian.org/git/pkg-php/php-parser.git
cd php-parser
git remote add upstream https://github.com/nikic/PHP-Parser
uscan --verbose --rename
git fetch upstream
gbp import-orig --upstream-vcs-tag=v$VERSION ../php-parser_$VERSION.orig.tar.gz
[ Make here some adaptations, like updating debian/upstream/changelog
using e.g., https://github.com/nikic/PHP-Parser/releases. ]
gbp dch -R --commit --multimaint-merge
gbp buildpackage
|