Commit graph

5326 commits

Author SHA1 Message Date
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
gdt
4123a0828c pkgtools/pkg_rollingreplace: Update to 0.24.7
When running pkg_chk, ignore packages marked "missing", which tend to
be the wrong python version.

This is a temporary kludge, but should allow pkg_rr to run on systems
that have changed python versions.
2019-07-29 14:48:17 +00:00
wiz
1ac2210b6f *: recursive bump for gdk-pixbuf2-2.38.1 2019-07-21 22:23:57 +00:00
rjs
25564f99ff Sync with freetype2 update. 2019-07-21 21:30:14 +00:00
wiz
61114f1daf x11-links: bump bl3.mk dependency. 2019-07-20 21:11:08 +00:00
wiz
7870a149f1 x11-links: update to 0.21
Remove libXTrap reference.
2019-07-20 21:09:48 +00:00
rillig
43c0a3a483 pkgtools/pkglint: update to 5.7.16
Changes since 5.7.15:

* Completely rewrote the code for aligning multiple variable assignment
  lines. It works on the actual lines of the file now instead of the
  parsed lines. This provides more exact diagnostics and also makes the
  handling of these lines easier so that future requirements can be
  implemented more easily.

* Added support for exotic conditions in .if clauses. These conditions
  are not seen in the wild though.

* Fixed wrong diagnostics for ALTERNATIVES files that appear
  conditionally in the PLIST.

* As always: lots of refactorings and newly added tests.
2019-07-14 21:25:47 +00:00
rjs
598fcc8e46 Add libepoxy and libvdpau. 2019-07-10 22:36:49 +00:00
sevan
65b974ebf4 Use the correct prototype - thanks <gutteridge> 2019-07-09 09:43:32 +00:00
sevan
2b7b6e7854 Include strnlen(3) - Needed on Tiger and more recent Intel only Darwin releases. 2019-07-08 20:34:54 +00:00
jaapb
122fe90bf0 Added CeCiLL-B license.
This is a free software license according to the FSF:
https://www.gnu.org/licenses/license-list.en.html#CeCILL-B
2019-07-02 09:28:12 +00:00
rillig
c5f7c96ce2 pkgtools/pkglint: update to 5.7.15
Changes since 5.7.14:

* Added a check for packages that have been removed from the file system
  but not been recorded in doc/CHANGES. This will help produce more
  accurate release statistics.

* Small refactorings, as usual.
2019-07-01 22:25:52 +00:00
rillig
f5cf9c917b pkgtools/pkglint: regen pkglint.0 2019-06-30 21:03:16 +00:00
rillig
b08b5377b3 pkgtools/pkglint: update to 5.7.14
Changes since 5.7.13:

- Removed the -Cextra command line option since it didn't produce useful
  warnings.

- Removed unwarranted warnings about _WRAP_EXTRA_ARGS.CC being used in
  packages.

- Cleaned up the canonical order of variables in package Makefiles.

- Added a few commands to those that cannot fail, to reduce the number of
  "at the left of the | operator" in shell programs.

- Fixed warnings about "-ggdb" being an unknown shell command.

- Reduced number of warnings about lists being used where a single value
  is expected.

- Replaced unreliable check for invalid CFLAGS and LDFLAGS with a more
  practical check.

- Renamed "RCS tag" to "CVS tag" to make the diagnostics more modern.

- Added warning when PKGNAME or PKGVERSION is used in MASTER_SITES.

- Reworded warning for missing or superfluous PLIST files.

- Lots of other detail changes, refactorings and automatic tests.
2019-06-30 20:56:18 +00:00
brook
8f84ed939f R2pkg: update to 0.4.
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.
2019-06-24 13:46:04 +00:00
jperkin
03ddd5d987 pkgin: Update to 0.12.0.
## Version 0.12.0 (2019-06-13)

 * Fix ordering of database updates, ensuring modification times are only
   updated once the new data is committed.
2019-06-13 13:06:40 +00:00
gutteridge
8d96a149ad x11-links: add some more links to reflect NetBSD current
Add specific versions of libGL and libGLU as found in recent NetBSD
current releases.
2019-06-12 01:04:39 +00:00