From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 52035@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#52035] [PATCH] gnu: Add python-orgparse.
Date: Mon, 22 Nov 2021 04:31:53 -0500 [thread overview]
Message-ID: <20211122093153.25557-1-jgart@dismail.de> (raw)
* 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
next reply other threads:[~2021-11-22 9:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-22 9:31 jgart via Guix-patches via [this message]
2021-11-23 9:36 ` [bug#52035] [PATCH] gnu: Add python-orgparse Nicolas Goaziou
2021-11-23 9:38 ` jgart via Guix-patches via
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211122093153.25557-1-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=52035@debbugs.gnu.org \
--cc=jgart@dismail.de \
/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 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).