From patchwork Wed Jan 18 23:15:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: jgart X-Patchwork-Id: 46282 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 C4FE427BBED; Wed, 18 Jan 2023 23:19:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1C83D27BBE9 for ; Wed, 18 Jan 2023 23:19:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIHhw-0000wC-Sx; Wed, 18 Jan 2023 18:19: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 1pIHhv-0000v9-1M for guix-patches@gnu.org; Wed, 18 Jan 2023 18:19: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 1pIHhu-0007ya-PH for guix-patches@gnu.org; Wed, 18 Jan 2023 18:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pIHhu-0006UD-3F for guix-patches@gnu.org; Wed, 18 Jan 2023 18:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60835] [PATCH v4 1/8] gnu: Add cl-variates. References: <20230115131057.GB12647@dismail.de> In-Reply-To: <20230115131057.GB12647@dismail.de> Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Jan 2023 23:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60835@debbugs.gnu.org Cc: Guillaume Le Vaillant , jgart Received: via spool by 60835-submit@debbugs.gnu.org id=B60835.167408390624809 (code B ref 60835); Wed, 18 Jan 2023 23:19:02 +0000 Received: (at 60835) by debbugs.gnu.org; 18 Jan 2023 23:18:26 +0000 Received: from localhost ([127.0.0.1]:42035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIHhJ-0006S5-Py for submit@debbugs.gnu.org; Wed, 18 Jan 2023 18:18:26 -0500 Received: from mx1.dismail.de ([78.46.223.134]:46581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pIHhH-0006Ri-0x for 60835@debbugs.gnu.org; Wed, 18 Jan 2023 18:18:24 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id c4a94ddb; Thu, 19 Jan 2023 00:18:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=20190914; bh=dhFOeiQuhzwKxTv+JvXPu 5tDIsmb+k59HgjFDZ5dD14=; b=PI5UouxKh7CdRuvwdo0kIdmkQr4wybsQW9uoG yo+k06IBv0EyKq/4VvHTRkK0fSzotYskJKusF6K/V3rYlyskLBFiIHSxL6+FTVVS SgUbcE4w3m2+Q4sb11Z5Z4UrsHwSsQdbVNx+TXYOIoiOXoxLhnqZJPZXNc+SZIeI edQlZSjsiW+3+sGD+T5pHQKU5wayTHAhG9VYhY+lhkEINGmcw+KnKR00IPETd7f8 alWfTfKnejPVUD2pO5vC+oUGozvDsYqFReylRQp9rhnwJmz3uCXWtMg87AY1JJJ9 FtE0ymXGKAH2ytwqylQNVlY9/uZKMvyBcJ161vrBrlMcNfKnw== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 059b46b5; Thu, 19 Jan 2023 00:18:15 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id e3081f19; Thu, 19 Jan 2023 00:18:15 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 96ba0eb2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 19 Jan 2023 00:18:13 +0100 (CET) Date: Wed, 18 Jan 2023 17:15:43 -0600 Message-Id: <20230118231548.4609-1-jgart@dismail.de> X-Mailer: git-send-email 2.38.1 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: , Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches X-Patchwork-Original-From: jgart via Guix-patches via From: jgart Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp-xyz.scm (cl-variates, ecl-cl-variates, sbcl-cl-variates): New variables. Hi Guillaume, thanks for the review. Here is version 4 of the patch set rebased against the latest master commit as of now. all best, jgart --- gnu/packages/lisp-xyz.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 58fbef1900..cf8b3f63ae 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -28,7 +28,7 @@ ;;; Copyright © 2021 Cameron Chaparro ;;; Copyright © 2021 Charles Jackson ;;; Copyright © 2021, 2022 Foo Chuan Wei -;;; Copyright © 2021, 2022 jgart +;;; Copyright © 2021, 2022, 2023 jgart ;;; Copyright © 2021 Aleksandr Vityazev ;;; Copyright © 2021 Jacob MacDonald ;;; Copyright © 2022 Jai Vetrivelan @@ -26702,6 +26702,39 @@ (define-public cl-smug (define-public ecl-smug (sbcl-package->ecl-package sbcl-smug)) +(define-public sbcl-cl-variates + (let ((commit "4e7548754d8a8731a42487fae31174db4bf36d47") + (revision "0")) + (package + (name "sbcl-cl-variates") + (version "0.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.common-lisp.net/cl-variates/cl-variates") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "03wnvfi3yfflpvi0mr732r834msij4vrwdbgf6csh0b8kqxl47zn")))) + (build-system asdf-build-system/sbcl) + ;; USE-PACKAGE # causes name-conflicts in + ;; # between the following symbols: + ;; CL-VARIATES:RANDOM-ELEMENT, LIFT:RANDOM-ELEMENT + (arguments (list #:tests? #f)) + (native-inputs (list sbcl-lift)) + (home-page "https://gitlab.common-lisp.net/cl-variates/cl-variates") + (synopsis "Portable Common Lisp Random Number Generation") + (description "The variates package provides portable random number + generation as well as numerous distributions.") + (license license:expat)))) + +(define-public cl-variates + (sbcl-package->cl-source-package sbcl-cl-variates)) + +(define-public ecl-cl-variates + (sbcl-package->ecl-package sbcl-cl-variates)) + (define-public sbcl-seria (let ((commit "2bba04dc6abdc0b85a511cae9c460942e2ad305a") (revision "0"))