From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 60238@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>, dan <i@dan.games>,
Lars-Dominik Braun <lars@6xq.net>, Marius Bakke <marius@gnu.org>,
Munyoki Kilyungi <me@bonfacemunyoki.com>,
Sharlatan Hellseher <sharlatanus@gmail.com>,
Tanguy Le Carrour <tanguy@bioneland.org>,
jgart <jgart@dismail.de>
Subject: [bug#60238] [PATCH v3 4/7] gnu: Add python-markdown2.
Date: Sun, 17 Mar 2024 17:08:11 +0000 [thread overview]
Message-ID: <f9ef5307f3a7d0009c11be3f7ba89f483598df2b.1710694980.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <b02b0095f046dd634e8188b6ca45e208f5d6a126.1710694980.git.sharlatanus@gmail.com>
From: dan <i@dan.games>
* gnu/packages/python-xyz.scm (python-markdown2): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
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 <nemesamade@gmail.com>
;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
;;; Copyright © 2023 Kaelyn Takata <kaelyn.alexi@protonmail.com>
+;;; Copyright © 2023 dan <i@dan.games>
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
;;; Copyright © 2023 Ivan Vilata-i-Balaguer <ivan@selidor.net>
;;; Copyright © 2023 Ontje Lünsdorf <ontje.luensdorf@dlr.de>
@@ -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
next prev parent reply other threads:[~2024-03-17 17:10 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-21 13:07 [bug#60238] [PATCH 0/7] gnu: Add fava dan
2022-12-21 13:13 ` [bug#60238] [PATCH 1/7] gnu: Add python-markdown2 dan
2022-12-21 13:13 ` [bug#60238] [PATCH 2/7] gnu: Add python-portend dan
2022-12-21 13:14 ` [bug#60238] [PATCH 3/7] gnu: Add python-inflect dan
2022-12-21 13:14 ` [bug#60238] [PATCH 4/7] gnu: Add python-jaraco-text dan
2022-12-21 13:14 ` [bug#60238] [PATCH 5/7] gnu: Add python-pypytools dan
2022-12-21 13:14 ` [bug#60238] [PATCH 6/7] gnu: Add python-cheroot dan
2022-12-21 13:14 ` [bug#60238] [PATCH 7/7] gnu: Add fava dan
2023-01-15 14:37 ` [bug#60238] [PATCH 0/7] " dan
2023-01-26 10:02 ` Ludovic Courtès
2023-02-02 16:54 ` [bug#60238] [PATCH v2 " dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 1/7] gnu: Add python-markdown2 dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 2/7] gnu: Add python-portend dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 3/7] gnu: Add python-inflect dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 4/7] gnu: Add python-jaraco-text dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 5/7] gnu: Add python-pypytools dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 6/7] gnu: Add python-cheroot dan
2023-02-02 16:58 ` [bug#60238] [PATCH v2 7/7] gnu: Add fava dan
2024-03-17 17:07 ` [bug#60238] [PATCH 0/7] " Sharlatan Hellseher
2024-03-17 17:08 ` [bug#60238] [PATCH v3 1/7] gnu: beancount: Adjust packages style Sharlatan Hellseher
2024-03-17 17:08 ` [bug#60238] [PATCH v3 2/7] gnu: beancount: Enable sanity check Sharlatan Hellseher
2024-03-17 17:08 ` [bug#60238] [PATCH v3 3/7] gnu: beancount: Enable tests Sharlatan Hellseher
2024-03-17 17:08 ` Sharlatan Hellseher [this message]
2024-03-17 17:08 ` [bug#60238] [PATCH v3 5/7] gnu: Add python-pypytools Sharlatan Hellseher
2024-03-17 17:08 ` [bug#60238] [PATCH v3 6/7] gnu: Add python-cheroot Sharlatan Hellseher
2024-03-17 17:08 ` [bug#60238] [PATCH v3 7/7] gnu: Add fava Sharlatan Hellseher
2024-03-19 9:50 ` bug#60238: [PATCH 0/7] " Sharlatan Hellseher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f9ef5307f3a7d0009c11be3f7ba89f483598df2b.1710694980.git.sharlatanus@gmail.com \
--to=sharlatanus@gmail.com \
--cc=60238@debbugs.gnu.org \
--cc=i@dan.games \
--cc=jgart@dismail.de \
--cc=lars@6xq.net \
--cc=marius@gnu.org \
--cc=me@bonfacemunyoki.com \
--cc=tanguy@bioneland.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).