[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27888] [PATCH 13/18] gnu: Add python-linecache2.
From: |
Marius Bakke |
Subject: |
[bug#27888] [PATCH 13/18] gnu: Add python-linecache2. |
Date: |
Mon, 31 Jul 2017 22:07:30 +0200 |
* gnu/packages/python.scm (python-linecache2, python2-linecache2): New
variables.
---
gnu/packages/python.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a23d6aa1c..be556959d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1819,6 +1819,30 @@ interfaces and processes.")
(define-public python2-nose2
(package-with-python2 python-nose2))
+(define-public python-linecache2
+ (package
+ (name "python-linecache2")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "linecache2" version))
+ (sha256
+ (base32
+ "0z79g3ds5wk2lvnqw0y2jpakjf32h95bd9zmnvp7dnqhf57gy9jb"))))
+ (build-system python-build-system)
+ (arguments `(#:tests? #f)) ; FIXME: dependency cycle on unittest2.
+ (native-inputs
+ `(("python-pbr" ,python-pbr-minimal)))
+ (home-page "https://github.com/testing-cabal/linecache2")
+ (synopsis "Backports of the linecache module")
+ (description
+ "Backports of the linecache module to older versions of Python.")
+ ;; No explicit license, but code is taken from Python standard library.
+ (license license:psfl)))
+
+(define-public python2-linecache2
+ (package-with-python2 python-linecache2))
+
(define-public python-unittest2
(package
(name "python-unittest2")
--
2.13.3
- [bug#27888] [PATCH 02/18] gnu: python-py: Update to 1.4.34., (continued)
- [bug#27888] [PATCH 02/18] gnu: python-py: Update to 1.4.34., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 03/18] gnu: python-six: Really enable tests., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 07/18] gnu: python-pytest: Update to 3.1.3., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 09/18] gnu: python-mccabe: Update to 0.6.1., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 10/18] gnu: address@hidden: Add dependency on python-six., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 06/18] gnu: python-setuptools-scm: Update to 1.15.6., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 11/18] gnu: Add python2-enum., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 05/18] gnu: python-pytest: Add a minimal variant for bootstrapping., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 08/18] gnu: python-pyflakes: Update to 1.5.0., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 04/18] gnu: Remove address@hidden, Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 13/18] gnu: Add python-linecache2.,
Marius Bakke <=
- [bug#27888] [PATCH 12/18] gnu: python-flake8: Update to 3.4.1., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 14/18] gnu: Add python-traceback2., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 16/18] gnu: Add python2-funcsigs., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 18/18] gnu: python-hypothesis: Update to 3.14.0., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 17/18] gnu: python-mock: Make 2.0 the default package., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 15/18] gnu: python-unittest2: Update to 1.1.0., Marius Bakke, 2017/07/31
- [bug#27888] [PATCH 01/18] gnu: address@hidden: Update to 3.6.2., Leo Famulari, 2017/07/31