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 8DbqB6VVg2JqcgAAbAwnHQ (envelope-from ) for ; Tue, 17 May 2022 09:58:29 +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 6JfhB6VVg2LPeAEAauVa8A (envelope-from ) for ; Tue, 17 May 2022 09:58:29 +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 C47FD41173 for ; Tue, 17 May 2022 09:58:28 +0200 (CEST) Received: from localhost ([::1]:43854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqs68-0002pJ-0W for larch@yhetil.org; Tue, 17 May 2022 03:58:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqs4n-00028D-EK for guix-patches@gnu.org; Tue, 17 May 2022 03:57:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33644) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqs4n-0004ma-2l for guix-patches@gnu.org; Tue, 17 May 2022 03:57:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqs4n-0003oz-2O for guix-patches@gnu.org; Tue, 17 May 2022 03:57:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH 12/18] gnu: Add python-draftjs-exporter. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 May 2022 07:57:05 +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.165277417114518 (code B ref -1); Tue, 17 May 2022 07:57:05 +0000 Received: (at submit) by debbugs.gnu.org; 17 May 2022 07:56:11 +0000 Received: from localhost ([127.0.0.1]:55754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqs3v-0003m0-2P for submit@debbugs.gnu.org; Tue, 17 May 2022 03:56:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:42098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqs3h-0003jB-Bh for submit@debbugs.gnu.org; Tue, 17 May 2022 03:55:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqs3h-0001Ka-3y for guix-patches@gnu.org; Tue, 17 May 2022 03:55:57 -0400 Received: from 17.mo583.mail-out.ovh.net ([46.105.56.132]:34355) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqs3e-0004LK-Qd for guix-patches@gnu.org; Tue, 17 May 2022 03:55:56 -0400 Received: from player773.ha.ovh.net (unknown [10.108.16.84]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 06A0F24053 for ; Tue, 17 May 2022 07:55:53 +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 807E22AA33FCF; Tue, 17 May 2022 07:55:50 +0000 (UTC) X-OVh-ClientIp: 176.166.159.77 Date: Tue, 17 May 2022 09:54:42 +0200 Message-Id: <20220517075448.32638-12-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: 6127147293443220194 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrheeigdduvdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpudejiedrudeiiedrudehledrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejjeefrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhg Received-SPF: pass client-ip=46.105.56.132; envelope-from=ngraves@ngraves.fr; helo=17.mo583.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_DNSWL_NONE=-0.0001, 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=1652774308; 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=rYqjpi1SnVu2iWap2aQicBatRj5GCi+rXZ5lznRYqoE=; b=A8x3piHdsCvDAisx0wlfyuPcUlra60AbRpS7hXT+Ba0L8LVmq2m+VsU9IfECCvN1GOr2G8 X85euqMEpyducF+zwE8ensKaGLdLZfunodhfA0fKOx51WIgeB2Y95rh8QisKDyyzqUyVHz Tl0UPQkYTwHYd2vEIWa/7+wuMYnE6Q+UEX6O5P9jreTX8WH94JF7qg/L6e7EbylyPNFLYV eQjTVSHj4ysBQ2pegwGvFHcMT7YCy9Vj0kt8NO1u0ep4K0Sipfy33lblYWQ+26BrSh+WTi ZrfyfLB42oEdh07efh/myCZ1eJjUnZXy1jwn0VhISFo/00s3w2gfK8nRM2UzTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652774308; a=rsa-sha256; cv=none; b=AI/wrN3Mre+fGA8oWmPmUuxJuqZZfyxzFbPcRrgY6u4YTUdqrlej2orGJBtdo/9X9OZs6E A/hlPe6qYGbbybQADWxUToUymuqqmQyfkjvT0ZXuAJm8g+Zz85KfZt0KnzyxzpX/0S6Omv hUA/RLDT1jOD5k5fNl+OQocCU+mLChMadOVoOeolmznAXstfJxio+67wvJOeJKFWRlidH6 bLfSVvRCflo2jhO8ALMx7M4j2ui1GfRJT5o3DMXLL0HqEaq0JH+t+/dHkRShE5etF3DD8S 40PZ5q89dx3NSuXLipL4/wRBRPsOqsbmPuQGV2R1uvKW42y9xMvyT3PrFh7aTg== 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: -4.83 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: C47FD41173 X-Spam-Score: -4.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: 34pClonKU+yK * gnu/packages/python-xyz.scm (python-draftjs-exporter): New variable. --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7ae0b00ffb..40a591ca7d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8159,6 +8159,39 @@ (define-public python2-decorator (sha256 (base32 "0308djallnh00v112y5b7nadl657ysmkp6vc8xn51d6yzc9zm7n3")))))) +(define-public python-draftjs-exporter + (package + (name "python-draftjs-exporter") + (version "2.1.7") + (source + (origin + (method url-fetch) + (uri "https://github.com/springload/draftjs_exporter/archive/refs/tags/v2.1.7.tar.gz") + (sha256 + (base32 "02fjmzagvnc146zqhc0xg6mybrkjg3pc7wbl4pmbq4gvmwjsml4c")))) + (build-system python-build-system) + (native-inputs (list python-beautifulsoup4-4.8 + python-html5lib + python-lxml)) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? inputs #:allow-other-keys) + (if tests? + (invoke "python" "-m" "unittest" "discover" + ;; disabling two unexpected failing tests FIXME + "-k" "not test_export_lxml_big_content_export" + "-k" "not test_export_lxml_entity_with_data-*") + (format #t "test suite not run~%"))))))) + (home-page "https://github.com/springload/draftjs_exporter") + (synopsis + "Library to convert rich text from Draft.js raw ContentState to HTML") + (description + "This package provides a library to convert rich text from Draft.js raw +ContentState to HTML.") + (license license:expat))) + (define-public python-drmaa (package (name "python-drmaa") -- 2.36.0