From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QE2AGlUee2AQPgEAgWs5BA (envelope-from ) for ; Sat, 17 Apr 2021 19:43:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KFcaFlUee2DrcAAA1q6Kng (envelope-from ) for ; Sat, 17 Apr 2021 17:43:49 +0000 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 020E8CDB5 for ; Sat, 17 Apr 2021 19:43:49 +0200 (CEST) Received: from localhost ([::1]:60402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXoU0-00033W-Kt for larch@yhetil.org; Sat, 17 Apr 2021 13:11:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXoQg-00006H-Ha for guix-patches@gnu.org; Sat, 17 Apr 2021 13:08:22 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXoQe-0000OH-9b for guix-patches@gnu.org; Sat, 17 Apr 2021 13:08:20 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXoQc-0005fe-4T for guix-patches@gnu.org; Sat, 17 Apr 2021 13:08:18 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47661] [PATCH v2 31/33] gnu: emacs-wget: Port to emacs-build-system. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Apr 2021 17:08:18 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47661 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47661@debbugs.gnu.org Received: via spool by 47661-submit@debbugs.gnu.org id=B47661.161867929121690 (code B ref 47661); Sat, 17 Apr 2021 17:08:18 +0000 Received: (at 47661) by debbugs.gnu.org; 17 Apr 2021 17:08:11 +0000 Received: from localhost ([127.0.0.1]:44390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXoQU-0005dV-VD for submit@debbugs.gnu.org; Sat, 17 Apr 2021 13:08:11 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:57662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXoQS-0005cX-Ft for 47661@debbugs.gnu.org; Sat, 17 Apr 2021 13:08:08 -0400 Received: from localhost.localdomain (194-96-9-9.adsl.highway.telekom.at [194.96.9.9]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FMzzp04ZJz1LB20 for <47661@debbugs.gnu.org>; Sat, 17 Apr 2021 19:08:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4FMzzp04ZJz1LB20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1618679286; bh=Q1UhrOdMk4Jp+YIo+fj5+fK/SM1QxuTXzwcHEmbmjcI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=noSGWEbrTaXhrnn9ZYH9ybFGaTJVWayT0bXqc+Qil8Znx21JrJDVLk9MpQ0x3iF/M nQwXfC9Inh5mqs+wmD/OQz094HUMwRLaTLRr2fSCwuXFjP9FNLyw8nxyl763EwIrHd Vq50juKkK8BOsg/KRHtrpLMP3FNHbRo9TX6UEFZc= From: Leo Prikler Date: Sat, 17 Apr 2021 19:06:46 +0200 Message-Id: <20210417170648.3810-31-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210417170648.3810-1-leo.prikler@student.tugraz.at> References: <20210417170648.3810-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618681429; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=Q1UhrOdMk4Jp+YIo+fj5+fK/SM1QxuTXzwcHEmbmjcI=; b=J4cBd4DFNAAaJkeTer3la5b2uvgduV5oFcY82ljzspyZCulLDMbD3ZQxW7OP8tLxJ6/dnX Aj0YBCiweU8An3aL6eTmFy05D/v0GhmHeTCPwiJWwHLjRk1OT9rbw4939dg8x/vdvnJ7cU 2IuJ3nbfKUqW5Qv5YPKQgGt5QWOasfTHfFp2AmS1PZgXXC5kvnvvf2Z+NVIMdsV6LCOZfp HuRz9hd63kCOmxeasenXrE3VGvXuRhgMsjjwpb5DgVYRYD+pOonLjndfCsLzNjc3AbWVEh AgTfHxv+5RQSmXDlULGpcdwUitar8drLpKYLJ79zlUGlww1uil6eVkaEPHr6GQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618681429; a=rsa-sha256; cv=none; b=rFpOBbFn9ivwkmkXWT+pzzJV2OkTlQFKs4LY05JELCujjTxq5pPbjSP/mZHCyn8qc8gS73 gcgc3bJOo0VNbTYiPktHQAnIyHFYMccbJA5JX76AECtY9fSXoZg8vire0owyNdI4XEl27q 5TMMcVViP4R8u28zonokuz8X5oKJppSkDc81fl6Iz5uEcD5MFruYJsjy0tfYCNUfXOs8Z+ 6dWQrvqKtcnd6v7tGTvFyKvo/KYLkt0FewlpDtEVqGxI47YkYjS0L57RlIiTBFuBzGiuVP EAFvU7K70KBVD2kEAjW+d5d0CV1lYmzdRkdXqTfePmUOu7GE2V5CBxf3c1tSxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=noSGWEbr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 5.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=noSGWEbr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 020E8CDB5 X-Spam-Score: 5.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: JBd66vySqIhT * gnu/packages/emacs-xyz.scm (emacs-wget)[build-system]: Use emacs-build-system. [arguments]: Drop #:modules and #:imported-modules. Adjust #:phases accordingly. --- gnu/packages/emacs-xyz.scm | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 949659e617..90fe5b3a24 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -1795,35 +1795,18 @@ or unexpected behavior inside an elisp configuration file (typically version ".orig.tar.gz")) (sha256 (base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff")))) - (build-system gnu-build-system) + (build-system emacs-build-system) (inputs `(("wget" ,wget))) (native-inputs `(("emacs" ,emacs-minimal))) (arguments - `(#:modules ((guix build gnu-build-system) - (guix build utils) - (guix build emacs-utils)) - #:imported-modules (,@%gnu-build-system-modules - (guix build emacs-utils)) - #:tests? #f ; no check target + `(#:tests? #f ; no check target #:phases (modify-phases %standard-phases - (replace 'configure - (lambda* (#:key outputs #:allow-other-keys) - (substitute* "Makefile" - (("/usr/local") (assoc-ref outputs "out")) - (("/site-lisp/emacs-wget") "/site-lisp")) - #t)) - (add-before 'build 'patch-exec-paths + (add-after 'unpack 'patch-exec-paths (lambda* (#:key inputs outputs #:allow-other-keys) (let ((wget (assoc-ref inputs "wget"))) (emacs-substitute-variables "wget.el" ("wget-command" (string-append wget "/bin/wget")))) - #t)) - (add-after 'install 'post-install - (lambda* (#:key outputs #:allow-other-keys) - (emacs-generate-autoloads - "wget" (string-append (assoc-ref outputs "out") - "/share/emacs/site-lisp/")) #t))))) (home-page "https://www.emacswiki.org/emacs/EmacsWget") (synopsis "Simple file downloader for Emacs based on wget") -- 2.31.1