unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 08/12] gnu: Add python-mistune.
@ 2015-07-24 14:18 Federico Beffa
  2015-07-26 10:08 ` Andreas Enge
  0 siblings, 1 reply; 3+ messages in thread
From: Federico Beffa @ 2015-07-24 14:18 UTC (permalink / raw)
  To: Guix-devel

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

Fede

[-- Attachment #2: 0008-gnu-Add-python-mistune.patch --]
[-- Type: text/x-diff, Size: 1520 bytes --]

From 8a388865197708220ef5c474a9611f122f5242e6 Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Thu, 23 Jul 2015 11:06:35 +0200
Subject: [PATCH 08/12] gnu: Add python-mistune.

* gnu/packages/python.scm (python-mistune, python2-mistune): New variables.
---
 gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7709fbd..0718cd8 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4219,3 +4219,30 @@ complexity of Python source code.")
 
 (define-public python2-flake8
   (package-with-python2 python-flake8))
+
+(define-public python-mistune
+  (package
+    (name "python-mistune")
+    (version "0.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://pypi.python.org/packages/source/m/mistune/mistune-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "17zqjp9m4d1w3jf2rbbq5xshcw24q1vlcv24gkgfqqyyymajxahx"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-setuptools" ,python-setuptools)
+       ("python-nose" ,python-nose)
+       ("python-cython" ,python-cython)))
+    (home-page "https://github.com/lepture/mistune")
+    (synopsis "Markdown parser in pure Python")
+    (description "A fast markdown parser in pure Python.")
+    (license bsd-3)))
+
+(define-public python2-mistune
+  (package-with-python2 python-mistune))
-- 
2.2.1


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

* Re: [PATCH 08/12] gnu: Add python-mistune.
  2015-07-24 14:18 [PATCH 08/12] gnu: Add python-mistune Federico Beffa
@ 2015-07-26 10:08 ` Andreas Enge
  2015-07-26 10:13   ` Andreas Enge
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Enge @ 2015-07-26 10:08 UTC (permalink / raw)
  To: Federico Beffa; +Cc: Guix-devel

On Fri, Jul 24, 2015 at 04:18:20PM +0200, Federico Beffa wrote:
> +    (inputs
> +     `(("python-setuptools" ,python-setuptools)
> +       ("python-nose" ,python-nose)
> +       ("python-cython" ,python-cython)))

Should these not be native-inputs?

> +    (description "A fast markdown parser in pure Python.")

Please use a full sentence, "Mistune is a ...".

Andreas

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

* Re: [PATCH 08/12] gnu: Add python-mistune.
  2015-07-26 10:08 ` Andreas Enge
@ 2015-07-26 10:13   ` Andreas Enge
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Enge @ 2015-07-26 10:13 UTC (permalink / raw)
  To: Federico Beffa; +Cc: Guix-devel

On Sun, Jul 26, 2015 at 12:08:25PM +0200, Andreas Enge wrote:
> On Fri, Jul 24, 2015 at 04:18:20PM +0200, Federico Beffa wrote:
> > +    (inputs
> > +     `(("python-setuptools" ,python-setuptools)
> > +       ("python-nose" ,python-nose)
> > +       ("python-cython" ,python-cython)))
> 
> Should these not be native-inputs?
> 
> > +    (description "A fast markdown parser in pure Python.")
> 
> Please use a full sentence, "Mistune is a ...".

The same comments actually apply to your other patches.

Andreas

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-24 14:18 [PATCH 08/12] gnu: Add python-mistune Federico Beffa
2015-07-26 10:08 ` Andreas Enge
2015-07-26 10:13   ` Andreas Enge

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