./pkgtools/url2pkg, Tool to automate initial steps in building a package

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 23.3.0, Package name: url2pkg-23.3.0, Maintainer: rillig

The url2pkg program creates a new pkgsrc package from only the URL of a
distribution file. It is intended to help pkgsrc developers create new
packages quickly and easily.


Required to run:
[lang/perl5] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Version history: (Expand)


CVS history: (Expand)


   2024-01-17 22:01:07 by Roland Illig | Files touched by this commit (3)
Log message:
pkgtools/url2pkg: omit lowercase Perl dependencies, sort dependencies
   2024-01-17 20:46:47 by Roland Illig | Files touched by this commit (1)
Log message:
pkgtools/url2pkg: test Perl module with several dependencies
   2024-01-17 20:09:24 by Roland Illig | Files touched by this commit (1)
Log message:
pkgtools/url2pkg: fix license_default line in generated makefile

Previously, url2pkg generated a 'license_default=...' line in the
package Makefile, which was confusing. That line was supposed to be a
special url2pkg command, not a makefile variable.

Discovered by gdt@ while packaging devel/p5-Devel-Entropy.
   2024-01-17 19:35:52 by Roland Illig | Files touched by this commit (1) | Package updated
Log message:
pkgtools/url2pkg: update to 23.3.0

Changes since 23.2.1:

For Perl and Python packages, use TOOL_DEPENDS instead of BUILD_DEPENDS
for the build-time dependencies.

For Perl modules that use Module::Build, don't add a redundant
dependency to p5-Module-Build.
   2024-01-17 19:33:43 by Roland Illig | Files touched by this commit (2)
Log message:
pkgtools/url2pkg: skip p5-Module-Build for Module::Build Perl packages

That dependency is added implicitly whenever PERL5_MODULE_TYPE is
Module::Build.

Suggested by gdt@.
   2024-01-17 18:18:15 by Roland Illig | Files touched by this commit (4)
Log message:
url2pkg: use TOOL_DEPENDS for Perl and Python modules

Suggested by gdt@.
   2023-10-30 08:12:49 by Thomas Klausner | Files touched by this commit (3)
Log message:
url2pkg: use wheel.mk for Python packages

Bump version.
   2023-08-15 23:20:03 by Roland Illig | Files touched by this commit (2)
Log message:
url2pkg: clean and extract after adjusting the package

The first 'bmake extract' is done only to look at the files from the
package, to determine the dependencies.  In that stage, the package
cannot be built successfully.  To make the whole workflow less
surprising, install the auto-detected dependencies before leaving the
rest of the work to the human package maintainer.  This means that
running url2pkg produces more output and may take significantly more
time, but that time would be spent anyway later, so it's a net win.

Suggested by gdt@.