From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: Add python-whoosh. Date: Sat, 15 Oct 2016 18:19:13 -0400 Message-ID: <20161015221913.GC6128@jasmine> References: <20161015130143.5185-1-rekado@elephly.net> <871szhcoh8.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvXIW-0001AA-M9 for guix-devel@gnu.org; Sat, 15 Oct 2016 18:19:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvXIT-0005CU-D6 for guix-devel@gnu.org; Sat, 15 Oct 2016 18:19:20 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:53362) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bvXIT-0005CN-8c for guix-devel@gnu.org; Sat, 15 Oct 2016 18:19:17 -0400 Content-Disposition: inline In-Reply-To: <871szhcoh8.fsf@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Kei Kebreau Cc: guix-devel@gnu.org --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 15, 2016 at 05:05:23PM -0400, Kei Kebreau wrote: > Ricardo Wurmus writes: >=20 > > * gnu/packages/python.scm (python-whoosh, python2-whoosh): New variable= s. > > --- > > 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)))))) > > =20 > > +(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 sp= ell > > +checking library.") > > + (license license:bsd-2))) > > + > > +(define-public python2-whoosh > > + (let ((whoosh (package-with-python2 (strip-python2-variant python-wh= oosh)))) > > + (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") >=20 > 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. --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYAqtdAAoJECZG+jC6yn8IiBEP/2GbmNO6QDA5Bh4OcB77gyDL WmTWDiuKzAMx/VBv5VUtD93B2BW2x7pmoqUtJnBtC0vBlERY2Qr0xH+QIU5FMSJS aVlLrw3PkjCZurvrTHwQPyAc8v29AYYslTjFBNc/PGlXO8V4x6Sn9rbfJszugPg6 Dn9NHA5dw8FooB34G8QyKn87/PDR7ktF3/VSmnD1JidrbtW3fo2HaTUHNm96TlYl XLHUyKuwmMj0Hdaf2PDq0ZCRlzn32T68sDeWjcR93SlkCkY7BZf+jrrZ4pDFPlb2 +qN7ZwViS6qJU/P+GTaz2X2Inq3yd5dyWiGDQ62tEa6WuC2B71h/vOEn+hKAjGeX AJqBAZIdmEy3O2xWqPFdudaUOXsmI9Y8EsdGPBX1IMVDGkPyfAeP46L+e35eiD09 +D0asyow9gAdwe8RMPkrmvHl1y9WKiiv5JHK3eq5nxpIzkfggiV51YjOhgAInt2G ukxqbjK+yyWTnTRSNMNPPXW57OS6w+LcGe6H3YHEcrZuuhZJ99UW0XWjHRXcEJI9 Ks2FMjHyexbo/9uX9zDexh0iTGac8bxPyvelIO/qqUrXExU5qcvybv9TNRziAKAL hmrO3Lt8stYUJSRFf+SadzgaZL82d1ToZZAcovjZynAVZ1JdTJX3nSuhESnUnNar /mzm7TITIZn+ItDhmLuJ =YwbN -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW--