all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kiasoc5 via Guix-patches via <guix-patches@gnu.org>
To: 63612@debbugs.gnu.org
Cc: kiasoc5 <kiasoc5@disroot.org>
Subject: [bug#63612] [PATCH 6/6] gnu: searx: Update to 1.1.0.
Date: Sat, 20 May 2023 12:44:12 -0400	[thread overview]
Message-ID: <dbf791d67c929222ca260054dbee3e76566d0107.1684600821.git.kiasoc5@disroot.org> (raw)
In-Reply-To: <cover.1684600821.git.kiasoc5@disroot.org>

* gnu/packages/search.scm (searx): Update to 1.1.0.
[source](version): append "v" to commit tag.
[build-system]: Use pyproject-build-system.
[arguments](phases): Use G-expression.
[propagated-inputs]: Add python-brotli, python-setproctitle, and python-pysocks.
---
 gnu/packages/search.scm | 42 ++++++++++++++++++++++-------------------
 1 file changed, 23 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index 04e03a55b1..947d191858 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -39,6 +39,7 @@ (define-module (gnu packages search)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system perl)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix build-system meson)
   #:use-module (gnu packages)
   #:use-module (gnu packages adns)
@@ -263,34 +264,35 @@ (define-public tocc
 (define-public searx
   (package
     (name "searx")
-    (version "1.0.0")
+    (version "1.1.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/searx/searx")
-             (commit version)))
+             (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0ghkx8g8jnh8yd46p4mlbjn2zm12nx27v7qflr4c8xhlgi0px0mh"))))
-    (build-system python-build-system)
+        (base32 "070kxivn1nxn3klmnqarr2zldyfpyllpv5cnjdp5kqz19zb20szr"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:tests? #f ;what tests do is make online requests to each engine
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'relax-requirements
-           (lambda _
-             ;; Tests can run after build with 'searx-checker' tool in /bin.
-             ;; allow using a higher dependency version
-             (substitute* "requirements.txt"
-               (("==") ">="))))
-         (add-before 'sanity-check 'set-debug
-           (lambda _
-             ;; the user will need to change the secret key
-             ;; https://github.com/searx/searx/issues/2278
-             (setenv "SEARX_DEBUG" "1"))))))
+     (list #:tests? #f ;what tests do is make online requests to each engine
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'relax-requirements
+                 (lambda _
+                   ;; Tests can run after build with 'searx-checker' tool in /bin.
+                   ;; allow using a higher dependency version
+                   (substitute* "requirements.txt"
+                     (("==") ">="))))
+               (add-before 'sanity-check 'set-debug
+                 (lambda _
+                   ;; the user will need to change the secret key
+                   ;; https://github.com/searx/searx/issues/2278
+                   (setenv "SEARX_DEBUG" "1"))))))
     (propagated-inputs
      (list python-babel
+           python-brotli
            python-certifi
            python-dateutil
            python-flask
@@ -301,7 +303,9 @@ (define-public searx
            python-lxml
            python-pygments
            python-pyyaml
-           python-requests))
+           python-requests
+           python-setproctitle
+           python-pysocks))
     (home-page "https://searx.github.io/searx/")
     (synopsis "Privacy-respecting metasearch engine")
     (description "Searx is a privacy-respecting, hackable metasearch engine.")
-- 
2.40.1





      parent reply	other threads:[~2023-05-20 16:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-20 16:42 [bug#63612] [PATCH 0/6] Update searx and dependencies kiasoc5 via Guix-patches via
2023-05-20 16:44 ` [bug#63612] [PATCH 1/6] gnu: Add python-ephemeral-port-reserve kiasoc5 via Guix-patches via
2023-05-20 16:44 ` [bug#63612] [PATCH 2/6] gnu: python-watchdog: Update to 3.0.0 kiasoc5 via Guix-patches via
2023-05-20 16:44 ` [bug#63612] [PATCH 3/6] gnu: python-jinja2: Update to 3.1.2 kiasoc5 via Guix-patches via
2023-05-20 16:44 ` [bug#63612] [PATCH 4/6] gnu: python-werkzeug: Update to 2.2.3 kiasoc5 via Guix-patches via
2023-05-20 16:44 ` [bug#63612] [PATCH 5/6] gnu: python-flask: Update to 2.2.2 kiasoc5 via Guix-patches via
2023-05-20 16:44 ` kiasoc5 via Guix-patches via [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dbf791d67c929222ca260054dbee3e76566d0107.1684600821.git.kiasoc5@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=63612@debbugs.gnu.org \
    --cc=kiasoc5@disroot.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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.