From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dF0Bm-0002ky-0C for guix-patches@gnu.org; Sun, 28 May 2017 11:33:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dF0Bj-0006Ra-AA for guix-patches@gnu.org; Sun, 28 May 2017 11:33:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dF0Bj-0006RW-6S for guix-patches@gnu.org; Sun, 28 May 2017 11:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dF0Bj-0007XL-1S for guix-patches@gnu.org; Sun, 28 May 2017 11:33:03 -0400 Subject: bug#26524: [PATCH 3/5] gnu: Add python-misaka Resent-Message-ID: From: Muriithi Frederick Muriuki Date: Sun, 28 May 2017 18:32:39 +0300 Message-Id: <20170528153241.15637-3-fredmanglis@gmail.com> In-Reply-To: <20170528153241.15637-1-fredmanglis@gmail.com> References: <20170528153241.15637-1-fredmanglis@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26524@debbugs.gnu.org * gnu/packages/python.scm (python-misaka, python2-misaka): New * variables. --- gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 989131680..86cb034e4 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14980,3 +14980,36 @@ Sure is heavily inspired by @code{RSpec Expectations} and @code{should.js}.") "@code{Couleur} provides python programs a way to use the ANSI features in a unix terminal such as coloured output in the shell, overwriting output, indentation, etc.") (license license:asl2.0))) + +(define-public python-misaka + (package + (name "python-misaka") + (version "2.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "misaka" version)) + (sha256 + (base32 + "1yqrq3a5rracirmvk52n28nn6ckdaz897gnigv89a9gmyn87sqw7")))) + (build-system python-build-system) + (arguments + `(;; Line 37 of setup.py calls self.run_command('develop') + ;; in the 'check' phase. This command seems to be trying + ;; to write to + ;; /gnu/store/...-python-/lib/python/site-packages/ + ;; for which it does not have the permission to write. + #:tests? #f)) + (propagated-inputs + `(("python-cffi" ,python-cffi))) + (home-page "https://github.com/FSX/misaka") + (synopsis + "Misaka is a CFFI binding for Hoedown, a markdown parsing library") + (description + "@code{Misaka} is a CFFI-based binding for @code{Hoedown}, a fast markdown processing +library written in C. It features a fast HTML renderer and functionality to make custom +renderers (e.g. man pages or LaTeX).") + (license license:expat))) + +(define-public python2-misaka + (package-with-python2 python-misaka)) -- 2.13.0