GNU bug report logs -
#58490
gnu: Add python-mdurl, python-markdown-it-py, python-mdit-py-plugins, python-sphinx-gallery-0.7.0 and python-jupytext.
Previous Next
Full log
View this message in rfc822 format
* gnu/packages/python-xyz.scm (python-markdown-it-py): New variable.
---
gnu/packages/python-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b95d598c07..33b6c62346 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4017,6 +4017,47 @@ (define-public python-virtualenv
"Virtualenv is a tool to create isolated Python environments.")
(license license:expat)))
+(define-public python-markdown-it-py
+ (package
+ (name "python-markdown-it-py")
+ (version "2.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "markdown-it-py" version))
+ (sha256
+ (base32
+ "1nh75i72584r70alhqc479gys04s5m5g3vq601yf2njbs7z5jzng"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:tests? #f ;;pypi source does not contains tests
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'build
+ (lambda _
+ (invoke "flit" "build")))
+ (replace 'install
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (add-installed-pythonpath inputs outputs)
+ (for-each
+ (lambda (wheel)
+ (format #t wheel)
+ (invoke "python" "-m" "pip" "install"
+ wheel (string-append "--prefix=" #$output)))
+ (find-files "dist" "\\.whl$")))))))
+ (native-inputs (list python-flit))
+ (propagated-inputs
+ (list python-mdurl
+ python-typing-extensions))
+ (home-page "https://github.com/executablebooks/markdown-it-py")
+ (synopsis "Python port of markdown-it")
+ (description
+ "This is a @code{Python} port of the well used @code{markdown-it}, and some
+of its associated plugins. The driving design philosophy of the port has been
+to change as little of the fundamental code structure (file names, function name,
+etc) as possible.")
+ (license license:expat)))
+
(define-public python-markupsafe
(package
(name "python-markupsafe")
--
2.37.3
This bug report was last modified 2 years and 205 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.