NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-ansible-lint listed in the above command, you can pick from the names under the Packages section.
*/*: Use C.UTF-8 locale
Ports 02f27a83b44d fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible
with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just
upper case letters. USE_LOCALE was introduced to let ports use another
locale if they needed it. The C.UTF-8 locale was created later on to be
mostly compatible with the C locale.
Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE. The
world has moved to Unicode so all ports either require it or know how to
build correctly in a Unicode environment.
PR: 295945
Exp-run by: antoine
*: Revise USES=python:... version range constraints
and strip all lower bounds of 3.9 or 3.10 because they are implied now.
python:3.9-X -> python:-X
python:3.9+ -> python
python:3.10-X -> python:-X
python:3.10+ -> python
(options such as ,build preserved)
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288
sysutils/py-ansible-lint: adjust dependency version limits
The devel/py-ruamel.yaml port was updated to 0.18.2 recently. Remove
the dependency restriction in ansible-lint
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358
sysutils/py-ansible-lint: Set TMPDIR to ${WRKSRC}
Ensure pytest temporary files are created under ${WRKSRC} so the
testing files will be cleaned up by `make clean`. Otherwise this can
leave a tree of hundreds of files under /tmp.
sysutils/py-ansible-lint: update to 6.16.1
Loosen version requirements for the RUN_DEPENDS on py-ruamel.yaml, but
tighten them for the TEST_DEPENDS on that package. This seems
questionable to me, but it is following upstream, and in the
particular case of the ports, the py-ruamel.yaml package now fulfils
both sets of version requirements.
Changes: https://github.com/ansible/ansible-lint/releases/tag/v6.16.1
Reported by: repology
sysutils/py-ansible-lint: fix the `make test` target
Enable the test suite to actually run.
Currently this results in: 12 failed, 782 passed in 915.04s (0:15:15)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils/py-ansible-lint: upgrade to 6.0.2
Clarify the license: this software has always been released under
GPLv3, but GitHub auto-labelled it as MIT licensed due to the presence
of LICENSE.txt. While it uses some MIT licensed modules, it is GLPv3
licensed itself.
Make py-yamllint a required dependency rather than something it would
optionally use if present on the system.
ChangeLog: https://github.com/ansible/ansible-lint/releases
Add the missing RUN_DEPENDS on wcmatch (1)
Pet portlint
Attempt to fix the do-test target: unfortunately this now requires a more
modern verson of pytest than is currently available in ports.
Reported by: freebsd-ports andre.rikkertdekoe.nl