From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v2 6/6] gnu: python-sphinx: Update to 1.5.1 and enable tests. Date: Wed, 18 Jan 2017 08:53:05 +0100 Message-ID: <20170118075305.29573-7-dannym@scratchpost.org> References: <8737gxxza3.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> <20170118075305.29573-1-dannym@scratchpost.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTl44-0001Ho-Fq for guix-devel@gnu.org; Wed, 18 Jan 2017 02:53:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTl43-0007V1-FM for guix-devel@gnu.org; Wed, 18 Jan 2017 02:53:52 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:59521) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTl43-0007Td-74 for guix-devel@gnu.org; Wed, 18 Jan 2017 02:53:51 -0500 In-Reply-To: <20170118075305.29573-1-dannym@scratchpost.org> 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 * gnu/packages/python.scm (python-sphinx): Update to 1.5.1. [arguments]: New field. [native-inputs]: Add graphviz, python-html5lib, python-mock, python-nose, python-requests. --- gnu/packages/python.scm | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index b064c9f47..3b18ed441 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -67,6 +67,7 @@ #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) #:use-module (gnu packages glib) + #:use-module (gnu packages graphviz) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) @@ -2964,18 +2965,23 @@ reStructuredText.") (define-public python-sphinx (package (name "python-sphinx") - (version "1.4.8") + (version "1.5.1") (source (origin (method url-fetch) (uri (pypi-uri "Sphinx" version)) (sha256 (base32 - "0zvh8wwhm6gy21rr0cg42znsy4zzv2mnsxxk9gmn5y1ycn7rgbs1")))) + "1i8p9idnli4gr0y4x67yakbdk5w6a0xjzhrg6bg51y9d1fi7fslf")))) (build-system python-build-system) (arguments - ;; FIXME: Missing dependencies. - '(#:tests? #f)) + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + ;; Requires Internet access. + (delete-file "tests/test_build_linkcheck.py") + (zero? (system* "make" "test"))))))) (propagated-inputs `(("python-imagesize" ,python-imagesize) ("python-sphinx-alabaster-theme" @@ -2986,6 +2992,12 @@ reStructuredText.") ("python-jinja2" ,python-jinja2) ("python-pygments" ,python-pygments) ("python-six" ,python-six))) + (native-inputs + `(("graphviz" ,graphviz) + ("python-html5lib" ,python-html5lib) + ("python-mock" ,python-mock) + ("python-nose" ,python-nose) + ("python-requests" ,python-requests))) (home-page "http://sphinx-doc.org/") (synopsis "Python documentation generator") (description "Sphinx is a tool that makes it easy to create documentation