From: Christopher Allan Webber <cwebber@dustycloud.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/3] gnu: Add python-blinker
Date: Mon, 20 Jul 2015 18:21:44 -0700 [thread overview]
Message-ID: <87bnf6719p.fsf@dustycloud.org> (raw)
In-Reply-To: <87y4ibj130.fsf@gnu.org>
[-- 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
next prev parent reply other threads:[~2015-07-21 1:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2015-07-26 22:31 ` Thompson, David
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bnf6719p.fsf@dustycloud.org \
--to=cwebber@dustycloud.org \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).