* [PATCH 04/19] gnu: Add r-bh.
@ 2015-09-13 16:46 Vicente Vera
2015-09-14 10:50 ` Ricardo Wurmus
0 siblings, 1 reply; 5+ messages in thread
From: Vicente Vera @ 2015-09-13 16:46 UTC (permalink / raw
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 0004-gnu-Add-r-bh.patch --]
[-- Type: text/x-patch, Size: 1749 bytes --]
From 48779f00039194426bdd53acb81a29dc50994340 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Sun, 13 Sep 2015 13:09:32 -0300
Subject: [PATCH 04/19] gnu: Add r-bh.
* gnu/packages/statistics.scm (r-bh): New variable.
---
gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 76cc031..54cbb42 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -555,3 +555,26 @@ and relational database management systems. All classes in this
package are virtual and need to be extended by the various R/DBMS
implementations.")
(license license:lgpl3+)))
+
+(define-public r-bh
+ (package
+ (name "r-bh")
+ (version "1.58.0-1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cran/src/contrib/BH_"
+ version ".tar.gz"))
+ (sha256
+ (base32 "17rnwyw9ib2pvm60iixzkbz7ff4fslpifp1nlx4czp42hy67kqpf"))))
+ (build-system r-build-system)
+ (home-page "https://github.com/eddelbuettel/bh")
+ (synopsis "Boost C++ Header Files")
+ (description
+ "Boost provides free peer-reviewed portable C++ source libraries.
+A large part of Boost is provided as C++ template code which is
+resolved entirely at compile-time without linking. This package aims
+to provide the most useful subset of Boost libraries for template use
+among CRAN package. By placing these libraries in this package, we
+offer a more efficient distribution system for CRAN as replication of
+this code in the sources of other packages is avoided.")
+ (license license:boost1.0)))
--
2.5.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 04/19] gnu: Add r-bh.
2015-09-13 16:46 [PATCH 04/19] gnu: Add r-bh Vicente Vera
@ 2015-09-14 10:50 ` Ricardo Wurmus
2015-09-14 19:43 ` Vicente Vera
0 siblings, 1 reply; 5+ messages in thread
From: Ricardo Wurmus @ 2015-09-14 10:50 UTC (permalink / raw
To: Vicente Vera; +Cc: guix-devel
> * gnu/packages/statistics.scm (r-bh): New variable.
[...]
> + (synopsis "Boost C++ Header Files")
> + (description
> + "Boost provides free peer-reviewed portable C++ source libraries.
> +A large part of Boost is provided as C++ template code which is
> +resolved entirely at compile-time without linking. This package aims
> +to provide the most useful subset of Boost libraries for template use
> +among CRAN package. By placing these libraries in this package, we
> +offer a more efficient distribution system for CRAN as replication of
> +this code in the sources of other packages is avoided.")
> + (license license:boost1.0)))
It seems ugly to duplicate the Boost headers in a separate package. We
already have a “boost” package, which provides the headers for this
version of Boost. Would it be possible to use the existing “boost”
package in place of “r-bh”?
If not: please use two spaces in the description. I think the first two
sentences can be removed as they relate to the Boost library. Also,
please use lower case for the synopsis.
~~ Ricardo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 04/19] gnu: Add r-bh.
2015-09-14 10:50 ` Ricardo Wurmus
@ 2015-09-14 19:43 ` Vicente Vera
2015-09-15 17:34 ` Vicente Vera
2015-09-17 12:02 ` Ricardo Wurmus
0 siblings, 2 replies; 5+ messages in thread
From: Vicente Vera @ 2015-09-14 19:43 UTC (permalink / raw
To: Ricardo Wurmus; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]
Hello,
I don't know if the boost package in the distribution could be used to
comply with the requirements. IMO it is safer to incorporate r-bh as
it is needed by dplyr.
New patch with corrections attached.
2015-09-14 7:50 GMT-03:00 Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>:
>
>> * gnu/packages/statistics.scm (r-bh): New variable.
>
> [...]
>
>> + (synopsis "Boost C++ Header Files")
>> + (description
>> + "Boost provides free peer-reviewed portable C++ source libraries.
>> +A large part of Boost is provided as C++ template code which is
>> +resolved entirely at compile-time without linking. This package aims
>> +to provide the most useful subset of Boost libraries for template use
>> +among CRAN package. By placing these libraries in this package, we
>> +offer a more efficient distribution system for CRAN as replication of
>> +this code in the sources of other packages is avoided.")
>> + (license license:boost1.0)))
>
> It seems ugly to duplicate the Boost headers in a separate package. We
> already have a “boost” package, which provides the headers for this
> version of Boost. Would it be possible to use the existing “boost”
> package in place of “r-bh”?
>
> If not: please use two spaces in the description. I think the first two
> sentences can be removed as they relate to the Boost library. Also,
> please use lower case for the synopsis.
>
> ~~ Ricardo
[-- Attachment #2: 0004-gnu-Add-r-bh.patch --]
[-- Type: text/x-patch, Size: 1590 bytes --]
From e69ccec4ccb979c34f19ac6783da8d16bd338d90 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Mon, 14 Sep 2015 14:39:30 -0300
Subject: [PATCH 04/12] gnu: Add r-bh.
* gnu/packages/statistics.scm (r-bh): New variable.
---
gnu/packages/statistics.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 5b29f6f..1efacde 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -556,3 +556,23 @@ communication between R and relational database management systems. All
classes in this package are virtual and need to be extended by the various
R/DBMS implementations.")
(license license:lgpl3+)))
+
+(define-public r-bh
+ (package
+ (name "r-bh")
+ (version "1.58.0-1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cran/src/contrib/BH_"
+ version ".tar.gz"))
+ (sha256
+ (base32 "17rnwyw9ib2pvm60iixzkbz7ff4fslpifp1nlx4czp42hy67kqpf"))))
+ (build-system r-build-system)
+ (home-page "https://github.com/eddelbuettel/bh")
+ (synopsis "Boost C++ header files")
+ (description
+ "This package aims to provide the most useful subset of Boost libraries
+for template use among CRAN packages. By placing these libraries in this
+package, we offer a more efficient distribution system for CRAN as replication
+of this code in the sources of other packages is avoided.")
+ (license license:boost1.0)))
--
2.5.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 04/19] gnu: Add r-bh.
2015-09-14 19:43 ` Vicente Vera
@ 2015-09-15 17:34 ` Vicente Vera
2015-09-17 12:02 ` Ricardo Wurmus
1 sibling, 0 replies; 5+ messages in thread
From: Vicente Vera @ 2015-09-15 17:34 UTC (permalink / raw
To: Ricardo Wurmus; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1581 bytes --]
Updated patch attached.
2015-09-14 16:43 GMT-03:00 Vicente Vera <vicentemvp@gmail.com>:
> Hello,
>
> I don't know if the boost package in the distribution could be used to
> comply with the requirements. IMO it is safer to incorporate r-bh as
> it is needed by dplyr.
>
> New patch with corrections attached.
>
> 2015-09-14 7:50 GMT-03:00 Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>:
>>
>>> * gnu/packages/statistics.scm (r-bh): New variable.
>>
>> [...]
>>
>>> + (synopsis "Boost C++ Header Files")
>>> + (description
>>> + "Boost provides free peer-reviewed portable C++ source libraries.
>>> +A large part of Boost is provided as C++ template code which is
>>> +resolved entirely at compile-time without linking. This package aims
>>> +to provide the most useful subset of Boost libraries for template use
>>> +among CRAN package. By placing these libraries in this package, we
>>> +offer a more efficient distribution system for CRAN as replication of
>>> +this code in the sources of other packages is avoided.")
>>> + (license license:boost1.0)))
>>
>> It seems ugly to duplicate the Boost headers in a separate package. We
>> already have a “boost” package, which provides the headers for this
>> version of Boost. Would it be possible to use the existing “boost”
>> package in place of “r-bh”?
>>
>> If not: please use two spaces in the description. I think the first two
>> sentences can be removed as they relate to the Boost library. Also,
>> please use lower case for the synopsis.
>>
>> ~~ Ricardo
[-- Attachment #2: 0004-gnu-Add-r-bh.patch --]
[-- Type: text/x-patch, Size: 1622 bytes --]
From 217d1823ee8108f8e66232ae6b47b2411b1d9a43 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Tue, 15 Sep 2015 14:15:16 -0300
Subject: [PATCH 04/19] gnu: Add r-bh.
* gnu/packages/statistics.scm (r-bh): New variable.
---
gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 525b7ed..5801ce6 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -566,3 +566,26 @@ communication between R and relational database management systems. All
classes in this package are virtual and need to be extended by the various
R/DBMS implementations.")
(license license:lgpl3+)))
+
+(define-public r-bh
+ (package
+ (name "r-bh")
+ (version "1.58.0-1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cran/src/contrib/BH_"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "17rnwyw9ib2pvm60iixzkbz7ff4fslpifp1nlx4czp42hy67kqpf"))))
+ (build-system r-build-system)
+ (home-page
+ "https://github.com/eddelbuettel/bh")
+ (synopsis
+ "Boost C++ header files")
+ (description
+ "This package aims to provide the most useful subset of Boost libraries
+for template use among CRAN packages. By placing these libraries in this
+package, we offer a more efficient distribution system for CRAN as replication
+of this code in the sources of other packages is avoided.")
+ (license license:boost1.0)))
--
2.5.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 04/19] gnu: Add r-bh.
2015-09-14 19:43 ` Vicente Vera
2015-09-15 17:34 ` Vicente Vera
@ 2015-09-17 12:02 ` Ricardo Wurmus
1 sibling, 0 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2015-09-17 12:02 UTC (permalink / raw
To: Vicente Vera; +Cc: guix-devel
Vicente Vera <vicentemvp@gmail.com> writes:
> I don't know if the boost package in the distribution could be used to
> comply with the requirements. IMO it is safer to incorporate r-bh as
> it is needed by dplyr.
I took a look at the README file and have come to the conclusion that it
is best to add the package as is rather than trying to wrap the existing
Boost headers. The section “Updating” states the following:
We aim to maintain this package in a somewhat conservative fashion and
do not immediately jump the newest Boost releases. Rather, we start
from the Debian sources for Boost to ensure that we work with a
version that is at the same time current yet mature. But on occassion,
and as needed, we will go directly to Boost releases.
This means that we should treat this like an independent fork as they
don’t necessarily move as fast as our Boost package would. Also, they
only keep a subset of the Boost headers. The biggest value in having an
actual R package here is that other R packages that declare a dependency
on Boost headers will be satisfied.
I’m planning to amend the patch today and push it if there are no
objections against this.
~~ Ricardo
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-09-17 12:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-13 16:46 [PATCH 04/19] gnu: Add r-bh Vicente Vera
2015-09-14 10:50 ` Ricardo Wurmus
2015-09-14 19:43 ` Vicente Vera
2015-09-15 17:34 ` Vicente Vera
2015-09-17 12:02 ` Ricardo Wurmus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.