* [bug#55637] Add west requirements.txt dependencies @ 2022-05-25 16:43 Peter Polidoro 2022-05-25 17:11 ` [bug#55637] [PATCH] gnu: Add python-canopen peter ` (4 more replies) 0 siblings, 5 replies; 12+ messages in thread From: Peter Polidoro @ 2022-05-25 16:43 UTC (permalink / raw) To: 55637 ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#55637] [PATCH] gnu: Add python-canopen. 2022-05-25 16:43 [bug#55637] Add west requirements.txt dependencies Peter Polidoro @ 2022-05-25 17:11 ` peter 2022-05-27 9:22 ` Christopher Baines 2022-05-25 17:33 ` [bug#55637] [PATCH] gnu: Add python-progress peter ` (3 subsequent siblings) 4 siblings, 1 reply; 12+ messages in thread From: peter @ 2022-05-25 17:11 UTC (permalink / raw) To: 55637; +Cc: Peter Polidoro From: Peter Polidoro <peter@polidoro.io> * gnu/packages/python-xyz.scm (python-canopen): New variable. --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6ca759e2e2..35a2009f69 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31743,3 +31743,24 @@ (define-public python-preshed "Simple but high performance Cython hash table mapping pre-randomized keys to void* values.") (license license:expat))) + +(define-public python-canopen + (package + (name "python-canopen") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "canopen" version)) + (sha256 + (base32 "1nb543wb37kj95v6bhh272lm5gkpi41q3pnsl1fxlyizm2gamj5w")))) + (build-system python-build-system) + (native-inputs (list python-packaging)) + (propagated-inputs (list python-can)) + (home-page "") + (synopsis "CANopen stack implementation") + (description "A Python implementation of the CANopen standard. The aim of +the project is to support the most common parts of the CiA 301 standard in a +simple Pythonic interface. It is mainly targeted for testing and automation +tasks rather than a standard compliant master implementation.") + (license license:expat))) -- 2.36.0 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#55637] [PATCH] gnu: Add python-canopen. 2022-05-25 17:11 ` [bug#55637] [PATCH] gnu: Add python-canopen peter @ 2022-05-27 9:22 ` Christopher Baines 0 siblings, 0 replies; 12+ messages in thread From: Christopher Baines @ 2022-05-27 9:22 UTC (permalink / raw) To: peter; +Cc: 55637 [-- Attachment #1: Type: text/plain, Size: 2023 bytes --] peter@polidoro.io writes: > From: Peter Polidoro <peter@polidoro.io> > > * gnu/packages/python-xyz.scm (python-canopen): New variable. > --- > gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm > index 6ca759e2e2..35a2009f69 100644 > --- a/gnu/packages/python-xyz.scm > +++ b/gnu/packages/python-xyz.scm > @@ -31743,3 +31743,24 @@ (define-public python-preshed > "Simple but high performance Cython hash table mapping pre-randomized keys > to void* values.") > (license license:expat))) > + > +(define-public python-canopen > + (package > + (name "python-canopen") > + (version "2.0.0") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "canopen" version)) > + (sha256 > + (base32 "1nb543wb37kj95v6bhh272lm5gkpi41q3pnsl1fxlyizm2gamj5w")))) > + (build-system python-build-system) > + (native-inputs (list python-packaging)) > + (propagated-inputs (list python-can)) > + (home-page "") > + (synopsis "CANopen stack implementation") > + (description "A Python implementation of the CANopen standard. The aim of > +the project is to support the most common parts of the CiA 301 standard in a > +simple Pythonic interface. It is mainly targeted for testing and automation > +tasks rather than a standard compliant master implementation.") > + (license license:expat))) The linter picks up a couple of issues: gnu/packages/python-xyz.scm:31761:17: python-canopen@2.0.0: sentences in description should be followed by two spaces; possible infractions at 47, 162 gnu/packages/python-xyz.scm:31759:15: python-canopen@2.0.0: invalid home page URL: "" Plus, I'd avoid adding packages to the end of modules. If everyone does this, it means lots of git conflicts. Instead, try and slot the new package definition in somewhere close to related packages, or alphabetically, or randomly even if neither of those approaches apply. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 987 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#55637] [PATCH] gnu: Add python-progress. 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-25 17:33 ` peter 2022-05-27 9:24 ` Christopher Baines 2022-05-26 18:55 ` [bug#55637] [PATCH] gnu: Add python-pylink-square peter ` (2 subsequent siblings) 4 siblings, 1 reply; 12+ messages in thread From: peter @ 2022-05-25 17:33 UTC (permalink / raw) To: 55637; +Cc: Peter Polidoro From: Peter Polidoro <peter@polidoro.io> * gnu/packages/python-xyz.scm (python-progress): New variable. --- gnu/packages/python-xyz.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 35a2009f69..a9fbfcc2f4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31764,3 +31764,19 @@ (define-public python-canopen simple Pythonic interface. It is mainly targeted for testing and automation tasks rather than a standard compliant master implementation.") (license license:expat))) + +(define-public python-progress + (package + (name "python-progress") + (version "1.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "progress" version)) + (sha256 + (base32 "1k9lpb7lqr6mywpnqcz71y6qny54xlgprdp327za2gy0nnc6xj69")))) + (build-system python-build-system) + (home-page "http://github.com/verigak/progress/") + (synopsis "Progress reporting bars for Python") + (description "Progress reporting bars for Python") + (license license:isc))) -- 2.36.0 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#55637] [PATCH] gnu: Add python-progress. 2022-05-25 17:33 ` [bug#55637] [PATCH] gnu: Add python-progress peter @ 2022-05-27 9:24 ` Christopher Baines 0 siblings, 0 replies; 12+ messages in thread From: Christopher Baines @ 2022-05-27 9:24 UTC (permalink / raw) To: peter; +Cc: 55637 [-- Attachment #1: Type: text/plain, Size: 1344 bytes --] peter@polidoro.io writes: > From: Peter Polidoro <peter@polidoro.io> > > * gnu/packages/python-xyz.scm (python-progress): New variable. > --- > gnu/packages/python-xyz.scm | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm > index 35a2009f69..a9fbfcc2f4 100644 > --- a/gnu/packages/python-xyz.scm > +++ b/gnu/packages/python-xyz.scm > @@ -31764,3 +31764,19 @@ (define-public python-canopen > simple Pythonic interface. It is mainly targeted for testing and automation > tasks rather than a standard compliant master implementation.") > (license license:expat))) > + > +(define-public python-progress > + (package > + (name "python-progress") > + (version "1.6") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "progress" version)) > + (sha256 > + (base32 "1k9lpb7lqr6mywpnqcz71y6qny54xlgprdp327za2gy0nnc6xj69")))) > + (build-system python-build-system) > + (home-page "http://github.com/verigak/progress/") > + (synopsis "Progress reporting bars for Python") > + (description "Progress reporting bars for Python") > + (license license:isc))) The description looks like it could be improved here, plus same comment about not adding new package definitions to the bottom of files. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 987 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#55637] [PATCH] gnu: Add python-pylink-square. 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-25 17:33 ` [bug#55637] [PATCH] gnu: Add python-progress peter @ 2022-05-26 18:55 ` peter 2022-05-27 9:26 ` Christopher Baines 2022-05-27 18:37 ` [bug#55637] [PATCH] gnu: Add python-canopen peter 2022-05-27 18:57 ` [bug#55637] [PATCH] gnu: Add python-progress peter 4 siblings, 1 reply; 12+ messages in thread From: peter @ 2022-05-26 18:55 UTC (permalink / raw) To: 55637; +Cc: Peter Polidoro 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))) -- 2.36.0 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#55637] [PATCH] gnu: Add python-pylink-square. 2022-05-26 18:55 ` [bug#55637] [PATCH] gnu: Add python-pylink-square peter @ 2022-05-27 9:26 ` Christopher Baines 2022-05-27 14:50 ` Peter Polidoro 0 siblings, 1 reply; 12+ messages in thread From: Christopher Baines @ 2022-05-27 9:26 UTC (permalink / raw) To: peter; +Cc: 55637 [-- 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 --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#55637] [PATCH] gnu: Add python-pylink-square. 2022-05-27 9:26 ` Christopher Baines @ 2022-05-27 14:50 ` Peter Polidoro 0 siblings, 0 replies; 12+ messages in thread From: Peter Polidoro @ 2022-05-27 14:50 UTC (permalink / raw) To: Christopher Baines; +Cc: 55637 Christopher Baines <mail@cbaines.net> writes: > 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. Thank you for your great suggestions, I will send updated patches as soon as I get a chance. I misnamed this patch series. I thought, at first, that I was adding more dependencies to the 'west' package, but that is not quite correct. West is a Python tool that can help build Zephyr RTOS projects. West is only optional for building Zephyr RTOS projects, though, and much of its functionality could perhaps be replaced by Guix. West provides a multiple repository management system, inspired by Google's Repo tool and Git submodules. I think it would be much more elegant to use Guix for managing the multiple repositories and their dependencies instead of West. I do not yet know enough about how the Zephyr ecosystem works, nor am I yet a good enough Guix package writer, to figure out how to replace totally replace West with Guix. An intermediate step might be for me to create a simple Zephyr package that installs the dependencies needed to build Zephyr projects. Normally these dependencies are installed using apt packages and Python requirements.txt files, as you can see in this Zephyr getting started guide: https://docs.zephyrproject.org/latest/develop/getting_started/index.html I am not yet sure how many dependencies I will need to write Guix packages for and how long it will take. Should I just keep emailing patches to this debbug number until I get to the final zephyr package patch or is that annoying? Would you prefer I wait until I have all of the packages figured out and then send them all as one big patch series using git send-email as you suggested? On a side note, do you happen to know how to setup git send-email to work with pass, the standard unix password manager, instead of the normal .git-credentials file? I would prefer not having my password stored in a plain text file in my home directory. I tried following this guide, but could not get it to work: https://ryanlue.com/posts/2019-04-19-git-credential-with-pass Thank you for your time! ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#55637] [PATCH] gnu: Add python-canopen. 2022-05-25 16:43 [bug#55637] Add west requirements.txt dependencies Peter Polidoro ` (2 preceding siblings ...) 2022-05-26 18:55 ` [bug#55637] [PATCH] gnu: Add python-pylink-square peter @ 2022-05-27 18:37 ` 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 4 siblings, 1 reply; 12+ messages in thread From: peter @ 2022-05-27 18:37 UTC (permalink / raw) To: 55637; +Cc: Peter Polidoro From: Peter Polidoro <peter@polidoro.io> * gnu/packages/python-xyz.scm (python-canopen): New variable. --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 44eeb0d7fe..3ae14765dc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2248,6 +2248,27 @@ (define-public python-can sending and receiving messages on a CAN bus.") (license license:lgpl3+))) +(define-public python-canopen + (package + (name "python-canopen") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "canopen" version)) + (sha256 + (base32 "1nb543wb37kj95v6bhh272lm5gkpi41q3pnsl1fxlyizm2gamj5w")))) + (build-system python-build-system) + (native-inputs (list python-packaging)) + (propagated-inputs (list python-can)) + (home-page "https://github.com/christiansandberg/canopen") + (synopsis "CANopen stack implementation") + (description "A Python implementation of the CANopen standard. The aim of +the project is to support the most common parts of the CiA 301 standard in a +simple Pythonic interface. It is mainly targeted for testing and automation +tasks rather than a standard compliant master implementation.") + (license license:expat))) + (define-public python-caniusepython3 (package (name "python-caniusepython3") -- 2.36.0 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#55637] Add west requirements.txt dependencies 2022-05-27 18:37 ` [bug#55637] [PATCH] gnu: Add python-canopen peter @ 2022-06-06 20:19 ` Ludovic Courtès 0 siblings, 0 replies; 12+ messages in thread From: Ludovic Courtès @ 2022-06-06 20:19 UTC (permalink / raw) To: peter; +Cc: 55637 [-- Attachment #1: Type: text/plain, Size: 285 bytes --] Hi, peter@polidoro.io skribis: > From: Peter Polidoro <peter@polidoro.io> > > * gnu/packages/python-xyz.scm (python-canopen): New variable. Applied with the changes below (see <https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descriptions.html>). Ludo’. [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: Type: text/x-patch, Size: 1066 bytes --] diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 312a365fb7..56552b12c5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2086,9 +2086,12 @@ (define-public python-canopen (propagated-inputs (list python-can)) (home-page "https://github.com/christiansandberg/canopen") (synopsis "CANopen stack implementation") - (description "A Python implementation of the CANopen standard. The aim of -the project is to support the most common parts of the CiA 301 standard in a -simple Pythonic interface. It is mainly targeted for testing and automation + (description + "This package provides a Python implementation of the +@uref{https://www.can-cia.org/canopen/,CANopen standard} for +@acronym{CAN, controller-area networks}. The aim of the project is to +support the most common parts of the CiA 301 standard in a simple +Pythonic interface. It is mainly targeted for testing and automation tasks rather than a standard compliant master implementation.") (license license:expat))) ^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#55637] [PATCH] gnu: Add python-progress. 2022-05-25 16:43 [bug#55637] Add west requirements.txt dependencies Peter Polidoro ` (3 preceding siblings ...) 2022-05-27 18:37 ` [bug#55637] [PATCH] gnu: Add python-canopen peter @ 2022-05-27 18:57 ` peter 2022-06-06 20:21 ` bug#55637: Add west requirements.txt dependencies Ludovic Courtès 4 siblings, 1 reply; 12+ messages in thread From: peter @ 2022-05-27 18:57 UTC (permalink / raw) To: 55637; +Cc: Peter Polidoro From: Peter Polidoro <peter@polidoro.io> * gnu/packages/python-xyz.scm (python-progress): 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 44eeb0d7fe..d226ff94b5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15226,6 +15226,25 @@ (define-public python-promise "Promises/A+ implementation for Python") (license license:expat))) +(define-public python-progress + (package + (name "python-progress") + (version "1.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "progress" version)) + (sha256 + (base32 "1k9lpb7lqr6mywpnqcz71y6qny54xlgprdp327za2gy0nnc6xj69")))) + (build-system python-build-system) + (home-page "http://github.com/verigak/progress/") + (synopsis "Progress reporting bars for Python") + (description "This Python package provides progress reporting for visual +of progress of long running operations. There are multiple choices of +progress bars and spinners, with customizable options, such as width, fill +character, and suffix.") + (license license:isc))) + (define-public python-progressbar2 (package (name "python-progressbar2") -- 2.36.0 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* bug#55637: Add west requirements.txt dependencies 2022-05-27 18:57 ` [bug#55637] [PATCH] gnu: Add python-progress peter @ 2022-06-06 20:21 ` Ludovic Courtès 0 siblings, 0 replies; 12+ messages in thread From: Ludovic Courtès @ 2022-06-06 20:21 UTC (permalink / raw) To: peter; +Cc: 55637-done peter@polidoro.io skribis: > From: Peter Polidoro <peter@polidoro.io> > > * gnu/packages/python-xyz.scm (python-progress): New variable. Applied, thanks! Please open a new issue if there are followup patches. Ludo’. ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2022-06-06 20:22 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 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
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).