Commit graph

5342 commits

Author SHA1 Message Date
gdt
e0be187af7 pkgtools/pkg_rolling-replace: Update to 0.24.8
Be more tolerant of not finding PKGPATH, and basically attempt to skip
the package rather than treating it as a fatal error.  (This was a
stray edit that I've been running with for a while.)
2019-08-27 19:30:36 +00:00
markd
361a8eacce texlive2pkg: update to 1.7
add option to derive doc tarball path from the base package path.
allow tarball path to be a url.
2019-08-27 06:21:18 +00:00
rillig
00b8c55b94 pkgtools/pkglint: update to 5.7.22
Changes since 5.7.21:

* The files from wip/mk do not belong to the main pkgsrc infrastructure.
  Therefore, when loading the package Makefile to look for defined but
  unused variables, parsing doesn't stop in these files.
2019-08-25 21:47:11 +00:00
rillig
397e7ee2b6 pkgtools/pkglint: update to 5.7.22
Changes since 5.7.21:

* The files from wip/mk do not belong to the main pkgsrc infrastructure.
  Therefore, when loading the package Makefile to look for defined but
  unused variables, parsing doesn't stop in these files.
2019-08-25 21:44:37 +00:00
rjs
f57dc4ec7f x11-links-1.29: Add libxshmfence. 2019-08-23 15:18:39 +00:00
nia
9a362856a2 x11-links-1.28: Add dri3proto 2019-08-22 13:01:14 +00:00
nia
772c540667 x11-links-1.27: Add libXfont2 2019-08-22 12:35:37 +00:00
rillig
269a5efe8e pkgtools/pkglint: update to 5.7.21
Changes since 5.7.20:

* PKG_OPTIONS that are handled using patterns are correctly identified.

* Simple R packages should follow the canonical variable order.

* Fixed some edge cases for aligning variable assignments.

* Improved detection of allowed values for USE_LANGUAGES.
2019-08-21 16:45:16 +00:00
hauke
6febf13e03 Bump the _other_ version, since the sources have changed. 2019-08-21 13:22:10 +00:00
hauke
29ff1771b9 Properly preserve patch comments when working with a readonly pkgsrc tree.
Do not prefix an absolute path argument with $cwd.
Declare a handful of variables, and 'use warnings'.

Fixes PR pkg/54485
2019-08-21 13:00:06 +00:00
nia
3df6869755 x11-links-1.26: Add libsync.h from libdrm 2019-08-21 11:51:46 +00:00
nia
dda183b23d x11-links-1.25: Add xcb-dri3.pc 2019-08-21 09:48:41 +00:00
rillig
a125668415 pkgtools/url2pkg: rewrite regular expression to avoid confusing mcedit 2019-08-18 21:04:37 +00:00
rillig
22c2dd5000 pkgtools/url2pkg: add a few more tests 2019-08-18 18:02:48 +00:00
rillig
b03b08976f pkgtools/url2pkg: document and clean up the code 2019-08-18 17:34:13 +00:00
rillig
3cd16da354 pkgtools/url2pkg: rename helper functions 2019-08-18 16:18:04 +00:00
rillig
d4af333aea pkgtools/url2pkg: migrate from GitHub to PyPI if necessary
Suggested by gdt@ via private mail.
2019-08-18 16:09:01 +00:00
rillig
8a91656475 pkgtools/url2pkg: move chdir into the main test function 2019-08-18 13:59:38 +00:00
rillig
f95f30668b pkgtools/url2pkg: consistently use double quotes for string literals 2019-08-18 13:49:13 +00:00
rillig
b336a24430 pkgtools/url2pkg: add secondary category for Perl and Python modules 2019-08-18 13:32:21 +00:00
rillig
ffd7a81520 pkgtools/url2pkg: determine the dependencies of Python modules 2019-08-18 11:26:33 +00:00
rillig
e31d74bb59 pkgtools/url2pkg: remove unnecessary local variable 2019-08-18 07:51:40 +00:00
rillig
53e0f2f323 pkgtools/url2pkg: update SourceForge and GitHub to use https only 2019-08-18 07:47:58 +00:00
rillig
f1c6a5b7ac pkgtools/url2pkg: rename magic subroutines
There's nothing magic about generating a package Makefile based on the
extracted distfile.
2019-08-18 07:10:32 +00:00
rillig
34d88b9637 pkgtools/url2pkg: extract code for writing lines to file 2019-08-18 06:56:20 +00:00
rillig
debcaff424 pkgtools/url2pkg: add abstraction for variable assignments 2019-08-18 06:41:16 +00:00
maya
8090649252 url2pkg 2.31:
maya:
detect meson

rillig:
refactor generation of Makefiles
rename local variables to match pkgsrc counterparts
make print_section simpler to use
run editor with line number only if supported
refactoring to make Makefile generation testable
make dist_subdir a local variable
initialize dist_subdir early
fix indentation
fix for p5-HTML-Quoted
fix parsing of mk/fetch/sites.mk
2019-08-18 06:23:19 +00:00
rillig
c8165cd5fe pkgtools/url2pkg: refactor generation of Makefiles
By generating the content of the files before actually writing it to
disk, the code becomes easier to test.
2019-08-18 06:10:38 +00:00
rillig
a512e58bcd pkgtools/url2pkg: rename local variables to match pkgsrc counterparts 2019-08-18 05:47:53 +00:00
rillig
808726fee3 pkgtools/url2pkg: make print_section simpler to use 2019-08-18 05:43:28 +00:00
rillig
5d93f64634 pkgtools/url2pkg: run editor with line number only if supported
For example, ed doesn't support line numbers.
2019-08-18 05:32:00 +00:00
rillig
cd66a9f66d pkgtools/url2pkg: refactoring to make Makefile generation testable 2019-08-17 13:55:41 +00:00
rillig
c2795bab59 pkgtools/url2pkg: make dist_subdir a local variable 2019-08-17 13:25:50 +00:00
rillig
45f97a2077 pkgtools/url2pkg: initialize dist_subdir early 2019-08-17 13:23:35 +00:00
rillig
1e8f792cb2 pkgtools/url2pkg: fix indentation 2019-08-17 13:21:42 +00:00
rillig
c2e9450afe pkgtools/url2pkg: fix for p5-HTML-Quoted 2019-08-17 13:12:00 +00:00
rillig
1dc738feb7 pkgtools/url2pkg: reduce code indentation 2019-08-17 12:50:00 +00:00
rillig
6cfa994ef0 pkgtools/url2pkg: fix parsing of mk/fetch/sites.mk
Before, the final line of each MASTER_SITE_* definition had been skipped
because it didn't end with a backslash. That part of the regular
expression had always been intended to be optional. That bug lasted
almost 13 years, which is remarkably long but not the record.

The mk/fetch/sites.mk is now closed properly, which has gone unnoticed
for almost 13 years as well.

Google Code doesn't exist anymore, therefore there's no point in keeping
it.
2019-08-17 11:57:36 +00:00
rillig
6ff137259f pkgtools/pkglint: update to 5.7.20
Changes since 5.7.19:

* Fixed warning about unknown C++ standard versions, which had appeared
  after the code in mk/compiler.mk changed.
2019-08-16 21:00:17 +00:00
bsiegert
2b7e432294 Recursive bump of all packages using Go after Go 1.12.8 update. 2019-08-14 15:45:31 +00:00
markd
19b4a542dd texlive2pkg: update to 1.6
use https homepage
more license mappings
2019-08-12 08:35:14 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
maya
aaa400fb13 x11-links 1.24: libdrm_{nouveau,amdgpu} libraries were missing. 2019-08-10 19:47:37 +00:00
maya
445d92d08c x11-links 1.23: add libdrm_{nouveau,amdgpu} pkgconfig files. 2019-08-10 19:34:46 +00:00
brook
b0f27a7a6a Update to version 0.6.
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-08 20:14:26 +00:00
rillig
00a1cb3911 pkgtools/pkglint: update to 5.7.19
Changes since 5.7.18:

* The tricky construct for generating case-items from a Make variable
  no longer produces parse errors. Example:

  case $$expr in ${PATTERNS:@p@ (${p}) action ;; @} esac
2019-08-02 18:55:07 +00:00
rillig
3a9242e2e6 pkgtools/pkglint: update to 5.7.18
Changes since 5.7.17:

* Added "R" to the list of valid secondary categories.
2019-08-01 22:38:49 +00:00
brook
93044fb2ef R2pkg: update to version 0.5. 2019-08-01 13:11:08 +00:00
rillig
07a3bdb40f pkgtools/pkglint: fix test for doc/CHANGES removals 2019-07-30 18:31:43 +00:00
rillig
139b0319b0 pkgtools/pkglint: update to 5.7.17
Changes since 5.7.16:

* The warnings for doc/CHANGES are only enabled when the -Cglobal option
  is given. This is to avoid warnings that are unrelated to the package
  that is being checked.
2019-07-30 18:16:13 +00:00