all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Erik Edrosa <erik.edrosa@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] Add python-markdown
Date: Sat, 2 Jan 2016 00:14:58 -0500	[thread overview]
Message-ID: <20160102051458.GA26884@jasmine> (raw)
In-Reply-To: <56871085.9080402@gmail.com>

On Fri, Jan 01, 2016 at 06:49:25PM -0500, Erik Edrosa wrote:
> Hello Guix-devel,
> 
> Here is a patch for a pretty popular markdown parser in python.

LGTM, pushed as b989390889.

Thanks!

> From 4d2637a58d9d7e68b16a9ae74377740f72608f25 Mon Sep 17 00:00:00 2001
> From: Erik Edrosa <erik.edrosa@gmail.com>
> Date: Fri, 1 Jan 2016 15:28:46 -0500
> Subject: [PATCH] gnu: Add python-markdown.
> 
> * gnu/packages/python.scm (python-markdown, python2-markdown): New
> variables.
> ---
>  gnu/packages/python.scm | 35 ++++++++++++++++++++++++++++++++++-
>  1 file changed, 34 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index b8afe3c..4ab1eed 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -13,7 +13,7 @@
>  ;;; Copyright ?? 2015 David Thompson <davet@gnu.org>
>  ;;; Copyright ?? 2015 Leo Famulari <leo@famulari.name>
>  ;;; Copyright ?? 2015 Ben Woodcroft <donttrustben@gmail.com>
> -;;; Copyright ?? 2015 Erik Edrosa <erik.edrosa@gmail.com>
> +;;; Copyright ?? 2015, 2016 Erik Edrosa <erik.edrosa@gmail.com>
>  ;;; Copyright ?? 2015 Efraim Flashner <efraim@flashner.co.il>
>  ;;; Copyright ?? 2015 Kyle Meyer <kyle@kyleam.com>
>  ;;; Copyright ?? 2015 Chris Marusich <cmmarusich@gmail.com>
> @@ -5145,6 +5145,39 @@ Python.")
>  (define-public python2-mistune
>    (package-with-python2 python-mistune))
>  
> +(define-public python-markdown
> +  (package
> +    (name "python-markdown")
> +    (version "2.6.5")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "Markdown" version))
> +       (sha256
> +        (base32
> +         "0q758a3fiiawr20b3hhjfs677cwj6xi284yb7xspcvv0fdicz54d"))))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (replace 'check
> +                  (lambda _
> +                    (zero? (system* "python" "run-tests.py")))))))
> +    (native-inputs
> +     `(("python-nose" ,python-nose)
> +       ("python-pyyaml" ,python-pyyaml)))
> +    (home-page "https://pythonhosted.org/Markdown/")
> +    (synopsis "Python implementation of Markdown")
> +    (description
> +     "This package provides a Python implementation of John Gruber's
> +Markdown.  The library features international input, various Markdown
> +extensions, and several HTML output formats.  A command line wrapper
> +markdown_py is also provided to convert Markdown files to HTML.")
> +    (license bsd-3)))
> +
> +(define-public python2-markdown
> +  (package-with-python2 python-markdown))
> +
>  (define-public python-ptyprocess
>    (package
>      (name "python-ptyprocess")
> -- 
> 2.6.4
> 

      reply	other threads:[~2016-01-02  5:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-01 23:49 [PATCH] Add python-markdown Erik Edrosa
2016-01-02  5:14 ` Leo Famulari [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160102051458.GA26884@jasmine \
    --to=leo@famulari.name \
    --cc=erik.edrosa@gmail.com \
    --cc=guix-devel@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 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.