From: Vinicius Monego <monego@posteo.net>
To: Tanguy Le Carrour <tanguy@bioneland.org>
Cc: 46616@debbugs.gnu.org
Subject: [bug#46616] [PATCH] gnu: Add python-tldr.
Date: Sun, 23 May 2021 21:15:30 +0000 [thread overview]
Message-ID: <05b49dc60b6a7c24ffd269293b9f9536abda14f2.camel@posteo.net> (raw)
In-Reply-To: <20210218140620.15816-1-tanguy@bioneland.org>
Hi,
Em qui, 2021-02-18 às 15:06 +0100, Tanguy Le Carrour escreveu:
> * gnu/packages/python-xyz.scm (python-tldr): New variable.
> ---
> gnu/packages/python-xyz.scm | 28 +++++++++++++++++++++++++++-
[...]
> +(define-public python-tldr
> + (package
> + (name "python-tldr")
I noticed that this program is a command line tool. It should be named
'tldr' only and be moved to another file. Perhaps to man.scm?
> + (source
> + (origin
> + (method url-fetch)
> + (uri (pypi-uri "tldr" version))
> + (sha256
> + (base32
> + "00h43xjrzrayy1gysvmql5kfabk2d8xraih68d41616brdvb1xvf"))))
> + (build-system python-build-system)
> + (native-inputs
> + `(("python-pytest" ,python-pytest)
> + ("python-pytest-runner" ,python-pytest-runner)))
The tests for this one are not distributed in the PyPI release. Could
you source from the homepage instead?
There is one test that tries to open a network connection, it will have
to be skipped.
> + (propagated-inputs
> + `(("python-argcomplete" ,python-argcomplete)
> + ("python-colorama" ,python-colorama)
> + ("python-termcolor" ,python-termcolor)))
If it is only a command line tool, inputs should be normal inputs here.
> + (description "This package provides the `tldr' command allowing
> users
> +to view `tldr' pages from a shell. The `tldr' pages are a community
> effort
> +to simplify the man pages with practical examples.")
The linter made this complaint for the description: "use @code or
similar ornament instead of quotes".
LGTM otherwise.
Could you make these changes and send a v2 with version 1.2.1?
Vinicius
next prev parent reply other threads:[~2021-05-23 21:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-18 14:06 [bug#46616] [PATCH] gnu: Add python-tldr Tanguy Le Carrour
2021-05-23 21:15 ` Vinicius Monego [this message]
2021-06-06 14:14 ` Tanguy LE CARROUR
2021-06-06 14:16 ` [bug#46616] [PATCH v2] " Tanguy Le Carrour
2021-07-20 19:12 ` bug#46616: " Efraim Flashner
2021-07-21 6:10 ` [bug#46616] " Tanguy LE CARROUR
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=05b49dc60b6a7c24ffd269293b9f9536abda14f2.camel@posteo.net \
--to=monego@posteo.net \
--cc=46616@debbugs.gnu.org \
--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).