void-packages/common
Andrew J. Hesford fa5500228e build-style/python3-{module,pep517}.sh: improve pytest usage
1. Relying on `python3 -m pytest --help` to test for pytest can fail
   because the pytest packages's __main__ is still invoked; this can
   trigger import problems and falsely indicate that pytest is missing.
   A simpler test is to just confirm that pytest is importable. If so,
   the interpreter returns 0. Otherwise, an ImportError is thrown and
   the interpreter will return 1.

2. Many templates require a custom do_check just to set PYTHONPATH to
   either a build directory (especially for compiled extensions) or some
   subdirectory of the source tree. Setting PYTHONPATH automatically to
   the build directory should drastically reduce the need for custom
   do_check in py3 templates. (This only applies to python3-module.sh
   because pep517 builders will have unpredictable build directories.)

Closes: #31354.
2021-06-08 13:53:15 -04:00
..
build-helper build-helper/qmake: respect {C,CXX,LD}FLAGS 2021-04-09 18:06:35 +07:00
build-profiles common/build-profile/i686-musl: fix triplet 2021-02-02 01:25:46 +01:00
build-style build-style/python3-{module,pep517}.sh: improve pytest usage 2021-06-08 13:53:15 -04:00
chroot-style xbps-src: remove proot chroot-style 2020-12-29 23:02:16 -08:00
cross-profiles cross-profiles: fix qemu name for ppcle 2021-03-13 03:25:36 +01:00
environment build-style/cmake: always depends on cmake in host 2021-06-07 15:38:30 +07:00
hooks base-files: fix conf files replacing each other wrong 2021-02-28 02:05:33 +01:00
repo-keys
scripts common: add lint-version-change 2021-05-27 21:18:38 +02:00
travis changed_templates: exit early if no merge-base could be found 2021-06-01 08:31:00 +07:00
wrappers common/wrappers: add -L/usr/lib{32,64} to arguments ignored by cross-cc. 2021-02-09 23:01:46 -03:00
xbps-src update-check: fix update pattern for literal dot 2021-05-23 12:11:03 +07:00
options.description options.description: describe portaudio and clean up from templates 2021-03-07 23:50:23 -03:00
shlibs libmicrohttpd: update to 0.9.73. 2021-06-08 00:51:49 -03:00