From ba03d918c3733e464f924322b6e1e7efe306f34d Mon Sep 17 00:00:00 2001 From: Christopher Lemmer Webber Date: Tue, 28 Apr 2020 15:19:04 -0400 Subject: gnu: Add python-jaraco-functools. * gnu/packages/python-xyz.scm (python-jaraco-functools): New variable. --- gnu/packages/python-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5f333af9e3..54a0ac36bd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19626,3 +19626,43 @@ Open Sound Control 1.0} specification.") "This package provides utility functions for Python class constructs.") (license #f))) +(define-public python-jaraco-functools + (package + (name "python-jaraco-functools") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jaraco.functools" version)) + (sha256 + (base32 + "15vd7x4jillggb8xcg3cm00j1v6llhl16r0rqm0l4n2lyahfxc2w")))) + (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-mock" ,python-mock) + ("python-jaraco-classes" ,python-jaraco-classes) + ("python-pytest" ,python-pytest) + ("python-pytest-checkdocs" + ,python-pytest-checkdocs) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-flake8" ,python-pytest-flake8) + ("python-six" ,python-six) + ("python-setuptools-scm" ,python-setuptools-scm))) + (home-page + "https://github.com/jaraco/jaraco.functools") + (synopsis "Functools like those found in stdlib") + (description + "This package provides functools like those found in stdlib.") + (license #f))) + -- cgit v1.2.3