[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/46: gnu: Add python-importlib-resources.
From: |
guix-commits |
Subject: |
03/46: gnu: Add python-importlib-resources. |
Date: |
Tue, 21 Jul 2020 08:49:33 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 4637019ce16a2c077b6f7e7fa3bbd2cd3b4ac664
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 21 10:26:18 2020 +0300
gnu: Add python-importlib-resources.
* gnu/packages/python-xyz.scm (python-importlib-resources): New variable.
---
gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 748f48f..8bddd52 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6036,6 +6036,29 @@ all the newest features of the standard @code{pathlib}
can be used also on
older Python versions.")
(license license:expat)))
+(define-public python-importlib-resources
+ (package
+ (name "python-importlib-resources")
+ (version "3.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "importlib_resources" version))
+ (sha256
+ (base32
+ "1hq626mx5jl9zfl0wdrjkxsnh8qd98fqv322n68b9251xjk4bxqr"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-toml" ,python-toml)))
+ (home-page "http://importlib-resources.readthedocs.io/")
+ (synopsis "Read resources from Python packages")
+ (description
+ "@code{importlib_resources} is a backport of Python 3's standard library
+@code{importlib.resources} module for Python 2.7, and Python 3.")
+ (properties `((python2-variant . ,(delay python2-importlib-resources))))
+ (license license:asl2.0)))
+
(define-public python2-importlib-resources
(package
(name "python2-importlib-resources")
- branch master updated (938bb06 -> faec049), guix-commits, 2020/07/21
- 01/46: gnu: Add python-atpublic., guix-commits, 2020/07/21
- 03/46: gnu: Add python-importlib-resources.,
guix-commits <=
- 06/46: gnu: Add python-brotli., guix-commits, 2020/07/21
- 11/46: gnu: Add python-readme-renderer., guix-commits, 2020/07/21
- 12/46: gnu: Add python-geopy., guix-commits, 2020/07/21
- 02/46: gnu: Add python-authres., guix-commits, 2020/07/21
- 07/46: gnu: Add python-pytest-aiohttp., guix-commits, 2020/07/21
- 18/46: gnu: Add python-lazr-delegates., guix-commits, 2020/07/21
- 25/46: gnu: Add python-rjsmin., guix-commits, 2020/07/21
- 27/46: gnu: Add python-robot-detection., guix-commits, 2020/07/21
- 04/46: gnu: Add python-dkimpy., guix-commits, 2020/07/21
- 05/46: gnu: Add python-pytest-services., guix-commits, 2020/07/21