-.\" $OpenBSD: python-module.5,v 1.11 2024/04/17 13:34:23 sthen Exp $
+.\" $OpenBSD: python-module.5,v 1.12 2024/05/28 16:05:39 sthen Exp $
.\"
.\" Copyright (c) 2008 Marc Espie
.\"
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 17 2024 $
+.Dd $Mdocdate: May 28 2024 $
.Dt PYTHON-MODULE 5
.Os
.Sh NAME
.Sq --ignore ,
or to disable certain individual tests with
.Sq -k .
+User setting
+.Ev MODPY_PYTEST_USERARGS ,
+if present, is passed on the command line.
+This allows setting py.test flags to increase verbosity,
+show test durations, enable colours, etc.
.Pp
All ports that generate egg-info or dist-info files should set
.Ev MODPY_EGG_VERSION
at the end of
.Cm pre-configure .
.Pp
+For ports not using standard Python build infrastructure,
+it may be necessary to bytecode-compile installed .py files.
+This can be done by using
+.Ev ${MODPY_COMPILEALL} ,
+usually in a post-install target.
+This passes flags to use MAKE_JOBS, strip off WRKINST, and use
+standard optimization passes.
+File or directory names can be given.
+Directories are handled recursively.
+.Pp
This module also affects
.Ev CATEGORIES ,
.Ev MAKE_ENV ,