all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: peter@polidoro.io
Cc: 55637@debbugs.gnu.org
Subject: [bug#55637] [PATCH] gnu: Add python-pylink-square.
Date: Fri, 27 May 2022 10:26:07 +0100	[thread overview]
Message-ID: <87zgj3s4sv.fsf@cbaines.net> (raw)
In-Reply-To: <60db9b9dbccfc6522f1e3e28ff51d0ea74457fad.1653591259.git.peter@polidoro.io>

[-- Attachment #1: Type: text/plain, Size: 2187 bytes --]


peter@polidoro.io writes:

> From: Peter Polidoro <peter@polidoro.io>
>
> * gnu/packages/embedded.scm (python-pylink-square): New variable.
> ---
>  gnu/packages/embedded.scm | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
> index 010f5b84d2..75675c2698 100644
> --- a/gnu/packages/embedded.scm
> +++ b/gnu/packages/embedded.scm
> @@ -1699,3 +1699,34 @@ (define-public mbed-tools
>  connected by USB, checkout Mbed projects and perform builds amongst other
>  operations.")
>      (license license:asl2.0)))
> +
> +(define-public python-pylink-square
> +  (package
> +    (name "python-pylink-square")
> +    (version "0.12.0")
> +    (source
> +     ;; The tests suite appears to be incomplete in the PyPI archive.
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "http://www.github.com/Square/pylink")
> +             (commit (string-append "v" version))))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "0w0pi91gvaw9k2r267kpc1ryd74v19iq5ysn4j7pf4g2069gbgxf"))))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#:phases (modify-phases %standard-phases
> +                  (add-after 'unpack 'patch-setup
> +                    (lambda _
> +                      (substitute* "setup.py"
> +                        (("mock == 2.0.0") "mock")))))))
> +    (native-inputs (list python-mock))
> +    (propagated-inputs (list python-future
> +                             python-psutil
> +                             python-six
> +                             libjaylink))
> +    (home-page "http://www.github.com/Square/pylink")
> +    (synopsis "Python interface for SEGGER J-Link.")
> +    (description "Python interface for SEGGER J-Link.")
> +    (license license:asl2.0)))

The description here also looks like it could be improved a bit.

Are you able to send some updated patches?

Also, when sending a few related patches, it's helpful if you get git
send-email to send them as a series, so something like:

  git send-email HEAD~3

To send patches for the last 3 commits.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

  reply	other threads:[~2022-05-27  9:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25 16:43 [bug#55637] Add west requirements.txt dependencies Peter Polidoro
2022-05-25 17:11 ` [bug#55637] [PATCH] gnu: Add python-canopen peter
2022-05-27  9:22   ` Christopher Baines
2022-05-25 17:33 ` [bug#55637] [PATCH] gnu: Add python-progress peter
2022-05-27  9:24   ` Christopher Baines
2022-05-26 18:55 ` [bug#55637] [PATCH] gnu: Add python-pylink-square peter
2022-05-27  9:26   ` Christopher Baines [this message]
2022-05-27 14:50     ` Peter Polidoro
2022-05-27 18:37 ` [bug#55637] [PATCH] gnu: Add python-canopen peter
2022-06-06 20:19   ` [bug#55637] Add west requirements.txt dependencies Ludovic Courtès
2022-05-27 18:57 ` [bug#55637] [PATCH] gnu: Add python-progress peter
2022-06-06 20:21   ` bug#55637: Add west requirements.txt dependencies Ludovic Courtès

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zgj3s4sv.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=55637@debbugs.gnu.org \
    --cc=peter@polidoro.io \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.