From: Mathieu Lirzin <mthl@openmailbox.org>
To: Ben Woodcroft <b.woodcroft@uq.edu.au>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: [PATCH] gnu: Add python-xlrd.
Date: Sat, 19 Sep 2015 17:49:28 +0200 [thread overview]
Message-ID: <87k2rmflyv.fsf@openmailbox.org> (raw)
In-Reply-To: <55FD6561.8050608@uq.edu.au> (Ben Woodcroft's message of "Sat, 19 Sep 2015 23:38:41 +1000")
Ben Woodcroft <b.woodcroft@uq.edu.au> writes:
> From cb470509de810ea93ac4e576bb0347225b68ad98 Mon Sep 17 00:00:00 2001
> From: Ben Woodcroft <donttrustben@gmail.com>
> Date: Sat, 19 Sep 2015 23:35:18 +1000
> Subject: [PATCH] gnu: Add python-xlrd.
>
> * gnu/packages/python.scm (python-xlrd, python2-xlrd): New variables.
> ---
> gnu/packages/python.scm | 37 +++++++++++++++++++++++++++++++++++++
> 1 file changed, 37 insertions(+)
[...]
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + ;; current test in setup.py does not work as of 0.9.4,
“Current”
> + ;; so use nose to run tests instead for now.
> + (replace 'check (lambda _ (zero? (system* "nosetests")))))))
> + (native-inputs
> + `(("python-setuptools" ,python2-setuptools)
> + ("python-nose" ,python2-nose)))
I don't know python packaging but when I look at other packages it
seems that these are usually used as “inputs” not
“native-inputs”.
I think it should be “python-*” instead of “python-2”. Am I wrong?
> + (home-page "http://www.python-excel.org/")
> + (synopsis
> + "Library for extracting data from Microsoft Excel (tm) files")
> + (description
> + "Extract data from Excel spreadsheets (.xls and .xlsx, versions 2.0
> +onwards) on any platform. It is pure Python (2.6, 2.7, 3.2+), has support for
> +Excel dates and is Unicode-aware.")
What about something like this?
(synopsis "Library for extracting data from Excel files")
(description "This packages provides a library to extract data from
spreadsheets using Microsoft Excel® proprietary file formats @samp{.xls} and
@samp{.xlsx} (versions 2.0 onwards). It has support for Excel dates and is
Unicode-aware. It is not intended as an end-user tool.")
> + (license bsd-3)))
> +(define-public python2-xlrd
> + (package-with-python2 python-xlrd))
--
Mathieu Lirzin
next prev parent reply other threads:[~2015-09-19 15:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-19 13:38 [PATCH] gnu: Add python-xlrd Ben Woodcroft
2015-09-19 15:49 ` Mathieu Lirzin [this message]
2015-09-19 15:53 ` Andreas Enge
2015-09-19 20:08 ` Ricardo Wurmus
2015-09-19 20:37 ` Mathieu Lirzin
2015-09-20 0:48 ` Ben Woodcroft
2015-09-27 20:10 ` Ludovic Courtès
2015-10-01 21:48 ` Mathieu Lirzin
2015-09-20 7:41 ` Ricardo Wurmus
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=87k2rmflyv.fsf@openmailbox.org \
--to=mthl@openmailbox.org \
--cc=b.woodcroft@uq.edu.au \
--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.