From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uEuQAlBB0mESwQAAgWs5BA (envelope-from ) for ; Mon, 03 Jan 2022 01:20:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yN+oNk9B0mEJvgAAG6o9tA (envelope-from ) for ; Mon, 03 Jan 2022 01:20:31 +0100 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 7F7061B770 for ; Mon, 3 Jan 2022 01:20:31 +0100 (CET) Received: from localhost ([::1]:33972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4B5S-0004RL-AW for larch@yhetil.org; Sun, 02 Jan 2022 19:20:30 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4B50-0004Qv-HS for guix-patches@gnu.org; Sun, 02 Jan 2022 19:20:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50606) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4B50-0000Ip-8P for guix-patches@gnu.org; Sun, 02 Jan 2022 19:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4B4z-0002Nr-U0 for guix-patches@gnu.org; Sun, 02 Jan 2022 19:20:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52970] [PATCH] gnu: Add python-markdownify. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 Jan 2022 00:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52970 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52970@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16411691539088 (code B ref -1); Mon, 03 Jan 2022 00:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jan 2022 00:19:13 +0000 Received: from localhost ([127.0.0.1]:33919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4B4D-0002MW-DF for submit@debbugs.gnu.org; Sun, 02 Jan 2022 19:19:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:35488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4B4B-0002MO-52 for submit@debbugs.gnu.org; Sun, 02 Jan 2022 19:19:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4B49-0004Gd-9Q for guix-patches@gnu.org; Sun, 02 Jan 2022 19:19:09 -0500 Received: from latitanza.investici.org ([82.94.249.234]:28629) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4B47-00007G-8Q for guix-patches@gnu.org; Sun, 02 Jan 2022 19:19:08 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4JRxDw0MCszGp4L; Mon, 3 Jan 2022 00:18:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1641169136; bh=AudKpi5VAyIU7mzt99xobufd1qCDXJYnu+TOlHsqyZA=; h=From:To:Cc:Subject:Date:From; b=e5vt1gBPtT70lzDholdGzvXdmXFtvHVht4DmQ+6M79olUnzVyNTyLT+ChPXNlywQt 05ZCzha7jRNx4qVv0YNx5dIyW1Zab9e3wKjLUgPDa+85xVWQu1Q8XMD2t7IMW9p7Gk j2Mqm26yy98TBXmwEbNGudazmRLOSJoh8qcES1Qg= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4JRxDv6Y0pzGp3m; Mon, 3 Jan 2022 00:18:55 +0000 (UTC) Date: Mon, 3 Jan 2022 01:18:35 +0100 Message-Id: <20220103001835.29311-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=82.94.249.234; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641169231; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=AudKpi5VAyIU7mzt99xobufd1qCDXJYnu+TOlHsqyZA=; b=sG5HAKjN4vTMmGRellJbVVOi3/ywh+YAgL3dOwsCAb5iVvkykFbwMMu8ktZB00ktSmBbJe u+6xFDCmGwSc167tp/EQzo4HikJ0N6DxKZMR1L3JrWnPMaPjFAazbS5zc5mnTP8zw7yHDE nSoRi+14zodsyDlG91Tw2uBGq7dlnwwV7BMWPUdQ3ESJhr8LUzQv9vmz2F168aYpQ43RaJ Cqm4XgdLGhePpcLD5HG4CMKdbTNi8PGBDsk1HdsCRRYVbwVBFjSNXeYd1RpNMHIdgZ9or9 14CWJ45ntBoNzLFn1YCoU4jxS4GSlAcavgq1h4yzZZPi+YiuJoL1nstGfQVY6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641169231; a=rsa-sha256; cv=none; b=YAO/7kBFbaxx/z/ceigYOwQrFgA66Fos1MgelEo1QPcwSorkE5ABz7jlDwUjEEvWXln2v0 xKZJv8V614nK71EoTm3OE3cezTY1pH0L99HN5NMsIZid8ggYE/xzb8RVGeceQ9703Jj7IU VnCFlUXeCdBX0sHFHchupKcV44gzqUYxWgKfXvPdKxUVw+Z297frZmZzusszBn3NYcjdgc g5iFP2D8XZagLtoQ75/gRyIFG/hDX7CAayhFTfJNJ/cJ/9oohexfeWlBfLeHzde4/ZnA4+ zMbZJL2yG5mfPwSSjLvr5hjmCMEFQNUvbWk69eZP8KV0r2ZOjN9+LwzY19i03w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=e5vt1gBP; 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: -3.78 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=e5vt1gBP; 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: 7F7061B770 X-Spam-Score: -3.78 X-Migadu-Scanner: scn0.migadu.com X-TUID: xlO3gkB/E+j7 * gnu/packages/markup.scm (python-markdownify): New variable. --- gnu/packages/markup.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm index cee3207ee5..5f2f525cd2 100644 --- a/gnu/packages/markup.scm +++ b/gnu/packages/markup.scm @@ -37,11 +37,13 @@ (define-module (gnu packages markup) #:use-module (guix build-system python) #:use-module (guix utils) #:use-module (gnu packages base) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages web)) (define-public hoedown @@ -237,6 +239,29 @@ (define-public perl-text-markdown-discount @end example") (license license:perl-license))) +(define-public python-markdownify + (package + (name "python-markdownify") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "markdownify" version)) + (sha256 + (base32 + "0msvrsgq9jigbgg7r7iq7ql5bgslmbxd8sq0nmpbxrjwqypgs7w2")))) + (build-system python-build-system) + (native-inputs + (list python-pytest)) + (propagated-inputs + (list python-flake8 python-beautifulsoup4 python-six)) + (home-page + "https://github.com/matthewwithanm/python-markdownify") + (synopsis "Converts HTML to Markdown") + (description "This package provides @code{markdownify} a Python library to +convert HTML to Markdown.") + (license license:expat))) + (define-public cmark (package (name "cmark") base-commit: 01ec5efff7cf95cae69493bd4ccfdd21a38770ae -- 2.34.0