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 4Ja/ACyK3mKccQAAbAwnHQ (envelope-from ) for ; Mon, 25 Jul 2022 14:18:52 +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 4K+mACyK3mLILAAA9RJhRA (envelope-from ) for ; Mon, 25 Jul 2022 14:18: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 B5EDC1C15E for ; Mon, 25 Jul 2022 14:18:51 +0200 (CEST) Received: from localhost ([::1]:47762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFx2w-0007f8-PF for larch@yhetil.org; Mon, 25 Jul 2022 08:18:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFx2E-00070n-2r for guix-patches@gnu.org; Mon, 25 Jul 2022 08:18:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFx2D-0005F8-PK for guix-patches@gnu.org; Mon, 25 Jul 2022 08:18:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFx2D-0002tu-LR for guix-patches@gnu.org; Mon, 25 Jul 2022 08:18:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56759] [PATCH 09/20] gnu: Add ruby-bibtex-ruby. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Jul 2022 12:18:05 +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.165875148411131 (code B ref 56759); Mon, 25 Jul 2022 12:18:05 +0000 Received: (at 56759) by debbugs.gnu.org; 25 Jul 2022 12:18:04 +0000 Received: from localhost ([127.0.0.1]:49414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFx2B-0002tF-SS for submit@debbugs.gnu.org; Mon, 25 Jul 2022 08:18:04 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:34764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFx27-0002rm-4c for 56759@debbugs.gnu.org; Mon, 25 Jul 2022 08:18:01 -0400 Received: by mail-qt1-f170.google.com with SMTP id e5so8040319qts.1 for <56759@debbugs.gnu.org>; Mon, 25 Jul 2022 05:17:59 -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=Hi91072bXbtKgTeGS538OSNYv2ZDXNw6EH2o8CrME4g=; b=VcvXXekJw6NtuIcoPBl6cAjIEBs3WmaGznARGtWToPHP/wqoL3s61S1GPOhi4PtilT 6UXseIvBStNZXcou5YEOOxrWHB66SMggNusJ1dkKdDainuGOgSYUNZR8Ipbz11PtvJMb tbz5Z2lPxRqHy9HiVPpqt3fyawzXXec3nMoeCjf6f5ICL1Aw5850Qre/2pt0q0txkqQa iBZHGghwHNcHgUc2L/SxmD5c+20x20qe+iHH6z3Ff4Bx3FqK7zuvLSPlRLntNZt3hzhB li1nHXptTdNyAQUZxgnBbyZ87QGFXQrTvHxkNjRIMKAG35a7xreNdonEllTu0+g0TjVx JoPw== 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=Hi91072bXbtKgTeGS538OSNYv2ZDXNw6EH2o8CrME4g=; b=HDZwZpyNs2cCXJYrsg0uxgv79FDvk7fssdosevPWtDI0rNiDPRET7riHhg/k3tGQru q//+XGmb8CHO1JuEAXdd8rxPNdWtno0MZ0/4sDKIaOZCoXWdUNd+83XTDya/lYMeq8s+ 8BfIY+sVijoe1WwzhVgDn7I4R2cRyC12rtWrkuDe6SKGzAdG+42hKXImybBu49GVCWAh R94niGTbrHLL+Zah1C3ysRpLGdgg58jHqwoEi2l/UM4r3Rkdu9aiwKzcIsLy1hCl/N40 Mg15805YcYrRcSFqbZIInkyhuK9gL/QbMJeyPkoSjaYij5NHb76bwaFZzu9/Uxw4bHE/ S9rg== X-Gm-Message-State: AJIora+zAK+H+NYyWBq2p7jf2IGPE4ynrtiJhdZpEGbCKvVWV05J0d6k Nxv1JL3mAcXgi42ZmGjmWZWdfcZ9LA6ilNIP X-Google-Smtp-Source: AGRyM1so6wFidY4eBMYiuUktVfBn+x4d1S//5QNerQRqlrE96NgeoBg7Q+pa3jQEbuyBfsD2vuRKWg== X-Received: by 2002:ac8:5983:0:b0:31f:2161:26f6 with SMTP id e3-20020ac85983000000b0031f216126f6mr10117782qte.237.1658751473579; Mon, 25 Jul 2022 05:17:53 -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 u7-20020a05620a454700b006b5ee4de4fbsm8964201qkp.37.2022.07.25.05.17.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Jul 2022 05:17:53 -0700 (PDT) From: Philip McGrath Date: Mon, 25 Jul 2022 08:16:24 -0400 Message-Id: <9dec20822de0192c8add11fbd619261f6db71172.1658750358.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 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=1658751531; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=Hi91072bXbtKgTeGS538OSNYv2ZDXNw6EH2o8CrME4g=; b=DDACKnlEjPySEFQxKHeshnz1wazrZhc+AMtDVEBeCYObs/QKBRXgBWRyl29xwTMlI+qeEX SK5xu/XxEQpI22tJiGAUmbyWwfc6UnyP0PZMLMwxogsDcts3HuB9q5RrYIdx0OwwtAmH3u PE7eFqQFFkdh53KipGcGn+nALNebnuQC6TdK1JO0hlO5RgkbTGFaCljIvWgufM7u0CQ3H2 FhkcqsZ6yE/2ssa5xkWTkrt8ACsgduSGA2uy64VQtBqNcHc93UrcwulLDs1Ipbz3FAUw7J Dj9GXIbe7vElBAwDjPccCDCJZVrwav2xbmPPuwAle0tqm9ZjI6bLdmV6e2JB7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658751531; a=rsa-sha256; cv=none; b=UBltC+V5KcVctdzeEPLl1NBAQ4xwu4fKmO6jRs36D2NViJz86wnh/yrZ1FtoSokW3QRK4S ZE6ml7MO71tkN8bsEiHF/QIVDbjAkDIrotXtpoqXH65Q+9EMez6sk7mpkpd1tt/qOedIoW OxvwLcxp0Hj4HJd85soEhJICH204Mqmy0nqHZxGzVYeM4VNWAZPr8WK8HrYx781ThuqItf ZV0i7TPobzRQ2fmFo2cd5sNcqwE7XVpI/ODFE0BiWlJ08n7ML0/Bob4yi3j8SKrr1ksrfJ 4YLv6UsBSIxpkenfH/yOPMeECBa8uAILI2UAzuqlp6uf9x7Th3SSEYYmueAuWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=VcvXXekJ; 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: 3.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=VcvXXekJ; 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: B5EDC1C15E X-Spam-Score: 3.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: ChaubjbXV9G5 * gnu/packages/ruby.scm (ruby-bibtex-ruby): New variable. --- gnu/packages/ruby.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 9cf5b531fb..f0f7703b32 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -13226,3 +13226,46 @@ (define-public ruby-rdf-vocab "This gem extends @code{ruby-rdf} with several common @acronym{RDF, Resource Description Framework} vocabularies.") (license license:unlicense))) + +(define-public ruby-bibtex-ruby + (package + (name "ruby-bibtex-ruby") + (version "6.0.0") + (source (origin + (method url-fetch) + (uri (rubygems-uri "bibtex-ruby" version)) + (sha256 + (base32 + "0vynqa8q9hwghw6sdljr304b5gh11nqzy5nwqqwxmgy7pqyf7qw5")))) + (build-system ruby-build-system) + (propagated-inputs + (list ruby-latex-decode + ruby-rdf + ruby-rdf-vocab)) + (native-inputs + (list ruby-byebug + ruby-cucumber + ruby-minitest + ruby-yard)) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'extract-gemspec 'avoid-bundler + (lambda args + (substitute* "Rakefile" + (("require 'bundler" orig) + (string-append "# " orig " # patched for Guix")) + (("Bundler\\.setup" orig) + (string-append "true # " orig " # patched for Guix")))))))) + (home-page "https://github.com/inukshuk/bibtex-ruby") + (synopsis "Rubyist's Swiss Army knife for all things BibTeX") + (description + "BibTeX-Ruby is the Rubyist's Swiss Army knife for all things BibTeX. +It includes a parser for all common BibTeX objects and a sophisticated name +parser that tokenizes correctly formatted names. BibTeX-Ruby recognizes +BibTeX string replacements, joins values containing multiple strings or +variables, supports cross-references, and decodes common LaTeX formatting +instructions to unicode. If you are in a hurry, it also allows for easy +export/conversion to formats such as YAML, JSON, CSL, and XML (BibTeXML).") + (license license:gpl3+))) -- 2.32.0