summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
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.
2019-10-06pkgtools/url2pkg: update man pagerillig1-46/+18
2019-10-06pkgtools/url2pkg: refer to R2pkg for creating R packagesrillig2-2/+16
2019-10-06pkgtools/pkglint4: remove more unreliable or outdated checksrillig7-358/+43
CFLAGS and LDFLAGS had been checked for GCC-style flags only. This didn't make sense since wrong flags would be detected on the exotic platforms anyway. The experimental --autofix has been removed. The check for "# used by" comments in Makefile.common has been removed. Especially the --autofix could damage files. The warnings for ICON_THEMES have been removed since they appear in groups of thousands, and the old pkglint cannot issue warnings "once per file" simply.
2019-10-06pkgtools/pkglint4: remove some unreliable checksrillig3-277/+4
The warnings about variable permissions were not understandable enough to be acted upon. The new pkglint does this better. The languages that are allowed in USE_LANGUAGES are defined differently in the pkgsrc infrastructure, thus the old parsing code does not work anymore. Therefore all identifiers are allowed now. Dependency patterns like 'package>=1.0<2.0' are no longer marked as wrong. The debatable warning about plural names is gone. The order of variables in simple Makefiles is no longer checked. Some new variables have been added in the meantime, and keeping the consistent order is not of utmost importance to those pkgsrc developers who work with pkglint4. They are experienced enough to know the rules. Missing manual pages are no longer marked in the PLIST files. It's not the job of pkgsrc to provide these files. The warning about unnoticed errors in pipelines like 'find | xargs' has been removed because the shell parser is unreliable. This is solved better in the new pkglint.
2019-10-06pkgtools/pkglint4: remove broken version checkrillig1-32/+1
The version number '4.193.0' had always been compared to the string 'pkglint4-4.193.0', which when interpreted as a version number, was: (16, 11, 7, 12, 9, 14, 20, 4, 0, 193, 0, 0). This was always greater than the (4, 0, 193, 0, 0).
2019-10-06pkgtools/pkglint4: update to 4.193.0, remove check for absolute pathsrillig19-1561/+22
The check for absolute paths is not necessary since it doesn't provide any benefit. It had been removed from pkgtools/pkglint already.
2019-10-06pkgtools/url2pkg: improve determining WRKSRCrillig2-37/+64
For setting WRKSRC, only the directories in WRKDIR are relevant, not the files.
2019-10-06pkgtools/url2pkg: fix version tag detectionrillig2-11/+5
2019-10-05pkgtools/url2pkg: update to 19.3.2rillig5-12/+22
Changes since 19.3.1 (only to the Python implementation): * In Python packages, the variables LICENSE, HOMEPAGE and COMMENT are filled from their counterparts in setup.py, no matter whether the package uses setuptools or distutils.core. * For buildlink3 dependencies, the variables BUILDLINK_DEPENDS and BUILDLINK_API_DEPENDS are added to the package Makefile. * The DESCR and PLIST files are only created if they are missing. Existing files are not overwritten. * Packages that contain .po files will set USE_PKGLOCALEDIR=yes. Before, only packages that contained .mo or .gmo did that. * More download URLs from SourceForge can be handled. * SourceForge packages get their HOMEPAGE set correctly. * When matching the URL against the MASTER_SITE_* variables, the protocol is ignored. This allows https URLs to use the MASTER_SITE_GNU, which still uses http. * Python packages from GitHub only get their MASTER_SITES converted to PyPI if they can be actually downloaded from there as well. This check was missing before.
2019-10-05pkgtools/url2pkg: clean up path handlingrillig2-104/+110
2019-10-05pkgtools/url2pkg: clean up coderillig2-15/+14
2019-10-05pkgtools/url2pkg: add test for main functionrillig3-41/+97
2019-10-05pkgtools/url2pkg: fixed migration of Python packages from GitHub to PyPIrillig2-84/+350
2019-10-05pkgtools/url2pkg: ignore URL protocolrillig2-18/+68
The MASTER_SITE_GNU still uses http:// for downloading the distfiles. Since typical URLs today use https://, ignore the protocol when matching the given URL against the MASTER_SITE_* variables from mk/fetch/sites.mk.