https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256624
--- Comment #5 from Thierry Thomas ---
Such a command line will list all ports using devel/py-pytest in TEST_DEPENDS:
$ find /usr/ports -type d ! -name files -print -exec make -V TEST_DEPENDS -C {}
\; 2>/dev/null | grep -B 1 devel/py-pytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256624
--- Comment #4 from Goran Mekić ---
If you refer to {RUN,BUILD}_DEPENDS, yes, you're probably right, but
TEST_DEPENDS will probably yield a much larger port collection dependent on
pytest. I mean, https://www.freshports.org/devel/py-pytest/