guix-patches
[Top][All Lists]
Advanced

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

[bug#40511] [PATCH 1/10] gnu: Add python-jarco-classes.


From: Christopher Lemmer Webber
Subject: [bug#40511] [PATCH 1/10] gnu: Add python-jarco-classes.
Date: Tue, 28 Apr 2020 15:45:42 -0400
User-agent: mu4e 1.2.0; emacs 26.3

Ok, new patch series!  Broke up all the dependencies!

This might need a little work still but it's closer...

>From 2891b384b0c18764d8f36b81c542ce45c4adb919 Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <address@hidden>
Date: Tue, 28 Apr 2020 15:18:20 -0400
Subject: [PATCH 01/10] gnu: Add python-jarco-classes.

* gnu/packages/python-xyz.scm (python-jarco-classes): New variable.
---
 gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 31cafd47d1..5f333af9e3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19588,3 +19588,41 @@ workspace...")
 dependencies.  It implements the @uref{http://opensoundcontrol.org/spec-1_0,
 Open Sound Control 1.0} specification.")
     (license license:unlicense)))
+
+(define-public python-jaraco-classes
+  (package
+    (name "python-jaraco.classes")
+    (version "3.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jaraco.classes" version))
+       (sha256
+        (base32
+         "1avsxzm5mwylmy2zbxq3xvn48z5djb0qy3hwv4ryncprivzri1n3"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; Not importing the googleapis package for now
+         (add-after 'unpack 'ignore-googleapis
+           (lambda _
+             (substitute* "setup.py"
+               (("'pytest-black-multipy',") ""))
+             #t)))))
+    (propagated-inputs
+     `(("python-more-itertools" ,python-more-itertools)))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-checkdocs" ,python-pytest-checkdocs)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-flake8" ,python-pytest-flake8)
+       ("python-setuptools-scm" ,python-setuptools-scm)))
+    (home-page
+     "https://github.com/jaraco/jaraco.classes";)
+    (synopsis
+     "Utility functions for Python class constructs")
+    (description
+     "This package provides utility functions for Python class constructs.")
+    (license #f)))
+
-- 
2.26.0


reply via email to

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