Index: devel/py-setuptools_scm/Makefile =================================================================== --- devel/py-setuptools_scm/Makefile +++ devel/py-setuptools_scm/Makefile @@ -29,6 +29,8 @@ NO_ARCH= yes +TEST_ENV+= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} + # Optional tests that depend on `dir` (windows) and `hg_git` (no longer in ports) will be skipped # test_case_mismatch_on_windows_git we're not on windows...