diff options
| author | Yueh-Shun Li <shamrocklee@posteo.net> | 2025-05-01 03:46:26 +0800 |
|---|---|---|
| committer | Yueh-Shun Li <shamrocklee@posteo.net> | 2025-06-16 01:02:16 +0800 |
| commit | 76e2a397c25a4a711abd5f4b697d54f0e509cb12 (patch) | |
| tree | 5600a1fc8a675a86d766f1befec71b5aef3519a1 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | eff6dd6765606763dd20042a6684be10fb4797ce (diff) | |
treewide: pytestFlagsArray -> pytestFlags and join flag and option argument
This treewide change targets Python packages
that specifies pytest flags with pytestFlagsArray,
and whose flags cannot be consructed by other pytestCheckHook-honoured arguments.
Use the __structuredAttrs-agnostic argument pytestFlags
instead of the deprecated pytestFlagsArray.
For flags with option arguments,
join each flag and their option argument into a single command-line argument
following POSIX Utility Argument Syntax[1]
for easier overriding (remove/replace).
Examples:
* [ "-W" "ignore:message:WarningClass" ] ->
[ "-Wignore:message:WarningClass" ]
* [ "--reruns" "3" ] ->
[ "--reruns=3" ]
[1]: https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
