emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#27740: closed ([PATCH 1/3] gnu: Add python-xapian-


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27740: closed ([PATCH 1/3] gnu: Add python-xapian-bindings.)
Date: Wed, 16 Aug 2017 08:57:01 +0000

Your message dated Wed, 16 Aug 2017 10:56:45 +0200
with message-id <address@hidden>
and subject line Re: [bug#27740] [PATCH 1/3] gnu: Add python-xapian-bindings.
has caused the debbugs.gnu.org bug report #27740,
regarding [PATCH 1/3] gnu: Add python-xapian-bindings.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
27740: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27740
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH 1/3] gnu: Add python-xapian-bindings. Date: Mon, 17 Jul 2017 22:03:48 +0200
* 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 <address@hidden>
 ;;; Copyright © 2015, 2016 Eric Bavier <address@hidden>
 ;;; Copyright © 2017 Thomas Danckaert <address@hidden>
+;;; Copyright © 2017 Ricardo Wurmus <address@hidden>
 ;;;
 ;;; 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





--- End Message ---
--- Begin Message --- Subject: Re: [bug#27740] [PATCH 1/3] gnu: Add python-xapian-bindings. Date: Wed, 16 Aug 2017 10:56:45 +0200 User-agent: mu4e 0.9.18; emacs 25.2.1
> * gnu/packages/search.scm (python-xapian-bindings): New variable.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]