[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/20] gnu: Add python-sphinx-1.3.3
From: |
Muriithi Frederick Muriuki |
Subject: |
[PATCH 05/20] gnu: Add python-sphinx-1.3.3 |
Date: |
Fri, 14 Apr 2017 13:13:05 +0300 |
* 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
- [PATCH 01/20] gnu: Add python-radon, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 06/20] gnu: Add python-coverage-4.0.3, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 07/20] gnu: Add python-urllib3-1.12, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 08/20] gnu: Add python-sure, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 09/20] gnu: Add python-couleur, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 10/20] gnu: Add python-misaka, Muriithi Frederick Muriuki, 2017/04/14
- [PATCH 11/20] gnu: Add python-steadymark, Muriithi Frederick Muriuki, 2017/04/14