diff options
author | remi <remi@cvs.openbsd.org> | 2019-03-20 22:32:38 +0000 |
---|---|---|
committer | remi <remi@cvs.openbsd.org> | 2019-03-20 22:32:38 +0000 |
commit | 01f7c5fce7ecdc90bfa2b2ee0882554df33a6080 (patch) | |
tree | 94b68a018429dd08cb491d7cbca873aa3901955f /share/man/man5 | |
parent | 6c7e3f67345e07fce71d20f99fc6fe22c11f620b (diff) |
Document additions to the lang/python module that support pytest.
from Kurt Mosiejczuk
ok kn@
Diffstat (limited to 'share/man/man5')
-rw-r--r-- | share/man/man5/port-modules.5 | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5 index 2e3679710b7..c47fee84b1a 100644 --- a/share/man/man5/port-modules.5 +++ b/share/man/man5/port-modules.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: port-modules.5,v 1.234 2018/11/05 15:59:47 espie Exp $ +.\" $OpenBSD: port-modules.5,v 1.235 2019/03/20 22:32:37 remi Exp $ .\" .\" Copyright (c) 2008 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (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: November 5 2018 $ +.Dd $Mdocdate: March 20 2019 $ .Dt PORT-MODULES 5 .Os .Sh NAME @@ -1321,10 +1321,12 @@ Sets .Ev MODPY_LIBDIR , .Ev MODPY_SITEPKG , .Ev MODPY_SETUP , +.Ev MODPY_TEST_LOCALE , .Ev MODPY_WANTLIB , .Ev MODPY_LIB_DEPENDS , .Ev MODPY_RUN_DEPENDS , -.Ev MODPY_BUILD_DEPENDS +.Ev MODPY_TEST_DEPENDS , +.Ev MODPY_BUILD_DEPENDS , and .Ev MODPY_ADJ_FILES . Appends to @@ -1339,11 +1341,30 @@ unless is set to No or .Ev NO_BUILD is set to Yes. +Appends to +.Ev TEST_DEPENDS +if +.Ev MODPY_PYTEST +is set to Yes +unless +.Ev MODPY_TESTDEP +is set to No. +Appends +.Ev MODPY_TEST_LOCALE +to +.Ev TEST_ENV . .Ev MODPY_VERSION is the default version used by all python modules. Ports which use the setuptools module should set .Ev MODPY_SETUPTOOLS to Yes. +Ports which use the pytest module should set +.Ev MODPY_PYTEST +to Yes. +Arguments can be passed to pytest during +.Cm test +with +.Ev MODPY_PYTEST_ARGS . All ports that generate egg-info files should set .Ev MODPY_EGG_VERSION to the version string used by the port's setup.py setup() function. |