DEP3/5 parser code

Christian Kastner debian at kvr.at
Sun Oct 3 23:10:14 UTC 2010


Hello,

I spent a bit of time recently coding a DEP3 and DEP5 parser because I
couldn't find a Python module already implementing this. My motive was
extending the Patch Tracker to automatically deduce the license of
patches from DEP5 instead of adding a License: to DEP3, see:

    http://lists.debian.org/debian-devel/2010/08/msg00773.html

Now I don't know how, but my initial search completely missed
python-debian, where such code should probably go into instead of
creating yet another package.

Luckily, the overlap between python-debian and my package -- which I
called dsclib for the time being, as its primary focus is source
packages -- is relatively low.

I will eventually replace the redundant parts of my code with code from
python-debian (currently, this is just 822-parsing), adapt the rest and
then submit patches / point to a git branch.

I'll wait with this until dsclib is both functionally complete and some
of the uglier parts have been cleaned up. In case of interest, the
current code can be found here:

	git://scm.kvr.at/git/pkg-dsclib.git

the README outlines the functionality, and contains some warnings.


Christian






-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-discuss/attachments/20101004/94d96bc9/attachment.pgp>


More information about the pkg-python-debian-discuss mailing list