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

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

bug#51191: closed ([PATCH] gnu: Add cl-montezuma)


From: GNU bug Tracking System
Subject: bug#51191: closed ([PATCH] gnu: Add cl-montezuma)
Date: Fri, 15 Oct 2021 09:24:02 +0000

Your message dated Fri, 15 Oct 2021 09:21:30 +0000
with message-id <87wnme3am1.fsf@kitej>
and subject line Re: [bug#51191] [PATCH] gnu: Add cl-montezuma
has caused the debbugs.gnu.org bug report #51191,
regarding [PATCH] gnu: Add cl-montezuma
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
51191: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51191
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add cl-montezuma Date: Wed, 13 Oct 2021 20:01:54 +0000
* gnu/packages/lisp-xyz.scm (cl-montezuma, ecl-montezuma, sbcl-montezuma):
  New variables.
---
 gnu/packages/lisp-xyz.scm | 48 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 29d79e481e..151d31d9f5 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -19072,3 +19072,51 @@ libyaml.")
 
 (define-public ecl-cl-yaml
   (sbcl-package->ecl-package sbcl-cl-yaml))
+
+(define-public sbcl-montezuma
+  (let ((commit "ee2129eece7065760de4ebbaeffaadcb27644738")
+        (revision "1"))
+    (package
+      (name "sbcl-montezuma")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/sharplispers/montezuma";)
+                       (commit commit)))
+                (file-name (git-file-name "cl-montezuma" version))
+                (sha256
+                  (base32
+                    "0svmvsbsirydk3c1spzfvj8qmkzcs9i69anpfvk1843i62wb7x2c"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments `(#:phases
+                   (modify-phases %standard-phases
+                     ;; The _darcs directory contains a second copy of
+                     ;; montezuma-indexfiles.asd. Remove the directory to
+                     ;; prevent build failure caused by .asd files that have
+                     ;; the same filename.
+                     (add-after 'unpack 'remove-darcs-directory
+                       (lambda _
+                         (delete-file-recursively
+                           "contrib/montezuma-indexfiles/_darcs"))))
+                   ;; Tests fail with: :FORCE and :FORCE-NOT arguments not
+                   ;; allowed in a nested call to ASDF/OPERATE:OPERATE unless
+                   ;; identically to toplevel
+                   #:tests? #f))
+      (inputs `(("cl-ppcre" ,sbcl-cl-ppcre)
+                ("cl-fad" ,sbcl-cl-fad)
+                ("babel" ,sbcl-babel)))
+      (native-inputs `(("trivial-timeout" ,sbcl-trivial-timeout)))
+      (home-page "https://github.com/sharplispers/montezuma";)
+      (synopsis "Full-text indexing and search for Common Lisp")
+      (description
+        "Montezuma is a text search engine library for Lisp based on the Ferret
+library for Ruby, which is itself based on the Lucene library for Java.")
+      (license (list license:expat       ; montezuma
+                     license:gpl3+)))))  ; contrib/montezuma-indexfiles
+
+(define-public cl-montezuma
+  (sbcl-package->cl-source-package sbcl-montezuma))
+
+(define-public ecl-montezuma
+  (sbcl-package->ecl-package sbcl-montezuma))

base-commit: 393315a98ef0b1cbafb661be5c36bbd4f30dba2e
-- 
2.25.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#51191] [PATCH] gnu: Add cl-montezuma Date: Fri, 15 Oct 2021 09:21:30 +0000
Patch pushed as 2bd04fd3be1ca310308055b3d9ee2264271e268f with some
modifications. I fixed the tests for SBCL.
Thanks.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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