From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SL6gOpNE+GR7fgAAG6o9tA:P1 (envelope-from ) for ; Wed, 06 Sep 2023 11:21:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SL6gOpNE+GR7fgAAG6o9tA (envelope-from ) for ; Wed, 06 Sep 2023 11:21:24 +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 C1F0941D31 for ; Wed, 6 Sep 2023 11:21:23 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693992083; 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=MX10ZiECMMnhzcPGJN5j9Rmxr0cP9wOXZ2aNlB59GVg=; b=NlbTvDhpfJO5VBkDJwxz906wX4IzSHHewF359Es61l2CNJKE6ns9sb6CdyrE5NaWLSIG9S TR6nZDgmFpitDfm79fVhw2Wkz9bbIwHjfkxNn2rJzIAJ99v4g3ZAt6TDCoxQ93aynJGf5U LtGL0llXTly1BSrnd9GDekVAAtN9+3vrqZHYPnlXdgrnex8KvZJH79jDFNZs+N9n5wrqn/ bBHSZcpKRF9oMyH8k6lZhTaiL8xIRWdb4xVr8Pcn9iqSqlgbcwD4ZZt3bJli8r40AeiJhI lDmsPXDHT5YT9dAreikt2geJB7WCIrDQmjzDbjFy4hn35cY4GCu9oLDMZBs+KA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693992083; a=rsa-sha256; cv=none; b=KVPLxSoRT7tHkYWIp75AfjfN7hoCh5Fl/gah5CsyXT9y8irSvvJD+Fhj7mCKZOVLDgfhQ9 YZUaDLVYfmjOE5mSCCygwEp7yIdOP81UxE6Y8j9TuafDGYED9TU7QGAF9ujr9uDvoZo9UO mHfque86MA46kk3PbVCTmjcDJVADPHhUgnJih4nuBLt2R4dkCHgoQi4Cyzkuje3RC47Ehb H+qGP9zA1hpLdLpYZIG9ch8Wdm3izeYPZjouhUuxVmrAyCH3RuVYqqlDGgTy8Qa48y60lT Ac9MF59MS+S/B3ie/YPGn32Bn0K81MmXEGVLM9OxrlnbI9VY6c75UXE2Afmm6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdogj-0006eS-M4; Wed, 06 Sep 2023 05:19:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdog7-0004pu-03 for guix-patches@gnu.org; Wed, 06 Sep 2023 05:18:28 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdog6-0005yc-Nd for guix-patches@gnu.org; Wed, 06 Sep 2023 05:18:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdog5-0006PR-6G; Wed, 06 Sep 2023 05:18:25 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65758] [PATCH v7 46/57] gnu: Add python-draftjs-exporter. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Wed, 06 Sep 2023 09:18:25 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65758 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65758@debbugs.gnu.org Cc: ngraves@ngraves.fr, Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 65758-submit@debbugs.gnu.org id=B65758.169399190224567 (code B ref 65758); Wed, 06 Sep 2023 09:18:25 +0000 Received: (at 65758) by debbugs.gnu.org; 6 Sep 2023 09:18:22 +0000 Received: from localhost ([127.0.0.1]:32878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdog1-0006O0-Q0 for submit@debbugs.gnu.org; Wed, 06 Sep 2023 05:18:22 -0400 Received: from 5.mo550.mail-out.ovh.net ([178.33.45.107]:48805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdofn-0006IG-PX for 65758@debbugs.gnu.org; Wed, 06 Sep 2023 05:18:08 -0400 Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.16.32]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id AE08E27626 for <65758@debbugs.gnu.org>; Wed, 6 Sep 2023 09:18:05 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-6sc6b (unknown [10.110.103.114]) by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 644D51FEA8; Wed, 6 Sep 2023 09:18:05 +0000 (UTC) Received: from ngraves.fr ([37.59.142.99]) by ghost-submission-6684bf9d7b-6sc6b with ESMTPSA id Dog3FM1D+GROVwAAGKUK8A (envelope-from ); Wed, 06 Sep 2023 09:18:05 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Wed, 6 Sep 2023 11:16:10 +0200 Message-ID: <213de4132414b7ff1a217eee4fcc94b0c229ca86.1693991781.git.ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <68f75e9d42cc8c0c8d0fa78cd0817b28dfb774c6.1693991781.git.ngraves@ngraves.fr> References: <68f75e9d42cc8c0c8d0fa78cd0817b28dfb774c6.1693991781.git.ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 4885561173867684578 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrudehfedgudefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddrleelnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqedpnhgspghrtghpthhtohepuddprhgtphhtthhopeeiheejheekseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth 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: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -6.22 X-Migadu-Queue-Id: C1F0941D31 X-Migadu-Spam-Score: -6.22 X-TUID: vS+7y+O8C3cA * gnu/packages/python-xyz.scm (python-draftjs-exporter): New variable. --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e23d21d2bc..71a0c581c9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9618,6 +9618,42 @@ (define-public python-decorator etc. The core of this module is a decorator factory.") (license license:expat))) +(define-public python-draftjs-exporter + (package + (name "python-draftjs-exporter") + (version "2.1.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/springload/draftjs_exporter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1k9bc2rpdygrch66vig6pkc2hpbi3xprsspaccf8qx6h37sjn3dp")))) + (build-system pyproject-build-system) + (native-inputs (list python-beautifulsoup4 + python-html5lib + python-lxml)) + (arguments + `(#:test-flags '("-m" "unittest" "discover" + ;; FIXME disabling two unexpected failing tests + "-k" "not test_export_lxml_big_content_export" + "-k" "not test_export_lxml_entity_with_data-*") + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? test-flags #:allow-other-keys) + (if tests? + (apply invoke "python" test-flags) + (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 python library to convert rich text from Draft.js raw +ContentState to HTML.") + (license license:expat))) (define-public python-drmaa (package -- 2.41.0