[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/29: gnu: Add python-deprecation.
From: |
guix-commits |
Subject: |
24/29: gnu: Add python-deprecation. |
Date: |
Tue, 13 Apr 2021 07:51:55 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit c00996fdbe39d5b3ac4dc63eda45e7eb5b13e0f4
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Apr 13 12:34:52 2021 +0200
gnu: Add python-deprecation.
* gnu/packages/python-xyz.scm (python-deprecation): New variable.
---
gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 003c72f..f529be2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11656,6 +11656,32 @@ Pytest but stripped of Pytest specific details.")
code.")
(license license:expat)))
+(define-public python-deprecation
+ (package
+ (name "python-deprecation")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "deprecation" version))
+ (sha256
+ (base32
+ "1zqqjlgmhgkpzg9ss5ki8wamxl83xn51fs6gn2a8cxsx9vkbvcvj"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-packaging" ,python-packaging)))
+ (native-inputs
+ `(("python-unittest2" ,python-unittest2)))
+ (home-page "https://deprecation.readthedocs.io/")
+ (synopsis "Python library to handle automated deprecations")
+ (description
+ "This is a library that enables automated deprecations. It offers the
+@code{deprecated()} decorator to wrap functions, providing proper warnings
+both in documentation and via Python’s warnings system, as well as the
+@code{deprecation.fail_if_not_removed()} decorator for test methods to ensure
+that deprecated code is eventually removed.")
+ (license license:asl2.0)))
+
(define-public python-tox
(package
(name "python-tox")
- 14/29: gnu: Remove python2-ipyparallel., (continued)
- 14/29: gnu: Remove python2-ipyparallel., guix-commits, 2021/04/13
- 17/29: gnu: Remove python2-ipykernel., guix-commits, 2021/04/13
- 05/29: gnu: python-widgetsnbextension: Add missing inputs., guix-commits, 2021/04/13
- 08/29: gnu: Add python-nest-asyncio., guix-commits, 2021/04/13
- 11/29: gnu: python-nbconvert: Update to 6.0.7., guix-commits, 2021/04/13
- 10/29: gnu: Add python-nbclient., guix-commits, 2021/04/13
- 19/29: gnu: Add python-pygments-github-lexers., guix-commits, 2021/04/13
- 23/29: gnu: python-testpath: Update to 0.4.4., guix-commits, 2021/04/13
- 03/29: gnu: python-jupyter-client: Update to 6.1.12., guix-commits, 2021/04/13
- 21/29: gnu: Add python-sphinxcontrib-github-alt., guix-commits, 2021/04/13
- 24/29: gnu: Add python-deprecation.,
guix-commits <=
- 07/29: gnu: python-notebook: Update inputs., guix-commits, 2021/04/13
- 20/29: gnu: Add python-requests-unixsocket., guix-commits, 2021/04/13
- 26/29: gnu: Add python-jupyterlab-widgets., guix-commits, 2021/04/13
- 09/29: gnu: Add python-jupyterlab-pygments., guix-commits, 2021/04/13
- 12/29: gnu: python-nbformat: Update to 5.1.3., guix-commits, 2021/04/13
- 22/29: gnu: python-flit: Update to 3.2.0., guix-commits, 2021/04/13
- 06/29: gnu: python-notebook: Update to 6.3.0., guix-commits, 2021/04/13
- 25/29: gnu: Add python-jupyter-packaging., guix-commits, 2021/04/13
- 28/29: gnu: python-ipywidgets: Update to 7.6.3., guix-commits, 2021/04/13
- 15/29: gnu: Remove python2-jupyter-core., guix-commits, 2021/04/13