summaryrefslogtreecommitdiff
path: root/pkgtools/R2pkg
AgeCommit message (Collapse)AuthorFilesLines
2020-10-12math/blas, math/lapack: Install interchangeable BLAS systembacon1-1/+2
Install the new interchangeable BLAS system created by Thomas Orgis, currently supporting Netlib BLAS/LAPACK, OpenBLAS, cblas, lapacke, and Apple's Accelerate.framework. This system allows the user to select any BLAS implementation without modifying packages or using package options, by setting PKGSRC_BLAS_TYPES in mk.conf. See mk/blas.buildlink3.mk for details. This commit should not alter behavior of existing packages as the system defaults to Netlib BLAS/LAPACK, which until now has been the only supported implementation. Details: Add new mk/blas.buildlink3.mk for inclusion in dependent packages Install compatible Netlib math/blas and math/lapack packages Update math/blas and math/lapack MAINTAINER approved by adam@ OpenBLAS, cblas, and lapacke will follow in separate commits Update direct dependents to use mk/blas.buildlink3.mk Perform recursive revbump
2020-03-11Select fields explicitly from df.depends in make.df.depends().brook1-1/+3
The function make.df.depends() constructs a dataframe for DEPENDS lines in the updated Makefile. That dataframe is combined with other dataframes for different portions of the Makefile. Consequently, all the dataframes must have the same fields or combining with rbind() fails. Previously, the dataframe had the wrong set of fields; this explicitly selects the correct set that matches the other dataframes so that they can all be combined correctly.
2020-03-05Define RPKG, not rpkg, in the environment for R2pkg.Rbrook1-2/+2
When reading the environment, R2pkg.R expects RPKG to be the name of the R package. Fix the inadvertent use of lower case in the variable name.
2020-03-05Add a hyphen (-) to each stored argument so recursive calls work.brook1-10/+10
In order for recursive calls of R2pkg to work, they must receive the same set of arguments as the original. Previous argument handling stripped the hyphen (-) from each argument; this explicitly restores it.
2020-01-13pkgtools/R2pkg: remove a left-over debug messagerillig1-2/+1
2020-01-13pkgtools/R2pkg: update to 0.6.4rillig4-7/+16
Changes since 0.6.3: * Fix hardcoded use of bmake.
2019-10-25pkgtools/R2pkg: format source coderillig2-854/+776
2019-10-19pkgtools/R2pkg: remove unused coderillig2-17/+5
2019-10-19pkgtools/R2pkg: refactoringrillig2-28/+4
2019-10-19pkgtools/R2pkg: refactoring, testsrillig2-173/+150
2019-10-19pkgtools/R2pkg: make license handling code simplerrillig2-45/+64
2019-10-19pkgtools/R2pkg: create fewer temporary filesrillig1-14/+1
2019-10-19pkgtools/R2pkg: code cleanup, use fewer temporary filesrillig3-107/+60
2019-10-19pkgtools/R2pkg: make USE_LANGUAGES code simplerrillig2-20/+13
2019-10-19pkgtools/R2pkg: clean up shell programrillig1-138/+107
2019-10-19pkgtools/R2pkg: clean up shell programrillig1-57/+50
2019-10-19pkgtools/R2pkg: update to 0.6.3rillig4-24/+26
Changes since 0.6.1: * Fix comparison of articles (a, an) in comments.
2019-10-19pkgtools/R2pkg: refactoring, testsrillig2-25/+60
2019-10-19pkgtools/R2pkg: code cleanuprillig2-40/+24
2019-10-19pkgtools/R2pkg: refactoring, testsrillig2-51/+91
2019-10-19pkgtools/R2pkg: refactoring, testsrillig2-62/+80
2019-10-19pkgtools/R2pkg: refactoring, testsrillig2-119/+133
2019-10-18pkgtools/R2pkg: make write.Makefile simplerrillig2-37/+34
2019-10-18pkgtools/R2pkg: refactorings, testsrillig2-82/+116
2019-10-18pkgtools/R2pkg: remove unused code, add testsrillig2-125/+100
2019-10-18pkgtools/R2pkg: fix tests with virtual filesrillig2-92/+96
textConnection does not expect a trailing '\n' in its argument.
2019-10-17pkgtools/R2pkg: add more testsrillig1-29/+153
2019-10-17pkgtools/R2pkg: add testsrillig1-13/+43
2019-10-17pkgtools/R2pkg: refactorings, small bugfixes, testsrillig2-162/+412
find.Rcpp is now guaranteed to return a boolean. Added some tests and many more templates that are still waiting to be filled.
2019-10-17pkgtools/R2pkg: fix indentation, make tabs visiblerillig1-73/+73
2019-10-15pkgtools/R2pkg: remove unused coderillig1-28/+1
2019-10-13pkgtools/R2pkg: shorten code in read.Makefile.as.dataframerillig1-35/+8
2019-10-13pkgtools/R2pkg: add more unit testsrillig2-17/+112
2019-10-13pkgtools/R2pkg: add unit testsrillig3-11/+144
2019-10-13pkgtools/R2pkg: code cleanuprillig1-13/+6
2019-10-13pkgtools/R2pkg: replace integer indices with named attributesrillig1-16/+23
2019-10-13pkgtools/R2pkg: make R2pkg.R testablerillig2-14/+18
Placing the code into a main function allows the tests to source the file without any side effects. The LC_ALL=C environment variable is necessary on NetBSD/x86_64 8.0 in the en_US.UTF-8 locale since otherwise R dumps core in the source(...) call, deep inside towctrans.
2019-10-13pkgtools/R2pkg: fix typorillig1-2/+2
2019-10-13pkgtools/R2pkg: separate R code from shell coderillig5-1254/+1303
Before, it was difficult to edit the R code since all dollars, backslashes and backticks had to be escaped. Separating the code also makes the R part testable on its own.
2019-10-13pkgtools/R2pkg: update to 0.6.1rillig3-14/+28
Changes since 0.6: * Run properly even if TMPDIR is not set. * Quote variables to prevent unintended interpolation. * Write error messages to stderr instead of stdout.
2019-08-08Update to version 0.6.brook3-28/+79
Changes since version 0.5: * Improve the canonical format of an R package Makefile: - Place R_PKGNAME, R_PKGVER, and CATEGORIES in the first stanza. - Simplify CATEGORIES by defining common ones in Makefile.extension. - Use the default value of HOMEPAGE defined in Makefile.extension. * Annotate generated comments with [R2pkg] to make them easier to find.
2019-08-01R2pkg: update to version 0.5.brook4-272/+1405
2019-06-24R2pkg: update to 0.4.brook4-49/+147
Changes since 0.3: * Fix recursion. * Add both c and c++ to USE_LANGUAGES. * Add maintainer email handling (-M). * Use buildlink3.mk files for dependencies when available.
2018-01-13R2pkg: Add missing RCSID.jperkin1-0/+1
2017-07-18Sort options. Minor other fixes.wiz1-11/+11
2017-07-18New sentence, new line.wiz1-28/+38
Sort sections. Remove trailing whitespace. Fix Dt argument
2017-07-18Update to v0.3.brook3-98/+317
- Add recursive handling of dependencies. - Simplify updating pre-existing R packages. - Improve handling of packages that conflict with base R packages.
2015-04-25Initial import of the R2pkg package:brook5-0/+497
The R2pkg program, which is modeled after url2pkg, creates a new pkgsrc package for the corresponding R package. It is intended to help pkgsrc developers create new R packages quickly and easily. This package was discussed in a thread beginning with the following: http://mail-index.netbsd.org/tech-pkg/2015/02/04/msg014227.html