From patchwork Mon May 11 21:11:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Nicol=C3=B2_Balzarotti?= X-Patchwork-Id: 22025 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 D743D27BBE6; Mon, 11 May 2020 22:13:16 +0100 (BST) 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_H2, 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 ESMTP id 4287227BBE5 for ; Mon, 11 May 2020 22:13:16 +0100 (BST) Received: from localhost ([::1]:36580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYFjf-00049o-MV for patchwork@mira.cbaines.net; Mon, 11 May 2020 17:13:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYFjS-00046z-Mg for guix-patches@gnu.org; Mon, 11 May 2020 17:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYFjS-00065E-D7 for guix-patches@gnu.org; Mon, 11 May 2020 17:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jYFjS-0003Tv-8o for guix-patches@gnu.org; Mon, 11 May 2020 17:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41167] V2 Re: [bug#41167] [PATCH 5/5] gnu: Add julia-compat. Resent-From: =?utf-8?q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 May 2020 21:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41167 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: 41167@debbugs.gnu.org, nixo Received: via spool by 41167-submit@debbugs.gnu.org id=B41167.158923152913319 (code B ref 41167); Mon, 11 May 2020 21:13:02 +0000 Received: (at 41167) by debbugs.gnu.org; 11 May 2020 21:12:09 +0000 Received: from localhost ([127.0.0.1]:53478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYFib-0003Sl-Db for submit@debbugs.gnu.org; Mon, 11 May 2020 17:12:09 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:40285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYFia-0003SY-64 for 41167@debbugs.gnu.org; Mon, 11 May 2020 17:12:08 -0400 Received: by mail-wr1-f54.google.com with SMTP id e16so12791613wra.7 for <41167@debbugs.gnu.org>; Mon, 11 May 2020 14:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=Dzv/L05l3kmavcydf08HkiSYGZaHO3jNvYudLwUyOl0=; b=ZCHpie2Nn4z/ITqlgL89RZi7p6GcIf28UW36EHq5s2g8pmOlC/nkwoHubSqZcSzy3i xmiTpFDYYu6Eqq/JS0902I0eFnkA0s/g9IbzhJdicEtEcBpNZjl7Iwjbi2JyqkAAKGhb iKG5JC2i9TaCiEAQFEz/APD/ZD1CSP12I96jTbQ8/z9lI1PeRMQZj4X1cUNTYFyD1Nty ad4bXmd0DLToXpypw5gCNMFiSRicIIHPySQQVn4SZ+umi89h0webN/UtzoenIZRiodHO 0uBy1JXUbDycHX1hALbr8m/J7CO/zUd8EQF7J5Oe/ET7Zqsd/WfKX/Q6e7FPnNebjI6O 0SCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=Dzv/L05l3kmavcydf08HkiSYGZaHO3jNvYudLwUyOl0=; b=CJUHFlBkTUjyVBDY7M5vOYEcjbUzaUsB4rd0UYeaPijjpDfe6tPSQoCJ5lwOqGaI84 ziUV+bBjVrmtG5LQr2W6hU8lREA7UPISr8IvfLEvEpy4vfLORBK8dOs4wgaonlADqAds obq1i9RRIAbbF2LRgdCyYwz/BNIgJvnLQu9H229AJ5n2L98uJ3TijcttkwZq1USC1wmk muAuQdaz2iPeMlmXV1HfQYSp3coJOSxV0nkAvs8jCtgSXGqUlJXYTAyOqu5Vkln8jf6U Yrd2p8GPuANMCMIy44mqxQyHsmgnbhvt+6fT5yHO6y0BfVeU1CTEzif9DJS3PiIgHcYG gr0g== X-Gm-Message-State: AGi0PuZ4OMEiXx7Km27tnhHhItqS5UxYNLU3mqdiUUhxobqcWxbsOWu2 BCtdGyemfwUbQDwIE20jvdM= X-Google-Smtp-Source: APiQypIgMVCsAe7qKm9Udz6efNh1i1n9iIccVKMYIZc00KYtGdV5f0SmKnDdUrYOTu3AQCk0k9uTFA== X-Received: by 2002:a5d:4f06:: with SMTP id c6mr22187041wru.12.1589231522141; Mon, 11 May 2020 14:12:02 -0700 (PDT) Received: from guixSD (host187-75-dynamic.12-79-r.retail.telecomitalia.it. [79.12.75.187]) by smtp.gmail.com with ESMTPSA id s12sm17843765wmb.3.2020.05.11.14.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 14:12:00 -0700 (PDT) From: =?utf-8?q?Nicol=C3=B2?= Balzarotti In-Reply-To: <87zhaedw9n.fsf@gnu.org> References: <20200510081513.26015-1-nicolo@nixo.xyz> <20200510081513.26015-5-nicolo@nixo.xyz> <87zhaedw9n.fsf@gnu.org> Date: Mon, 11 May 2020 23:11:59 +0200 Message-ID: <87imh25g80.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> 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 Ludovic Courtès writes: Thank you for the review Ludo! Here's the new julia-compat patch, hope it's correct this time! > Hello! > > nixo skribis: > >> * julia-xyz.scm: New file. >> * local.mk: Add julia-xyz.scm to it. >> * julia-xyz.scm (julia-compat): New variable. > > Please spell out file names; you can also remove the last line, not > needed here since it’s a new file. > >> --- /dev/null >> +++ b/gnu/packages/julia-xyz.scm >> @@ -0,0 +1,27 @@ >> +(define-module (gnu packages julia-xyz) > > Could you add the license/copyright header and resend this one? > > I’ll see if I can apply the whole series and build it tomorrow. > Prepare for a long build time! Running tests takes like 4 hours. > Thank you! > Thank You! Nicolò > Ludo’. From fc5a6eae3608872776902cb51aa33548cc55c42e Mon Sep 17 00:00:00 2001 From: nixo Date: Sat, 9 May 2020 18:33:03 +0200 Subject: [PATCH 5/5] gnu: Add julia-compat. * gnu/packages/julia-xyz.scm: New file. * gnu/local.mk: Add packages/julia-xyz.scm to it. --- gnu/local.mk | 1 + gnu/packages/julia-xyz.scm | 45 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 gnu/packages/julia-xyz.scm diff --git a/gnu/local.mk b/gnu/local.mk index a7ccec5e0b..9df42e47fe 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -291,6 +291,7 @@ GNU_SYSTEM_MODULES = \ %D%/packages/jrnl.scm \ %D%/packages/jose.scm \ %D%/packages/julia.scm \ + %D%/packages/julia-xyz.scm \ %D%/packages/jupyter.scm \ %D%/packages/kawa.scm \ %D%/packages/kde.scm \ diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm new file mode 100644 index 0000000000..f1da66a4be --- /dev/null +++ b/gnu/packages/julia-xyz.scm @@ -0,0 +1,45 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020 Nicolò Balzarotti +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages julia-xyz) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix git-download) + #:use-module (guix build-system julia)) + +(define-public julia-compat + (package + (name "julia-compat") + (version "3.9.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaLang/Compat.jl") + (commit (string-append "v" version)))) + (file-name "Compat") + (sha256 + (base32 "01vwjr2134bzgnaxwd67knbibbhnfgnqjw7gxrp29s6y2a6j3882")))) + (build-system julia-build-system) + (home-page "https://github.com/JuliaLang/Compat.jl") + (synopsis "Compatibility across Julia versions") + (description "The Compat package is designed to ease interoperability +between older and newer versions of the Julia language. The Compat package +provides a macro that lets you use the latest syntax in a backwards-compatible +way.") + (license license:expat))) -- 2.26.2