emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52035: closed ([PATCH] gnu: Add python-orgparse.)


From: GNU bug Tracking System
Subject: bug#52035: closed ([PATCH] gnu: Add python-orgparse.)
Date: Tue, 23 Nov 2021 09:41:02 +0000

Your message dated Tue, 23 Nov 2021 04:38:29 -0500
with message-id <20211123043829.GB5948@gac.attlocal.net>
and subject line Re: [bug#52035] [PATCH] gnu: Add python-orgparse.
has caused the debbugs.gnu.org bug report #52035,
regarding [PATCH] gnu: Add python-orgparse.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
52035: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52035
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add python-orgparse. Date: Mon, 22 Nov 2021 04:31:53 -0500
* 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#52035] [PATCH] gnu: Add python-orgparse. Date: Tue, 23 Nov 2021 04:38:29 -0500
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!


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]