Nuno Teixeira wrote:
Hello,

Just found that PYTEST_ARGS isn't respected when pytest is placed in USE_PYTHON instead of USES. pytest.mk <http://pytest.mk> could be misleading pointing its correct place in USES as I remember a big discussion about it long time ago. Anyway, I see no other python port using PYTEST_ARGS for comparison, I see that some ports uses pytest on both places and certainly I've spoted a bug.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289005 <https:// bugs.freebsd.org/bugzilla/show_bug.cgi?id=289005>

USES=pytest should not be used in general; USE_PYTHON=pytest is the way. There is currently no support for ${PYTEST_ARGS} in USES=python as pytest has its own entry point, rather than pointing to arbitrary file(s) for said entry point like the referenced port/bug.

--
Charlie Li
...nope, still don't have an exit line.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to