* [bug#48644] [PATCH 1/2] gnu: Add python-asn1tools.
@ 2021-05-25 8:36 Hartmut Goebel
2021-05-25 8:36 ` [bug#48645] [PATCH 2/2] gnu: Add python-pytest-mp Hartmut Goebel
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Hartmut Goebel @ 2021-05-25 8:36 UTC (permalink / raw)
To: 48644
* gnu/packages/python-xyz.scm (python-asn1tools): New variable.
---
gnu/packages/python-xyz.scm | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2ff0332c7f..47984907a0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19,7 +19,7 @@
;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
-;;; Copyright © 2016, 2018, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2016, 2018, 2019, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016, 2017 Troy Sankey <sankeytms@gmail.com>
@@ -10331,6 +10331,27 @@ implementations of ASN.1-based codecs and protocols.")
module to older versions of Python.")
(license license:psfl)))
+(define-public python-asn1tools
+ (package
+ (name "python-asn1tools")
+ (version "0.158.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "asn1tools" version))
+ (sha256
+ (base32 "1k88a1azmyvp2ab6qcf2i40dig5abhyn7cmlyhmwwh8kr3syvma0"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-bitstruct" ,python-bitstruct)
+ ("python-diskcache" ,python-diskcache)
+ ("python-prompt-toolkit" ,python-prompt-toolkit)
+ ("python-pyparsing" ,python-pyparsing)))
+ (home-page "https://github.com/eerimoq/asn1tools")
+ (synopsis "ASN.1 parsing, encoding and decoding")
+ (description "ASN.1 parsing, encoding and decoding")
+ (license license:expat)))
+
(define-public python2-ipaddr
(package
(name "python2-ipaddr")
--
2.30.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#48645] [PATCH 2/2] gnu: Add python-pytest-mp.
2021-05-25 8:36 [bug#48644] [PATCH 1/2] gnu: Add python-asn1tools Hartmut Goebel
@ 2021-05-25 8:36 ` Hartmut Goebel
2021-06-05 20:33 ` Ludovic Courtès
2021-05-31 21:09 ` [bug#48644] [PATCH 1/2] gnu: Add python-asn1tools Xinglu Chen
2021-07-07 10:35 ` bug#48644: (no subject) Hartmut Goebel
2 siblings, 1 reply; 8+ messages in thread
From: Hartmut Goebel @ 2021-05-25 8:36 UTC (permalink / raw)
To: 48645
* gnu/packages/python-check.scm (python-pytest-mp): New variable.
---
gnu/packages/python-check.scm | 39 ++++++++++++++++++++++++++++++++++-
1 file changed, 38 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index f0b454eec9..19e87d3ab7 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
-;;; Copyright © 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2019, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
@@ -1463,3 +1463,40 @@ allows one to create a set of tests using @emph{pairwise combinations} method,
reducing a number of combinations of variables into a lesser set that covers
most situations.")
(license license:expat)))
+
+(define-public python-pytest-mp
+ (package
+ (name "python-pytest-mp")
+ (version "0.0.4p2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ansible/pytest-mp")
+ (commit "49a8ff2ca9ef62d8c86854ab31d6b5d5d6cf3f28")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "01v98b6n3yvkfmxf2v38xk5ijqlk6ika0yljwkhl5bh6qhq23498"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-psutil" ,python-psutil)))
+ (arguments
+ ;; tests require setuptools-markdown, which is deprecated and not in guix
+ '(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-useless-requirements
+ (lambda _
+ (substitute* "setup.py"
+ ((" setup_requires=") " #")))))))
+ (home-page "https://github.com/ansible/pytest-mp")
+ (synopsis "Multiprocess and Segregate Tests")
+ (description "pytest-mp is a minimalist approach to distributing and
+segregating pytest tests across processes using python's multiprocessing
+library and is heavily inspired by pytest-concurrent and pytest-xdist. As a
+very early beta, it doesn't pledge or intend to support the majority of
+platforms or use cases. Design is based on supporting slow, io-bound testing
+with often tedious system under test configuration that can benefit from
+running several tests at one time.")
+ (license license:expat)))
--
2.30.2
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#48644] [PATCH 1/2] gnu: Add python-asn1tools.
2021-05-25 8:36 [bug#48644] [PATCH 1/2] gnu: Add python-asn1tools Hartmut Goebel
2021-05-25 8:36 ` [bug#48645] [PATCH 2/2] gnu: Add python-pytest-mp Hartmut Goebel
@ 2021-05-31 21:09 ` Xinglu Chen
2021-06-05 20:29 ` Ludovic Courtès
2021-07-07 10:35 ` bug#48644: (no subject) Hartmut Goebel
2 siblings, 1 reply; 8+ messages in thread
From: Xinglu Chen @ 2021-05-31 21:09 UTC (permalink / raw)
To: Hartmut Goebel, 48644
[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]
On Tue, May 25 2021, Hartmut Goebel wrote:
> * gnu/packages/python-xyz.scm (python-asn1tools): New variable.
> ---
> gnu/packages/python-xyz.scm | 23 ++++++++++++++++++++++-
> 1 file changed, 22 insertions(+), 1 deletion(-)
>
> +(define-public python-asn1tools
> + (package
> + (name "python-asn1tools")
> + (version "0.158.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (pypi-uri "asn1tools" version))
> + (sha256
> + (base32 "1k88a1azmyvp2ab6qcf2i40dig5abhyn7cmlyhmwwh8kr3syvma0"))))
> + (build-system python-build-system)
> + (propagated-inputs
> + `(("python-bitstruct" ,python-bitstruct)
> + ("python-diskcache" ,python-diskcache)
> + ("python-prompt-toolkit" ,python-prompt-toolkit)
> + ("python-pyparsing" ,python-pyparsing)))
> + (home-page "https://github.com/eerimoq/asn1tools")
> + (synopsis "ASN.1 parsing, encoding and decoding")
> + (description "ASN.1 parsing, encoding and decoding")
The description should consist of one or more full sentences. Otherwise,
LGTM.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#48644] [PATCH 1/2] gnu: Add python-asn1tools.
2021-05-31 21:09 ` [bug#48644] [PATCH 1/2] gnu: Add python-asn1tools Xinglu Chen
@ 2021-06-05 20:29 ` Ludovic Courtès
0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2021-06-05 20:29 UTC (permalink / raw)
To: Xinglu Chen; +Cc: Hartmut Goebel, 48644
Xinglu Chen <public@yoctocell.xyz> skribis:
> On Tue, May 25 2021, Hartmut Goebel wrote:
>
>> * gnu/packages/python-xyz.scm (python-asn1tools): New variable.
>> ---
>> gnu/packages/python-xyz.scm | 23 ++++++++++++++++++++++-
>> 1 file changed, 22 insertions(+), 1 deletion(-)
>>
>> +(define-public python-asn1tools
>> + (package
>> + (name "python-asn1tools")
>> + (version "0.158.0")
>> + (source
>> + (origin
>> + (method url-fetch)
>> + (uri (pypi-uri "asn1tools" version))
>> + (sha256
>> + (base32 "1k88a1azmyvp2ab6qcf2i40dig5abhyn7cmlyhmwwh8kr3syvma0"))))
>> + (build-system python-build-system)
>> + (propagated-inputs
>> + `(("python-bitstruct" ,python-bitstruct)
>> + ("python-diskcache" ,python-diskcache)
>> + ("python-prompt-toolkit" ,python-prompt-toolkit)
>> + ("python-pyparsing" ,python-pyparsing)))
>> + (home-page "https://github.com/eerimoq/asn1tools")
>> + (synopsis "ASN.1 parsing, encoding and decoding")
>> + (description "ASN.1 parsing, encoding and decoding")
>
> The description should consist of one or more full sentences. Otherwise,
> LGTM.
+1 on both. :-)
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#48645] [PATCH 2/2] gnu: Add python-pytest-mp.
2021-05-25 8:36 ` [bug#48645] [PATCH 2/2] gnu: Add python-pytest-mp Hartmut Goebel
@ 2021-06-05 20:33 ` Ludovic Courtès
2021-06-06 15:54 ` Hartmut Goebel
2021-06-06 15:59 ` bug#48645: " Hartmut Goebel
0 siblings, 2 replies; 8+ messages in thread
From: Ludovic Courtès @ 2021-06-05 20:33 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: 48645
Hi,
Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:
> * gnu/packages/python-check.scm (python-pytest-mp): New variable.
[...]
> + (arguments
> + ;; tests require setuptools-markdown, which is deprecated and not in guix
> + '(#:tests? #f
“Not in Guix” is generally not a valid excuse, but OK. ;-)
> + (home-page "https://github.com/ansible/pytest-mp")
> + (synopsis "Multiprocess and Segregate Tests")
I cannot parse this (“segregate” is not an adjective); could you
rephrase it? Please avoid capitals when unnecessary.
OK to push with a change along these lines, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#48645] [PATCH 2/2] gnu: Add python-pytest-mp.
2021-06-05 20:33 ` Ludovic Courtès
@ 2021-06-06 15:54 ` Hartmut Goebel
2021-06-06 15:59 ` bug#48645: " Hartmut Goebel
1 sibling, 0 replies; 8+ messages in thread
From: Hartmut Goebel @ 2021-06-06 15:54 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 48645
Pushed as 5d4bd2ee94075a1c9abb12d16c62edddf9bb006c
Thanks for the review.
>> + (arguments
>> + ;; tests require setuptools-markdown, which is deprecated and not in guix
>> + '(#:tests? #f
> “Not in Guix” is generally not a valid excuse, but OK. ;-)
Agreed :-)
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#48645: [PATCH 2/2] gnu: Add python-pytest-mp.
2021-06-05 20:33 ` Ludovic Courtès
2021-06-06 15:54 ` Hartmut Goebel
@ 2021-06-06 15:59 ` Hartmut Goebel
1 sibling, 0 replies; 8+ messages in thread
From: Hartmut Goebel @ 2021-06-06 15:59 UTC (permalink / raw)
To: 48645-close
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#48644: (no subject)
2021-05-25 8:36 [bug#48644] [PATCH 1/2] gnu: Add python-asn1tools Hartmut Goebel
2021-05-25 8:36 ` [bug#48645] [PATCH 2/2] gnu: Add python-pytest-mp Hartmut Goebel
2021-05-31 21:09 ` [bug#48644] [PATCH 1/2] gnu: Add python-asn1tools Xinglu Chen
@ 2021-07-07 10:35 ` Hartmut Goebel
2 siblings, 0 replies; 8+ messages in thread
From: Hartmut Goebel @ 2021-07-07 10:35 UTC (permalink / raw)
To: 48644-close
Thanks for the review.
This was already merged quite some weeks ago in
d8fed768a899bd0a3a84a88572135a1d7bde2400, but I forgot closing the issue.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-07-07 10:36 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-25 8:36 [bug#48644] [PATCH 1/2] gnu: Add python-asn1tools Hartmut Goebel
2021-05-25 8:36 ` [bug#48645] [PATCH 2/2] gnu: Add python-pytest-mp Hartmut Goebel
2021-06-05 20:33 ` Ludovic Courtès
2021-06-06 15:54 ` Hartmut Goebel
2021-06-06 15:59 ` bug#48645: " Hartmut Goebel
2021-05-31 21:09 ` [bug#48644] [PATCH 1/2] gnu: Add python-asn1tools Xinglu Chen
2021-06-05 20:29 ` Ludovic Courtès
2021-07-07 10:35 ` bug#48644: (no subject) Hartmut Goebel
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).