unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: "Stefan Reichör" <stefan@xsteve.at>, 48430@debbugs.gnu.org
Subject: [bug#48430] [PATCH] gnu: Add python-multiplex.
Date: Thu, 11 Nov 2021 04:52:07 +0000	[thread overview]
Message-ID: <3555e2c85027f9b560e7583ead618cd1db0ef587.camel@posteo.net> (raw)
In-Reply-To: <20210529211041.185234-1-stefan@xsteve.at>

Em sáb, 2021-05-29 às 23:10 +0200, Stefan Reichör escreveu:
> * gnu/packages/python-xyz.scm (python-multiplex): New variable.
> ---
> I was not able to switch the source url to github since the poetry
> build system is required there. I have no idea how to use poetry from
> within guix
> 

Hi,

I was taking a look at this series again.

> gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
> 
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-
> xyz.scm
> index f208a7d153..d68e237830 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -25062,6 +25062,32 @@ applications with variable CPU loads).")
>  (define-public python2-parallel
>    (package-with-python2 python-parallel))
>  
> +(define-public python-multiplex
> +  (package
> +    (name "python-multiplex")
> +    (version "0.5.1")
> +    (source
> +      (origin

Indentation is 1 space below source. If you're using Emacs it can fix
indentation with M-x indent-sexp (C-M-q) with the cursor on the
beginning of the expression.

> +        (method url-fetch)
> +        (uri (pypi-uri "multiplex" version))
> +        (sha256
> +          (base32
> +           
> "1g01xwx5z0m1dvp5d69ndj8hz80d2z5xzasixa7c0k6ny93f9qhg"))))
> +    (build-system python-build-system)

I'd suggest to add something like

> (arguments
>  `(#:tests? #f)) ; no tests in PyPI and no setup.py in github

in this place.

> +    (propagated-inputs
> +      `(("python-aiofiles" ,python-aiofiles-0.5.0)

If multiplex must match aiofiles version, issue 48429 can be skipped
since multiplex is now at 0.6.0 and we have aiofiles 0.6.0.

> +        ("python-aiostream" ,python-aiostream)
> +        ("python-click" ,python-click)
> +        ("python-easy-ansi" ,python-easy-ansi)
> +        ("python-pyte" ,python-pyte)))
> +    (home-page "https://github.com/dankilman/multiplex")
> +    (synopsis "View output of multiple processes, in parallel, in
> the console,
> +with an interactive TUI")

Please keep synopsis under 78 columns. I'd suggest something like "View
output of multiple process with an interactive TUI".

> +    (description
> +      "Can be used as cli tool or as python library to view output
> of parallel
> +running processes")

Description must be a full sentence. For instance: "Multiplex is a CLI
tool and a Python library to view output of running processes in
parallel.", or something alone these lines.

> +    (license license:expat)))
> +
>  (define-public python-djvulibre
>    (package
>      (name "python-djvulibre")

Your patch 2 was already merged.

Can you send a series of patches 1, 3 and 5 with -v2 to
48428@debbugs.gnu.org (the first patch)? When merged, that and 48427,
48429 and 48430 can be closed.

Vinicius





  reply	other threads:[~2021-11-11  4:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14 21:17 [bug#48428] [PATCH 1/5] gnu: python-pyte: Update to 0.8.0 Stefan Reichör
2021-05-14 21:17 ` [bug#48426] [PATCH 2/5] gnu: Add python-easy-ansi Stefan Reichör
2021-05-29 20:28   ` [bug#48426] [PATCH] " Stefan Reichör
2021-05-31 19:05     ` bug#48426: " Nicolas Goaziou
2021-05-14 21:17 ` [bug#48427] [PATCH 3/5] gnu: Add python-aiostream Stefan Reichör
2021-05-18 22:31   ` Vinicius Monego
2021-05-29 20:38   ` [bug#48427] [PATCH] " Stefan Reichör
2023-05-29 11:17     ` bug#48427: [PATCH 3/5] " Jelle Licht
2021-05-14 21:17 ` [bug#48429] [PATCH 4/5] gnu: Add python-aiofiles-0.5.0 Stefan Reichör
2021-05-14 21:17 ` [bug#48430] [PATCH 5/5] gnu: Add python-multiplex Stefan Reichör
2021-05-29 21:10   ` [bug#48430] [PATCH] " Stefan Reichör
2021-11-11  4:52     ` Vinicius Monego [this message]
2023-10-12  1:42 ` bug#48428: [PATCH 1/5] gnu: python-pyte: Update to 0.8.0 jgart via Guix-patches via

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=3555e2c85027f9b560e7583ead618cd1db0ef587.camel@posteo.net \
    --to=monego@posteo.net \
    --cc=48430@debbugs.gnu.org \
    --cc=stefan@xsteve.at \
    /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).