GNU bug report logs - #51191
[PATCH] gnu: Add cl-montezuma

Previous Next

Package: guix-patches;

Reported by: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>

Date: Wed, 13 Oct 2021 20:03:02 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51191 in the body.
You can then email your comments to 51191 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#51191; Package guix-patches. (Wed, 13 Oct 2021 20:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Foo Chuan Wei <chuanwei.foo <at> hotmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 13 Oct 2021 20:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
To: guix-patches <at> gnu.org
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





Reply sent to Guillaume Le Vaillant <glv <at> posteo.net>:
You have taken responsibility. (Fri, 15 Oct 2021 09:24:02 GMT) Full text and rfc822 format available.

Notification sent to Foo Chuan Wei <chuanwei.foo <at> hotmail.com>:
bug acknowledged by developer. (Fri, 15 Oct 2021 09:24:02 GMT) Full text and rfc822 format available.

Message #10 received at 51191-done <at> debbugs.gnu.org (full text, mbox):

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Foo Chuan Wei <chuanwei.foo <at> hotmail.com>
Cc: 51191-done <at> debbugs.gnu.org
Subject: Re: [bug#51191] [PATCH] gnu: Add cl-montezuma
Date: Fri, 15 Oct 2021 09:21:30 +0000
[Message part 1 (text/plain, inline)]
Patch pushed as 2bd04fd3be1ca310308055b3d9ee2264271e268f with some
modifications. I fixed the tests for SBCL.
Thanks.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 12 Nov 2021 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.