Bug#773505: RFS: python-descartes/1.0.1-1 [ITP]
Sebastiaan Couwenberg
sebastic at xs4all.nl
Mon Dec 22 22:14:10 UTC 2014
On 12/22/2014 10:43 PM, Johan Van de Wauw wrote:
> On Fri, Dec 19, 2014 at 8:53 PM, Sebastiaan Couwenberg
> <sebastic at xs4all.nl> wrote:
>> It's a bit annoying that the egg-info files are removed in the clean
>> target requiring the use of git buildpackage --git-ignore-new and doing
>> a git checkout after the build to restore the working directory. You may
>> want to consider adding a patch that removes those files to address this
>> instead.
>
> I tried the approach with the patch, but I still get this error. I
> just commited the code in case you would like to have look.
The pybuild clean target is what removes the descartes.egg-info (during
dh_auto_clean), and that gets run before by gbp before it applies the
patches.
pybuild doesn't adhere to the conventional debhelper -X option to
exclude items. Overriding the dh_auto_clean target and defining a custom
clean command and/or not using dh_auto_clean may work, but this is all a
bit too much effort for such a minor issue.
Ideally upstream doesn't ship the egg-info, but for now we just need use
--git-ignore-new.
Kind Regards,
Bas
--
GPG Key ID: 4096R/E88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the Pkg-grass-devel
mailing list