[PATCH remotefilelog-ext] debian: clean with "--component remotefilelog" to not need Cython

Durham Goode durham at fb.com
Mon Apr 3 23:25:48 UTC 2017


On 3/31/17 9:50 AM, Martin von Zweigbergk via Mercurial-devel wrote:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz at google.com>
> # Date 1490978878 25200
> #      Fri Mar 31 09:47:58 2017 -0700
> # Node ID c7cfe5ae5271e68ae78f53516b68fe60e896a7d2
> # Parent  b5df1d5f3e303a75c550f8e8770afad9945edd86
> debian: clean with "--component remotefilelog" to not need Cython
>
> I was trying to build a Debian package on a build machine without
> Cython installed. That failed when it was running "dh clean --with
> python2", which calls the dh_auto_clean target, which in turn calls
> "python setup.py clean --all". Overriding that target to pass
> "--component remotefilelog" seems to solve the problem.
>
> The internet wasn't able to tell me what else is supposed to be done
> in dh_auto_clean, so I can only hope that nothing else than "python
> setup.py clean --all" was supposed to be done there.

Pushed, thanks!


More information about the Mercurial-devel mailing list