From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id UND+OoXVXmb/bAAAA41jLg (envelope-from ) for ; Tue, 04 Jun 2024 10:51:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id iK40NYXVXmbmdAEA62LTzQ (envelope-from ) for ; Tue, 04 Jun 2024 10:51:17 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=araneo.si header.s=20230811 header.b=d20hfKbI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=araneo.si (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717491077; h=from:from:sender:sender: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=aRWZCWLovTUPP/R0b4/vSQolbt7uWZ3OTjMtPs2B4Kw=; b=S60TqBtR9XBX74MFVKQGuizGBl4PBVrHhdBt25324YDJlFtJKJqzDD+X4Pj5/Vvy2L3v7S Pt54HhgqRuNulijGmwB1/mYGVaH5KxKxXpKjuciZg1uqMQ6kfz4JkIvplp0uM5k+L1zbuq RqGaKycSx1McEuQ9H6+lqrwbcd+j9swmCfPfcd2ZW+CswuA920+WmvgiKA5lucpPCvKoY2 G+hLBOoC/6k985YPk2gvKrGwQjtjzl9NbcghcyySgy2glRS1kIsCRz11kcjWUz1lBkTThm ORn0L2eoOAcX+LRFih03SdX9vR921N54jYZUEPH4wr+M/5n9vRLRYS1wKm1iCQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717491077; a=rsa-sha256; cv=none; b=eZLxCV6nBrRd6+lxLduONQtxYwrXnikM6YdOAczVg/AFRPn/ahZfK/81Oo49cDoW0cMGBO mDKcotnMXD4aLY8Eubg1UHyG+/H7fE/JoMDjuQZIoQHIgOX29lzMqL+M5Dwq+Xafd5IIpc XymGqsBskpHGExWv2/7bpHwP7cZfBq9FtU11s5exd0r17b5siGzJgChPpTwjAoWyLG0z5C ha6fZlyEeUfBk9y30w5VaTcnaxYzBhtKJor28b1KYauR/7iLfbv5LEOlZiunSK1Rz1rFAn o/yGSN1qy8DcQ7Bx8z6sXvcQn0Y/MlkDVYWfp+ca2NwHaXB2Xqqc/t/lWkPUxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=araneo.si header.s=20230811 header.b=d20hfKbI; dmarc=fail reason="SPF not aligned (relaxed)" header.from=araneo.si (policy=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" 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 848A03870C for ; Tue, 04 Jun 2024 10:51:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEPsY-0007kE-31; Tue, 04 Jun 2024 04:50:50 -0400 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 1sEPsX-0007ji-2W for guix-patches@gnu.org; Tue, 04 Jun 2024 04:50:49 -0400 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 1sEPsW-0002YJ-Qh for guix-patches@gnu.org; Tue, 04 Jun 2024 04:50:48 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sEPsk-0003FW-3d for guix-patches@gnu.org; Tue, 04 Jun 2024 04:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71358] [PATCH 2/2] gnu: tig: Update package style. Resent-From: Timotej Lazar Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 04 Jun 2024 08:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71358 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71358@debbugs.gnu.org Cc: Timotej Lazar Received: via spool by 71358-submit@debbugs.gnu.org id=B71358.171749103612409 (code B ref 71358); Tue, 04 Jun 2024 08:51:02 +0000 Received: (at 71358) by debbugs.gnu.org; 4 Jun 2024 08:50:36 +0000 Received: from localhost ([127.0.0.1]:57718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEPsK-0003E4-40 for submit@debbugs.gnu.org; Tue, 04 Jun 2024 04:50:36 -0400 Received: from static.51.243.21.65.clients.your-server.de ([65.21.243.51]:36558 helo=araneo.si) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sEPsD-0003DS-Jd for 71358@debbugs.gnu.org; Tue, 04 Jun 2024 04:50:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=20230811; bh=NBjwboudhOa f+zuNwTxCpF8WNSU25phLxsnglRfmSVk=; h=references:in-reply-to:date: subject:cc:to:from; d=araneo.si; b=d20hfKbIX6jeW4h+dKwjTJCqlOogXU5cuEB moLSrSKmWMCVxbrCEZEak22a9ZPq0edJcBygETQKB+f7iNDU6etnvet9UbDQ9K0Km8FxSP GO4Hp6wdHnbQciMFD1VrxfL+Sgme8i+gHs03ufDGbD8gQKEkLg+mWNVQscFlL5zsL4= Received: by araneo.si (OpenSMTPD) with ESMTPSA id 2b2fc297 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 4 Jun 2024 08:50:14 +0000 (UTC) From: Timotej Lazar Date: Tue, 4 Jun 2024 10:50:09 +0200 Message-ID: X-Mailer: git-send-email 2.45.1 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: , 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: -0.74 X-Spam-Score: -0.74 X-Migadu-Queue-Id: 848A03870C X-Migadu-Scanner: mx11.migadu.com X-TUID: kRSmuYtDWn/H * gnu/packages/version-control.scm (tig)[arguments]: Switch to gexps. Move above input fields. Change-Id: I32976ccd3f5602e847b1573695356c7e4e6dd9d7 --- gnu/packages/version-control.scm | 36 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index f0503a8db0..d7f6f8d29e 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -2797,28 +2797,28 @@ (define-public tig (sha256 (base32 "0m7v6xkvly3cbc5hs7plxdny4r41x3vkx7xylygjva4jcvnz0fjr")))) (build-system gnu-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-doc + (lambda _ + (invoke "make" "install-doc"))) + (add-after 'install 'install-completions + (lambda _ + (let ((share (string-append #$output "/share"))) + (mkdir-p (string-append share "/bash-completion/completions")) + (mkdir-p (string-append share "/zsh/site-functions")) + (copy-file "contrib/tig-completion.bash" + (string-append share "/bash-completion/completions/tig")) + (copy-file "contrib/tig-completion.zsh" + (string-append share "/zsh/site-functions/_tig")))))) + #:test-target "test" + #:tests? #f)) ; tests require access to /dev/tty (native-inputs (list asciidoc autoconf automake docbook-xsl libxml2 pkg-config xmlto)) (inputs (list ncurses readline)) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'install 'install-doc - (lambda _ - (invoke "make" "install-doc"))) - (add-after 'install 'install-completions - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (share (string-append out "/share"))) - (mkdir-p (string-append share "/bash-completion/completions")) - (mkdir-p (string-append share "/zsh/site-functions")) - (copy-file "contrib/tig-completion.bash" - (string-append share "/bash-completion/completions/tig")) - (copy-file "contrib/tig-completion.zsh" - (string-append share "/zsh/site-functions/_tig")))))) - #:test-target "test" - #:tests? #f)) ; tests require access to /dev/tty (home-page "https://jonas.github.io/tig/") (synopsis "Ncurses-based text user interface for Git") (description -- 2.45.1