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

Package: guix-patches;

Reported by: "MadalinIonel.Patrascu <at> mdc-berlin.de" <MadalinIonel.Patrascu <at> mdc-berlin.de>

Date: Thu, 13 Oct 2022 11:37:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mădălin Ionel Patrașcu
 <madalinionel.patrascu <at> mdc-berlin.de>
To: <58490 <at> debbugs.gnu.org>
Subject: [bug#58490] [PATCH 1/5] gnu: Add python-mdurl. X-Debbugs-Cc: rekado <at> elephly.net
Date: Thu, 13 Oct 2022 13:40:02 +0200
* gnu/packages/python-xyz.scm (python-mdurl): New variable.
---
 gnu/packages/python-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 37 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8575d4a67e..b95d598c07 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -66,7 +66,7 @@
 ;;; Copyright © 2019, 2020, 2021 Giacomo Leidi <goodoldpaul <at> autistici.org>
 ;;; Copyright © 2019 Wiktor Żelazny <wzelazny <at> vurv.cz>
 ;;; Copyright © 2019, 2020, 2021, 2022 Tanguy Le Carrour <tanguy <at> bioneland.org>
-;;; Copyright © 2019, 2021 Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>
+;;; Copyright © 2019, 2021, 2022 Mădălin Ionel Patrașcu <madalinionel.patrascu <at> mdc-berlin.de>
 ;;; Copyright © 2020 Riku Viitanen <riku.viitanen <at> protonmail.com>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba <at> kadziolka.net>
 ;;; Copyright © 2020 sirgazil <sirgazil <at> zoho.com>
@@ -625,6 +625,42 @@ (define-public python-lunr
 that best match text queries.")
     (license license:expat)))
 
+(define-public python-mdurl
+  (package
+    (name "python-mdurl")
+    (version "0.1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "mdurl" version))
+              (sha256
+               (base32
+                "1fn1hy35h9grggwqax90zcb52inlfxrxsm27vlqqz8zfyllkshdv"))))
+    (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))
+    (home-page "https://github.com/executablebooks/mdurl")
+    (synopsis "Markdown URL utilities")
+    (description
+      "This package implements a @code{Python} port of the @code{JavaScript}
+@code{mdurl}.")
+    (license license:expat)))
+
 (define-public python-mrkd
   (package
     (name "python-mrkd")

base-commit: 9ed65e6af77893b658a7159b091b5002892c2f95
-- 
2.37.3





This bug report was last modified 2 years and 262 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.