Age | Commit message (Collapse) | Author | Files | Lines |
|
For the benefit of wip/py-torch.
|
|
Having a nested function accessing nonlocal variables was more
complicated to understand than the straight-forward copy-and-paste code.
|
|
Needed for geography/py-maxmindb.
|
|
|
|
Needed for www/py-pook 1.0.2.
|
|
Start each shell command in a new line. This makes it easier to find the
'for' that corresponds to the 'done', especially since the 'done' could
also be started by a 'while' or an 'until'.
No functional change.
|
|
Resuming the transfer only works if there already is a distinfo file, as
otherwise the correct size of the file is not known.
This prevents these warnings from mk/fetch/fetch:
> fetch: ``-r'' requires ``-f distinfo''.
> fetch: Falling back to non-resume fetch.
|
|
When url2pkg determines the metadata of a Python module, it had merged
the two implementations for Python's distutils and setuptools, which
made the code hard to understand. Split them again.
Extend the support for setuptools, so that url2pkg correctly handles
wip/pytorch; it still fails because pytorch does some Git stuff from
inside setup.py, but that may be fixed later.
Bump version to 22.2.0.
|
|
|
|
|
|
No functional change.
|
|
|
|
|
|
Previously, it was necessary to create the package directory, change
into it and then run url2pkg from there. Since the name of the package
directory usually corresponds to DISTNAME without the version number,
all necessary data is readily available, so automate this.
Update version to 21.4.2.
|
|
|
|
In a few commits, this will allow url2pkg to be run from a category
directory, thereby omitting the need to create the package directory
manually.
No functional change.
|
|
|
|
https://mail-index.netbsd.org/tech-pkg/2021/12/31/msg025908.html
Bump version.
|
|
|
|
In the first phase, url2pkg generates a minimal package Makefile, barely
enough for downloading the distfile from the given URL. That part runs
fully automated in almost all cases, so there is no need to invoke the
editor at this point.
After adjusting the package Makefile based on the downloaded and
extracted distfile, url2pkg has done its job, so there is no reason to
run the editor there as well.
Bump version.
|
|
Changes since 21.1.0:
When creating a package from a GitHub archive URL, make the generated
package simpler and place the distfile in the main directory instead of
using DIST_SUBDIR.
|
|
Seen in wip/netmask.
|
|
This includes the PYPKGPREFIX for Python dependencies, whether or not
they use buildlink3.
|
|
Reported by Brook Milligan via private mail.
|
|
|
|
|
|
Changes since 20.4.0:
Fixed handling of GitHub archive URLs with extra slashes, such as
https://github.com/org/proj/archive/refs/tags/1.0.0.tar.gz.
|
|
Reported by Brook Milligan via private mail.
|
|
|
|
For the Python 3.8 default switch.
|
|
Changes since 20.2.0:
Fixed detection for V2 Cargo.lock files. Patch provided by snow flurry
via tech-pkg, slightly adjusted. The test case for Cargo.lock file
detection had been incomplete and unrealistic. It has been extended to
show the relevant section of a whole package.
https://mail-index.netbsd.org/tech-pkg/2020/10/12/msg023897.html
https://mail-index.netbsd.org/tech-pkg/2020/10/13/msg023901.html
https://mail-index.netbsd.org/tech-pkg/2020/10/13/msg023902.html
|
|
|
|
No code changes. This is just to align the url2pkg version number with
the upcoming branch name.
|
|
|
|
pkglint --only "https instead of http" -r -F
With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.
This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
|
|
|
|
Changes since 19.3.6:
Detect whether the package uses GNU Make, based on the top-level
Makefile.
|
|
Changes since 19.3.5:
No longer print a stack trace when Ctrl+C is pressed.
|
|
Changes since 19.3.4:
Added the license names from R2pkg and texlive2pkg.
|
|
Changes since 19.3.3:
The code that handles license names is the same for Python and Perl
modules.
Python packages that use distutils.extension can be handled. An example
package is devel/py-pysha3.
The DESCR file is filled from the package's README file.
The PLIST is generated with some comments providing further assistance.
|
|
This way, the code is shared between Python modules, Perl modules, and
maybe in the future R packages.
No functional change.
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
|
|
For setting WRKSRC, only the directories in WRKDIR are relevant, not the
files.
|