From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: [PATCH] gnu: Add python-whoosh. Date: Sat, 15 Oct 2016 17:05:23 -0400 Message-ID: <871szhcoh8.fsf@openmailbox.org> References: <20161015130143.5185-1-rekado@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvW9L-0003fC-W1 for guix-devel@gnu.org; Sat, 15 Oct 2016 17:05:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvW9I-0007Cy-S3 for guix-devel@gnu.org; Sat, 15 Oct 2016 17:05:47 -0400 Received: from smtp11.openmailbox.org ([62.4.1.45]:53771) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bvW9I-0007CI-Kr for guix-devel@gnu.org; Sat, 15 Oct 2016 17:05:44 -0400 In-Reply-To: <20161015130143.5185-1-rekado@elephly.net> (Ricardo Wurmus's message of "Sat, 15 Oct 2016 15:01:43 +0200") 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: Ricardo Wurmus Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ricardo Wurmus 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)))))) >=20=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 spell > +checking library.") > + (license license:bsd-2))) > + > +(define-public python2-whoosh > + (let ((whoosh (package-with-python2 (strip-python2-variant python-whoo= sh)))) > + (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? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYApoTAAoJEOal7jwZRnoNAZgQALpbJC5XsqukIuYx0keQD4dj DJn19YOu2lelPryfbrr23L/Ozb7UnRowWY6V5Kdmx13Ke+2dSQu7JkzFgtziiKC8 klpSKIkwOqzOrb41E2WLxGA87BO36XYy+zZhpf+QmPqsgUJ1ff2Er9KKV04mnbmb GkzCMy+qbYWR/SgGL/7eW0EGMocemIPNP66ie+fRCEsCA9gV7uJIMWS+SartlFPI CUn/MngkcVSbzXNPoKddptGoGQt9GLca/E4Mhlkx2k/OeZDmKTUOAKstaPIp8H4M rBBhrYFXmd2bnXP0l5YNTUzht1aj/rXZMu1hpclk6ZvNYcdHKzzL4d19qmued/eb HzdRARe4vK7/LpetrF9ToYRFZpUFxXqenZIzL4sgceNg2e/I9P2viaSXXzRW8sJi 726bo923obijOXGYdtKSRQkQg3Ffh7cVBqCR0vNkBOgkzHy08XhByfKfnBZSgJDm rfM6z+wl1MfxjkdEWU0GT8yYqyEpT+3Jeg0bN+DZHvnpeCua3xF4n6ITfQLgQ1e5 I5LKnoz3uM7yZTGC4yszDoELIfzswJsO7rniVPSyPEEoIA8YM0pJ/Ne1gBeP6/xL JZfX5RyqNZhjd2+K1L7OJN53MMHVAkv4omFTmrYdtOK/b0+84KSrwkoMQj6l2pEy lOvSF5qi5GCOFm5bSS2l =v1lB -----END PGP SIGNATURE----- --=-=-=--