[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#40511] [REDO 1] [PATCH 2/10] gnu: Add python-jaraco-functools.
From: |
Christopher Lemmer Webber |
Subject: |
[bug#40511] [REDO 1] [PATCH 2/10] gnu: Add python-jaraco-functools. |
Date: |
Tue, 28 Apr 2020 16:18:15 -0400 |
User-agent: |
mu4e 1.2.0; emacs 26.3 |
From 7b6c006f28eb431df85967881e2d7309591c5afa Mon Sep 17 00:00:00 2001
From: Christopher Lemmer Webber <address@hidden>
Date: Tue, 28 Apr 2020 15:19:04 -0400
Subject: [PATCH 02/10] 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 3998475c3d..8e0112883d 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 license:expat)))
+(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 license:expat)))
+
--
2.26.0
signature.asc
Description: PGP signature
- [bug#40511] Add fava, a beancount web UI, Christopher Lemmer Webber, 2020/04/08
- [bug#40511] [PATCH 1/10] gnu: Add python-jarco-classes., Christopher Lemmer Webber, 2020/04/28
- [bug#40511] [PATCH 2/10] gnu: Add python-jaraco-functools., Christopher Lemmer Webber, 2020/04/28
- [bug#40511] [REDO 1] [PATCH 2/10] gnu: Add python-jaraco-functools.,
Christopher Lemmer Webber <=
- [bug#40511] [PATCH 3/10] gnu: Add python-jarco-text., Christopher Lemmer Webber, 2020/04/28
- [bug#40511] [PATCH 4/10] gnu: Add python-pytest-testmon., Christopher Lemmer Webber, 2020/04/28
- [bug#40511] [PATCH 5/10] gnu: Add python-pytest-watch., Christopher Lemmer Webber, 2020/04/28
- [bug#40511] [PATCH 6/10] gnu: Add python-requests-unixsocket., Christopher Lemmer Webber, 2020/04/28
- [bug#40511] [PATCH 7/10] gnu: Add python-trustme., Christopher Lemmer Webber, 2020/04/28