unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / Atom feed
* [bug#52035] [PATCH] gnu: Add python-orgparse.
@ 2021-11-22  9:31 jgart via Guix-patches via
  2021-11-23  9:36 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: jgart via Guix-patches via @ 2021-11-22  9:31 UTC (permalink / raw)
  To: 52035; +Cc: jgart

* gnu/packages/python-xyz.scm (python-orgparse): New variable.
---
 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 6dd4c1a59c..6d401c7f91 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28013,6 +28013,32 @@ (define-public python-ijson
 interfaces.")
     (license license:bsd-3)))
 
+(define-public python-orgparse
+  (package
+    (name "python-orgparse")
+    (version "0.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "orgparse" version))
+        (sha256
+          (base32 "14iv4pg3rma9560plg0w943x04mr2cmrssda43y2d1x9acrd2n71"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "pytest" "-vv" "orgparse/tests")))))))
+    (native-inputs
+      `(("python-pytest" ,python-pytest)
+        ("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page "https://github.com/karlicoss/orgparse")
+    (synopsis "Org-mode parser in Python")
+    (description "Python module for reading Emacs org-mode files.")
+    (license license:bsd-3)))
+
 (define-public python-sgmllib3k
   (package
     (name "python-sgmllib3k")
-- 
2.34.0





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#52035] [PATCH] gnu: Add python-orgparse.
  2021-11-22  9:31 [bug#52035] [PATCH] gnu: Add python-orgparse jgart via Guix-patches via
@ 2021-11-23  9:36 ` Nicolas Goaziou
  2021-11-23  9:38   ` jgart via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2021-11-23  9:36 UTC (permalink / raw)
  To: 52035; +Cc: 52035-done, jgart

Hello,

jgart via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/python-xyz.scm (python-orgparse): New variable.

I fixed indentation, tweaked description (which requires full sentences)
and applied your patch. Thank you!

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#52035] [PATCH] gnu: Add python-orgparse.
  2021-11-23  9:36 ` Nicolas Goaziou
@ 2021-11-23  9:38   ` jgart via Guix-patches via
  0 siblings, 0 replies; 3+ messages in thread
From: jgart via Guix-patches via @ 2021-11-23  9:38 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 52035-done, 52035

On Tue, 23 Nov 2021 10:36:12 +0100 Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Hello,
> 
> jgart via Guix-patches via <guix-patches@gnu.org> writes:
> 
> > * gnu/packages/python-xyz.scm (python-orgparse): New variable.
> 
> I fixed indentation, tweaked description (which requires full sentences)
> and applied your patch. Thank you!
> 
> Regards,
> -- 
> Nicolas Goaziou

Thanks!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-23  9:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22  9:31 [bug#52035] [PATCH] gnu: Add python-orgparse jgart via Guix-patches via
2021-11-23  9:36 ` Nicolas Goaziou
2021-11-23  9:38   ` jgart via Guix-patches via

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).