unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#47460] [PATCH] gnu: Add python-plumbum.
@ 2021-03-29  4:25 jgart via Guix-patches via
  2021-04-11  9:47 ` Nicolas Goaziou
  2021-04-11 15:21 ` jgart via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: jgart via Guix-patches via @ 2021-03-29  4:25 UTC (permalink / raw)
  To: 47460; +Cc: lle-bout, rprior, a.pierre

[-- Attachment #1: Type: text/plain, Size: 153 bytes --]

Hi Guix!

Here is a patch for python-plumbum.

This was an effort of the today's Guix Packaging Meetup.

best regards,

jgart

libremiami.org

[-- Attachment #2: 0001-gnu-Add-python-plumbum.patch --]
[-- Type: application/octet-stream, Size: 1810 bytes --]

From 71f55eb299da49c7cfc71c5ad737a134f3fa3cc8 Mon Sep 17 00:00:00 2001
From: LibreMiami <packaging-guix@libremiami.org>
Date: Sun, 28 Mar 2021 21:06:10 -0400
Subject: [PATCH 1/2] gnu: Add python-plumbum.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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

Co-authored-by: Léo Le Bouter <lle-bout@zaclys.net>
Co-authored-by: jgart <jgart@dismail.de>
Co-authored-by: Ryan Prior <rprior@protonmail.com>
Co-authored-by: Andrea Pierré <a.pierre@zaclys.net>
---
 gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9f57992fdd..c3da1de994 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24239,3 +24239,27 @@ number of words, syllables, and sentences.")
      "This package provides a Python library that can parse OPML, FOAF, and
 iGoogle subscription lists.")
     (license license:expat)))
+
+(define-public python-plumbum
+  (package
+    (name "python-plumbum")
+    (version "1.7.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "plumbum" version))
+        (sha256
+          (base32
+            "1kidj821k79dw064rlxh84xamb9h79ychg3pgj81jlvm5hs48xri"))))
+    (build-system python-build-system)
+    (native-inputs
+     ;; not actually used since there are no tests
+     ;; but required for build
+     `(("python-pytest" ,python-pytest)))
+    (arguments
+     `(#:tests? #f))
+    (home-page "https://plumbum.readthedocs.io")
+    (synopsis "Python shell combinators library")
+    (description "Plumbum is a library of tools for replacing shell scripts
+with Python code.")
+    (license license:expat)))
-- 
2.31.1


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

end of thread, other threads:[~2021-04-11 17:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-29  4:25 [bug#47460] [PATCH] gnu: Add python-plumbum jgart via Guix-patches via
2021-04-11  9:47 ` Nicolas Goaziou
2021-04-11 15:21 ` jgart via Guix-patches via
2021-04-11 17:19   ` Nicolas Goaziou

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