GNU bug report logs - #70400
[PATCH] Update python-lsp-server

Previous Next

Package: guix-patches;

Reported by: Jonathan Pieper <jpieper <at> mailbox.org>

Date: Mon, 15 Apr 2024 17:38:03 UTC

Severity: normal

Tags: patch

Done: jgart <jgart <at> dismail.de>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 70400 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: Jonathan Pieper via Guix-patches via <guix-patches <at> gnu.org>,
 70400 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>,
 Munyoki Kilyungi <me <at> bonfacemunyoki.com>, Lars-Dominik Braun <lars <at> 6xq.net>,
 jgart <jgart <at> dismail.de>, Marius Bakke <marius <at> gnu.org>,
 Tanguy Le Carrour <tanguy <at> bioneland.org>,
 Jonathan Pieper <jpieper <at> mailbox.org>
Subject: Re: [bug#70400] [PATCH 1/7] gnu: Add python-docstring-to-markdown.
Date: Sun, 16 Jun 2024 00:29:08 +0200
On 2024-04-15 19:45, Jonathan Pieper via Guix-patches via wrote:

> * gnu/packages/python-xyz.scm (python-docstring-to-markdown): New variable.
> ---
>  gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 92566abfed..9521119a84 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -1376,6 +1376,25 @@ (define-public python-mkdocs-markdownextradata-plugin
>  variables into the markdown template")
>      (license license:expat)))
>  
> +(define-public python-docstring-to-markdown
> +  (package
> +    (name "python-docstring-to-markdown")
> +    (version "0.15")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "docstring-to-markdown" version))
> +       (sha256
> +        (base32 "0gdpabnyl1kyy0cjrnph6xl4fyhgim50a1amsaqq3hahki6i2ip1"))))
> +    (build-system python-build-system)

You can use pyproject-build-system directly here.

> +    (home-page "https://github.com/python-lsp/docstring-to-markdown")
> +    (synopsis "On the fly conversion of Python docstrings to markdown")
> +    (description
> +     "This module can convert Python docstrings to Markdown.
> +It can recognise reStructuredText inside docstrings and convert multiple of its
> +features to Markdown. It also includes initial support for Google-formatted docstrings.")
                        ^ You need two spaces here. 
Also ensure you match the maximum line length of 78.

> +    (license license:lgpl2.1+)))
> +
>  (define-public python-mysql-connector-python
>    (package
>      (name "python-mysql-connector-python")
>
> base-commit: 6b3c90f638292f9604a221ac6dbf22234f6e4c4b

-- 
Best regards,
Nicolas Graves




This bug report was last modified 136 days ago.

Previous Next


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