Author: plessy
Date: 2013-04-16 04:26:46 +0000 (Tue, 16 Apr 2013)
New Revision: 13322
Modified:
trunk/community/website/docs/policy.xml
Log:
Update section on R.
Modified: trunk/community/website/docs/policy.xml
===================================================================
--- trunk/community/website/docs/policy.xml 2013-04-14 07:52:42 UTC (rev
13321)
+++ trunk/community/website/docs/policy.xml 2013-04-16 04:26:46 UTC (rev
13322)
@@ -579,10 +579,8 @@
<sect2 id="r-packages">
<title>R packages</title>
<para>
- <ulink
url="http://packages.debian.org/r-base">GNU R</ulink> sometimes introduces
backward incompatibilities, so the current practice is to make packages depend
on versions equal or higher to the one against which they were built. When
using <code>r-dev</code>, this can be acheived by adding the following command
in <filename>debian/rules</filename>. Note the tilde, that ensures that
pre-releases can be used as well.
+ <ulink
url="http://packages.debian.org/r-base-core">GNU R</ulink> sometimes introduces
backward incompatibilities, so the current practice is to make packages depend
on versions equal or higher to the one against which they were built. When
using <code>r-base-dev</code>, this can be acheived by adding the substitution
variable <code>${R:Depends}</code> in the <emphasis>Depends</emphasis> field of
the binary package.
</para>
- <programlisting>install/r-$(debRreposname)-$(cranName)::
- echo "R:Depends=r-base-core (>= $(shell R --version | head -n1 |
perl -ne 'print / +([0-9]\.[0-9]+\.[0-9])/')~)" >>
debian/r-$(debRreposname)-$(cranName).substvars</programlisting>
</sect2>
</sect1>
<sect1 id="tasks">
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit