From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0CmVAhqK3mLehAAAbAwnHQ (envelope-from ) for ; Mon, 25 Jul 2022 14:18:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GIV1ARqK3mI6EAEAG6o9tA (envelope-from ) for ; Mon, 25 Jul 2022 14:18:34 +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 A14F51331A for ; Mon, 25 Jul 2022 14:18:33 +0200 (CEST) Received: from localhost ([::1]:46852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFx2e-00071p-Px for larch@yhetil.org; Mon, 25 Jul 2022 08:18:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFx2B-0006xp-IP for guix-patches@gnu.org; Mon, 25 Jul 2022 08:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFx2A-0005Dt-8k for guix-patches@gnu.org; Mon, 25 Jul 2022 08:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFx2A-0002se-4q for guix-patches@gnu.org; Mon, 25 Jul 2022 08:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56759] [PATCH 01/20] gnu: Add ruby-wapiti. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Jul 2022 12:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56759 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56759@debbugs.gnu.org Cc: Philip McGrath Received: via spool by 56759-submit@debbugs.gnu.org id=B56759.165875144410910 (code B ref 56759); Mon, 25 Jul 2022 12:18:02 +0000 Received: (at 56759) by debbugs.gnu.org; 25 Jul 2022 12:17:24 +0000 Received: from localhost ([127.0.0.1]:49383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFx1Y-0002pt-4B for submit@debbugs.gnu.org; Mon, 25 Jul 2022 08:17:24 -0400 Received: from mail-qv1-f51.google.com ([209.85.219.51]:40552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFx1U-0002pf-OG for 56759@debbugs.gnu.org; Mon, 25 Jul 2022 08:17:22 -0400 Received: by mail-qv1-f51.google.com with SMTP id i4so8239576qvv.7 for <56759@debbugs.gnu.org>; Mon, 25 Jul 2022 05:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=I6yoy1iC/cab/TBpls+x1+KDkn4JQf2rP4/JVqSlJeA=; b=gVHOK39vVSgBwAj48RdawTRDAq0PxSTNnLgVC0K/NjmIuwwZlKawvGPoLmmj+ME3Vj XkfnZ9yXdKwNWBBGLFrc5BNq5SffVaFsxCzNQOHhbURbHEbFFD4jK+KuezvgvMP9JG2L RDFsCOZkpVzdhx10t8/ThXjULezakY8iZZ/8B0ktib8qB434Nc4uUChe0LCFEtRfinz4 MacmXIzmWxs9zQAqhn6FgBhR87DV7QVaJGLfokmTLdb7wz0KoVLO34Li63NP9CYd12jF 10WIN0hO3HVO+R7QYoDoxOLq+f/M7sCMsKuk+lbauUCZiFGkD0bNg38SuHV99G6v24h/ fTXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=I6yoy1iC/cab/TBpls+x1+KDkn4JQf2rP4/JVqSlJeA=; b=NqPNBr43tfP9IA3+oj7NGuBiMuvIECdwHZwnYQ2YU5e2lxbk9J/iX0+N4yh0uZPpNW ZNBWbmIKiHCFKQlwE42iq3zGA2NJMmpOJQf5KKjIeM4EDiCWOfTpmXDnE0drQxdR63SM MnknwwL53+FKKoq0LZ/uc9LnxQJSTLTkXTrCDl97KCP+3e2WkmUldPgRwfNqYjyVR6b2 m6fBYnv1xhiMxs1gKHeRc2nC6DHt6aL4NWY+URjwDGOQ0zi+yqJI8B4GUeFx7AF9qkMQ PqsoRKBxKnSO0XUP7VGfXChjJYcdCJtdV9u7JQ91YBTZN1dHgc++cwa8y0XHLGqnqSwQ 5Dkg== X-Gm-Message-State: AJIora/oTVmAGny9vBfXRr6o8MVWRw9IsJ1eD3Qg68XacF5eclRTaYIc 6R01GiTovuN37oMSzSKZ4yFCrxPW3W3JC776 X-Google-Smtp-Source: AGRyM1vMDSaMkkTm38/2OAqyeWE8emAS8Pmuxj2BeSTqc6OKna+dAzrn8Xza2gbuGFGNrpfJt26sbg== X-Received: by 2002:ad4:5cc4:0:b0:474:9e1:9f5b with SMTP id iu4-20020ad45cc4000000b0047409e19f5bmr9991820qvb.129.1658751434883; Mon, 25 Jul 2022 05:17:14 -0700 (PDT) Received: from localhost (c-73-125-98-51.hsd1.fl.comcast.net. [73.125.98.51]) by smtp.gmail.com with UTF8SMTPSA id dm53-20020a05620a1d7500b006af0ce13499sm9137229qkb.115.2022.07.25.05.17.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Jul 2022 05:17:14 -0700 (PDT) From: Philip McGrath Date: Mon, 25 Jul 2022 08:16:16 -0400 Message-Id: <666dd566788cc1eda22fc49bcee8a32f17f26627.1658750358.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658751513; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=I6yoy1iC/cab/TBpls+x1+KDkn4JQf2rP4/JVqSlJeA=; b=u8VDKLjYBvQv8FRZviZzimIFKoSMN8AzLPxu+6OIzIIeo50qvcBu8CZtBooT0TtNhsHamq +bpV9beRG/CTaFhsrQYBeAiX4X8ib3P6I4VewIZ7BdmauhOIJYgNJCldcOD1xqLZBlUZY+ BwxsKDpDEV+SRviN0jOX42Nn8YRoTUjRJEBYwR79Xmwk1sN3nhVB3O9eDsy95kD0bO3gkF R9Lg4DOLz8ct/oTYvtp97RrmkO1BgENqiWKWJUPEGFtd0bsWX9QHOoQoPGg7t4oQ4AxPMh Yb7hAhCOxCx5ThbGBssNSY4+cYtR9AxAMJVb6CtYUt0N6312i6FRCgL4a6gARw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658751513; a=rsa-sha256; cv=none; b=qQLrLBqP5emk2XkKwjuRooSOMQUE++KJ2OTgZvpU/N+U4RH0GclyLKX770j8Hg34TLNsB0 EDxXqBSCAnDA6rlS2STjtu+AUhKFHAwKuSdaEww2xc7CBw2jrF8+m2Xf5vlu0wBbI4KBg1 Ap/ikZh9I5sEEeOtfuvdsNxHSZKeJteoay16U2HeYsVJORfpm+XdspQPQXJ5uKQCBz+zgq C60+HQAzJQARKcUf1OjAblMs/p0dqlmlOEA1CQiiiLai8xRFeR/LUSluJPo36zV4MD/CwI kjII6Fk6Adqtkap7CCooPCs8MIvTCHDoJQ/DjXA443N7AlDfZFd/tb0iU7cFtA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=gVHOK39v; dmarc=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" X-Migadu-Spam-Score: 2.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=gVHOK39v; dmarc=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" X-Migadu-Queue-Id: A14F51331A X-Spam-Score: 2.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: rA+0iNwvnzm/ * gnu/packages/ruby.scm (ruby-wapiti): New variable. --- gnu/packages/ruby.scm | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index c1e3dca807..9a75118946 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -28,6 +28,7 @@ ;;; Copyright © 2021 EuAndreh ;;; Copyright © 2020 Tomás Ortín Fernández ;;; Copyright © 2021 Giovanni Biscuolo +;;; Copyright © 2022 Philip McGrath ;;; ;;; This file is part of GNU Guix. ;;; @@ -12984,3 +12985,48 @@ (define-public ruby-blather (description "Blather is a XMPP DSL for Ruby written on top of EventMachine and Nokogiri.") (license license:expat))) + +(define-public ruby-wapiti + (package + (name "ruby-wapiti") + (version "2.0.0") + ;; the gem archive lacks tests + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/inukshuk/wapiti-ruby") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1kawqw45j7mqk5zmwbn67x1vxiapdgm2ypqqz2bs9l5s7nglzr5b")))) + (build-system ruby-build-system) + (propagated-inputs + (list ruby-builder + ruby-rexml)) + (native-inputs + (list ruby-byebug + ruby-pry + ruby-rake-compiler + ruby-rspec + ruby-simplecov)) + (arguments + (list + #:test-target "spec" + #:phases + #~(modify-phases %standard-phases + (add-after 'replace-git-ls-files 'replace-another-git-ls-files + (lambda args + (substitute* "wapiti.gemspec" + (("`git ls-files spec`") + "`find spec -type f | sort`")))) + (add-before 'build 'compile + (lambda args + (invoke "rake" "compile")))))) + (home-page "https://github.com/inukshuk/wapiti-ruby") + (synopsis "Wicked fast Conditional Random Fields for Ruby") + (description + "The Wapiti-Ruby gem provides a wicked fast linear-chain @acronym{CRF, +Conditional Random Fields} API for sequence segmentation and labelling. It is +based on the codebase of @url{https://wapiti.limsi.fr, Wapiti}.") + (license license:bsd-2))) -- 2.32.0