From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YC3CGcNXw2MkGwEAbAwnHQ (envelope-from ) for ; Sun, 15 Jan 2023 02:32:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SFrWGMNXw2PPXwEAG6o9tA (envelope-from ) for ; Sun, 15 Jan 2023 02:32:51 +0100 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 EB21B44302 for ; Sun, 15 Jan 2023 02:22:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGrim-0007bA-AJ; Sat, 14 Jan 2023 20:22:04 -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 1pGrik-0007a6-W9 for guix-patches@gnu.org; Sat, 14 Jan 2023 20:22:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGrik-0002Sm-Nj for guix-patches@gnu.org; Sat, 14 Jan 2023 20:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGrik-0007aR-Eq for guix-patches@gnu.org; Sat, 14 Jan 2023 20:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60824] [PATCH 1/2] gnu: perl-xml-xpath: Wrap xpath command. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 Jan 2023 01:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60824 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60824@debbugs.gnu.org Cc: Bruno Victal X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167374568029110 (code B ref -1); Sun, 15 Jan 2023 01:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jan 2023 01:21:20 +0000 Received: from localhost ([127.0.0.1]:55809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGri3-0007ZS-QS for submit@debbugs.gnu.org; Sat, 14 Jan 2023 20:21:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:44616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGrhy-0007ZH-NL for submit@debbugs.gnu.org; Sat, 14 Jan 2023 20:21:18 -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 1pGrhy-0007EF-HT for guix-patches@gnu.org; Sat, 14 Jan 2023 20:21:14 -0500 Received: from smtpmciv5.myservices.hosting ([185.26.107.241]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGrhw-00027f-8r for guix-patches@gnu.org; Sat, 14 Jan 2023 20:21:13 -0500 Received: from mail1.netim.hosting (unknown [185.26.106.172]) by smtpmciv5.myservices.hosting (Postfix) with ESMTP id 02DD4206B7 for ; Sun, 15 Jan 2023 02:20:51 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 99D6E80096; Sun, 15 Jan 2023 02:20:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-1.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id SNw4FxjJgF7W; Sun, 15 Jan 2023 02:20:49 +0100 (CET) Received: from guix-nuc.home.arpa (bl9-118-236.dsl.telepac.pt [85.242.118.236]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id 59A3680093; Sun, 15 Jan 2023 02:20:49 +0100 (CET) From: Bruno Victal Date: Sun, 15 Jan 2023 01:20:47 +0000 Message-Id: <024ddbe123ad4d22ca508e1cb998da48fb16338b.1673745598.git.mirai@makinata.eu> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.26.107.241; envelope-from=mirai@makinata.eu; helo=smtpmciv5.myservices.hosting X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673745733; a=rsa-sha256; cv=none; b=cbNOr4lqrwx7cWUtaWhqzGAnNoyzihbIzcN3p/k4lFQqBhS40HW2G961S9jCuHpYXZkPH4 KoQL0M2FcrM3ZULBZXyNftJ8hUqtUFnW+/BYb5cFrWpmcVD/+kTKXucG8CGkzLg88uke3K f0W4E8t4G5jst3o9GxLdVl4o9uWhAI8cU6Pd4NPANCTh2deFYYV6tKxXXYPtVVUWb3c2oV FmubOmMc9EMhYfTONvA2cXbvrTSNcTsCrETBr4EBbbouY4W+NfL+efVx8thJLZAQ0LHX3Z cGd3mKSvIkd7tARF+lPYhW1/b9Y+yId1tMJ5wI+n91GLtTLzDjjXHF3yF09dvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673745733; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=AdduuiV6UUui+MTl2LvdX9trLF1cj/DEOsfkJKorDdw=; b=KlMhBiVFby5h7M6n6Ojqxdq7TpzLG4mbNfJIuE7pDA31069GtUQJ1U0N+ll3htv/TwdV7V VtWATerE5ykOI5d4u5U1N3iBmiUIhlMpO/evBEyjnoHsftyzly0ceLsTj2pqtrmo5NKeOo q+/u+ecj19s9dUg3iqmDC2VB1YOsZ6sf6a46MCW6rmOhaAn6NVDUUDv7Sy9GyaRNTrpvDR uLj55zgrveL+HSypyIeaUBlBm2SPrkcZZmtbwqPSYeA33svCds78WIuIT85AlGh26YvckF cZ9tN5jZStN2rdBVAGDJaILgScP/G/GaOQEQjHwar7zM7ZeaNFz1XT2qJ3NJhQ== X-Migadu-Queue-Id: EB21B44302 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=none X-Migadu-Spam-Score: -3.42 X-Spam-Score: -3.42 X-TUID: Sr6rmzUTbtvo * gnu/packages/xml.scm (perl-xml-xpath)[arguments]: Wrap xpath. [description]: Document xpath command presence. --- gnu/packages/xml.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index b5065f9f30..7fdc3a2e32 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2021 Guillaume Le Vaillant ;;; Copyright © 2021 David Larsson ;;; Copyright © 2021 Matthew James Kraai +;;; Copyright © 2023 Bruno Victal ;;; ;;; This file is part of GNU Guix. ;;; @@ -1050,6 +1051,16 @@ (define-public perl-xml-xpath (base32 "03yxj7w5a43ibbpiqsvb3lswj2b71dydsx4rs2fw0p8n0l3i3j8w")))) (build-system perl-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'wrap 'wrap-xpath + (lambda _ + (wrap-program (string-append #$output "/bin/xpath") + `("PERL5LIB" ":" prefix + ,(cons (string-append #$output "/lib/perl5/site_perl") + (string-split (getenv "PERL5LIB") #\:))))))))) (native-inputs (list perl-path-tiny)) (propagated-inputs @@ -1059,7 +1070,7 @@ (define-public perl-xml-xpath (description "This module aims to comply exactly to the @url{XPath specification, https://www.w3.org/TR/xpath} and yet allow extensions to be added in -the form of functions.") +the form of functions. It also provides the command @command{xpath}.") (license license:perl-license))) (define-public pugixml base-commit: fb3085e80fd3d4559057b60d9e2c1c1f1ff51022 -- 2.38.1