From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4Is/J3dVg2I1JgEAbAwnHQ (envelope-from ) for ; Tue, 17 May 2022 09:57:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yL83J3dVg2K+uwAAauVa8A (envelope-from ) for ; Tue, 17 May 2022 09:57:43 +0200 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 3717141165 for ; Tue, 17 May 2022 09:57:43 +0200 (CEST) Received: from localhost ([::1]:43834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqs5O-0002oo-9c for larch@yhetil.org; Tue, 17 May 2022 03:57:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqs4m-000286-W4 for guix-patches@gnu.org; Tue, 17 May 2022 03:57:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33643) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqs4m-0004mR-Mr for guix-patches@gnu.org; Tue, 17 May 2022 03:57:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqs4m-0003or-Lb for guix-patches@gnu.org; Tue, 17 May 2022 03:57:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH 11/18] gnu: Add python-beautifulsoup4-4.8. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 May 2022 07:57:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55474 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55474@debbugs.gnu.org Cc: Nicolas Graves X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165277417114510 (code B ref -1); Tue, 17 May 2022 07:57:04 +0000 Received: (at submit) by debbugs.gnu.org; 17 May 2022 07:56:11 +0000 Received: from localhost ([127.0.0.1]:55751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqs3u-0003lq-5l for submit@debbugs.gnu.org; Tue, 17 May 2022 03:56:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:42096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqs3f-0003io-AA for submit@debbugs.gnu.org; Tue, 17 May 2022 03:55:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqs3f-0001KO-2s for guix-patches@gnu.org; Tue, 17 May 2022 03:55:55 -0400 Received: from 4.mo560.mail-out.ovh.net ([87.98.172.75]:52743) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqs3c-0004L6-KV for guix-patches@gnu.org; Tue, 17 May 2022 03:55:54 -0400 Received: from player773.ha.ovh.net (unknown [10.111.172.176]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 82B0824515 for ; Tue, 17 May 2022 07:55:50 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player773.ha.ovh.net (Postfix) with ESMTPSA id 056002AA33F95; Tue, 17 May 2022 07:55:47 +0000 (UTC) X-OVh-ClientIp: 176.166.159.77 Date: Tue, 17 May 2022 09:54:41 +0200 Message-Id: <20220517075448.32638-11-ngraves@ngraves.fr> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220517075448.32638-1-ngraves@ngraves.fr> References: <20220517075448.32638-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6126584345329459938 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrheeigdduvdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepgffhleevhfefvdfhffegueeigeejleehieekffekgeeifeejvdekleeujeegjeeinecuffhomhgrihhnpegtrhhumhhmhidrtghomhenucfkpheptddrtddrtddrtddpudejiedrudeiiedrudehledrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejjeefrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhg Received-SPF: pass client-ip=87.98.172.75; envelope-from=ngraves@ngraves.fr; helo=4.mo560.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652774263; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: 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=0TXUtjo2yViucnxypj+qS9oaEk/mx0RpEYdOVdLaoP0=; b=Jdjj9lG7Elyazw/4hd8Jl1FGtvnYHr+Pc1efeGkvDKoTpT3jF5iBcjUKFiJla2/FBPky2z nUDLkW6GHkuG1zdVzT3+JMWLBCWR2G+pShoI8C13RqYSn4cmVDKKm/GHfQd6qwcGjaNf0c D3bmNQ/x4g8hJbMCsl7DGAi8N0gw1901XuRoTvY8718MCoLuEg4jSaKULH3jKT2dfb0TS2 3xdXe/Z6WM28sgG1TFF8dEW3dTLtf1cxPtJ55tB4ZAyowZzzKe761iZOH4Y/1bdcYt5OvR 8U/4VA9TgsdkuoqnZblxpheRSolfZAtMsQ1oetRDtGn1wOJa3DEWH3tCBFmbDw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652774263; a=rsa-sha256; cv=none; b=SHaFxfwoMB0B7ptq+wh/ANzqFo1A/yqc3XnOKWS4cid3YSRlVtQtf4SsaP3ZKt7Uwa6cRe jiwZ/yJu0vbPZNe8/XpFhWZfzLR72vh3EKUCKqg9hxDEilwq6Lf56YshuofS3rfB56zLqb YlOk9e7vhf5G9lNO4jQ7N8ptNXZH1ZSCyTCKKG+B6yFANT+Y3rfbgyxzZnH+jdnspm+y+J 4g9WiKKTk8CG0NxMApMC/1sRKcK5Ni63LttKZ3WbKZhFjBlrWE8na/Hhvr1ZUruVUtHBUV ixySHvbX3RkDD6A1Th7WLXBEKrE72duqXy2ydm5BHiThXp0jihywhK92rTAjqg== 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+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.33 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+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3717141165 X-Spam-Score: -5.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: upIc/hdB1kcB * gnu/packages/python-xyz.scm (python-beautifulsoup4-4.8): New variable. --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 308ea79075..7ae0b00ffb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9942,6 +9942,37 @@ (define-public python2-beautifulsoup4 "09gbd49mwz86k572r1231x2rdp82p42zlnw0bz9b9mfi58r9wwl4")))) (arguments `(#:python ,python-2))))) +(define-public python-beautifulsoup4-4.8 + (package + (inherit python-beautifulsoup4) + (name "python-beautifulsoup4") + (version "4.8.2") + (source + (origin + (method url-fetch) + (uri "https://www.crummy.com/software/BeautifulSoup/bs4/download/4.8/beautifulsoup4-4.8.2.tar.gz") + (sha256 + (base32 "0aj6ll0zpmm32g3919xxclwincacdr6dymkscmvhha8wn1g85z85")))) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + ;; The Python 2 source is the definitive source of beautifulsoup4. We + ;; must use this conversion script when building with Python 3. The + ;; conversion script also runs the tests. + ;; For more information, see the file 'convert-py3k' in the source + ;; distribution. + (add-before 'build 'convert-py3k + (lambda _ + (substitute* "convert-py3k" + (("\\(cd py3k && python3 -m unittest discover -s bs4\\)") "")) + (invoke "./convert-py3k") + (delete-file-recursively "bs4") + (mkdir-p "bs4") + (copy-recursively "py3k/bs4" "bs4") + (substitute* "setup.py" + (("use_2to3 = True,") ""))))))))) + (define-public python-soupsieve (package (name "python-soupsieve") -- 2.36.0