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 2Em6GTo0gWKnTAEAbAwnHQ (envelope-from ) for ; Sun, 15 May 2022 19:11:22 +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 CPu2GDo0gWKQ+wAAG6o9tA (envelope-from ) for ; Sun, 15 May 2022 19:11:22 +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 C8EE7106EC for ; Sun, 15 May 2022 19:11:20 +0200 (CEST) Received: from localhost ([::1]:58346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqHm0-0005lO-PB for larch@yhetil.org; Sun, 15 May 2022 13:11:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqHlm-0005kf-CJ for guix-patches@gnu.org; Sun, 15 May 2022 13:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqHlm-0000Y2-0y for guix-patches@gnu.org; Sun, 15 May 2022 13:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqHll-0004P8-TH for guix-patches@gnu.org; Sun, 15 May 2022 13:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55381] [PATCH 05/14] gnu: Add r-unglue. Resent-From: Kyle Andrews Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 15 May 2022 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55381 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 55381@debbugs.gnu.org Received: via spool by 55381-submit@debbugs.gnu.org id=B55381.165263465616918 (code B ref 55381); Sun, 15 May 2022 17:11:01 +0000 Received: (at 55381) by debbugs.gnu.org; 15 May 2022 17:10:56 +0000 Received: from localhost ([127.0.0.1]:50559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqHlf-0004Oo-V8 for submit@debbugs.gnu.org; Sun, 15 May 2022 13:10:56 -0400 Received: from mout01.posteo.de ([185.67.36.65]:43935) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqHld-0004OX-Is for 55381@debbugs.gnu.org; Sun, 15 May 2022 13:10:54 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 706DF240027 for <55381@debbugs.gnu.org>; Sun, 15 May 2022 19:10:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1652634647; bh=9doSpWglyvtH9ct0FLshFh1Xo9Z+SkRLrJDljhPrNQU=; h=From:To:Cc:Subject:Date:From; b=o8ST9gJpKWUZAcKfmNJ06DSXMK+GwdOhJiBytYno8+0ckVh+LbJSuq9kwjdVNK3B8 0kVLg0PamhNOc3vWwUFkuZfU82RmtrH4Fdt8v82zlaAreJFpv00OXr/Uee3bxHAfYR m8cULUznLD8CBD3d7OIl7SZr11TNHwwDBNxGfSH3sVO1c+BZNUO7qW+GD+C8oj2CTy xJPLhqOa4Loz6ce1jcugO/ivKgSZGjJtsAFJjXBr0HhOOSZa1sFFJHILcLAdFBatRs yHMcN/15DnAEl/hmJtHj60Aa2k8qmR5mTM8mI1Zhb74FBhyv1I4518EF8bk+8HY1RL SLWQA/I0x7skQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4L1TRT4bvMz6tmJ; Sun, 15 May 2022 19:10:45 +0200 (CEST) References: <20c51184bbe6034ed7b4be6fc3f2b36f212ea60e.1651893551.git.kyle@posteo.net> <464037be8d677efd5402d66a0c59db221cb960a6.camel@telenet.be> From: Kyle Andrews Date: Sun, 15 May 2022 16:38:44 +0000 In-reply-to: <464037be8d677efd5402d66a0c59db221cb960a6.camel@telenet.be> Message-ID: <87czge67sd.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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=1652634681; 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: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=yP7OcjqGy+af7HCetmUEkt8J2W+UCy34jxZhGHtPEHA=; b=UinqX8WhzgmpnZs2aExNONi27+lznFsHzDHx71CXq9PzejtRQ7Qq4FvnDnB4mX1hwfZ4II 1RYhhk96rwNln6p4kd6gRi5OxzQhuava2bRqf/xEorgIs34/izIso1eNwA74UW/IJZRrC0 HaHH+hVQkMAEeJ98+w3Yp9rwu7Bvi5YdTQw61rsojhPcK7iMXXoEa8jxK5ymzG35EBom1/ BEHorIIl34z10p4Ue/9qytxqnrWvPAgznKNT4gKiN0x5ts8TrvYisf9IcLdgLJNvptIEUr rVL5UNSSCXS4c74lxOb3YtKeL8THl/qysPOvjjU/j/IaJXmLhnIGPNDq+6zf8A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652634681; a=rsa-sha256; cv=none; b=geQ7S8jUZyvjFltmlUGPIEdxTt7mWD8vAzv0qTISKMLBUrUuqXjyeJY9DQ1uEKT0w1v5qr rmTlRVXCBlzo6ZbzoORut+KAz8TmYw4Z1JAVy1Ai1Gq4gNS3cZED9CQueKP+BU9jkQpgo7 Q0JeZRUKXmLQMUxOZpgbU87cAqpCQu54Kulm792ABPiBnYFQq2tMJ8BO/YV/sLmalbtoSP Dtxffl9WIQQ1MjRbsNjwVh5GIzDSfC7LW/zsKR3zxzT6iWbZde3m9OMFyK5GCq7QeSoDZO F3ydziryOtrrignLAPAiZ7/BdcQEf1A0p4rZ6ou2PZMWzYWSC+Jhn/LDTzU01w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=o8ST9gJp; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: 5.77 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=o8ST9gJp; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: C8EE7106EC X-Spam-Score: 5.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: jW0LYAzWUXQu --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Maxime, Maxime Devos writes: > [[PGP Signed Part:Undecided]] > kyle schreef op do 12-05-2022 om 02:10 [+0000]: >> Use syntax inspired by the package 'glue' > > Shouldn't this be 'r-glue'? Guix doesn't have a package named 'glue'. > Also, writing a description (+- =3D some factual statements) in the > imperative mood ... is technically possible, but I wouldn't recommend > it. Referring to another package for more information on what 'rust- > unglue' is about is technically possible, but a bit cumbersome for the > reader I think. Maybe you can re-use parts of the description of > 'r-glue'. > This (and r-glue too) is an R package designed to be installed and used from within R. I noticed that the Pandas python package, for example, doesn't refer to itself as python-pandas in its Guix documentation. There are numerous other instances in Guix where such library software for high-level languages refer to themselves and other related packages as within their own ecosystems instead of the Guix ecosystem. However, in this particular case I included in parenthesis "(provided by r-glue in Guix)". >> to extract matched substrings in a >> +more intuitive and compact way than by using standard regular expressio= ns. > > This is a bit markety language. > > More generally, upstream descriptions often aren't great and require > some tweaking, expanding (and sometimes abbreviation, though not in > this particular case). The manual has some general guidelines in > (guix)Synopses and Descriptions. Thanks, I had a look. > FWIW, I consider 'emacs', 'hello' and 'sed' to have good descriptions, > though the emacs description goes a bit markety with =E2=80=98highly > customizable ... extensive documention on everything=E2=80=99 and such ... > though in the case of Emacs those claims appear to be actually true so > maybe it's a good description after all. > I made a few small tweaks which I feel significantly reduces the "marketing" aspect. See the included patch. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-r-unglue.patch Content-Description: r-unglue updated patch >From 9a30410e850000e839002649a5f6183f174fdfa2 Mon Sep 17 00:00:00 2001 Message-Id: <9a30410e850000e839002649a5f6183f174fdfa2.1652634138.git.kyle@posteo.net> From: Kyle Andrews Date: Sun, 15 May 2022 13:01:30 -0400 Subject: [PATCH] gnu: Add r-unglue. --- gnu/packages/cran.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 5c05f20ea7..bbe18e1d67 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -33255,3 +33255,23 @@ (define-public r-zoeppritz coefficients or scattering amplitudes, for seismological P and S-waves at an interface.") (license license:gpl2+))) + +(define-public r-unglue + (package + (name "r-unglue") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "unglue" version)) + (sha256 + (base32 "0w8ld4xllx0lj1jz8i2sj92f8136hlwri1d8ldpg1ymxj7aw93vg")))) + (properties `((upstream-name . "unglue"))) + (build-system r-build-system) + (home-page "https://cran.r-project.org/package=unglue") + (synopsis "Extract Matched Substrings Using a Pattern") + (description + "Use syntax inspired by the package 'glue' (provided by r-glue in +Guix) to extract matched substrings in a more compact way than by +using regular expressions.") + (license license:gpl3))) -- 2.36.0 --=-=-= Content-Type: text/plain Cheers, Kyle --=-=-=--