~ruther/guix-local

e1cc126ed7bbd5ca3739e94c28a39e36968e2bc0 — Nicolas Graves 6 months ago 3aeaf1d
gnu: python-markdown-strings: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-markdown-strings):
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-backend, #:test-flags>: Set them.
[native-inputs]: Add python-setuptools.

Change-Id: Ic9d4ac2bee4fc192cb7f3cc2e316d9cfbc799d33
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 15 insertions(+), 10 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +15 -10
@@ 35852,16 35852,21 @@ functions
  (package
    (name "python-markdown-strings")
    (version "3.3.0")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/awesmubarak/markdown_strings.git")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0064ni7s3k8hqw61wi9m31icxp61f8adhija2qsp46hclcwx7vz2"))))
    (build-system python-build-system)
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/awesmubarak/markdown_strings.git")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0064ni7s3k8hqw61wi9m31icxp61f8adhija2qsp46hclcwx7vz2"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-backend #~'custom
      #:test-flags #~(list "test.py")))
    (native-inputs (list python-setuptools))
    (propagated-inputs (list python-lxml python-six))
    (home-page "https://github.com/awesmubarak/markdown_strings")
    (synopsis "Python library to create markdown-formatted text")