unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/3] Add python-flask-restplus
@ 2016-11-10  0:09 Danny Milosavljevic
  2016-11-10  0:09 ` [PATCH 1/3] gnu: Add python-termstyle Danny Milosavljevic
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Danny Milosavljevic @ 2016-11-10  0:09 UTC (permalink / raw)
  To: guix-devel

Danny Milosavljevic (3):
  gnu: Add python-termstyle.
  gnu: Add python-rednose.
  gnu: Add python-flask-restplus.

 gnu/packages/python.scm | 79 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

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

* [PATCH 1/3] gnu: Add python-termstyle.
  2016-11-10  0:09 [PATCH 0/3] Add python-flask-restplus Danny Milosavljevic
@ 2016-11-10  0:09 ` Danny Milosavljevic
  2016-11-12 15:12   ` Ludovic Courtès
  2016-11-10  0:09 ` [PATCH 2/3] gnu: Add python-rednose Danny Milosavljevic
  2016-11-10  0:09 ` [PATCH 3/3] gnu: Add python-flask-restplus Danny Milosavljevic
  2 siblings, 1 reply; 7+ messages in thread
From: Danny Milosavljevic @ 2016-11-10  0:09 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/python.scm (python-termstyle): 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 8cc3de6..e957bf2 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12163,3 +12163,20 @@ asynchronous messaging environments.")
 
 (define-public python2-axolotl
   (package-with-python2 python-axolotl))
+
+(define-public python-termstyle
+  (package
+    (name "python-termstyle")
+    (version "0.1.11")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "termstyle" version))
+        (sha256
+          (base32
+            "17wzkkcqy5zc0g68xlad3kcv66iw14d2pwqc0h9420gak0vbhx7g"))))
+    (build-system python-build-system)
+    (home-page "http://github.com/gfxmonk/termstyle")
+    (synopsis "Console text coloring for Python")
+    (description "This package provides console text coloring for Python.")
+    (license license:bsd-3)))

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

* [PATCH 2/3] gnu: Add python-rednose.
  2016-11-10  0:09 [PATCH 0/3] Add python-flask-restplus Danny Milosavljevic
  2016-11-10  0:09 ` [PATCH 1/3] gnu: Add python-termstyle Danny Milosavljevic
