From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UM90Fqg30WTzUQAASxT56A (envelope-from ) for ; Mon, 07 Aug 2023 20:27:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8MdpFag30WS3NwAAG6o9tA (envelope-from ) for ; Mon, 07 Aug 2023 20:27:52 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 090056AC81 for ; Mon, 7 Aug 2023 20:27:52 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691432872; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=sT50h194dOqSHuI+iCz9Tdx1ZeHOa5+zC64sYoGTw4Y=; b=MP88IvoYta+ekULlVNBgwIKW6woMWba6GGS9hUd80lOhpPsdsMyQ/czKyTgtborVJsm82e Vy1+ul+8Ubf8kaAW/fDfyNjKzqxAD954+GMGPdo+fW3U5BI6VQELFgfBxmXpa14NkZOA0p tBQs3cegl+rwyYRZLzQhZxTYgsyofcQkvIvWZ/0/OjK9/ktHni22PMLlaRDgErSTR5aF96 llGuYuWKzruEA+5Poj8muJu1rQIEfWv/JH9mg+lIx6Upns7fQTOugbxgbu3AadIYhCi7HI uMjn10Zs3M0u4gDoQRtZKzCKPIycII4eyQYYMnfCXJGop8L37qkTWW1ypJEKsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691432872; a=rsa-sha256; cv=none; b=KxZ4BjckImt6Duxnk51aJjH60lmQ/alTTeJLznyBu2PgTNKxKaBnrj0PUKcEyT2qSHCOCf iwASENnL/dAaskMjfhgqMmYYYr6Ncb7pOCYAJBbjG/lc0IRCWXn2KFBvqKvdmDS5rI+73P SDKHfvFkCRPDxFt0ZxRE+2pfOkvgs9SMKExKE80m1qXY+LlSiwTonvIXK56vy8mcn90X5v bH5yd33XS5durrw1a/VSsp0rgsnMuazx1xORTRiwLINeO186ZESrN7FI4EORd5FWYE5sq4 yLo3vUYjJ3B62WhVV5WxAX/4mB2MRBfCK8XfR4RMRqKnLJCTnzngLh3mVEXs7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qT4wb-0000wB-6T; Mon, 07 Aug 2023 14:27:05 -0400 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 1qT4wZ-0000ti-5o for guix-patches@gnu.org; Mon, 07 Aug 2023 14:27:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qT4wY-00043N-Tj for guix-patches@gnu.org; Mon, 07 Aug 2023 14:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qT4wY-0005jU-PG for guix-patches@gnu.org; Mon, 07 Aug 2023 14:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65131] [PATCH 01/32] gnu: Add ruby-excon. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Aug 2023 18:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65131 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65131@debbugs.gnu.org Received: via spool by 65131-submit@debbugs.gnu.org id=B65131.169143280621902 (code B ref 65131); Mon, 07 Aug 2023 18:27:02 +0000 Received: (at 65131) by debbugs.gnu.org; 7 Aug 2023 18:26:46 +0000 Received: from localhost ([127.0.0.1]:34241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qT4wI-0005hB-6N for submit@debbugs.gnu.org; Mon, 07 Aug 2023 14:26:46 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:59187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qT4wG-0005gt-2l for 65131@debbugs.gnu.org; Mon, 07 Aug 2023 14:26:44 -0400 Received: from hermia.goebel-consult.de ([79.211.183.123]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MgNlH-1ptB571X8p-00hrdJ for <65131@debbugs.gnu.org>; Mon, 07 Aug 2023 20:26:38 +0200 Received: from thisbe.goebel-consult.de (thisbe.fritz.box [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id ADE5B66E91; Mon, 7 Aug 2023 20:26:36 +0200 (CEST) From: Hartmut Goebel Date: Mon, 7 Aug 2023 20:26:05 +0200 Message-Id: <1a164f28a7bb085ca362c245f644c30085644125.1691432343.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.9 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:BnGzO+Oo4KAKz0G+QP5RUsau++c1V9bab6xti3QwjtgGCk8VMfK EiLGtYJBCJ8kxRC0w3u+5cKR5Jj0kRPhMGxcFl0NsQ+6xjgnl1KdIlKclKkiXl4jt0E582d 291BB62r9e7Xxb4Jhyi4EZnMA5XZ9D7Dq0ccDkKZW7YmVEvn+tLFbxQbxsZ2lkF4jHq5p90 lw4lDHA1hG6MzWZriIS5A== UI-OutboundReport: notjunk:1;M01:P0:CPIj3Kkuaow=;cKj+ooPZzrIMBZ6m7RWS1y4ai+/ z4rcfmOWGV4Ogci8iYWrEg1ClnFUZWuQQqTvs2WCbKUWEAljTPBGahlQ75Pk5Nhuk2FGKw9S2 he0LHBjCxLv4R6Y/Si+X3qRzuxUUTzSN5aS/ffPE06FcwzwCIBCwTY6q7GqOW8PK9n7PXZFuB yaOTIPalfkp7ZjrDKUM5P3ahCqu7GjyQAhAX+d4/hP63Ufq7ItY/rG2zwC6uOpNf5n/KhE9kT 2aQzR3kK4W9ziHEPZEksGatzwzmbk7aVKi1AOZDfDACH+cGpnsNMEvh5kdp1a7BP5Rk0z94JD FBGSgnXbbmuzlq9Iz02vC1ZAriitX79AcSEsNmR0qeM/FZb3PPs7Q3ZgPvJ3JKLJy4D14EMnv d8g/9RJbqDrjdG7uWHRgDVl5JpX/KWLypTHHiMt71vdjDejcpEk+/Z83jcPCMZBgan9xGpQJ5 ESmViOHNi7gXW0ccvCvAxysVnN7DdAAnnZvJqnu5jKYATPtMdI3U/qOB3cJM//7eraBaLujEj BzC48rEOQ0F1TOWOPRRrypG7/xxrxUlzUGvX9tl9Ps0oD4IoepCjkoCeu7IUcw0/fgOHM4X5L pFTaMtFUPcG1nC3tE3ysxFw/UueT7GwFX4OjoL2iq9a/VbtSGpsbJ6m7Ju9LETLrb0kJs6l5Y XJVYBHYPuYX5KbXE5YhYl8MSsCQ6byBFqIZ73UT0+jLnW+pDnOr6QwAj6H5W7j910eMs96EAx qeGB078D8wRJPew2yf/YJJRo+TZmp+GTByDpdzeD9wbQDl5u9VNcwqBlNNYwMIrEdfHkozYSC tfnEv53aewL5FFQkduCQqQ8Loir/B89CdDLwa1cNmaNvZf1CDXnvxLAo4sDXC0fCeWH1A9Evg nI46tqNn5B4oGGy21ndeL7i429aJMbyhN8aM= 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 090056AC81 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.16 X-Spam-Score: -5.16 X-TUID: QgTj9+3Flt7S * gnu/packages/ruby.scm (ruby-excon): New variable. --- gnu/packages/ruby.scm | 48 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index e0dca646ac..e3bb5bf5ed 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -34,6 +34,7 @@ ;;; Copyright © 2023 Yovan Naumovski ;;; Copyright © 2023 gemmaro ;;; Copyright © 2023 Janneke Nieuwenhuizen +;;; Copyright © 2023 Hartmut Goebel ;;; ;;; This file is part of GNU Guix. ;;; @@ -13774,6 +13775,53 @@ GFM dialect to HTML.") parser for writing http servers, clients and proxies.") (license license:expat))) +(define-public ruby-excon + (package + (name "ruby-excon") + (version "0.100.0") + (source (origin + (method git-fetch) ;for tests + (uri (git-reference + (url "https://github.com/excon/excon") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "158p9z0jk6042ambqdc68qh5n5j58c2w19hc32aa1d045l45pagh")))) + (build-system ruby-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'replace-git-ls-files + (lambda _ + (substitute* "excon.gemspec" + (("`git ls-files -- data/. lib/.`") + "`find data lib -type f`")))) + (add-before 'check 'disable-server-spec-checks + (lambda _ ;; TODO: Remove this if ruby-unicorn is available. + ;; Some of the tests in this file require ruby-unicorn, which is + ;; not yet packaged for guix and would pull in a lot of other + ;; dependencies. + (delete-file "spec/excon/test/server_spec.rb")))))) + (native-inputs + (list + ruby-activesupport + ruby-eventmachine + ruby-json + ruby-open4 + ruby-puma + ruby-rspec + ruby-shindo + ruby-sinatra + ruby-webrick)) + (synopsis "Usable, fast, simple Ruby HTTP 1.1") + (description "Excon was designed to be simple, fast and performant. It +works great as a general HTTP(s) client and is particularly well suited to +usage in API clients.") + (home-page "https://github.com/excon/excon") + (license license:expat))) + (define-public ruby-em-websocket (package (name "ruby-em-websocket") -- 2.30.9