From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AFDlJAmK3mJvvAAAbAwnHQ (envelope-from ) for ; Mon, 25 Jul 2022 14:18:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wMbMJAmK3mKP9AAA9RJhRA (envelope-from ) for ; Mon, 25 Jul 2022 14:18:17 +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 526EC1C14C for ; Mon, 25 Jul 2022 14:18:17 +0200 (CEST) Received: from localhost ([::1]:46804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFx2O-0006yt-41 for larch@yhetil.org; Mon, 25 Jul 2022 08:18:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFx2B-0006y6-Uh for guix-patches@gnu.org; Mon, 25 Jul 2022 08:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFx2B-0005E9-Ky for guix-patches@gnu.org; Mon, 25 Jul 2022 08:18:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFx2A-0002sl-H7 for guix-patches@gnu.org; Mon, 25 Jul 2022 08:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56759] [PATCH 02/20] gnu: Add ruby-namae. 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.165875145210936 (code B ref 56759); Mon, 25 Jul 2022 12:18:02 +0000 Received: (at 56759) by debbugs.gnu.org; 25 Jul 2022 12:17:32 +0000 Received: from localhost ([127.0.0.1]:49386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFx1g-0002qK-H9 for submit@debbugs.gnu.org; Mon, 25 Jul 2022 08:17:32 -0400 Received: from mail-qv1-f43.google.com ([209.85.219.43]:44954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFx1e-0002q2-WF for 56759@debbugs.gnu.org; Mon, 25 Jul 2022 08:17:31 -0400 Received: by mail-qv1-f43.google.com with SMTP id b11so3684454qvo.11 for <56759@debbugs.gnu.org>; Mon, 25 Jul 2022 05:17:30 -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=lOhDGrLQ3vMGuLfmnaiZczYrGqNC+r6vocgVj7Wz80Q=; b=hmuxjdH16oMZzz2UXOyzVpIi06LuHcD0Wm9k2xGxmeG/qxX/7SA7IOAbHVyHlHlcQ1 /69sZTlZsPCEtSUBEpabUAP0FQcjyJMhUByCQw4/iy26VPBiIpt2W/ZhzI/RuYfQXdcI LJdnkhfBGEhAU6LGfa7QFhLnkM++F76Lo8xilshvwEohgxytlQ39UHbEAEUkuGRFeszh cWFjvMSKeZnrPq5M17nVPpnJxmi9tkNGfKSgBhsxlECBw3Faa9nIj8ii9IUnMToiv1pe 22xE8k0ln3PBd9jnwrK1KLhPHYK+fF056P5SnotbvlMmNbG7EWNUx3IvQTkQjbONf6s0 fO4A== 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=lOhDGrLQ3vMGuLfmnaiZczYrGqNC+r6vocgVj7Wz80Q=; b=qzZ956VPGi/henvwgINTAoJyiS5s3ETASUMWu0rD71Wf56U6ZBL795wlDRVwRrzwUr sAesY/dk4blA2W9dhZ6ZioetR2Rs5ELHkdi4AChI8DNPJEaBfONQTe1S1bAMPfRFsJBD iTYyBDAQnABtL/1Azn9KqwVUWQ4ekSjM9T2NE/CZV/gm9C49Hclc5A1xplTpFB+mY1zY PLP73L72ihAlqIXcqfdP6LP5/ESIOyhkivxAU9y2XTqr/3zOyCdYDiPugI0+XRa6FDBe 0F3f+54opBp6oWrILv1ahUOW75Lg9l7uJ+4gcbMSWlQ1JblDFWABCRlhYZt/qB3wipeJ moVw== X-Gm-Message-State: AJIora9iTWK6vPmP3uvtLeX/eLUF4wursA8WyBAfuRgVudDkg6Ae+xlz YDPY4pcFlmXJz4bJIxvGfMAB76ht+8EnhX3J X-Google-Smtp-Source: AGRyM1uh2UDBy7HE1SEX4a3gB2MOmGAlFFg2ZQwiE9QS+PSFomiMGwS1z/sNlUlP6Wg18RPNfODAsQ== X-Received: by 2002:ad4:5964:0:b0:474:fb6:13e4 with SMTP id eq4-20020ad45964000000b004740fb613e4mr10242053qvb.7.1658751445082; Mon, 25 Jul 2022 05:17:25 -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 u13-20020a05620a0c4d00b0069fe1dfbeffsm9095550qki.92.2022.07.25.05.17.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Jul 2022 05:17:24 -0700 (PDT) From: Philip McGrath Date: Mon, 25 Jul 2022 08:16:17 -0400 Message-Id: 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=1658751497; 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=lOhDGrLQ3vMGuLfmnaiZczYrGqNC+r6vocgVj7Wz80Q=; b=CcMJvFKBGNP0nNGCGRAd764RweYcOZT+nl3A7J/saZ7xd2GpF1aEu/RMDaHZ3t9tbkeWSC 2THa3ugU309/pgUXHd/0MDDIO+9exX8Q28XUpHthOhkvtW0gSumHonhAxosZRwdp+25TPp Ewe2QO0Sz/qJHtvzUd0I41EykeGzxZJ+hehfjDwjgz3sFNmJcOLJWHLmgKmwC0tD0Gv3Ps OmnBEj8mQBcxFVhi5R/4ipYbB4QV9XKpWKutuYMPL1Z2Rlss1n50r5iiUr2noJyTkjFklC a8wnTdaRYAGPuVmbHPS8GsalypNiTfqHjT78s2mxlylEwCUmzpUXrss0tlgp7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658751497; a=rsa-sha256; cv=none; b=os3kZnElEqGpPv4pLwU64oyRlvq5LFMqPuI4i9LGXoVxbwuiEPPo0u/IhJq4+LhgPI2Op2 I1U4H7dKWcqPWJu2VrTR6/NeIP3ZEYIQQoX44g9zEmUCWUlRdsXXZO8grhDPWQU9PAzeL6 xVrpBcaaZTKSALSWyBVdfcci4jKI6O1VfLssFXZyVsCIJyM7RWpFgwvAttCgs+S4wXmRpZ iyk8Tnuam3nQCEIc9DfH9wofzcQnxZPIsuI9oahYJzvTnsm/+UEy/L7VwUX2Qmd7mXYj97 mE3py2LCh9DXlGv/uVa6NdQAIB/6KGkvgzwg6A8lrkpMg8jtO8g1HKLwzcVm2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=hmuxjdH1; 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=hmuxjdH1; 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: 526EC1C14C X-Spam-Score: 2.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5Tyy19QzRG6+ * gnu/packages/ruby.scm (ruby-namae): New variable. --- gnu/packages/ruby.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 9a75118946..2f47d898db 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -13030,3 +13030,42 @@ (define-public ruby-wapiti 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))) + +(define-public ruby-namae + (package + (name "ruby-namae") + (version "1.1.1") + (source (origin + (method url-fetch) + (uri (rubygems-uri "namae" version)) + (sha256 + (base32 + "1j3nl1klkx3gymrdxfc1hlq4a8qlvhhl9aj5v1v08b9fz27sky0l")))) + (build-system ruby-build-system) + (native-inputs + (list ruby-cucumber + ruby-rspec + ruby-simplecov)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'extract-gemspec 'allow-newer-cucumber + (lambda args + (substitute* "Gemfile" + (("'cucumber', '[^']*'") + "'cucumber'")))) + (replace 'check + ;; Avoid 'rake' so we don't need jeweler. + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (apply invoke + "rspec" + (find-files "spec" "_spec\\.rb$")))))))) + (home-page "https://github.com/berkmancenter/namae") + (synopsis "Parser for human names") + (description + "Namae (名前) is a parser for human names. It recognizes personal names +of various cultural backgrounds and tries to split them into their component +parts (e.g., given and family names, honorifics etc.).") + (license (list license:bsd-2 license:agpl3+)))) -- 2.32.0