From patchwork Wed Feb 3 01:35:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 26831 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 3F40527BC28; Wed, 3 Feb 2021 01:36:14 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable 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 4F68F27BC24 for ; Wed, 3 Feb 2021 01:36:13 +0000 (GMT) Received: from localhost ([::1]:43856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l775Y-0008T3-C8 for patchwork@mira.cbaines.net; Tue, 02 Feb 2021 20:36:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l775O-0008Sq-Pl for guix-patches@gnu.org; Tue, 02 Feb 2021 20:36:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l775O-0004UN-Hu for guix-patches@gnu.org; Tue, 02 Feb 2021 20:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l775O-0001VJ-EQ for guix-patches@gnu.org; Tue, 02 Feb 2021 20:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46264] [PATCH] static-dispatch Update to 0.3-1.6243afc Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Feb 2021 01:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46264 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46264@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16123161245735 (code B ref -1); Wed, 03 Feb 2021 01:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Feb 2021 01:35:24 +0000 Received: from localhost ([127.0.0.1]:36437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l774l-0001UQ-G4 for submit@debbugs.gnu.org; Tue, 02 Feb 2021 20:35:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:37980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l774j-0001UI-Bo for submit@debbugs.gnu.org; Tue, 02 Feb 2021 20:35:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l774i-0008OQ-Vt for guix-patches@gnu.org; Tue, 02 Feb 2021 20:35:21 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:44771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l774b-00045V-1i for guix-patches@gnu.org; Tue, 02 Feb 2021 20:35:20 -0500 Received: by mail-wr1-x429.google.com with SMTP id d16so22364323wro.11 for ; Tue, 02 Feb 2021 17:35:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ucVdtmtZxI6drWkJ5jbGbvDKO7k1nXBg43rX80kpEsA=; b=JI4v+7bjHbxt8Ko1rSSyU6KbyAY54sGboQq4KriALxy/Lm8Q9P1L6xfbvolB2bPvAy 6IPAamdZfnMkWQzsfn6/TN5RmDUrd2wsHNNTllNsySgh7WGkyXsuexWoCEYv6o1Y2+eD 9D6vXHA3peGdWTW9tj9OPovl1d0meyF+7HjJtaGMJVafgu7HaKp/qO+5uizM29FldAJY pjN21jZpvtlev3AHIsIEaMkLwxX+w675DYnqw7A7+seOjeDYp2iEPgm0r8YBLrYSuDj/ lPR/E3zJoJ5GV0obaiDoXJIZzNaQBdqsEACQF6v9DtX7RijIagftc0/qCbA9BY+FcXML kROg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ucVdtmtZxI6drWkJ5jbGbvDKO7k1nXBg43rX80kpEsA=; b=r/gzOOre/AWcDO4cQcZhx3CKPMUeCe1jadW8VprHHD1X0+AUiU7QkeU3RdD0AqoGUA 4oDpznAsMkkCZB8vAugrFYV6v13VWgp0D8ditl6u5HagmufJVPFDm7sA+UNSO02BdncK VmFG1+h7RazjK37JHhLEzrJgvG4O6qlWlzJVa8ZCxiw+SQ67tkSY4wCAfDVijxM3DA/Y puiCPpQ5AEMsCM8Jkz+1S1VBuE8KD72nUODicpsZQ7iNnQzz3m6toUTQdc0X4UlM+T4r E4PPvjMC3+CSuqM4bLf/O7eNgZf2XYsmJl/3iMVrcXO8oznWUhGWpsSDvlrGOtSPfstq MFpQ== X-Gm-Message-State: AOAM531aU1cTcUNcybtfnfN6SVhJzPKAX7FshERTY1fRUOx8V1eIZRVV aYhkzIxOao/RIzlTxEF42pKyrcUptoPLRk0QCRq81HeFl2Y= X-Google-Smtp-Source: ABdhPJz1PW2WR/dXpw+OgaBKzzTPK89TL4mcP/izv4iRixYyIF/9Bvuq2H+vzOxJubrFtiZHZunp4wblGhlHaWs82wE= X-Received: by 2002:adf:9226:: with SMTP id 35mr760461wrj.408.1612316110942; Tue, 02 Feb 2021 17:35:10 -0800 (PST) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Wed, 3 Feb 2021 01:35:00 +0000 Message-ID: Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From cbf01eb5388a3394870b3be14f9c5381ede62f01 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Wed, 3 Feb 2021 01:30:33 +0000 Subject: [PATCH] gnu: static-dispatch: Update to 0.3-1.6243afc * gnu/packages/lisp-xyz.scm (sbcl-static-dispatch) [version] latest commit has a lot of fixes [inputs] move cl-environment from propagated-inputs [arguments] clean up workaround as latest commit has it fixed --- gnu/packages/lisp-xyz.scm | 71 ++++++++++++++------------------------- 1 file changed, 25 insertions(+), 46 deletions(-) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 736dbfca37..0cd2800610 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -12240,56 +12240,35 @@ CLTL2 environment access API.") (sbcl-package->ecl-package sbcl-cl-environments)) (define-public sbcl-static-dispatch - (package - (name "sbcl-static-dispatch") - (version "0.3") - (source - (origin + (let ((commit "6243afcd152854c52ba33daef7394367b657d9c6") + (revision "1")) + (package + (name "sbcl-static-dispatch") + (version (git-version "0.3" revision commit)) + (source + (origin (method git-fetch) (uri (git-reference (url "https://github.com/alex-gutev/static-dispatch") - (commit (string-append "v" version)))) + (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "1wp5yz8liqqic3yifqf33qhccd755pd7ycvsq1j4i7k3f1wm18i0")))) - (build-system asdf-build-system/sbcl) - (inputs - `(("agutil" ,sbcl-agutil) - ("alexandria" ,sbcl-alexandria) - ("anaphora" ,sbcl-anaphora) - ("arrows" ,sbcl-arrows) - ("closer-mop" ,sbcl-closer-mop) - ("iterate" ,sbcl-iterate) - ("trivia" ,sbcl-trivia))) - (propagated-inputs - ;; FIXME: `sbcl-cl-environments' input fails with - ;; - ;; compiling # - ;; Unhandled SB-INT:SIMPLE-FILE-ERROR in thread #: - ;; Error opening #P"/.../cl-environments/src/common/package-tmp5GEXGEG5.fasl": - ;; Permission denied - `(("cl-environments" ,cl-environments))) - (native-inputs - `(("prove" ,sbcl-prove))) - (arguments - `(#:phases - (modify-phases %standard-phases - ;; Use `arrows' instead of cl-arrows which is abandoned and unlicensed. - ;; https://github.com/nightfly19/cl-arrows/issues/5 - (add-after 'unpack 'use-arrows-instead-of-cl-arrows - (lambda _ - (for-each - (lambda (file) - (substitute* file - ((":cl-arrows") ":arrows"))) - '("static-dispatch.asd" - "src/package.lisp" - "test/methods.lisp" - "test/test.lisp"))))))) - (home-page "https://github.com/alex-gutev/static-dispatch") - (synopsis "Static generic function dispatch for Common Lisp") - (description "Static dispatch is a Common Lisp library, inspired by + (base32 "1lli9ar1xbnhkgb5d01rlw4pvfylg2arrw68np2c07fpkkafimg7")))) + (build-system asdf-build-system/sbcl) + (native-inputs + `(("prove" ,sbcl-prove))) + (inputs + `(("agutil" ,sbcl-agutil) + ("alexandria" ,sbcl-alexandria) + ("anaphora" ,sbcl-anaphora) + ("arrows" ,sbcl-arrows) + ("cl-environments" ,cl-environments) + ("closer-mop" ,sbcl-closer-mop) + ("iterate" ,sbcl-iterate) + ("trivia" ,sbcl-trivia))) + (home-page "https://github.com/alex-gutev/static-dispatch") + (synopsis "Static generic function dispatch for Common Lisp") + (description "Static dispatch is a Common Lisp library, inspired by @code{inlined-generic-function}, which allows standard Common Lisp generic function dispatch to be performed statically (at compile time) rather than dynamically (runtime). This is similar to what is known as \"overloading\" in @@ -12301,7 +12280,7 @@ functions, such as adding/removing methods at runtime are not required. An example of such a case is a generic equality comparison function. Currently generic functions are considered far too slow to implement generic arithmetic and comparison operations when used heavily in numeric code.") - (license license:expat))) + (license license:expat)))) (define-public cl-static-dispatch (sbcl-package->cl-source-package sbcl-static-dispatch)) -- 2.30.0