[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49543: [PATCH] python-pycryptodome: Build HTML and info documentatio
From: |
Ludovic Courtès |
Subject: |
bug#49543: [PATCH] python-pycryptodome: Build HTML and info documentation and unbundle sphinx-rtd-theme and libtomcrypt |
Date: |
Wed, 01 Sep 2021 23:28:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi!
Maxime Devos <maximedevos@telenet.be> skribis:
> Ludovic Courtès schreef op wo 11-08-2021 om 16:35 [+0200]:
[...]
>> 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.
Makes sense to me.
> 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?
No idea!
> From a41b086246a5b59aab2d16eaeb91e0caafa706cc Mon Sep 17 00:00:00 2001
> From: Maxime Devos <maximedevos@telenet.be>
> Date: Wed, 18 Aug 2021 00:43:16 +0200
> Subject: [PATCH 1/2] gnu: python-pycryptodome: Unbundle libtomcrypt.
>
> * gnu/packages/python-crypto.scm
> (pycryptodome-unbundle-tomcrypt-snippet): New variable.
> (python-pycryptodome)[source]{snippet}: Unbundle libtomcrypt.
> (python-pycryptodome)[source]{modules}: Add (guix build utils).
[...]
> From 5b3366c9ebead99f0c22d612552063189bd0551c Mon Sep 17 00:00:00 2001
> From: Maxime Devos <maximedevos@telenet.be>
> Date: Wed, 18 Aug 2021 12:46:51 +0200
> Subject: [PATCH 2/2] gnu: python-pycryptodomex: Unbundle libtomcrypt.
>
> * gnu/packages/python-crypto.scm
> (python-pycryptodomex)[source]{snippet}: Unbundle libtomcrypt.
> (python-pycryptodomex)[source]{modules}: Add (guix build utils).
Finally applied, thanks!
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#49543: [PATCH] python-pycryptodome: Build HTML and info documentation and unbundle sphinx-rtd-theme and libtomcrypt,
Ludovic Courtès <=