From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IOjZHbYBp2VRIgAA62LTzQ:P1 (envelope-from ) for ; Tue, 16 Jan 2024 23:22:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id IOjZHbYBp2VRIgAA62LTzQ (envelope-from ) for ; Tue, 16 Jan 2024 23:22:46 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=U+dd7Vuz; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705443766; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Q0IEFIdnw7Zfr8mEyDkm4upSZQmPc+YKFKn5Y/9u+n0=; b=Ldo9NybDf2b4a6qgkRDB7ne/ch84A8p+SncQhXMD5ZNmPug7yGwUzHLD9NrEhjh6L+Wyi+ 08YuM7xGsDizojboWEz6cLz4sj4MaSUxht9aqG/91nb4d3hAG0H+RzNZpyxodSLe9NupRM OzdrvRicEajwRAcdHENtxfRUlZz3YgR96cEA8FaWwTRpkxy8J1LX6YOhvFKkr0Yqd7Kqbh mMvw4Unwllvfv0wahmxqyoxMe4rMINs5vC8A09bmpCiJ2Y5xzD4oizICF33nNsjrCWRH24 /5vINURl5I1dFIadCZKkL9/34QbOZffANB2FS+ZR3rW1q+d8hiBN4c6ftnOtwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=U+dd7Vuz; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705443766; a=rsa-sha256; cv=none; b=IZFdpQyWkKxyxuBURGrIeiEcF06B/zL4qcef9eSKHWfBYLI6Pn0OAl2edeSt6WLwZxBOrZ W3sUyRd5mbwk+NKkbIJiI+kFIUV8Qqd6kumjuWQCUIP+J3ssNkMx6Q9hjMMLJb3Y+FlUiz kkM3jRjZJ/cWiWi1VCa9nzn0RHpUPuv0qFCu3RV+p4ps/gMeRILD4E+g1TEljALVhc79Ga uJuEpteTHEMt9S1KNzD0pP4XnTLtwytUbaKnkZ5RTGPACrifB4+tm3I5nOxe1EvxDFFwaH t+yNSj9Q/EMRXI+G3OqM+TjVos3NYazAMmsi00ZCgamkwHw7BgVUM+99sa0frQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 633981D868 for ; Tue, 16 Jan 2024 23:22:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPrp0-0002vZ-Rm; Tue, 16 Jan 2024 17:22:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPror-0002ts-Bp for guix-patches@gnu.org; Tue, 16 Jan 2024 17:22:06 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rProp-0005bG-MJ for guix-patches@gnu.org; Tue, 16 Jan 2024 17:22:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rProq-0003r4-97 for guix-patches@gnu.org; Tue, 16 Jan 2024 17:22:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67963] [PATCH v2 37/37] gnu: Add perl-search-estraier. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Jan 2024 22:22:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67963@debbugs.gnu.org Cc: Felix Lechner Received: via spool by 67963-submit@debbugs.gnu.org id=B67963.170544368414710 (code B ref 67963); Tue, 16 Jan 2024 22:22:04 +0000 Received: (at 67963) by debbugs.gnu.org; 16 Jan 2024 22:21:24 +0000 Received: from localhost ([127.0.0.1]:50046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rProB-0003pA-VC for submit@debbugs.gnu.org; Tue, 16 Jan 2024 17:21:24 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]:33596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPrhJ-0000o2-KY for 67963@debbugs.gnu.org; Tue, 16 Jan 2024 17:14:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=KQPXq1R1OWLiJGa DNh3yc6NatJx7HPEj4A9dOhXFSDg=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=U+dd7Vuz1hR+ZQ5K6XDkSTVfJ/GJ6T9Om4/DmxVn HiRfZeKF4Q7jg7HSFBsTBnfY/mp0ZRLYNFsSiDJepQD2kKztEg0nOhHHUV59I9OhpuexvU R6wR0JJiflud7acqG++LIjZOAMS14oIkrq/1lULp46GtKyxpwJ2S+gY2Uid98= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 5b1e3298 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Tue, 16 Jan 2024 22:14:11 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id f06457fc; Tue, 16 Jan 2024 22:14:10 +0000 (UTC) Date: Tue, 16 Jan 2024 14:13:15 -0800 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches From: Felix Lechner via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.69 X-Spam-Score: -6.69 X-Migadu-Queue-Id: 633981D868 X-Migadu-Scanner: mx12.migadu.com X-TUID: JAIyxktwsfqV * gnu/packages/search.scm (perl-search-estraier): New variable. Change-Id: I2ab2a469004606f45947b6e7eb9ec3fcf230fbc6 --- gnu/packages/search.scm | 63 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm index 5e86d1a76c..9611abfee8 100644 --- a/gnu/packages/search.scm +++ b/gnu/packages/search.scm @@ -61,6 +61,7 @@ (define-module (gnu packages search) #:use-module (gnu packages linux) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-check) #:use-module (gnu packages pdf) #:use-module (gnu packages photo) #:use-module (gnu packages python) @@ -171,6 +172,68 @@ (define-public python-xapian-bindings (synopsis "Python bindings for the Xapian search engine library") (license license:gpl2+))) +(define-public perl-search-estraier + (package + (name "perl-search-estraier") + (version "0.09") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/D/DP/DPAVLIN/Search-Estraier-" version + ".tar.gz")) + (sha256 + (base32 "0f3fwbvzqbgmx28cc8qjwld1xvqvjp71sdx2b2amgfjk4mvwf54p")))) + (build-system perl-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + ;; # Failed test 'drafts same' + ;; # at t/1_Document.t line 78. + ;; # got: '@uri=http://localhost/Search-Estraier/ + ;; # empty= + ;; # foo=bar + ;; # size=42 + ;; # zero=0 + ;; # %VECTOR foo 42 baz 0 bar 100 + ;; # + ;; # This is a test + ;; # of pure-perl bindings + ;; # for HyperEstraier + ;; # This is hidden text + ;; #' + ;; # expected: '@uri=http://localhost/Search-Estraier/ + ;; # empty= + ;; # foo=bar + ;; # size=42 + ;; # zero=0 + ;; # %VECTOR baz 0 bar 100 foo 42 + ;; # + ;; # This is a test + ;; # of pure-perl bindings + ;; # for HyperEstraier + ;; # This is hidden text + ;; # ' + ;; # Looks like you failed 1 test of 60. + ;; t/1_Document.t ........ + ;; Dubious, test returned 1 (wstat 256, 0x100) + ;; Failed 1/60 subtests + ;; + (add-after 'unpack 'drop-test + (lambda _ + (delete-file "t/1_Document.t")))))) + (propagated-inputs (list perl-libwww + perl-test-exception + perl-uri)) + (home-page "https://metacpan.org/release/Search-Estraier") + (synopsis "Pure perl module to use Hyper Estraier search engine") + (description "This module is implementation of node API of Hyper Estraier. +Since it's a Perl-only module with dependencies only on standard Perl modules, +it will run on all platforms on which Perl runs. It doesn't require +compilation or Hyper Estraier development files on the target machine.") + (license license:perl-license))) + (define-public perl-search-xapian (package (name "perl-search-xapian") -- 2.41.0