@ 2016-11-10  0:09 ` Danny Milosavljevic
  2016-11-12 15:15   ` Ludovic Courtès
  2016-11-10  0:09 ` [PATCH 3/3] gnu: Add python-flask-restplus Danny Milosavljevic
  2 siblings, 1 reply; 7+ messages in thread
From: Danny Milosavljevic @ 2016-11-10  0:09 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/python.scm (python-rednose): New variable.
---
 gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e957bf2..cb25d4e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12180,3 +12180,35 @@ asynchronous messaging environments.")
     (synopsis "Console text coloring for Python")
     (description "This package provides console text coloring for Python.")
     (license license:bsd-3)))
+
+(define-public python-rednose
+  (package
+    (name "python-rednose")
+    (version "1.2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "rednose" version))
+        (sha256
+          (base32
+            "0b0bsna217lr1nykyhl5fgjly15zhdvqd4prg4wy1zrgfv7al6m0"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-deps
+           (lambda _
+             ;; See <https://github.com/JBKahn/rednose/issues/12>
+             (substitute* "setup.py"
+               (("python-termstyle") "termstyle"))
+             #t)))))
+    (propagated-inputs
+     `(("python-colorama" ,python-colorama)
+       ("python-termstyle" ,python-termstyle)))
+    (native-inputs
+     `(("python-six" ,python-six)
+       ("python-nose" ,python-nose)))
+    (home-page "https://github.com/JBKahn/rednose")
+    (synopsis "Colored output for Python nosetests")
+    (description "This package provides colored output for Python nosetests.")
+    (license license:bsd-3)))

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

* [PATCH 3/3] gnu: Add python-flask-restplus.
  2016-11-10  0:09 [PATCH 0/3] Add python-flask-restplus Danny Milosavljevic
  2016-11-10  0:09 ` [PATCH 1/3] gnu: Add python-termstyle Danny Milosavljevic
  2016-11-10  0:09 ` [PATCH 2/3] gnu: Add python-rednose Danny Milosavljevic
@ 2016-11-10  0:09 ` Danny Milosavljevic
  2016-11-12 15:19   ` Ludovic Courtès
  2 siblings, 1 reply; 7+ messages in thread
From: Danny Milosavljevic @ 2016-11-10  0:09 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/python.scm (python-flask-restplus): New variable.
---
 gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index cb25d4e..58b49ed 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12212,3 +12212,33 @@ asynchronous messaging environments.")
     (synopsis "Colored output for Python nosetests")
     (description "This package provides colored output for Python nosetests.")
     (license license:bsd-3)))
+
+(define-public python-flask-restplus
+  (package
+    (name "python-flask-restplus")
+    (version "0.9.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "flask-restplus" version))
+        (sha256
+          (base32
+            "11his6ii5brpkhld0d5bwzjjw4q3vmplpd6fmgzjrvvklsbk0cf4"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-aniso8601" ,python-aniso8601)
+        ("python-flask" ,python-flask)
+        ("python-jsonschema" ,python-jsonschema)
+        ("python-pytz" ,python-pytz)
+        ("python-six" ,python-six)))
+    (native-inputs
+     `(("python-tzlocal" ,python-tzlocal)
+       ("python-blinker" ,python-blinker)
+       ("python-nose" ,python-nose)
+       ("python-rednose" ,python-rednose)))
+    (home-page "https://github.com/noirbizarre/flask-restplus")
+    (synopsis "Framework for fast, easy and documented API development with Flask")
+    (description "This package provides a framework for API development with Flask.
+It's like the package @code{python-flask-restful} - but supports @code{python-swagger}
+documentation builder.")
+    (license license:expat)))

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

* Re: [PATCH 1/3] gnu: Add python-termstyle.
  2016-11-10  0:09 ` [PATCH 1/3] gnu: Add python-termstyle Danny Milosavljevic
@ 2016-11-12 15:12   ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2016-11-12 15:12 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> * gnu/packages/python.scm (python-termstyle): New variable.

Applied, thanks!

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

* Re: [PATCH 2/3] gnu: Add python-rednose.
  2016-11-10  0:09 ` [PATCH 2/3] gnu: Add python-rednose Danny Milosavljevic
@ 2016-11-12 15:15   ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2016-11-12 15:15 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> * gnu/packages/python.scm (python-rednose): New variable.

I added more context in the synopsis and applied.  Thanks.

Ludo.'

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

* Re: [PATCH 3/3] gnu: Add python-flask-restplus.
  2016-11-10  0:09 ` [PATCH 3/3] gnu: Add python-flask-restplus Danny Milosavljevic
@ 2016-11-12 15:19   ` Ludovic Courtès
  0 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2016-11-12 15:19 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel

Danny Milosavljevic <dannym@scratchpost.org> skribis:

> * gnu/packages/python.scm (python-flask-restplus): New variable.

Applied with synopsis/description tweak, thanks!

Ludo’.

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

end of thread, other threads:[~2016-11-12 15:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-10  0:09 [PATCH 0/3] Add python-flask-restplus Danny Milosavljevic
2016-11-10  0:09 ` [PATCH 1/3] gnu: Add python-termstyle Danny Milosavljevic
2016-11-12 15:12   ` Ludovic Courtès
2016-11-10  0:09 ` [PATCH 2/3] gnu: Add python-rednose Danny Milosavljevic
2016-11-12 15:15   ` Ludovic Courtès
2016-11-10  0:09 ` [PATCH 3/3] gnu: Add python-flask-restplus Danny Milosavljevic
2016-11-12 15:19   ` Ludovic Courtès

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).