From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcGz4-0000MK-Ro for guix-patches@gnu.org; Mon, 31 Jul 2017 16:08:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcGz3-0001l3-Pg for guix-patches@gnu.org; Mon, 31 Jul 2017 16:08:10 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcGz3-0001kq-MQ for guix-patches@gnu.org; Mon, 31 Jul 2017 16:08:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dcGz3-0004qI-HP for guix-patches@gnu.org; Mon, 31 Jul 2017 16:08:09 -0400 Subject: [bug#27888] [PATCH 13/18] gnu: Add python-linecache2. Resent-Message-ID: From: Marius Bakke Date: Mon, 31 Jul 2017 22:07:30 +0200 Message-Id: <20170731200735.28019-13-mbakke@fastmail.com> In-Reply-To: <20170731200735.28019-1-mbakke@fastmail.com> References: <20170731200735.28019-1-mbakke@fastmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27888@debbugs.gnu.org * 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