unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#30983] Submitting Patch for gnu: r-abc-data
@ 2018-03-29 11:16 Sahithi Yarlagadda
       [not found] ` <handler.30983.B.152232227619573.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Sahithi Yarlagadda @ 2018-03-29 11:16 UTC (permalink / raw)
  To: 30983, rekado

Hi   

I am submitting the Patch for Package Description r-abc-data. This is a
dependency Data File for r-abc.

When i tried to build r-abc i found that the Data file is the
dependency. So i am submitting the patch for r-abc-data which is called
abc.data in the upstream. Once it is merged i will submit the r-abc patch.

https://debbugs.gnu.org/db/30/30894.html

I Tried to build r-abc-data and it resulted a success.


Please Review.

-- 
Regards
Sahithi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#30983] Acknowledgement (Submitting Patch for gnu: r-abc-data)
       [not found] ` <handler.30983.B.152232227619573.ack@debbugs.gnu.org>
@ 2018-03-29 11:21   ` Sahithi Yarlagadda
  2018-04-02 21:17     ` bug#30983: " Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Sahithi Yarlagadda @ 2018-03-29 11:21 UTC (permalink / raw)
  To: 30983; +Cc: Ricardo Wurmus, sahi

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

Hi

I forgot to submit the attachement for Patch File. I am attaching the
patch file and resending it.


On Thursday 29 March 2018 04:48 PM, GNU bug Tracking System wrote:
> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
>  guix-patches@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 30983@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>

-- 
Regards
Sahithi


[-- Attachment #2: 0001-gnu-Add-r-abc-data.patch --]
[-- Type: text/x-patch, Size: 2317 bytes --]

From ec513916a977651ae3117f3f6ab270e691abcee0 Mon Sep 17 00:00:00 2001
From: Sahithi Yarlagadda <sahi@swecha.net>
Date: Thu, 29 Mar 2018 16:31:54 +0530
Subject: [PATCH] gnu: Add r-abc-data.

* gnu/packages/cran.scm (r-abc-data): New variable.
---
 gnu/packages/cran.scm | 36 +++++++++++++++++++++++++++++-------
 1 file changed, 29 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 6f85f0d80..8602a7d87 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -2540,14 +2540,14 @@ supports arbitrary vertex/edge/graph attributes.")
     (name "r-statnet-common")
     (version "4.0.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (cran-uri "statnet.common" version))
-        (sha256
-          (base32
-            "0yw6l5b4qv0jqlg4zyczas7m12a5pyqghs6ydxy2f6v6vxkijvi0"))))
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "statnet.common" version))
+       (sha256
+        (base32
+         "0yw6l5b4qv0jqlg4zyczas7m12a5pyqghs6ydxy2f6v6vxkijvi0"))))
     (properties
-      `((upstream-name . "statnet.common")))
+     `((upstream-name . "statnet.common")))
     (build-system r-build-system)
     (home-page "http://www.statnet.org")
     (synopsis "R scripts and utilities used by the Statnet software")
@@ -3571,3 +3571,25 @@ and Eclat.")
 time formats, @code{parse_date} parses dates in unspecified formats,
 and @code{format_iso_8601} formats a date in ISO 8601 format.")
     (license license:gpl2)))
+
+(define-public r-abc-data
+  (package
+    (name "r-abc-data")
+    (version "1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "abc.data" version))
+       (sha256
+        (base32
+         "1bv1n68ah714ws58cf285n2s2v5vn7382lfjca4jxph57lyg8hmj"))))
+    (properties `((upstream-name . "abc.data")))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/web/packages/abc.data")
+    (synopsis "Data Only: Tools for Approximate Bayesian Computation (ABC)")
+    (description
+     "Contains data which are used by functions of the 'abc' package which
+implements several @dfn{Approximate Bayesian Computation} (ABC) algorithms 
+for performing parameter estimation, model selection, and goodness-of-fit.")
+    (license license:gpl3)))
+
-- 
2.16.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#30983: Acknowledgement (Submitting Patch for gnu: r-abc-data)
  2018-03-29 11:21   ` [bug#30983] Acknowledgement (Submitting Patch for gnu: r-abc-data) Sahithi Yarlagadda
@ 2018-04-02 21:17     ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2018-04-02 21:17 UTC (permalink / raw)
  To: Sahithi Yarlagadda; +Cc: 30983-done


Hi Sahithi,

thank you for the patch.

> diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
> index 6f85f0d80..8602a7d87 100644
> --- a/gnu/packages/cran.scm
> +++ b/gnu/packages/cran.scm
> @@ -2540,14 +2540,14 @@ supports arbitrary vertex/edge/graph attributes.")
>      (name "r-statnet-common")
>      (version "4.0.0")
>      (source
> -      (origin
> -        (method url-fetch)
> -        (uri (cran-uri "statnet.common" version))
> -        (sha256
> -          (base32
> -            "0yw6l5b4qv0jqlg4zyczas7m12a5pyqghs6ydxy2f6v6vxkijvi0"))))
> +     (origin
> +       (method url-fetch)
> +       (uri (cran-uri "statnet.common" version))
> +       (sha256
> +        (base32
> +         "0yw6l5b4qv0jqlg4zyczas7m12a5pyqghs6ydxy2f6v6vxkijvi0"))))
>      (properties
> -      `((upstream-name . "statnet.common")))
> +     `((upstream-name . "statnet.common")))
>      (build-system r-build-system)
>      (home-page "http://www.statnet.org")
>      (synopsis "R scripts and utilities used by the Statnet software")

These changes don’t belong to the addition of r-abc-data, so they should
not be included.  I have removed these changes before applying the
patch.

> @@ -3571,3 +3571,25 @@ and Eclat.")
>  time formats, @code{parse_date} parses dates in unspecified formats,
>  and @code{format_iso_8601} formats a date in ISO 8601 format.")
>      (license license:gpl2)))
> +
> +(define-public r-abc-data
> +  (package
> +    (name "r-abc-data")
> +    (version "1.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (cran-uri "abc.data" version))
> +       (sha256
> +        (base32
> +         "1bv1n68ah714ws58cf285n2s2v5vn7382lfjca4jxph57lyg8hmj"))))
> +    (properties `((upstream-name . "abc.data")))
> +    (build-system r-build-system)
> +    (home-page "https://cran.r-project.org/web/packages/abc.data")
> +    (synopsis "Data Only: Tools for Approximate Bayesian Computation (ABC)")
> +    (description
> +     "Contains data […]

Please always use complete sentences.  I’ve changed this to “This
package contains …”

> +    (license license:gpl3)))

According to the home page, the license is actually GPLv3 or later, so I
changed this to license:gpl3+.

I have pushed this to the master branch with commit 2a27c0bbb.  Thanks
again!

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-02 21:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-29 11:16 [bug#30983] Submitting Patch for gnu: r-abc-data Sahithi Yarlagadda
     [not found] ` <handler.30983.B.152232227619573.ack@debbugs.gnu.org>
2018-03-29 11:21   ` [bug#30983] Acknowledgement (Submitting Patch for gnu: r-abc-data) Sahithi Yarlagadda
2018-04-02 21:17     ` bug#30983: " Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).