[Bug 264767] Mk/Uses/python.mk: Add PYTHONPATH to TEST_ENV for pytest-based tests

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 19 Jun 2022 09:58:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264767

            Bug ID: 264767
           Summary: Mk/Uses/python.mk: Add PYTHONPATH to TEST_ENV for
                    pytest-based tests
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: ports-bugs@FreeBSD.org

Created attachment 234782
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234782&action=edit
patch

Generally for pytest-based tests PYTHONPATH should contain
PYTHONPREFIX_SITELIBDIR for stagedir-installed module to be found.

-- 
You are receiving this mail because:
You are on the CC list for the bug.