all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Kei Kebreau <kei@openmailbox.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add python-whoosh.
Date: Sat, 15 Oct 2016 18:19:13 -0400	[thread overview]
Message-ID: <20161015221913.GC6128@jasmine> (raw)
In-Reply-To: <871szhcoh8.fsf@openmailbox.org>

[-- Attachment #1: Type: text/plain, Size: 2388 bytes --]

On Sat, Oct 15, 2016 at 05:05:23PM -0400, Kei Kebreau wrote:
> Ricardo Wurmus <rekado@elephly.net> writes:
> 
> > * gnu/packages/python.scm (python-whoosh, python2-whoosh): New variables.
> > ---
> >  gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
> >  1 file changed, 30 insertions(+)
> >
> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > index 6207896..69c7d36 100644
> > --- a/gnu/packages/python.scm
> > +++ b/gnu/packages/python.scm
> > @@ -8823,6 +8823,36 @@ library.")
> >        (native-inputs `(("python2-setuptools" ,python2-setuptools)
> >                         ,@(package-native-inputs responses))))))
> >  
> > +(define-public python-whoosh
> > +  (package
> > +    (name "python-whoosh")
> > +    (version "2.7.4")
> > +    (source
> > +     (origin
> > +       (method url-fetch)
> > +       (uri (pypi-uri "Whoosh" version))
> > +       (sha256
> > +        (base32
> > +         "10qsqdjpbc85fykc1vgcs8xwbgn4l2l52c8d83xf1q59pwyn79bw"))))
> > +    (build-system python-build-system)
> > +    (native-inputs
> > +     `(("python-setuptools" ,python-setuptools)
> > +       ("python-pytest" ,python-pytest)))
> > +    (home-page "http://bitbucket.org/mchaput/whoosh")
> > +    (synopsis "Full text indexing, search, and spell checking library")
> > +    (description
> > +     "Whoosh is a fast, pure-Python full text indexing, search, and spell
> > +checking library.")
> > +    (license license:bsd-2)))
> > +
> > +(define-public python2-whoosh
> > +  (let ((whoosh (package-with-python2 (strip-python2-variant python-whoosh))))
> > +    (package (inherit whoosh)
> > +      (propagated-inputs
> > +       `(("python2-backport-ssl-match-hostname"
> > +          ,python2-backport-ssl-match-hostname)
> > +          ,@(package-propagated-inputs whoosh))))))
> > +
> >  (define-public python-pathlib
> >    (package
> >      (name "python-pathlib")
> 
> Linting works fine, but outputs differ on each build. Is this a common
> problem with python packages?

The Python 3.4.3 (what we have on master) bytecode compiler puts
timestamps in the bytecode:

https://bugs.gnu.org/22533

I think this issue will be fixed when we upgrade to Python 3.5.2.

And, IIRC, our version of Sphinx puts timestamps in man pages. This is
also fixed in more recent versions of Sphinx, again IIRC.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2016-10-15 22:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-15 13:01 [PATCH] gnu: Add python-whoosh Ricardo Wurmus
2016-10-15 21:05 ` Kei Kebreau
2016-10-15 21:48   ` Marius Bakke
2016-10-15 22:19   ` Leo Famulari [this message]
2016-10-16 11:15   ` 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=20161015221913.GC6128@jasmine \
    --to=leo@famulari.name \
    --cc=guix-devel@gnu.org \
    --cc=kei@openmailbox.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.