From: "Thompson, David" <dthompson2@worcester.edu>
To: guix-devel <guix-devel@gnu.org>
Subject: [PATCH] gnu: Add python-mako.
Date: Wed, 17 Feb 2016 20:05:58 -0500 [thread overview]
Message-ID: <CAJ=RwfbtHyh+aJ_H85PYtp97CVsJsq4J-1o5eUdHuPvFjzpF-Q@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 199 bytes --]
The Mako Python library is a dependency for an upcoming release of
Mesa that features Vulkan support. First time using the new
python2-variant stuff so let me know if I screwed anything up!
- Dave
[-- Attachment #2: 0001-gnu-Add-python-mako.patch --]
[-- Type: text/x-diff, Size: 1725 bytes --]
From 385b618a688668feceb4855e628752506cd737ef Mon Sep 17 00:00:00 2001
From: David Thompson <dthompson2@worcester.edu>
Date: Wed, 17 Feb 2016 20:03:54 -0500
Subject: [PATCH] gnu: Add python-mako.
* gnu/packages/python.scm (python-mako, python2-mako): New variables.
---
gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3dd3862..2001871 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7529,3 +7529,32 @@ available in Django, but is a standalone package.")
(inherit (package-with-python2
(strip-python2-variant python-wtforms)))
(inputs `(("python2-setuptools" ,python2-setuptools)))))
+
+(define-public python-mako
+ (package
+ (name "python-mako")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Mako" version))
+ (sha256
+ (base32
+ "136kcjbs0s98qkx8a418b05dfblqp0kiiqyx8vhx4rarwc7bqi3n"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-markupsafe" ,python-markupsafe)
+ ("python-mock" ,python-mock)
+ ("python-nose" ,python-nose)))
+ (home-page "http://www.makotemplates.org/")
+ (synopsis "Templating language for Python")
+ (description "Mako is a templating language for Python that compiles
+templates into Python modules.")
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-mako))))))
+
+(define-public python2-mako
+ (package
+ (inherit (package-with-python2
+ (strip-python2-variant python-mako)))
+ (inputs `(("python2-setuptools" ,python2-setuptools)))))
--
2.6.3
next reply other threads:[~2016-02-18 1:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-18 1:05 Thompson, David [this message]
2016-02-18 1:49 ` [PATCH] gnu: Add python-mako Leo Famulari
2016-02-18 2:06 ` 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='CAJ=RwfbtHyh+aJ_H85PYtp97CVsJsq4J-1o5eUdHuPvFjzpF-Q@mail.gmail.com' \
--to=dthompson2@worcester.edu \
--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 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).