From: Christopher Allan Webber <cwebber@dustycloud.org>
To: guix-devel@gnu.org
Subject: [PATCH 3/3] gnu: Add python-pelican
Date: Fri, 10 Jul 2015 17:18:39 -0500 [thread overview]
Message-ID: <87h9pbwt9b.fsf@earlgrey.lan> (raw)
[-- Attachment #1: Type: text/plain, Size: 81 bytes --]
At last, Pelican itself!
Static site publishing managed by Guix, here we come!
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0003-gnu-Add-python-pelican.patch --]
[-- Type: text/x-diff, Size: 2822 bytes --]
From 220db75dbf4700a8c9b342cf68dacce74d864d8a Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Fri, 10 Jul 2015 16:28:01 -0500
Subject: [PATCH 3/3] gnu: Add python-pelican
* gnu/packages/python.scm (python-pelican): New variables.
---
gnu/packages/python.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6d0f811..4953e27 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2134,6 +2134,57 @@ interested parties to subscribe to events, or \"signals\".")
(define-public python2-blinker
(package-with-python2 python-blinker))
+(define-public python-pelican
+ (package
+ (name "python-pelican")
+ (version "3.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/p/pelican/pelican-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0lbkk902mqxpp452pp76n6qcjv6f99lq2zl204xmqyzcan9zr3ps"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)
+ ("python-feedgenerator" ,python-feedgenerator)
+ ("python-jinja2" ,python-jinja2)
+ ("python-pygments" ,python-pygments)
+ ("python-docutils" ,python-docutils)
+ ("python-pytz" ,python-pytz)
+ ("python-blinker" ,python-blinker)
+ ("python-unidecode" ,python-unidecode)
+ ("python-six" ,python-six)
+ ("python-dateutil-2" ,python-dateutil-2)))
+ (home-page "http://getpelican.com/")
+ (arguments
+ `(;; Requires a lot more packages to do unit tests :P
+ #:tests? #f
+ #:phases (modify-phases %standard-phases
+ (add-before
+ 'install 'adjust-requires
+ ;; Since feedgenerator is installed from git,
+ ;; it doesn't conform to the version requirements.
+ ;;
+ ;; We *do have* "feedgenerator >= 1.6", but strip off the
+ ;; version requirement so setuptools doesn't get confused.
+ (lambda _
+ (substitute* "setup.py"
+ (("['\"]feedgenerator.*?['\"]")
+ "'feedgenerator'")))))))
+ (synopsis
+ "Python-based static site publishing system")
+ (description
+ "A tool to generate a static blog from reStructuredText, Markdown input files,
+and more. Pelican uses Jinja2 for templating and is very extensible.")
+ ;; No indication that this is "or later" in the source,
+ ;; must assume AGPLv3 only
+ (license agpl3)))
+
(define-public python-scikit-learn
(package
(name "python-scikit-learn")
--
2.1.4
next reply other threads:[~2015-07-10 22:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-10 22:18 Christopher Allan Webber [this message]
2015-07-19 21:27 ` [PATCH 3/3] gnu: Add python-pelican Ludovic Courtès
2015-07-21 1:22 ` Christopher Allan Webber
2015-07-26 22:30 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9pbwt9b.fsf@earlgrey.lan \
--to=cwebber@dustycloud.org \
--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.