From: Ricardo Wurmus <rekado@elephly.net>
To: 27740@debbugs.gnu.org
Cc: Ricardo Wurmus <rekado@elephly.net>
Subject: [bug#27740] [PATCH 1/3] gnu: Add python-xapian-bindings.
Date: Mon, 17 Jul 2017 22:03:48 +0200 [thread overview]
Message-ID: <20170717200350.29162-1-rekado@elephly.net> (raw)
* gnu/packages/search.scm (python-xapian-bindings): New variable.
---
gnu/packages/search.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index 8651b985e..cc8c0630b 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
+;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -30,6 +31,7 @@
#:use-module (gnu packages databases)
#:use-module (gnu packages linux)
#:use-module (gnu packages perl)
+ #:use-module (gnu packages python)
#:use-module (gnu packages web)
#:use-module (gnu packages xml))
@@ -70,6 +72,32 @@ rich set of boolean query operators.")
(home-page "https://xapian.org/")
(license (list gpl2+ bsd-3 x11))))
+(define-public python-xapian-bindings
+ (package (inherit xapian)
+ (name "python-xapian-bindings")
+ (version (package-version xapian))
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://oligarchy.co.uk/xapian/" version
+ "/xapian-bindings-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0fca9nsf7pj3fq991xcm5iainz3s8yqik4ycvavm09y486n3wciv"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags '("--with-python3")
+ #:make-flags
+ (list (string-append "pkgpylibdir="
+ (assoc-ref %outputs "out")
+ "/lib/python3.5/site-packages/xapian"))))
+ (inputs
+ `(("python" ,python)
+ ("python-sphinx" ,python-sphinx) ; for documentation
+ ("xapian" ,xapian)
+ ("zlib" ,zlib)))
+ (synopsis "Python bindings for the Xapian search engine library")
+ (license gpl2+)))
+
(define-public libtocc
(package
(name "libtocc")
--
2.13.3
next reply other threads:[~2017-07-17 20:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-17 20:03 Ricardo Wurmus [this message]
2017-07-17 20:03 ` [bug#27741] [PATCH 2/3] gnu: Add python-sphinxcontrib-websupport Ricardo Wurmus
2017-07-18 12:00 ` Ludovic Courtès
2017-08-16 8:58 ` bug#27741: " Ricardo Wurmus
2017-07-17 20:03 ` [bug#27742] [PATCH 3/3] gnu: Add python-sphinx-1.6 Ricardo Wurmus
2017-07-18 12:00 ` Ludovic Courtès
2017-07-19 20:29 ` bug#27742: " Ricardo Wurmus
2017-07-18 11:59 ` [bug#27740] [PATCH 1/3] gnu: Add python-xapian-bindings Ludovic Courtès
2017-08-16 8:56 ` bug#27740: " 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170717200350.29162-1-rekado@elephly.net \
--to=rekado@elephly.net \
--cc=27740@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).