From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WMeJFR4k92Uv0wAAqHPOHw:P1 (envelope-from ) for ; Sun, 17 Mar 2024 18:10:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WMeJFR4k92Uv0wAAqHPOHw (envelope-from ) for ; Sun, 17 Mar 2024 18:10:54 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=f2tBLErD; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710695454; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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:dkim-signature; bh=d2FSeRf19vx4OtMR5pVTWpfLflFt3DimN2BLP8cmV9A=; b=j+k8PPvHG7S9Fp5DIiKViJHSshN+izGhkCVxddR4qsppiZm/zlVSj6W3iOMagTgRJ2DqjQ SqwPIx9uxURPoTYCxc0WIFjPxaknTSQd2t4nroT4/9/LW6YAAfgNU/612X/M9Y0dqcWA2X LqTcwzn4WshXsUDaoUdJ4vQenfA89KV9H548fGuOGBrv+1xg8mUlwjsBleeRzoxRnms6DC V5AiYD5eYkBkK6gowfLSCYp0Sb4mJpfbKBeVMF9F28RUOJhEopNUivNcbCr34TcCquEbp5 UYWVu7NrSeyK6oPFhCKkTQ+1jybt/1hMWB6QrCmkYYxv+vTAdqYWRzlPepb6gw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=f2tBLErD; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710695454; a=rsa-sha256; cv=none; b=IVGNFUX4A+1eTWgz8eo6LhnuP/y6Ig5MwcH2Fe7g3a/RiRWz4GnRgHJ38NJAoVT1184oPk c1Mt1kL8da/YDQOegfOs9d3Uw5GE9IrdDBVkzHgKh+BX7zP32xnlNLR3kh6KrD2uIB/5TB gL+woBBMPWLeiK6aGQLxud4mcQAzFJiW2XVM/jFlqWuWWusYC6ToJmkbeHwuzhC2P4iInw qN/BcTDqSONK/qHFKc6aYNUApkzRYQpYNe3+clqmbqviYRyoK7Gd3hhvBZYrOwF3KHz14V do4MF/fwfjTNU9wOC6/CELTL3gnAPZ5LyH5WtczTdl0zgM5F12ootSIAZUckVQ== 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 EB716168AD for ; Sun, 17 Mar 2024 18:10:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlu1o-0000Xf-L9; Sun, 17 Mar 2024 13:10:32 -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 1rlu1l-0000P6-Ud for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:29 -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 1rlu1k-0001MM-Vs; Sun, 17 Mar 2024 13:10:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rlu2K-0005iB-PT; Sun, 17 Mar 2024 13:11:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60238] [PATCH v3 4/7] gnu: Add python-markdown2. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 17 Mar 2024 17:11:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60238@debbugs.gnu.org Cc: Sharlatan Hellseher , dan , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 60238-submit@debbugs.gnu.org id=B60238.171069541821839 (code B ref 60238); Sun, 17 Mar 2024 17:11:04 +0000 Received: (at 60238) by debbugs.gnu.org; 17 Mar 2024 17:10:18 +0000 Received: from localhost ([127.0.0.1]:58859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1Y-0005g8-J7 for submit@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:18 -0400 Received: from mail-wr1-f45.google.com ([209.85.221.45]:56589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1N-0005e1-82 for 60238@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:08 -0400 Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-33ec7e1d542so1888758f8f.1 for <60238@debbugs.gnu.org>; Sun, 17 Mar 2024 10:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710695302; x=1711300102; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=d2FSeRf19vx4OtMR5pVTWpfLflFt3DimN2BLP8cmV9A=; b=f2tBLErDsr7dhF1o8FvIvtOv89dWzTy3+YWPFJywGZHXIIk+uEAiTl/wTiZ89GCC/n gn7Qz8jD4GD9efg89cOzTJoLuV5UDF8CA6H38b9+9IH8p8VjFUWl4DxYrWtd2jnMqamR pq89pCmq2jbq69z8xb9Hi0+8fBDsxLNerBiMSGuPKozJwYl7bLkpu2l35WhQEc8hPb+d zoAy6NIShXfcn1kbXw2JEOhhSTMB/WFaolE23Y5Ff6p0zDHD4yWqiLF1jRdncz3gRKj6 00vJodBkuJDukl3vU8zqGBDgUxVFIc41GV6JiYMvR9O5mCbtdUPTiobVh8xpb6e4kem8 fXxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710695302; x=1711300102; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=d2FSeRf19vx4OtMR5pVTWpfLflFt3DimN2BLP8cmV9A=; b=n9sRzAJjR1atttSrv4l85LX/1EVA/PTpg3dt/Z8oMf86PKLrQoxeA6XoRSaWQO5m6R u3KLc4RgVwA5erZC7GCdwxsflMVP+IxoCNzPknPZiCp97UGt8+WSW+6Wqc90xJ2K1S5U bUnlBkUrF6c1xhRpfsXIqKouNUV/U+qDwp5tL6HV3bj1G2Oup1aAUJ4m7Vl055zBDHA2 ZLSRK495uVVEbbjXknpwvOXxSpqPtlGiYw0ns05Ks/OMgBCeZdhEnfxCH6kGztBnYCPz oY9DC4+iHjRjdA7gyOyUhbhntTAS3bZeqLhUOs4hoIfFEed9jl6ZKjjgejbvry/diRHr 1jyQ== X-Gm-Message-State: AOJu0YxpWGv+f7ufJ+7iuNEhA3KFa0QeqOCqr6V+RxT80fyLIeE2aFb9 Rt5QOhXruhrG+KFWBqIyXaS2J29/QX9EK6moQtloZqdkBKVXmWd+FoIlYfhiN+Q= X-Google-Smtp-Source: AGHT+IHw438PMi4JA/eIk3bQDP9bif8gchNkCn1OhmY6M5nI9A1UPnahmbJO3dAPG2b+vxpFBbmQLw== X-Received: by 2002:a5d:5404:0:b0:33e:7942:4140 with SMTP id g4-20020a5d5404000000b0033e79424140mr8067264wrv.7.1710695301849; Sun, 17 Mar 2024 10:08:21 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id p10-20020a5d638a000000b0033e206a0a7asm7817968wru.26.2024.03.17.10.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 10:08:21 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 17 Mar 2024 17:08:11 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.20 X-Spam-Score: -4.20 X-Migadu-Queue-Id: EB716168AD X-Migadu-Scanner: mx13.migadu.com X-TUID: 5nhkjJqWFCsJ From: dan * gnu/packages/python-xyz.scm (python-markdown2): New variable. Signed-off-by: Sharlatan Hellseher --- 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 7ed8c945be..0e458fdadc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -136,6 +136,7 @@ ;;; Copyright © 2023 Amade Nemes ;;; Copyright © 2023 Bruno Victal ;;; Copyright © 2023 Kaelyn Takata +;;; Copyright © 2023 dan ;;; Copyright © 2023 Dominik Delgado Steuter ;;; Copyright © 2023 Ivan Vilata-i-Balaguer ;;; Copyright © 2023 Ontje Lünsdorf @@ -14245,6 +14246,41 @@ (define-public python-markdown markdown_py is also provided to convert Markdown files to HTML.") (license license:bsd-3))) +(define-public python-markdown2 + (package + (name "python-markdown2") + (version "2.4.13") + (source + (origin + (method git-fetch) ; no tests data in PyPi package + (uri (git-reference + (url "https://github.com/trentm/python-markdown2") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0m1wy8i4xmna5b97dvks8cfjmc1wid8pxmd2h82869d0ajva3r6a")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? test-flags #:allow-other-keys) + (when tests? + (with-directory-excursion "test" + (invoke "python" "testall.py")))))))) + (native-inputs + (list python-pygments)) + (home-page "https://github.com/trentm/python-markdown2") + (synopsis "Fast and complete Python implementation of Markdown") + (description + "This package provides a fast and complete Python implementation of +Markdown. It was written to closely match the behaviour of the original +Perl-implemented Markdown.pl. It also comes with a number of +extensions (called @code{extras}) for things like syntax coloring, tables, +header-ids.") + (license license:expat))) + (define-public python-mdx-include (package (name "python-mdx-include") -- 2.41.0