From patchwork Sun Feb 21 13:39:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: rdes X-Patchwork-Id: 27185 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 0800727BC48; Sun, 21 Feb 2021 13:40:33 +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_SIGNED, FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3, 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 6F6C427BC49 for ; Sun, 21 Feb 2021 13:40:31 +0000 (GMT) Received: from localhost ([::1]:54836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDoyM-0007sp-G5 for patchwork@mira.cbaines.net; Sun, 21 Feb 2021 08:40:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDoxu-0007lH-GG for guix-patches@gnu.org; Sun, 21 Feb 2021 08:40:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42153) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDoxu-0003xu-7O for guix-patches@gnu.org; Sun, 21 Feb 2021 08:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDoxu-0003K3-3E for guix-patches@gnu.org; Sun, 21 Feb 2021 08:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46685] [PATCH] started whatweb Resent-From: rdes Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Feb 2021 13:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46685 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46685@debbugs.gnu.org X-Debbugs-Original-To: rdes via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.161391477812733 (code B ref -1); Sun, 21 Feb 2021 13:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Feb 2021 13:39:38 +0000 Received: from localhost ([127.0.0.1]:53699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDoxN-0003JB-2j for submit@debbugs.gnu.org; Sun, 21 Feb 2021 08:39:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:55510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDoxJ-0003J1-Ji for submit@debbugs.gnu.org; Sun, 21 Feb 2021 08:39:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDoxJ-0007Q5-1l for guix-patches@gnu.org; Sun, 21 Feb 2021 08:39:25 -0500 Received: from mail-40130.protonmail.ch ([185.70.40.130]:45212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDoxE-0003fg-5H for guix-patches@gnu.org; Sun, 21 Feb 2021 08:39:24 -0500 Date: Sun, 21 Feb 2021 13:39:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1613914753; bh=lrewBsT5t8BxMXQSOElXJ7jlnD+UnG3knawTuwBuqkA=; h=Date:To:From:Reply-To:Subject:From; b=NQC0SWwnW99W/AbhfkeAbEAE5N8NKm2YYgYjOl0MfZ5ncthttDTJpQiTa8ROjvrcM +59vpFM7hyZ+s+juXuq9Q8SiOrg62KCP0ULc9whxByxSe4XnW3UWYIpn47+PXA+nUW mI4RQ89K0wjSK3ChB6FOb883QFFWeW2ZvUf+mjNQ= Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.130; envelope-from=rdes@protonmail.com; helo=mail-40130.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-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" Reply-to: rdes X-ACL-Warn: , rdes via Guix-patches X-Patchwork-Original-From: rdes via Guix-patches via From: rdes X-getmail-retrieved-from-mailbox: Patches Hello, I've attached the following patches looking for feedback on how to resolve the following error I get when running `./pre-inst-env guix build whatweb`. #+begin_example starting phase `replace-git-ls-files' Backtrace: 8 (primitive-load "/gnu/store/dznkg7ciirpr9crslkn73cql4mk…") In ice-9/eval.scm: 191:35 7 (_ _) In guix/build/gnu-build-system.scm: 838:2 6 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #) In ice-9/boot-9.scm: 1736:10 5 (with-exception-handler _ _ #:unwind? _ # _) In srfi/srfi-1.scm: 857:16 4 (every1 # …) In guix/build/gnu-build-system.scm: 847:30 3 (_ _) In guix/build/ruby-build-system.scm: 72:2 2 (replace-git-ls-files #:source _) 45:8 1 (first-matching-file _) In ice-9/boot-9.scm: 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: No files matching pattern: "\\.gemspec$" #+end_example Also, I wasn't sure if bundler-audit should be named ruby-bundler-audit. The bundler package didn't start with 'ruby-' so I left it off for bundler-audit as well, but can change it if it's wrong. Both 'bundler-audit' and 'ruby-ippaddr' can be built without issues. Thanks, Ryan Desfosses Sent with [ProtonMail](https://protonmail.com) Secure Email. From 97dff6693bf8bcda97189a3595e21997c1790e89 Mon Sep 17 00:00:00 2001 From: Ryan Desfosses Date: Sat, 20 Feb 2021 14:06:53 -0500 Subject: [PATCH 1/3] gnu: Add ruby-ippaddr * gnu/packages/ruby.scm (ruby-ipaddr): New variable. --- gnu/packages/ruby.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 6c9583b3cf..ecca0b8bf4 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12139,3 +12139,28 @@ multiple adapters, various log level combinations and message formatting options.") (home-page "https://github.com/rudionrails/yell") (license license:expat))) + +(define-public ruby-ipaddr + (package + (name "ruby-ipaddr") + (version "1.2.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ruby/ipaddr") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0df6y3k42ylaacfwyrpfs2z5bhz09fypvz8dw8s96h934y5swyph")))) + (build-system ruby-build-system) + (native-inputs + `(("ruby-rake" ,ruby-rake) + ("rbundler" ,bundler) + ("ruby-test-unit" ,ruby-test-unit))) + (synopsis "Class to manipulate an IP address") + (description "IPAddr provides a set of methods to manipulate +an IP address. Both IPv4 and IPv6 are supported.") + (home-page "https://github.com/ruby/ipaddr") + (license license:bsd-2))) -- 2.30.1