1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Add a patch to fix the result of xmlRoot because of changing

the layout in May 2014
- Specify LICENSE BSD -> BSD3CLAUSE
This commit is contained in:
TAKATSU Tomonari 2014-05-25 08:55:32 +00:00
parent 45232ef1dd
commit 7ef6a922b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355146
2 changed files with 17 additions and 2 deletions

View File

@ -3,14 +3,14 @@
PORTNAME= RFinanceYJ
PORTVERSION= 0.3.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= finance
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= tota@FreeBSD.org
COMMENT= Japanese stock market from Yahoo!-finance-Japan
LICENSE= BSD
LICENSE= BSD3CLAUSE
RUN_DEPENDS= R-cran-XML>0:${PORTSDIR}/textproc/R-cran-XML \
R-cran-xts>0:${PORTSDIR}/math/R-cran-xts

View File

@ -0,0 +1,15 @@
--- R/quoteStockTsData.R.orig 2013-08-13 00:05:58.000000000 +0900
+++ R/quoteStockTsData.R 2014-05-25 10:58:31.000000000 +0900
@@ -57,10 +57,10 @@
extractQuoteTable <- function(r,type){
if(type %in% c("fund","fx")){
- tbl <- r[[2]][[2]][[7]][[3]][[3]][[9]][[2]]
+ tbl <- r[[2]][[2]][[7]][[3]][[3]][[8]][[2]]
}
else{
- tbl <- r[[2]][[2]][[7]][[3]][[3]][[10]][[2]]
+ tbl <- r[[2]][[2]][[7]][[3]][[3]][[11]][[2]]
}
return(tbl)
}