all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 2/3] gnu: Add python-blinker
@ 2015-07-10 22:17 Christopher Allan Webber
  2015-07-19 21:21 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Allan Webber @ 2015-07-10 22:17 UTC (permalink / raw)
  To: guix-devel

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

Here's the second patch towards Pelican support.  This one's the
python-blinker library!  Easy!  No extra dependencies!


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-Add-python-blinker.patch --]
[-- Type: text/x-diff, Size: 2196 bytes --]

From 0ef695078864edb838827b9b4eac918f4c090391 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Fri, 10 Jul 2015 16:12:47 -0500
Subject: [PATCH 2/3] gnu: Add python-blinker

* gnu/packages/python.scm (python-blinker python2-blinker): New variables.
---
 gnu/packages/python.scm | 31 ++++++++++++++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7d77da0..6d0f811 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -28,7 +28,7 @@
 (define-module (gnu packages python)
   #:use-module ((guix licenses)
                 #:select (asl2.0 bsd-4 bsd-3 bsd-2 non-copyleft cc0 x11 x11-style
-                          gpl2 gpl2+ gpl3+ lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3+
+                          gpl2 gpl2+ gpl3+ lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3+ agpl3
                           psfl public-domain x11-style))
   #:use-module ((guix licenses) #:select (expat zlib) #:prefix license:)
   #:use-module (gnu packages)
@@ -2105,6 +2105,35 @@ sources.")
 (define-public python2-feedgenerator
   (package-with-python2 python-feedgenerator))
 
+(define-public python-blinker
+  (package
+    (name "python-blinker")
+    (version "1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://pypi.python.org/packages/source/b/blinker/blinker-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0bvfxkmjx6bpa302pv7v2vw5rwr3dlzjzfdp3bj628i6144024b8"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (arguments '(#:tests? #f))
+    (home-page "http://pythonhosted.org/blinker/")
+    (synopsis
+     "Fast, simple object-to-object and broadcast signaling")
+    (description
+     "Blinker provides a fast dispatching system that allows any number of
+interested parties to subscribe to events, or \"signals\".")
+    (license license:expat)))
+
+(define-public python2-blinker
+  (package-with-python2 python-blinker))
+
 (define-public python-scikit-learn
   (package
     (name "python-scikit-learn")
-- 
2.1.4


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

* Re: [PATCH 2/3] gnu: Add python-blinker
  2015-07-10 22:17 [PATCH 2/3] gnu: Add python-blinker Christopher Allan Webber
@ 2015-07-19 21:21 ` Ludovic Courtès
  2015-07-21  1:21   ` Christopher Allan Webber
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2015-07-19 21:21 UTC (permalink / raw)
  To: Christopher Allan Webber; +Cc: guix-devel

Christopher Allan Webber <cwebber@dustycloud.org> skribis:

> From 0ef695078864edb838827b9b4eac918f4c090391 Mon Sep 17 00:00:00 2001
> From: Christopher Allan Webber <cwebber@dustycloud.org>
> Date: Fri, 10 Jul 2015 16:12:47 -0500
> Subject: [PATCH 2/3] gnu: Add python-blinker
>
> * gnu/packages/python.scm (python-blinker python2-blinker): New variables.

[...]

> +    (inputs
> +     `(("python-setuptools" ,python-setuptools)))

Should be ‘native-inputs’ (it’s a build-time only dependency.)

> +    (arguments '(#:tests? #f))

Please add a comment explaining why.

Could you send an updated patch?

And sorry for the delay!

Ludo’.

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

* Re: [PATCH 2/3] gnu: Add python-blinker
  2015-07-19 21:21 ` Ludovic Courtès
@ 2015-07-21  1:21   ` Christopher Allan Webber
  2015-07-26 22:31     ` Thompson, David
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher Allan Webber @ 2015-07-21  1:21 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

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

Ludovic Courtès writes:

>> +    (inputs
>> +     `(("python-setuptools" ,python-setuptools)))
>
> Should be ‘native-inputs’ (it’s a build-time only dependency.)

Done!

>> +    (arguments '(#:tests? #f))
>
> Please add a comment explaining why.

Okay, I added one, I hope it's clear enough!

> Could you send an updated patch?

Yep, below!


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python-blinker.patch --]
[-- Type: text/x-diff, Size: 2383 bytes --]

From 64f31f84f4691684a17b19d76f52b65c24f0232d Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Fri, 10 Jul 2015 16:12:47 -0500
Subject: [PATCH 1/2] gnu: Add python-blinker

* gnu/packages/python.scm (python-blinker python2-blinker): New variables.
---
 gnu/packages/python.scm | 33 ++++++++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4962a57..12d8c35 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -28,7 +28,7 @@
 (define-module (gnu packages python)
   #:use-module ((guix licenses)
                 #:select (asl2.0 bsd-4 bsd-3 bsd-2 non-copyleft cc0 x11 x11-style
-                          gpl2 gpl2+ gpl3+ lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3+
+                          gpl2 gpl2+ gpl3+ lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3+ agpl3
                           psfl public-domain x11-style))
   #:use-module ((guix licenses) #:select (expat zlib) #:prefix license:)
   #:use-module (gnu packages)
@@ -2154,6 +2154,37 @@ which can produce feeds in RSS 2.0, RSS 0.91, and Atom formats.")
 (define-public python2-feedgenerator
   (package-with-python2 python-feedgenerator))
 
+(define-public python-blinker
+  (package
+    (name "python-blinker")
+    (version "1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://pypi.python.org/packages/source/b/blinker/blinker-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0bvfxkmjx6bpa302pv7v2vw5rwr3dlzjzfdp3bj628i6144024b8"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-setuptools" ,python-setuptools)))
+    ;; No "test" command supplied to setuptools, so unless there's another
+    ;; way to run tests, we're skipping them!
+    (arguments '(#:tests? #f))
+    (home-page "http://pythonhosted.org/blinker/")
+    (synopsis
+     "Fast, simple object-to-object and broadcast signaling")
+    (description
+     "Blinker provides a fast dispatching system that allows any number of
+interested parties to subscribe to events, or \"signals\".")
+    (license license:expat)))
+
+(define-public python2-blinker
+  (package-with-python2 python-blinker))
+
 (define-public python-scikit-learn
   (package
     (name "python-scikit-learn")
-- 
2.1.4


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

* Re: [PATCH 2/3] gnu: Add python-blinker
  2015-07-21  1:21   ` Christopher Allan Webber
@ 2015-07-26 22:31     ` Thompson, David
  0 siblings, 0 replies; 4+ messages in thread
From: Thompson, David @ 2015-07-26 22:31 UTC (permalink / raw)
  To: Christopher Allan Webber; +Cc: guix-devel

On Mon, Jul 20, 2015 at 9:21 PM, Christopher Allan Webber
<cwebber@dustycloud.org> wrote:
> Ludovic Courtès writes:
>
>> Could you send an updated patch?
>
> Yep, below!

Pushed, thanks!

- Dave

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

end of thread, other threads:[~2015-07-26 22:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-10 22:17 [PATCH 2/3] gnu: Add python-blinker Christopher Allan Webber
2015-07-19 21:21 ` Ludovic Courtès
2015-07-21  1:21   ` Christopher Allan Webber
2015-07-26 22:31     ` Thompson, David

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.