pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math Add the CRAN archives to R package MASTER_SITES.
details: https://anonhg.NetBSD.org/pkgsrc/rev/2921fe3a4ab8
branches: trunk
changeset: 310969:2921fe3a4ab8
user: brook <brook%pkgsrc.org@localhost>
date: Sat Jul 28 14:53:46 2018 +0000
description:
Add the CRAN archives to R package MASTER_SITES.
Distfiles for older R packges are moved on CRAN from contrib/ to
contrib/Archive/${R_PKGNAME}/. As a result, they may be inaccessible to
'make fetch'. Add the additional directory to MASTER_SITES in
math/R/Makefile.extension so that older distfiles will be retrieved
directly from CRAN. In addition, remove the definition of MASTER_SITES
from math/R-prob/Makefile, which is the only package directly referring to
the distfile archive. At this point all R packages should rely on
math/R/Makefile.extension to define MASTER_SITES; they should not be
defining MASTER_SITES directly.
diffstat:
math/R-prob/Makefile | 3 +--
math/R/Makefile.extension | 5 +++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 238a38847a6c -r 2921fe3a4ab8 math/R-prob/Makefile
--- a/math/R-prob/Makefile Sat Jul 28 14:40:42 2018 +0000
+++ b/math/R-prob/Makefile Sat Jul 28 14:53:46 2018 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2018/03/02 19:04:13 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2018/07/28 14:53:46 brook Exp $
CATEGORIES= math
-MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/Archive/prob/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://prob.r-forge.r-project.org/
diff -r 238a38847a6c -r 2921fe3a4ab8 math/R/Makefile.extension
--- a/math/R/Makefile.extension Sat Jul 28 14:40:42 2018 +0000
+++ b/math/R/Makefile.extension Sat Jul 28 14:53:46 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.extension,v 1.22 2018/04/12 15:40:18 minskim Exp $
+# $NetBSD: Makefile.extension,v 1.23 2018/07/28 14:53:46 brook Exp $
#
# This Makefile fragment is included by packages for R library packages.
#
@@ -15,7 +15,8 @@
DISTNAME?= ${R_PKGNAME}_${R_PKGVER}
.endif
PKGNAME?= R-${R_PKGNAME}-${R_PKGVER:S/-/./}
-MASTER_SITES?= ${MASTER_SITE_R_CRAN:=contrib/}
+MASTER_SITES?= ${MASTER_SITE_R_CRAN:=contrib/} \
+ ${MASTER_SITE_R_CRAN:=contrib/Archive/${R_PKGNAME}/}
DIST_SUBDIR?= R
CATEGORIES+= math
HOMEPAGE?= https://CRAN.R-project.org/package=${R_PKGNAME}
Home |
Main Index |
Thread Index |
Old Index