From patchwork Sat Feb 6 21:35:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru-Sergiu Marton X-Patchwork-Id: 26937 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7B0B127BC23; Sat, 6 Feb 2021 21:36:38 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A851527BC22 for ; Sat, 6 Feb 2021 21:36:36 +0000 (GMT) Received: from localhost ([::1]:35674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8VFr-0001ZM-T0 for patchwork@mira.cbaines.net; Sat, 06 Feb 2021 16:36:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8VFL-0001Lp-PX for guix-patches@gnu.org; Sat, 06 Feb 2021 16:36:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35032) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8VFL-0003G8-GP for guix-patches@gnu.org; Sat, 06 Feb 2021 16:36:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l8VFL-0008NV-Dq for guix-patches@gnu.org; Sat, 06 Feb 2021 16:36:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46352] [PATCH 3/4] gnu: nqp: Update to 2020.12. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 Feb 2021 21:36:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46352 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46352@debbugs.gnu.org Cc: Alexandru-Sergiu Marton Received: via spool by 46352-submit@debbugs.gnu.org id=B46352.161264735032166 (code B ref 46352); Sat, 06 Feb 2021 21:36:03 +0000 Received: (at 46352) by debbugs.gnu.org; 6 Feb 2021 21:35:50 +0000 Received: from localhost ([127.0.0.1]:46575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8VF2-0008Ma-RF for submit@debbugs.gnu.org; Sat, 06 Feb 2021 16:35:50 -0500 Received: from mout02.posteo.de ([185.67.36.66]:54589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l8VEk-0008LW-KT for 46352@debbugs.gnu.org; Sat, 06 Feb 2021 16:35:34 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 01A882400FC for <46352@debbugs.gnu.org>; Sat, 6 Feb 2021 22:35:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1612647321; bh=Cy2pMb92xgBq62ylOAAFfGMAbRjcAjpThMLwWVxTc7I=; h=From:To:Cc:Subject:Date:From; b=RKPTZtZ9ntDwtldefbbGvgKBBJRYOWXG9g1ZcUigbjiJqdu60emBAybOrk22GDWX2 pqmjvj3VMXNFyGs6s3BfAQnyViyOykgSRg5bQHj/fYz4mK8d49HCVcY/tnUnNuc8+D wzC7/DGZRu0usz8F2GJG5cRvZI/t1x2LjMsOC0JvotOGSs6PhdrTk4/WIydg07dxUo I8mUBxHpoIOotef1n5VTWRxcq3FLGJf5coivOhe21slNJrcrOeoTdvMwIZOqlPxCht UW2+XDFeTc163Fy5IrJvwwX/NndeS63AAd94OgGnf6Zf22VCVWsvQTaOc1JtqMiTbn fI+u/W6KtIEJg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DY5DS4DN6z6tmF; Sat, 6 Feb 2021 22:35:20 +0100 (CET) From: Alexandru-Sergiu Marton Date: Sat, 6 Feb 2021 23:35:10 +0200 Message-Id: <20210206213511.11551-3-brown121407@posteo.ro> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210206213511.11551-1-brown121407@posteo.ro> References: <20210206213332.11417-1-brown121407@posteo.ro> <20210206213511.11551-1-brown121407@posteo.ro> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/perl6.scm (nqp): Update to 2020.12. --- gnu/packages/perl6.scm | 45 +++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 27 deletions(-) diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm index 96d76dd417..3395d3a2ec 100644 --- a/gnu/packages/perl6.scm +++ b/gnu/packages/perl6.scm @@ -108,19 +108,22 @@ with native libraries. (define-public nqp (package (name "nqp") - (version "2019.03") + (version "2020.12") (source - (origin - (method url-fetch) - (uri (string-append "https://rakudo.perl6.org/downloads/nqp/nqp-" - version ".tar.gz")) - (sha256 - (base32 - "183zhll13fx416s3hkg4bkvib77kyr857h0nydgrl643fpacxp83")) - (modules '((guix build utils))) - (snippet - '(begin - (delete-file-recursively "3rdparty") #t)))) + (origin + (method url-fetch) + (uri (string-append "https://github.com/Raku/nqp/releases/download/" version + "/nqp-" version ".tar.gz")) + (sha256 + (base32 + "13h64d41fwggc3lg4bpllg4jrp64clm7nmnw4g2jyjl47cy5ni7x")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file-recursively "3rdparty/asm") + (delete-file-recursively "3rdparty/jline") + (delete-file-recursively "3rdparty/jna") + #t)))) (build-system perl-build-system) (arguments '(#:phases @@ -131,33 +134,21 @@ with native libraries. "tools/build/gen-js-cross-runner.pl" "tools/build/gen-js-runner.pl" "tools/build/install-js-runner.pl" - "tools/build/install-moar-runner.pl" - "tools/build/gen-moar-runner.pl" "t/nqp/111-spawnprocasync.t" "t/nqp/113-run-command.t") (("/bin/sh") (which "sh"))) #t)) - (add-after 'unpack 'patch-source-date - (lambda _ - (substitute* "tools/build/gen-version.pl" - (("gmtime") "gmtime(0)")) - #t)) - (add-after 'unpack 'remove-failing-test - ;; One subtest fails for unknown reasons - (lambda _ - (delete-file "t/nqp/019-file-ops.t") - #t)) (replace 'configure (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out")) (moar (assoc-ref inputs "moarvm"))) (invoke "perl" "Configure.pl" "--backends=moar" - "--with-moar" (string-append moar "/bin/moar") - "--prefix" out))))))) + (string-append "--with-moar=" moar "/bin/moar") + (string-append "--prefix=" out)))))))) (inputs `(("moarvm" ,moarvm))) - (home-page "https://github.com/perl6/nqp") + (home-page "https://github.com/Raku/nqp") (synopsis "Not Quite Perl") (description "This is \"Not Quite Perl\" -- a lightweight Perl 6-like environment for virtual machines. The key feature of NQP is that it's designed