[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/13: gnu: Add python2-importlib-resources.
From: |
guix-commits |
Subject: |
07/13: gnu: Add python2-importlib-resources. |
Date: |
Wed, 15 Jan 2020 15:17:41 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit fd5c264ad8c97ce5e44fdcabd25132d019eee953
Author: Marius Bakke <address@hidden>
AuthorDate: Wed Jan 15 20:11:49 2020 +0100
gnu: Add python2-importlib-resources.
* gnu/packages/python-xyz.scm (python2-importlib-resources): New public
variable.
---
gnu/packages/python-xyz.scm | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9ad4609..430ed4a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26,7 +26,7 @@
;;; Copyright © 2016, 2017 ng0 <address@hidden>
;;; Copyright © 2016 Dylan Jeffers <sapientech@address@hidden>
;;; Copyright © 2016 David Craven <address@hidden>
-;;; Copyright © 2016, 2017, 2018, 2019 Marius Bakke <address@hidden>
+;;; Copyright © 2016, 2017, 2018, 2019, 2020 Marius Bakke <address@hidden>
;;; Copyright © 2016, 2017 Stefan Reichör <address@hidden>
;;; Copyright © 2016 Dylan Jeffers <sapientech@address@hidden>
;;; Copyright © 2016, 2017, 2019 Alex Vong <address@hidden>
@@ -4958,6 +4958,31 @@ all the newest features of the standard @code{pathlib}
can be used also on
older Python versions.")
(license license:expat)))
+(define-public python2-importlib-resources
+ (package
+ (name "python2-importlib-resources")
+ (version "1.0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "importlib_resources" version))
+ (sha256
+ (base32
+ "0y3hg12iby1qyaspnbisz4s4vxax7syikk3skznwqizqyv89y9yk"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2))
+ (native-inputs
+ `(("python-wheel" ,python2-wheel)))
+ (propagated-inputs
+ `(("python-pathlib2" ,python2-pathlib2)
+ ("python-typing" ,python2-typing)))
+ (home-page "https://gitlab.com/python-devs/importlib_resources")
+ (synopsis "Backport of @code{importlib.resources} from Python 3.7")
+ (description
+ "This package provides an implementation of @code{importlib.resources}
+for older versions of Python.")
+ (license license:asl2.0)))
+
(define-public python-importlib-metadata
(package
(name "python-importlib-metadata")
- branch master updated (a650ee0 -> c950a2a), guix-commits, 2020/01/15
- 01/13: gnu: popt: Add a source file name., guix-commits, 2020/01/15
- 02/13: gnu: python-sortedcontainers: Update to 2.1.0., guix-commits, 2020/01/15
- 03/13: gnu: python-pytest-checkdocs: Add missing input., guix-commits, 2020/01/15
- 04/13: gnu: python-importlib-metadata: Update to 1.4.0., guix-commits, 2020/01/15
- 05/13: gnu: python-zipp: Update to 1.0.0., guix-commits, 2020/01/15
- 06/13: gnu: python-wheel: Update to 0.33.6., guix-commits, 2020/01/15
- 07/13: gnu: Add python2-importlib-resources.,
guix-commits <=
- 08/13: gnu: Add python2-zipp., guix-commits, 2020/01/15
- 11/13: gnu: python-elementpath: Update to 1.3.3., guix-commits, 2020/01/15
- 09/13: gnu: Add python2-importlib-metadata., guix-commits, 2020/01/15
- 12/13: gnu: python-lxml: Move to (gnu packages xml)., guix-commits, 2020/01/15
- 13/13: gnu: Add python-xmlschema., guix-commits, 2020/01/15
- 10/13: gnu: python-elementpath: Move to (gnu packages xml)., guix-commits, 2020/01/15