From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SFGsACDxL2GJcgEAgWs5BA (envelope-from ) for ; Wed, 01 Sep 2021 23:31:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eK/INx/xL2EqNwAA1q6Kng (envelope-from ) for ; Wed, 01 Sep 2021 21:31:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 624E81ACD3 for ; Wed, 1 Sep 2021 23:31:11 +0200 (CEST) Received: from localhost ([::1]:38402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLXp8-00054p-Ec for larch@yhetil.org; Wed, 01 Sep 2021 17:31:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLXn6-0003Jj-RE for guix-patches@gnu.org; Wed, 01 Sep 2021 17:29:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLXn5-00081j-3E for guix-patches@gnu.org; Wed, 01 Sep 2021 17:29:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLXn4-0003R0-O6 for guix-patches@gnu.org; Wed, 01 Sep 2021 17:29:02 -0400 Subject: bug#49543: [PATCH] python-pycryptodome: Build HTML and info documentation and unbundle sphinx-rtd-theme and libtomcrypt Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 01 Sep 2021 21:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 49543 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 49543-done@debbugs.gnu.org, slg <0x2d@disroot.org> Mail-Followup-To: 49543@debbugs.gnu.org, ludo@gnu.org, maximedevos@telenet.be Received: via spool by 49543-done@debbugs.gnu.org id=D49543.163053171013152 (code D ref 49543); Wed, 01 Sep 2021 21:29:02 +0000 Received: (at 49543-done) by debbugs.gnu.org; 1 Sep 2021 21:28:30 +0000 Received: from localhost ([127.0.0.1]:39110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLXmY-0003Q3-1q for submit@debbugs.gnu.org; Wed, 01 Sep 2021 17:28:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLXmX-0003Ps-C6 for 49543-done@debbugs.gnu.org; Wed, 01 Sep 2021 17:28:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38686) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLXmR-0007dw-Ff; Wed, 01 Sep 2021 17:28:23 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48826 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLXmR-0005X8-5Y; Wed, 01 Sep 2021 17:28:23 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87a6lokq1r.fsf@gnu.org> <320e05ebee7883556029870fcf654928724bbc4e.camel@telenet.be> Date: Wed, 01 Sep 2021 23:28:21 +0200 In-Reply-To: <320e05ebee7883556029870fcf654928724bbc4e.camel@telenet.be> (Maxime Devos's message of "Wed, 18 Aug 2021 13:01:10 +0200") Message-ID: <8735qo6l56.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630531871; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=eT1mB72ZIyIE5YJVCasWAMmIiqgL+5A7P6AMylDl+Go=; b=urMKmPA61EjO19C7Osd9dhYblXgHoKFRprU8yz38BlR91lyrlZSZqAGetPo3hBfbNhJMvJ n1W6C1KMWw/v6ycMp2+NaIvoG2gBrnxULFWB/d8ag+ZPPA55t4VgOaSSGhoB8wPYUlZ8vH Qszi6KnbECKYksf5n3Gyulrs/fa2g17TGGguvzUfyG5cfkQoZUGx3QhZG9a6bROCrbMIag fc+yHhifrsBjwbKiZusBWZQvOgOM/xzKsUGRwEvngrE+cJLz4mfz6qGBXqfpGLDTGnPz0o graUdYqnSDqTKDrco65NlHxOmoOXNjNfKQxqbs5yn643QIVRZATkYtS2CW/qLg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630531871; a=rsa-sha256; cv=none; b=W/2BVaRZfMfFV5biKNlYb2jZiMs0ZSOiE201ZfyaAsnkAJ4EKU4nzovkchTPoGx/VvMKz3 J/2to9Fv78SfE2zq0rX8223hSUHWYkyFweMpRrMCDk+C4IGK0Tg4N3s0TDn3eoRKFjfph1 GoApIXNgkYJQ5rirfUL5st2S70W9+39ZIEX7VKfbguRUbX1AWz8tcK2GRfbcihzl49mWsz vO9c6IJiqwwD0DF4aH379Vox6rdk90LbVLLz00Bk2fyhKOGfD/nzBdZoxWmcfKVXIq34Vl 535qVtF3dhsr2frbaI7Y7nrGs5t3UT4ZHv0IV1MHcXGtwMOPYsZK0N+kZrH4mQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 624E81ACD3 X-Spam-Score: -1.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: JP0MwxXI5pCs Hi! Maxime Devos skribis: > Ludovic Court=C3=A8s schreef op wo 11-08-2021 om 16:35 [+0200]: [...] >> Usually, bundled software is removed from a snippet. >>=20 >> Also, when unbundling, it=E2=80=99s 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 =E2=80=98Extension=E2=80=99 f= orms in setup.py > but that doesn't seem to do anything, so I added > extra_link_args=3D['-ltomcrypt', '-ltommath']. Do you know what's up wit= h that? No idea! > From a41b086246a5b59aab2d16eaeb91e0caafa706cc Mon Sep 17 00:00:00 2001 > From: Maxime Devos > 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 > 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=E2=80=99.