[Reproducible-builds] Bug#815844: Bug#815844: diffoscope won't build without python-magic from PyPi
Jérémy Bobbio
lunar at debian.org
Thu Feb 25 12:49:24 UTC 2016
Leo Famulari:
> However, diffoscope's README [2] says that:
>
> ``Magic-file-extension`` can be used instead of
> ``python-magic``. It is built from `file
> <http://www.darwinsys.com/file/>`_.
> Available on Debian and Fedora as ``python3-magic``.
>
> I removed the requirement of python-magic from setup.py and built
> against the Python bindings distributed with `file`, as packaged in Guix
> [3]. Diffoscope seems to work just fine this way.
Indeed. That's how it works in Debian.
> Will you consider making python-magic an optional dependency of
> diffoscope, so that downstream packagers don't have to package
> python-magic from PyPi or work around this issue by patching setup.py?
I have no idea how you can specify alternate dependencies in setup.py or
if that's possible. If you find a solution I guess someone could apply a
patch.
If that's not possible, I believe that carrying a one-liner in Guix is
not unreasonable.
--
Lunar .''`.
lunar at debian.org : :Ⓐ : # apt-get install anarchism
`. `'`
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160225/1e462545/attachment.sig>
More information about the Reproducible-builds
mailing list