[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/16: gnu: Add python-importlib-metadata.
From: |
guix-commits |
Subject: |
09/16: gnu: Add python-importlib-metadata. |
Date: |
Wed, 26 Jun 2019 10:33:51 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 15b6561769cf9ed59b2cb31e664d4e0f25f97c92
Author: Ricardo Wurmus <address@hidden>
Date: Tue Jun 25 10:57:08 2019 +0200
gnu: Add python-importlib-metadata.
* gnu/packages/python-xyz.scm (python-importlib-metadata): New variable.
---
gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d84f6be..daf327b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -120,6 +120,7 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-check)
+ #:use-module (gnu packages python-compression)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-web)
#:use-module (gnu packages qt)
@@ -4850,6 +4851,39 @@ all the newest features of the standard @code{pathlib}
can be used also on
older Python versions.")
(license license:expat)))
+(define-public python-importlib-metadata
+ (package
+ (name "python-importlib-metadata")
+ (version "0.18")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "importlib_metadata" version))
+ (sha256
+ (base32
+ "1nqj6vj2z4byi8flzf2lbldhqgicsz9mkpv4k69kjd8p8qxy4vnb"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-configparser" ,python-configparser)
+ ("python-contextlib2" ,python-contextlib2)
+ ("python-docutils" ,python-docutils)
+ ("python-pathlib2" ,python-pathlib2)
+ ("python-rst.linker" ,python-rst.linker)
+ ("python-zipp" ,python-zipp)))
+ (native-inputs
+ `(("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-sphinx" ,python-sphinx)))
+ (home-page "https://importlib-metadata.readthedocs.io/")
+ (synopsis "Read metadata from Python packages")
+ (description
+ "@code{importlib_metadata} is a library which provides an API for
+accessing an installed Python package's metadata, such as its entry points or
+its top-level name. This functionality intends to replace most uses of
+@code{pkg_resources} entry point API and metadata API. Along with
+@code{importlib.resources} in Python 3.7 and newer, this can eliminate the
+need to use the older and less efficient @code{pkg_resources} package.")
+ (license license:asl2.0)))
+
(define-public python-pathpy
(package
(name "python-pathpy")
- branch master updated (072e986 -> 49ad11e), guix-commits, 2019/06/26
- 04/16: gnu: Add mesa-opencl-icd., guix-commits, 2019/06/26
- 03/16: gnu: Add mesa-opencl., guix-commits, 2019/06/26
- 10/16: gnu: Add python-pytest-checkdocs., guix-commits, 2019/06/26
- 12/16: gnu: Add python-pytest-shutil., guix-commits, 2019/06/26
- 11/16: gnu: Add python-pytest-flake8., guix-commits, 2019/06/26
- 06/16: gnu: Add python-contextlib2., guix-commits, 2019/06/26
- 08/16: gnu: Add python-zipp., guix-commits, 2019/06/26
- 07/16: gnu: Add python-setuptools-git., guix-commits, 2019/06/26
- 09/16: gnu: Add python-importlib-metadata.,
guix-commits <=
- 14/16: gnu: Add python-pytest-virtualenv., guix-commits, 2019/06/26
- 02/16: gnu: Add libclc., guix-commits, 2019/06/26
- 13/16: gnu: Add python-pytest-fixture-config., guix-commits, 2019/06/26
- 16/16: gnu: python-pathpy: Update to 11.5.0., guix-commits, 2019/06/26
- 15/16: gnu: Add python-jaraco-packaging., guix-commits, 2019/06/26
- 01/16: gnu: libcxx: Update hash., guix-commits, 2019/06/26
- 05/16: gnu: Add python-pathlib2., guix-commits, 2019/06/26