From patchwork Mon Feb 24 20:59:46 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: 20410 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 AD09227BBEA; Mon, 24 Feb 2020 21:43:35 +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,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 28F0427BBE4 for ; Mon, 24 Feb 2020 21:43:29 +0000 (GMT) Received: from localhost ([::1]:44374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6LVg-0004Qd-Ll for patchwork@mira.cbaines.net; Mon, 24 Feb 2020 16:43:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53053) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6Kqo-0006Zk-08 for guix-patches@gnu.org; Mon, 24 Feb 2020 16:01:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6Kqg-00071B-QI for guix-patches@gnu.org; Mon, 24 Feb 2020 16:01:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48207) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j6Kqb-0006z1-Rj for guix-patches@gnu.org; Mon, 24 Feb 2020 16:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j6Kqb-0005Cr-QT for guix-patches@gnu.org; Mon, 24 Feb 2020 16:01:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38546] [PATCH v4] Update Julia 1.3.1: almost done Resent-From: =?utf-8?q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Feb 2020 21:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38546 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun , 38546@debbugs.gnu.org Received: via spool by 38546-submit@debbugs.gnu.org id=B38546.158257801319939 (code B ref 38546); Mon, 24 Feb 2020 21:01:01 +0000 Received: (at 38546) by debbugs.gnu.org; 24 Feb 2020 21:00:13 +0000 Received: from localhost ([127.0.0.1]:54178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6Kpe-00059x-30 for submit@debbugs.gnu.org; Mon, 24 Feb 2020 16:00:13 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j6KpZ-00059F-2T for 38546@debbugs.gnu.org; Mon, 24 Feb 2020 16:00:00 -0500 Received: by mail-wr1-f66.google.com with SMTP id t3so12069190wru.7 for <38546@debbugs.gnu.org>; Mon, 24 Feb 2020 12:59:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=fBujyfndIjhurQ7vw3XmP7f6fzQ9IQeM71b6ahxN45s=; b=L/rzCLDvI1aY97RgcVBSmwZF0PRfQ8xtD2VG92Ks4RLjlM7YQCQ2KxWnly0RJ99309 02k5GiqkoAwCQwcApvhr0Gq2X0xGvg/s/UXJL3a36mlPbrr0SqjDQA+3jODZ96e4iCaK RS43sAR7/pFeOK9tL5v799XVoIrdjZOSivhqCcmnffsNG2KMfSNuSlGwFpQoKXPnLRCC Dx4ZcNeWU/b5ap8fI0kN5dufc70EixW5U6hJHBXYgHSIsV0wB5qiVgZheWfiE4j5aLcK M+1NBYxai1UjmafGPAxZSijJzni+kBVCn43Sx00ZFVVDQHIxlJgfVA39vTeBTk1jgK9y jMdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=fBujyfndIjhurQ7vw3XmP7f6fzQ9IQeM71b6ahxN45s=; b=qYGoPXxwfn+w7QX2DxgQWL+sprg4QoyO1BgaWfO2VpPpEK4j2riBz95TDRAwmnm/OB CQjKzrYboB6xbRcbxIJb/c0Py18KZMKjMn4NEAYaL7zL66/+UxRM+Jov5J/C4w/fjUKt zneZGFWzOT1cumTLrt4570PSXBMpJShu3D/zNzAFYge8DkWlUjnx8jlQ9tqVtpGUzeTv OKI/kE8GEfeXaVTUYZIxSFOp7SoJUMEbqEDvnAuOXQTrkAbCHl4EBxYVfAe/a9U0ofb7 kbu8+FNT/GOAp/qBtqPhTmp1XNyjuFxCxtUDo8R6Rw/0BJxVEp5bt6wjUDztBUxnUqo/ VptQ== X-Gm-Message-State: APjAAAVRw6FPEdPq6oCctVN6pEdgbkcfXaQw7wcF2QktDp+8LixZhkUK oa85wqHoLJkJklw3aYwRa1d4CibV X-Google-Smtp-Source: APXvYqwVcH7hBw6MzXMCuiZYf34opQikUxV2ni5kf8xGSADEY075+tAa5fgG5UuJDeys2jxL0qy6Hw== X-Received: by 2002:a5d:51ce:: with SMTP id n14mr69720601wrv.426.1582577990813; Mon, 24 Feb 2020 12:59:50 -0800 (PST) Received: from guixSD ([95.232.154.110]) by smtp.gmail.com with ESMTPSA id u4sm21071598wrt.37.2020.02.24.12.59.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Feb 2020 12:59:47 -0800 (PST) From: =?utf-8?q?Nicol=C3=B2?= Balzarotti In-Reply-To: References: Date: Mon, 24 Feb 2020 21:59:46 +0100 Message-ID: <87imjvwvjx.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-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 zimoun writes: > Hi, > Hi, > Friendly ping. :-) > Here's a friendly 1.3.1 + HTTP.jl + dependencies patch submission. Hopefully this time it's fine. Package precompilation should be working now (except json, whose cache, for some reason, is not valid and gets rebuilt). As a reminder: determinism is still not addressed and will be fixed in the 1.4.0 release (hopefully, upstream is still not that responsive). However, there are dozens of julia packages that I want to package, so if this first batch is finally fine, more will come. Thanks, Nicolò > > On Tue, 11 Feb 2020 at 18:58, zimoun wrote: >> >> Hi, >> >> Please find attach the almost updated julia using 2 patches. The first >> add a dependency and the second update and patch. >> >> I hope that I do not screw up the indentation; sometimes my Emacs does >> weird stuff. Anyway. >> >> If it is fine with you, please ping Ludo or any committer. :-) >> >> >> Cheers, >> simon From 238554a69cab1f7b1eedb93d453e78587b0e4597 Mon Sep 17 00:00:00 2001 From: nixo Date: Mon, 24 Feb 2020 16:37:10 +0100 Subject: [PATCH 16/16] gnu: Add julia-http. * gnu/packages/julia-xyz.scm (julia-http): New variable. --- gnu/packages/julia-xyz.scm | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 5130663e48..be3c776f49 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -165,6 +165,51 @@ factor. Consequently, they have a fixed number of digits (bits) after the decimal (radix) point.") (license license:expat))) +(define-public julia-http + (package + (name "julia-http") + (version "0.8.9") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaWeb/HTTP.jl") + (commit (string-append "v" version)))) + (file-name "HTTP") + (sha256 + (base32 "11g49gnnacvmihnr0p3inqmsdw6wllyfkq5sbka09mwnrf3vahs7")))) + (build-system julia-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'install 'disable-network-tests + (lambda _ + (substitute* "test/runtests.jl" + (("\"client.jl") "# \"client.jl") + (("\"multipart.jl") "# \"multipart.jl") + (("\"aws4.jl") "# \"as4.jl") + ;; some of those might still be saved + (("\"async.jl") "# \"async.jl") + (("\"server.jl") "# \"server.jl")) + (substitute* "test/websockets.jl" + (("for s in socket_type") "for s in []")) + (substitute* "test/messages.jl" + (("@testset \"Read methods\" ") "return\n")) + #t))))) + (propagated-inputs + `(("julia-inifile" ,julia-inifile) + ("julia-mbedtls" ,julia-mbedtls) + ("julia-compat" ,julia-compat))) + ;; required for tests + (inputs + `(("julia-json" ,julia-json) + ("julia-bufferedstreams" ,julia-bufferedstreams))) + (home-page "https://juliaweb.github.io/HTTP.jl/") + (synopsis "HTTP support for Julia") + (description "@code{HTTP.jl} is a Julia library for HTTP Messages, +implementing both a client and a server.") + (license license:expat))) + (define-public julia-inifile (package (name "julia-inifile") -- 2.25.0