From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0J8UMN0MfmTtNgEASxT56A (envelope-from ) for ; Mon, 05 Jun 2023 18:27:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kCwiMN0MfmRmWAEA9RJhRA (envelope-from ) for ; Mon, 05 Jun 2023 18:27:09 +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 889D5CE38 for ; Mon, 5 Jun 2023 18:27:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6D20-0001Z4-HR; Mon, 05 Jun 2023 12:26:08 -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 1q6D1y-0001WX-55 for guix-patches@gnu.org; Mon, 05 Jun 2023 12:26:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q6D1x-0001dz-SV for guix-patches@gnu.org; Mon, 05 Jun 2023 12:26:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q6D1x-0004S4-O7; Mon, 05 Jun 2023 12:26:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55474] [PATCH v4 10/19] gnu: Add python-draftjs-exporter. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, guix-patches@gnu.org Resent-Date: Mon, 05 Jun 2023 16:26: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: ngraves@ngraves.fr, lars@6xq.net X-Debbugs-Original-Xcc: lars@6xq.net Received: via spool by 55474-submit@debbugs.gnu.org id=B55474.168598233416884 (code B ref 55474); Mon, 05 Jun 2023 16:26:05 +0000 Received: (at 55474) by debbugs.gnu.org; 5 Jun 2023 16:25:34 +0000 Received: from localhost ([127.0.0.1]:50175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6D1R-0004OF-Ve for submit@debbugs.gnu.org; Mon, 05 Jun 2023 12:25:34 -0400 Received: from 1.mo582.mail-out.ovh.net ([46.105.56.136]:38769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q6D1O-0004NX-BX for 55474@debbugs.gnu.org; Mon, 05 Jun 2023 12:25:31 -0400 Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.156.38]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 66C1521946 for <55474@debbugs.gnu.org>; Mon, 5 Jun 2023 16:25:29 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-jqgqw (unknown [10.110.115.59]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 38FEF1FE45; Mon, 5 Jun 2023 16:25:29 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-6684bf9d7b-jqgqw with ESMTPSA id WMbODHkMfmSZ+C4AIx6scw (envelope-from ); Mon, 05 Jun 2023 16:25:29 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Mon, 5 Jun 2023 18:25:05 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 898749602961744610 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfeelledguddtvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdelkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheehgeejgeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvddpmhhouggvpehsmhhtphhouhht 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685982429; a=rsa-sha256; cv=none; b=B4y0Jco7AVMAN+XBsrN5ZJcdO2QeisLC3VSCsjtcb0dcbo8W6M2vCqFZ9sn39OmV82reY9 6pcrXpdkklbgBS7aNNYubj4cRZwijunTcTzEmaWbC3ZDqzqWgyScxIxPwtATbEjrjND6dn bgwnuBBpy0t7bHeW3kfrjQO7r1jt5A7Wo10UkWBN7YyWWSRW3hOWsgslG2hWZ2NtSdxhZA QjSRPpYIIscNi3OwWBmDU+UKmDszWIovk5uSee9UUcuX2JLHitksTJdf8Qvgy4sivCzxj9 SjqLnvaC/HQ6nJCSkM664AP5N/YZ/WjyvsnWAXIX87gIh2BbRJ1VccGDz8eMBw== 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685982429; 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=W+zTsoAzo5muvtE7l0ccOQBuwXWz7Pp3LkZEW09Qq5g=; b=EAaEzNf5Mn2KTRO56IelVpGtGO9JSrmeQsj66F6p6EMt0nBkitht0kO0DNUxEaCBIfGg5j QUe0faLkty0uy4kqNm5zEbWNy4U/DVSgm/fDlHD3RlUyjQnw5fNGaUCTh6XfpYMgqIAeCJ bemP4JRsuCK/wduOq8Vay+TaXCLwTjDZbFOgW1HiX38d2H8OvzmiF7AFhE+Q05YUqdfHtV bHJyN2Fh6x707Ma14JtxDvOCoOWT2pjeefKgc3E3MtUW0CFiakXdkh38gm3P0Hpo/GRafn PhyYa727Otv2q/0XmNanSgqy2RE2u+dQ//Tl3t90QdZFWJTCciwocfEP5RAQZQ== 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-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.99 X-Spam-Score: -3.99 X-Migadu-Queue-Id: 889D5CE38 X-TUID: 7O/PvMxqOLGa * 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 34adfded09..8f064f5a92 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9197,6 +9197,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 url-fetch) + (uri + (string-append + "https://github.com/springload/draftjs_exporter" + "/archive/refs/tags/v" version ".tar.gz")) + (sha256 + (base32 "02fjmzagvnc146zqhc0xg6mybrkjg3pc7wbl4pmbq4gvmwjsml4c")))) + (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.40.1