From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muriithi Frederick Muriuki Subject: [PATCH 05/20] gnu: Add python-sphinx-1.3.3 Date: Fri, 14 Apr 2017 13:13:05 +0300 Message-ID: <20170414101320.11755-5-fredmanglis@gmail.com> References: <20170414101320.11755-1-fredmanglis@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyyDv-0000kW-U1 for guix-devel@gnu.org; Fri, 14 Apr 2017 06:13:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyyDu-0005F7-NK for guix-devel@gnu.org; Fri, 14 Apr 2017 06:13:03 -0400 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:36113) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyyDu-0005EL-I5 for guix-devel@gnu.org; Fri, 14 Apr 2017 06:13:02 -0400 Received: by mail-wr0-x241.google.com with SMTP id o21so11970404wrb.3 for ; Fri, 14 Apr 2017 03:13:02 -0700 (PDT) In-Reply-To: <20170414101320.11755-1-fredmanglis@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: pjotr2017@thebird.nl * gnu/packages/python.scm (python-sphinx-1.3.3): New variable. --- gnu/packages/python.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 631b6fd..a849e70 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14079,3 +14079,40 @@ scenarios") (define-public python2-sphinx-rtd-theme-0.1.9 (package-with-python2 python-sphinx-rtd-theme-0.1.9)) + +(define-public python-sphinx-1.3.3 + ;; python-httpretty has a hard requirement for + ;; sphinx == 1.3.3 + (package + (inherit python-sphinx) + (name "python-sphinx") + (version "1.3.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Sphinx" version)) + (sha256 + (base32 + "1n3h08qxfx9bywv7nhjz0p5bpp1xgy4nzalxr3mx6syra7rvyxs0")))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + ;; Requires Internet access. + (delete-file "tests/test_build.py") + (delete-file "tests/test_build_applehelp.py") + (delete-file "tests/test_i18n.py") + (delete-file "tests/test_build_html.py") + (delete-file "tests/test_build_texinfo.py") + (delete-file "tests/test_build_latex.py") + (zero? (system* "make" "test"))))))) + (native-inputs + `(("python-sphinx-rtd-theme" ,python-sphinx-rtd-theme) + ("python-nose" ,python-nose) + ("graphviz" ,graphviz) + ("python-html5lib" ,python-html5lib) + ("python-mock" ,python-mock))))) + +(define-public python2-sphinx-1.3.3 + (package-with-python2 python-sphinx-1.3.3)) -- 2.10.2