summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2019-10-27pkgtools/url2pkg: move license handling from Python to common coderillig3-36/+87
This way, the code is shared between Python modules, Perl modules, and maybe in the future R packages. No functional change.
2019-10-26pkgtools/pkglint: update to 19.3.3rillig13-45/+155
Changes since 19.3.2: The rationale for variables like BROKEN, GCC_REQD and for direct inclusion of builtin.mk files may span multiple lines, and it may end with an empty comment line.
2019-10-26pkgtools/pkglint: update to 19.3.2rillig25-1763/+1990
Changes since 19.3.1: * Pkglint no longer warns about a missing :Q modifier if there is also a :D modifier, since the latter hides the original variable value from the expression value. * Variable names like .CURDIR are now allowed in the _VARGROUPS section. * In dependency lines like "${_COOKIE.extract}:", pkglint no longer warns about the unknown target. No matter whether this is a file name or even a list of other targets, there's no chance for a typo here. * If some dependencies are included conditionally, and the package Makefile and buildlink3.mk disagree, and the conditions depend on PKG_OPTIONS, pkglint outputs a helpful explanation. * The check for including builtin.mk directly can be disabled by giving a reason in a comment at the end of the line.
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-18Revbump all Go packages after lang/go112 updatebsiegert1-1/+2
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-13Use tab for indendation as the rest of the block.joerg1-2/+2
2019-10-13Use __UNCONST to remove const attributes before free.joerg1-2/+2
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-10-13pkgtools/url2pkg: remove unnecessary update_vars fieldrillig2-17/+23
2019-10-12pkgtools/url2pkg: rename type Url2Pkg to Globalsrillig2-152/+152
2019-10-12pkgtools/url2pkg: fix type hinting declarationsrillig2-75/+116
2019-10-11pkgtools/pkglint: update to 19.3.1rillig10-36/+244
Changes since 19.3.0: * In buildlink3.mk files, the package identifier doesn't have to match the PKGBASE from the package Makefile exactly. The PKGBASE may have a leading "lib" (for libiconv and libgettext), as well as a trailing number (for emacs20 and netatalk22). * GITHUB_RELEASE is added to the variables that should appear in a fixed order in the package Makefile. * In the MASTER_SITE URLs, the transport protocol is irrelevant for matching direct URLs to the predefined MASTER_SITE_* variables.
2019-10-11pkg_install-20191008: Add pkg_admin digest commandjoerg4-10/+42
2019-10-11rc.subr: which is not present in Arch Linux boostraptriaxx1-2/+4
2019-10-08pkg_admin(1): sort commandsjoerg2-10/+10
2019-10-07Rename py-meson to meson.prlw12-4/+4
The motivation is to consider meson as an application, so there is only one copy on the system, and as a python 3 program, it can build python 2 packages.
2019-10-06pkgtools/url2pkg: update to 19.3.3rillig2-8/+5
Changes since 19.3.2: * Replaced the Perl implementation with the Python implementation. * Improved detection of WRKSRC: only directories are candidates, regular files are ignored. * R packages are handled by R2pkg instead of url2pkg.
2019-10-06pkgtools/url2pkg: remove Perl implementationrillig2-1277/+0
The Python implementation has received more bugfixes, new features and handles all kinds of edge cases better. All previous features have been either copied or intentionally omitted.