[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: gnu: Add python-deprecated.
From: |
guix-commits |
Subject: |
03/09: gnu: Add python-deprecated. |
Date: |
Fri, 19 Apr 2019 20:55:18 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit b24fd2c268ee5c89c10b1195a791502c84d5d329
Author: Maxim Cournoyer <address@hidden>
Date: Mon Apr 1 22:39:43 2019 -0400
gnu: Add python-deprecated.
* gnu/packages/python-xyz.scm (python-deprecated): 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 9ac01e7..c1014a9 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2649,6 +2649,40 @@ and several other projects.")
software version simply.")
(license license:expat)))
+(define-public python-deprecated
+ (package
+ (name "python-deprecated")
+ (version "1.2.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tantale/deprecated.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "14909glxxwwc4b9qpz2b9jdriwzi5n65ichw85xqppap5f79wcwz"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "pytest"))))))
+ (propagated-inputs
+ `(("python-wrapt" ,python-wrapt)))
+ (native-inputs
+ `(("python-bumpversion" ,python-bumpversion)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-sphinx" ,python-sphinx)
+ ("python-tox" ,python-tox)))
+ (home-page "https://github.com/tantale/deprecated")
+ (synopsis "Python decorator to deprecate classes, functions or methods")
+ (description "The @code{deprecated} decorator provides a convenient way to
deprecate
+to deprecate classes, functions or methods.")
+ (license license:expat)))
+
(define-public python-scp
(package
(name "python-scp")
- branch staging updated (f5961dd -> 73326e7), guix-commits, 2019/04/19
- 01/09: gnu: Add python-bumpversion., guix-commits, 2019/04/19
- 02/09: gnu: Add python-scp., guix-commits, 2019/04/19
- 03/09: gnu: Add python-deprecated.,
guix-commits <=
- 05/09: gnu: Add python-rellu., guix-commits, 2019/04/19
- 04/09: gnu: Add python-pygithub., guix-commits, 2019/04/19
- 06/09: gnu: Add python-robotframework., guix-commits, 2019/04/19
- 09/09: gnu: Add emacs-robot-mode., guix-commits, 2019/04/19
- 08/09: gnu: Add python-robotframework-lint., guix-commits, 2019/04/19
- 07/09: gnu: Add python-robotframework-sshlibrary., guix-commits, 2019/04/19