* [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9
2017-03-26 9:56 [PATCH 1/5] gnu: Add python-mando-0.3.1 Muriithi Frederick Muriuki
@ 2017-03-26 9:56 ` Muriithi Frederick Muriuki
2017-03-27 18:59 ` Leo Famulari
0 siblings, 1 reply; 14+ messages in thread
From: Muriithi Frederick Muriuki @ 2017-03-26 9:56 UTC (permalink / raw)
To: guix-devel; +Cc: pjotr2017
* gnu/packages/python.scm (python-sphinx-rtd-theme-0.1.9): New variable.
---
gnu/packages/python.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3eee33b..b6c1b96 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14077,3 +14077,19 @@ scenarios, e.g. GET, POST, PUT, DELETE, etc.")
"This enables testing HTTP libraries quickly by using a local copy of @code{httpbin}.
It enables even offline testing of the libraries.")
(license license:expat)))
+
+(define-public python-sphinx-rtd-theme-0.1.9
+ (package
+ (inherit python-sphinx-rtd-theme)
+ (name "python-sphinx-rtd-theme")
+ (version "0.1.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sphinx_rtd_theme" version))
+ (sha256
+ (base32
+ "18d0r63w7jpdrk4q5qy26n08vdlmnj9sar93akwjphyambw4cf17"))))
+ (propagated-inputs
+ `(("python-sphinx" ,python-sphinx-1.5.3)
+ ("python-snowballstemmer" ,python-snowballstemmer)))))
--
2.10.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9
2017-03-26 9:56 ` [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9 Muriithi Frederick Muriuki
@ 2017-03-27 18:59 ` Leo Famulari
2017-04-01 13:16 ` Frederick Muriithi
0 siblings, 1 reply; 14+ messages in thread
From: Leo Famulari @ 2017-03-27 18:59 UTC (permalink / raw)
To: Muriithi Frederick Muriuki; +Cc: guix-devel, pjotr2017
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
On Sun, Mar 26, 2017 at 12:56:34PM +0300, Muriithi Frederick Muriuki wrote:
> * gnu/packages/python.scm (python-sphinx-rtd-theme-0.1.9): New variable.
Rather than creating another package, I'll try updating
python-sphinx-rtd-theme to this newer version before I push. Hopefully
the dependent packages can use it.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9
2017-03-27 18:59 ` Leo Famulari
@ 2017-04-01 13:16 ` Frederick Muriithi
2017-04-01 13:20 ` Frederick Muriithi
0 siblings, 1 reply; 14+ messages in thread
From: Frederick Muriithi @ 2017-04-01 13:16 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel, Pjotr Prins
From cece7ce7a1847bebf83ec83ce822313be86b2e62 Mon Sep 17 00:00:00 2001
From: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
Date: Sat, 1 Apr 2017 13:26:21 +0300
Subject: [PATCH 1/5] gnu: Add python-mando-0.3.1
* gnu/packages/python.scm (python-mando-0.3.1): New variable.
---
gnu/packages/python.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7dfe4ba..9dd045a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13956,3 +13956,20 @@ recognize TestCases.")
(define-public python2-mando
(package-with-python2 python-mando))
+
+(define-public python-mando-0.3.1
+ ;; python-radon (version 1.5.0) has a requirement
+ ;; for mando<0.4,>=0.3
+ (package
+ (inherit python-mando)
+ (name "python-mando")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/rubik/mando/archive/v"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "17jlkdpqw22z1nyml5ybslilqkzmnk0dxxjml8bfghav1l5hbwd2"))))))
--
2.10.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9
2017-04-01 13:16 ` Frederick Muriithi
@ 2017-04-01 13:20 ` Frederick Muriithi
0 siblings, 0 replies; 14+ messages in thread
From: Frederick Muriithi @ 2017-04-01 13:20 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel, Pjotr Prins
Apologies. I sent the patch for mando on the wrong thread. I have
re-sent it on the appropriate thread, so you can ignore this.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 2/5] gnu: Add python-radon
@ 2017-04-05 7:01 Muriithi Frederick Muriuki
2017-04-05 7:01 ` [PATCH 3/5] gnu: Add python-httpbin Muriithi Frederick Muriuki
` (4 more replies)
0 siblings, 5 replies; 14+ messages in thread
From: Muriithi Frederick Muriuki @ 2017-04-05 7:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-radon): New variable.
---
gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9dd045a..9c850db 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13973,3 +13973,36 @@ recognize TestCases.")
(sha256
(base32
"17jlkdpqw22z1nyml5ybslilqkzmnk0dxxjml8bfghav1l5hbwd2"))))))
+
+(define-public python-radon
+ (package
+ (name "python-radon")
+ (version "1.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "radon" version))
+ (sha256
+ (base32
+ "1h6jv36am0i827182a04ki6291lyx4kp957xfr5njgprj4nd0qsl"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-colorama" ,python-colorama)
+ ("python-flake8-polyfill"
+ ,python-flake8-polyfill)
+ ("python-mando" ,python-mando-0.3.1)))
+ (native-inputs
+ `(("python-flake8" ,python-flake8)
+ ("python-tox" ,python-tox)
+ ("python-pytest" ,python-pytest)))
+ (home-page "https://radon.readthedocs.org/")
+ (synopsis "Code Metrics in Python")
+ (description "Radon is a Python tool which computes various code metrics. Supported
+ metrics are:
+@itemize @bullet
+@item raw metrics: SLOC, comment lines, blank lines, &c.
+@item Cyclomatic Complexity (i.e. McCabe’s Complexity)
+@item Halstead metrics (all of them)
+@item the Maintainability Index (a Visual Studio metric)
+@end itemize")
+ (license license:expat)))
--
2.10.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 3/5] gnu: Add python-httpbin
2017-04-05 7:01 [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
@ 2017-04-05 7:01 ` Muriithi Frederick Muriuki
2017-04-05 7:01 ` [PATCH 4/5] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
` (3 subsequent siblings)
4 siblings, 0 replies; 14+ messages in thread
From: Muriithi Frederick Muriuki @ 2017-04-05 7:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-httpbin): New variable.
---
gnu/packages/python.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9c850db..8f08ddd 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14006,3 +14006,27 @@ recognize TestCases.")
@item the Maintainability Index (a Visual Studio metric)
@end itemize")
(license license:expat)))
+
+(define-public python-httpbin
+ (package
+ (name "python-httpbin")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "httpbin" version))
+ (sha256
+ (base32
+ "1dc92lnk846hpilslrqnr63x55cxll4qx88gif8fm521gv9cbyvr"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-decorator" ,python-decorator)
+ ("python-flask" ,python-flask)
+ ("python-itsdangerous" ,python-itsdangerous)
+ ("python-markupsafe" ,python-markupsafe)
+ ("python-six" ,python-six)))
+ (home-page "https://github.com/Runscope/httpbin")
+ (synopsis "HTTP Request and Response Service")
+ (description "HTTP Request and Response Service which covers all kinds of HTTP
+scenarios")
+ (license license:expat)))
--
2.10.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 4/5] gnu: Add python-pytest-httpbin
2017-04-05 7:01 [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
2017-04-05 7:01 ` [PATCH 3/5] gnu: Add python-httpbin Muriithi Frederick Muriuki
@ 2017-04-05 7:01 ` Muriithi Frederick Muriuki
2017-04-11 4:02 ` Leo Famulari
2017-04-05 7:01 ` [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9 Muriithi Frederick Muriuki
` (2 subsequent siblings)
4 siblings, 1 reply; 14+ messages in thread
From: Muriithi Frederick Muriuki @ 2017-04-05 7:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-pytest-httpbin): New variable.
---
gnu/packages/python.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8f08ddd..0ab3d04 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14030,3 +14030,27 @@ recognize TestCases.")
(description "HTTP Request and Response Service which covers all kinds of HTTP
scenarios")
(license license:expat)))
+
+(define-public python-pytest-httpbin
+ (package
+ (name "python-pytest-httpbin")
+ (version "0.0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-httpbin" version))
+ (sha256
+ (base32
+ "08ghq923dn33rllip3vap2p9fb680g0i96jdn5lcpfy8amq8mbq3"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-six" ,python-six)
+ ("python-httpbin" ,python-httpbin)
+ ("python-pytest" ,python-pytest)))
+ (home-page
+ "https://github.com/kevin1024/pytest-httpbin")
+ (synopsis
+ "Easily test your HTTP library against a local copy of httpbin")
+ (description
+ "Easily test your HTTP library against a local copy of httpbin")
+ (license license:expat)))
--
2.10.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9
2017-04-05 7:01 [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
2017-04-05 7:01 ` [PATCH 3/5] gnu: Add python-httpbin Muriithi Frederick Muriuki
2017-04-05 7:01 ` [PATCH 4/5] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
@ 2017-04-05 7:01 ` Muriithi Frederick Muriuki
2017-04-11 4:04 ` Leo Famulari
2017-04-11 3:53 ` [PATCH 2/5] gnu: Add python-radon Leo Famulari
2017-04-11 4:01 ` Leo Famulari
4 siblings, 1 reply; 14+ messages in thread
From: Muriithi Frederick Muriuki @ 2017-04-05 7:01 UTC (permalink / raw)
To: guix-devel
* gnu/packages/python.scm (python-sphinx-rtd-theme-0.1.9): New variable.
---
gnu/packages/python.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0ab3d04..7ca2593 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14054,3 +14054,19 @@ scenarios")
(description
"Easily test your HTTP library against a local copy of httpbin")
(license license:expat)))
+
+(define-public python-sphinx-rtd-theme-0.1.9
+ (package
+ (inherit python-sphinx-rtd-theme)
+ (name "python-sphinx-rtd-theme")
+ (version "0.1.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sphinx_rtd_theme" version))
+ (sha256
+ (base32
+ "18d0r63w7jpdrk4q5qy26n08vdlmnj9sar93akwjphyambw4cf17"))))
+ (propagated-inputs
+ `(("python-sphinx" ,python-sphinx-1.5.3)
+ ("python-snowballstemmer" ,python-snowballstemmer)))))
--
2.10.2
^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH 2/5] gnu: Add python-radon
2017-04-05 7:01 [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
` (2 preceding siblings ...)
2017-04-05 7:01 ` [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9 Muriithi Frederick Muriuki
@ 2017-04-11 3:53 ` Leo Famulari
2017-04-11 4:00 ` Leo Famulari
2017-04-11 4:01 ` Leo Famulari
4 siblings, 1 reply; 14+ messages in thread
From: Leo Famulari @ 2017-04-11 3:53 UTC (permalink / raw)
To: Muriithi Frederick Muriuki; +Cc: guix-devel
On Wed, Apr 05, 2017 at 10:01:48AM +0300, Muriithi Frederick Muriuki wrote:
> * gnu/packages/python.scm (python-radon): New variable.
Hi, this patch series includes patches 2 through 5. Can you re-send it
to <guix-patches@gnu.org> with patch 1?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 2/5] gnu: Add python-radon
2017-04-11 3:53 ` [PATCH 2/5] gnu: Add python-radon Leo Famulari
@ 2017-04-11 4:00 ` Leo Famulari
0 siblings, 0 replies; 14+ messages in thread
From: Leo Famulari @ 2017-04-11 4:00 UTC (permalink / raw)
To: Muriithi Frederick Muriuki; +Cc: guix-devel
On Mon, Apr 10, 2017 at 11:53:26PM -0400, Leo Famulari wrote:
> On Wed, Apr 05, 2017 at 10:01:48AM +0300, Muriithi Frederick Muriuki wrote:
> > * gnu/packages/python.scm (python-radon): New variable.
>
> Hi, this patch series includes patches 2 through 5. Can you re-send it
> to <guix-patches@gnu.org> with patch 1?
I noticed these patches don't seem to depend on patch 1, so they could
be applied almost as-is. Comments to follow...
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 2/5] gnu: Add python-radon
2017-04-05 7:01 [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
` (3 preceding siblings ...)
2017-04-11 3:53 ` [PATCH 2/5] gnu: Add python-radon Leo Famulari
@ 2017-04-11 4:01 ` Leo Famulari
2017-04-14 7:21 ` Frederick Muriithi
4 siblings, 1 reply; 14+ messages in thread
From: Leo Famulari @ 2017-04-11 4:01 UTC (permalink / raw)
To: Muriithi Frederick Muriuki; +Cc: guix-devel
On Wed, Apr 05, 2017 at 10:01:48AM +0300, Muriithi Frederick Muriuki wrote:
> * gnu/packages/python.scm (python-radon): New variable.
LGTM, but can you add a Python 2 variant if it supports Python 2 as
well? We typically do this for all Python packages. [0]
[0]
https://www.gnu.org/software/guix/manual/html_node/Python-Modules.html#Python-Modules
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 4/5] gnu: Add python-pytest-httpbin
2017-04-05 7:01 ` [PATCH 4/5] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
@ 2017-04-11 4:02 ` Leo Famulari
0 siblings, 0 replies; 14+ messages in thread
From: Leo Famulari @ 2017-04-11 4:02 UTC (permalink / raw)
To: Muriithi Frederick Muriuki; +Cc: guix-devel
On Wed, Apr 05, 2017 at 10:01:50AM +0300, Muriithi Frederick Muriuki wrote:
> * gnu/packages/python.scm (python-pytest-httpbin): New variable.
If it supports Python 2, can you add a Python 2 variant?
> + (version "0.0.7")
Can you add a brief code comment explaining why we need this older
version of pytest-httpbin?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9
2017-04-05 7:01 ` [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9 Muriithi Frederick Muriuki
@ 2017-04-11 4:04 ` Leo Famulari
0 siblings, 0 replies; 14+ messages in thread
From: Leo Famulari @ 2017-04-11 4:04 UTC (permalink / raw)
To: Muriithi Frederick Muriuki; +Cc: guix-devel
On Wed, Apr 05, 2017 at 10:01:51AM +0300, Muriithi Frederick Muriuki wrote:
> * gnu/packages/python.scm (python-sphinx-rtd-theme-0.1.9): New variable.
> +(define-public python-sphinx-rtd-theme-0.1.9
Can you add a comment about what requires this old version? Even if the
dependent packages are not in Guix, a note like "Some software requires
older versions of python-sphinx-rtd-theme." will be helpful to future
readers.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH 2/5] gnu: Add python-radon
2017-04-11 4:01 ` Leo Famulari
@ 2017-04-14 7:21 ` Frederick Muriithi
0 siblings, 0 replies; 14+ messages in thread
From: Frederick Muriithi @ 2017-04-14 7:21 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
On Tue, Apr 11, 2017 at 7:01 AM, Leo Famulari <leo@famulari.name> wrote:
> On Wed, Apr 05, 2017 at 10:01:48AM +0300, Muriithi Frederick Muriuki wrote:
>> * gnu/packages/python.scm (python-radon): New variable.
>
> LGTM, but can you add a Python 2 variant if it supports Python 2 as
> well? We typically do this for all Python packages. [0]
>
You can ignore this patch, as I will be sending in a new set of
patches, complete with version corrections,
and all the issues you've mentioned corrected and updated.
Thanks.
--
Frederick M. Muriithi
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2017-04-14 7:21 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-05 7:01 [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
2017-04-05 7:01 ` [PATCH 3/5] gnu: Add python-httpbin Muriithi Frederick Muriuki
2017-04-05 7:01 ` [PATCH 4/5] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
2017-04-11 4:02 ` Leo Famulari
2017-04-05 7:01 ` [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9 Muriithi Frederick Muriuki
2017-04-11 4:04 ` Leo Famulari
2017-04-11 3:53 ` [PATCH 2/5] gnu: Add python-radon Leo Famulari
2017-04-11 4:00 ` Leo Famulari
2017-04-11 4:01 ` Leo Famulari
2017-04-14 7:21 ` Frederick Muriithi
-- strict thread matches above, loose matches on Subject: below --
2017-03-26 9:56 [PATCH 1/5] gnu: Add python-mando-0.3.1 Muriithi Frederick Muriuki
2017-03-26 9:56 ` [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9 Muriithi Frederick Muriuki
2017-03-27 18:59 ` Leo Famulari
2017-04-01 13:16 ` Frederick Muriithi
2017-04-01 13:20 ` Frederick Muriithi
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).