all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 1/5] gnu: Add python-mando-0.3.1
@ 2017-03-26  9:56 Muriithi Frederick Muriuki
  2017-03-26  9:56 ` [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ 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-mando-0.3.1): New variable.
---
 gnu/packages/python.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0c84d8a..df2928d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13982,3 +13982,16 @@ recognize TestCases.")
     "This package is a wrapper around argparse, allowing you to write complete CLI
  applications in seconds while maintaining all the flexibility.")
   (license license:expat)))
+
+(define-public python-mando-0.3.1
+  (package
+    (inherit python-mando)
+    (name "python-mando")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "mando" version))
+       (sha256
+        (base32
+         "0hh4irxpga058q496lcilbqfxwiyxxig1bal633s9bk1plfdy7g5"))))))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 2/5] gnu: Add python-radon
  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-26  9:56 ` [PATCH 3/5] gnu: Add python-httpbin Muriithi Frederick Muriuki
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 12+ 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-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 df2928d..d94464c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13995,3 +13995,36 @@ recognize TestCases.")
        (sha256
         (base32
          "0hh4irxpga058q496lcilbqfxwiyxxig1bal633s9bk1plfdy7g5"))))))
+
+(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] 12+ messages in thread

* [PATCH 3/5] gnu: Add python-httpbin
  2017-03-26  9:56 [PATCH 1/5] gnu: Add python-mando-0.3.1 Muriithi Frederick Muriuki
  2017-03-26  9:56 ` [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
@ 2017-03-26  9:56 ` Muriithi Frederick Muriuki
  2017-03-26  9:56 ` [PATCH 4/5] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 12+ 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-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 d94464c..fb28a9f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14028,3 +14028,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, e.g. GET, POST, PUT, DELETE, etc.")
+  (license license:expat)))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 4/5] gnu: Add python-pytest-httpbin
  2017-03-26  9:56 [PATCH 1/5] gnu: Add python-mando-0.3.1 Muriithi Frederick Muriuki
  2017-03-26  9:56 ` [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
  2017-03-26  9:56 ` [PATCH 3/5] gnu: Add python-httpbin Muriithi Frederick Muriuki
@ 2017-03-26  9:56 ` 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:58 ` [PATCH 1/5] gnu: Add python-mando-0.3.1 Leo Famulari
  4 siblings, 0 replies; 12+ 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-pytest-httpbin): New variable.
---
 gnu/packages/python.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index fb28a9f..3eee33b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14052,3 +14052,28 @@ recognize TestCases.")
   (description "HTTP Request and Response Service which covers all kinds of HTTP
 scenarios, e.g. GET, POST, PUT, DELETE, etc.")
   (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
+    "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)))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [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
                   ` (2 preceding siblings ...)
  2017-03-26  9:56 ` [PATCH 4/5] gnu: Add python-pytest-httpbin Muriithi Frederick Muriuki
@ 2017-03-26  9:56 ` Muriithi Frederick Muriuki
  2017-03-27 18:59   ` Leo Famulari
  2017-03-27 18:58 ` [PATCH 1/5] gnu: Add python-mando-0.3.1 Leo Famulari
  4 siblings, 1 reply; 12+ 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] 12+ messages in thread

* Re: [PATCH 1/5] gnu: Add python-mando-0.3.1
  2017-03-26  9:56 [PATCH 1/5] gnu: Add python-mando-0.3.1 Muriithi Frederick Muriuki
                   ` (3 preceding siblings ...)
  2017-03-26  9:56 ` [PATCH 5/5] gnu: Add python-sphinx-rtd-theme-0.1.9 Muriithi Frederick Muriuki
@ 2017-03-27 18:58 ` Leo Famulari
  2017-04-01 13:19   ` Frederick Muriithi
  4 siblings, 1 reply; 12+ messages in thread
From: Leo Famulari @ 2017-03-27 18:58 UTC (permalink / raw)
  To: Muriithi Frederick Muriuki; +Cc: guix-devel, pjotr2017

[-- Attachment #1: Type: text/plain, Size: 365 bytes --]

On Sun, Mar 26, 2017 at 12:56:30PM +0300, Muriithi Frederick Muriuki wrote:
> * gnu/packages/python.scm (python-mando-0.3.1): New variable.

Overall this patch series LGTM.

Minor comments to follow...

> +(define-public python-mando-0.3.1

Let's add a comment explaining why we have this older version. Something
like "Foo requires version 0.3.1 of python-mando".

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 12+ 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; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread

* Re: [PATCH 1/5] gnu: Add python-mando-0.3.1
  2017-03-27 18:58 ` [PATCH 1/5] gnu: Add python-mando-0.3.1 Leo Famulari
@ 2017-04-01 13:19   ` Frederick Muriithi
  0 siblings, 0 replies; 12+ messages in thread
From: Frederick Muriithi @ 2017-04-01 13:19 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] 12+ 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; 12+ 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] 12+ 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 ` Muriithi Frederick Muriuki
  2017-04-11  4:04   ` Leo Famulari
  0 siblings, 1 reply; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread

end of thread, other threads:[~2017-04-11  4:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-26  9:56 [PATCH 1/5] gnu: Add python-mando-0.3.1 Muriithi Frederick Muriuki
2017-03-26  9:56 ` [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
2017-03-26  9:56 ` [PATCH 3/5] gnu: Add python-httpbin Muriithi Frederick Muriuki
2017-03-26  9:56 ` [PATCH 4/5] gnu: Add python-pytest-httpbin 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
2017-03-27 18:58 ` [PATCH 1/5] gnu: Add python-mando-0.3.1 Leo Famulari
2017-04-01 13:19   ` Frederick Muriithi
  -- strict thread matches above, loose matches on Subject: below --
2017-04-05  7:01 [PATCH 2/5] gnu: Add python-radon Muriithi Frederick Muriuki
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.