Ludovic Courtès schreef op wo 11-08-2021 om 16:35 [+0200]: > Hi Maxime, > > Maxime Devos skribis: > > > These two patches fix ;. > > The dependencies of python-pycryptodome (found with "guix refresh -l") > > still build succesfully. > > Neat. > > > I performed the unbundling in build phases as I'm not sure > > what is the proper way to use 'tar' from a snippet, and whether > > the unbundling is done in a build phase or an 'origin' snippet > > doesn't seem to matter much, as the bundled code is free software. > > Usually, bundled software is removed from a snippet. > > Also, when unbundling, it’s better if we can actually reuse the package > in question (libtomcrypt here) as opposed to reusing its source, as you > did here. I have attached two new patches for unbundling libtomcrypt this way. I left the documentation out for now, as I would prefer some kind of generic solution that could be used by other packages using Sphinx as well. I had some trouble telling python to link to libtomcrypt. I tried adding "tomcrypt" to "libraries" in ‘Extension’ forms in setup.py but that doesn't seem to do anything, so I added extra_link_args=['-ltomcrypt', '-ltommath']. Do you know what's up with that? The dependencies of python-pycryptodome, python2-pycryptodome and python-pycryptodomex build successfully. Greetings, Maxime.