From 201c6df1ac786a4feadc150bf649acb8345fdefd Mon Sep 17 00:00:00 2001 From: Christopher Lemmer Webber Date: Tue, 28 Apr 2020 15:18:20 -0400 Subject: 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..3998475c3d 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 license:expat))) + -- cgit v1.2.3