all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 0/2] python-tornado-4.3.
@ 2016-02-26  9:11 Efraim Flashner
  2016-02-26  9:11 ` [PATCH 1/2] gnu: Add python-backports-abc Efraim Flashner
  2016-02-26  9:11 ` [PATCH 2/2] gnu: python-tornado: Update to 4.3 Efraim Flashner
  0 siblings, 2 replies; 5+ messages in thread
From: Efraim Flashner @ 2016-02-26  9:11 UTC (permalink / raw)
  To: guix-devel

As part of python updates I've attacked python-tornado, which now needs
python-backports-abc to take advantage of the new features in python-3.5.

Efraim Flashner (2):
  gnu: Add python-backports-abc.
  gnu: python-tornado: Update to 4.3.

 gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++------
 1 file changed, 30 insertions(+), 6 deletions(-)

-- 
2.7.0

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

* [PATCH 1/2] gnu: Add python-backports-abc.
  2016-02-26  9:11 [PATCH 0/2] python-tornado-4.3 Efraim Flashner
@ 2016-02-26  9:11 ` Efraim Flashner
  2016-02-28  8:37   ` Andreas Enge
  2016-02-26  9:11 ` [PATCH 2/2] gnu: python-tornado: Update to 4.3 Efraim Flashner
  1 sibling, 1 reply; 5+ messages in thread
From: Efraim Flashner @ 2016-02-26  9:11 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/python.scm (python-backports-abc): 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 b67aed0..6d1a73b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4990,6 +4990,30 @@ connection to each user.")
           ,python2-backport-ssl-match-hostname)
          ,@(package-inputs tornado))))))
 
+;; the python- version can be removed with python-3.5
+(define-public python-backports-abc
+  (package
+    (name "python-backports-abc")
+      (version "0.4")
+        (source
+          (origin
+            (method url-fetch)
+            (uri (pypi-uri "backports_abc" version))
+            (sha256
+             (base32
+              "19fh75lni9pb673n2fn505m1rckm0af0szcv5xx1qm1xpa940glb"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (home-page "https://github.com/cython/backports_abc")
+    (synopsis "Backport of additions to the 'collections.abc' module.")
+    (description
+     "A backport of recent additions to the 'collections.abc' module.")
+    (license psfl)))
+
+(define-public python2-backports-abc
+  (package-with-python2 python-backports-abc))
+
 (define-public python-waf
   (package
     (name "python-waf")
-- 
2.7.0

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

* [PATCH 2/2] gnu: python-tornado: Update to 4.3.
  2016-02-26  9:11 [PATCH 0/2] python-tornado-4.3 Efraim Flashner
  2016-02-26  9:11 ` [PATCH 1/2] gnu: Add python-backports-abc Efraim Flashner
@ 2016-02-26  9:11 ` Efraim Flashner
  1 sibling, 0 replies; 5+ messages in thread
From: Efraim Flashner @ 2016-02-26  9:11 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/python.scm (python-tornado): Update to 4.3.
[native-inputs]: Add python-backports-abc.
(python2-tornado)[inputs]: Add python2-singledispatch.
---
 gnu/packages/python.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6d1a73b..1021a8e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4958,20 +4958,19 @@ It is written entirely in Python.")
 (define-public python-tornado
   (package
     (name "python-tornado")
-    (version "4.1")
+    (version "4.3")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append
-             "https://pypi.python.org/packages/source/t/tornado/"
-             "tornado-" version ".tar.gz"))
+       (uri (pypi-uri "tornado" version))
        (sha256
-        (base32 "0a12f00h277zbifibnj46wf14801f573irvf6hwkgja5vspd7awr"))))
+        (base32 "1gzgwayl6hmc9jfcl88bni4jcsk2jcca9dn1rvrfsvnijcjx7hn9"))))
     (build-system python-build-system)
     (inputs
      `(("python-certifi" ,python-certifi)))
     (native-inputs
-     `(("python-setuptools" ,python-setuptools)))
+     `(("python-backports-abc" ,python-backports-abc)
+       ("python-setuptools" ,python-setuptools)))
     (home-page "http://www.tornadoweb.org/")
     (synopsis "Python web framework and asynchronous networking library")
     (description
@@ -4988,6 +4987,7 @@ connection to each user.")
       (inputs
        `(("python2-backport-ssl-match-hostname"
           ,python2-backport-ssl-match-hostname)
+         ("python2-singledispatch", python2-singledispatch)
          ,@(package-inputs tornado))))))
 
 ;; the python- version can be removed with python-3.5
-- 
2.7.0

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

* Re: [PATCH 1/2] gnu: Add python-backports-abc.
  2016-02-26  9:11 ` [PATCH 1/2] gnu: Add python-backports-abc Efraim Flashner
@ 2016-02-28  8:37   ` Andreas Enge
  2016-02-28  9:06     ` Efraim Flashner
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Enge @ 2016-02-28  8:37 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel

On Fri, Feb 26, 2016 at 11:11:22AM +0200, Efraim Flashner wrote:
> +    (description
> +     "A backport of recent additions to the 'collections.abc' module.")

This should be a full sentence; right now it is missing a verb, at least it
should be "foo is/constitutes/provides a backport". "recent additions" is
a bit vague; maybe add that it backports features of Python 3.5?

Otherwise it looks good; and then there is nothing to say about the
python-tornado update.

Andreas

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

* Re: [PATCH 1/2] gnu: Add python-backports-abc.
  2016-02-28  8:37   ` Andreas Enge
@ 2016-02-28  9:06     ` Efraim Flashner
  0 siblings, 0 replies; 5+ messages in thread
From: Efraim Flashner @ 2016-02-28  9:06 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel

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

On Sun, 28 Feb 2016 09:37:59 +0100
Andreas Enge <andreas@enge.fr> wrote:

> On Fri, Feb 26, 2016 at 11:11:22AM +0200, Efraim Flashner wrote:
> > +    (description
> > +     "A backport of recent additions to the 'collections.abc' module.")
> 
> This should be a full sentence; right now it is missing a verb, at least it
> should be "foo is/constitutes/provides a backport". "recent additions" is
> a bit vague; maybe add that it backports features of Python 3.5?
> 
> Otherwise it looks good; and then there is nothing to say about the
> python-tornado update.
> 
> Andreas
> 

fixed! I also corrected the indentation around (source

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2016-02-28  9:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-26  9:11 [PATCH 0/2] python-tornado-4.3 Efraim Flashner
2016-02-26  9:11 ` [PATCH 1/2] gnu: Add python-backports-abc Efraim Flashner
2016-02-28  8:37   ` Andreas Enge
2016-02-28  9:06     ` Efraim Flashner
2016-02-26  9:11 ` [PATCH 2/2] gnu: python-tornado: Update to 4.3 Efraim Flashner

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.