aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Lemmer Webber <cwebber@dustycloud.org>2020-04-28 15:18:20 -0400
committerGuix Patches Tester <>2020-04-28 20:53:10 +0100
commit08f4680cb13cb10a9d53467f066c8106fa7dd372 (patch)
treed655500cd72de405ceef8daf794a64f51a2777bd
parentcd8c419722780765b075a7217b861e7608c0bac2 (diff)
downloadpatches-08f4680cb13cb10a9d53467f066c8106fa7dd372.tar
patches-08f4680cb13cb10a9d53467f066c8106fa7dd372.tar.gz
gnu: Add python-jarco-classes.
* gnu/packages/python-xyz.scm (python-jarco-classes): New variable.
-rw-r--r--gnu/packages/python-xyz.scm38
1 files changed, 38 insertions, 0 deletions
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)))
+