pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-typer



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Nov 23 07:21:14 UTC 2026

Modified Files:
        pkgsrc/devel/py-typer: Makefile

Log Message:
py-typer: set some environment variables

all tests pass now


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/py-typer/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-typer/Makefile
diff -u pkgsrc/devel/py-typer/Makefile:1.19 pkgsrc/devel/py-typer/Makefile:1.20
--- pkgsrc/devel/py-typer/Makefile:1.19 Sun Nov 22 20:31:13 2026
+++ pkgsrc/devel/py-typer/Makefile      Mon Nov 23 07:21:14 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2026/11/22 20:31:13 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2026/11/23 07:21:14 wiz Exp $
 
 DISTNAME=      typer-0.29.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -23,18 +23,11 @@ USE_LANGUAGES=      # none
 
 PY_RENAME_BINARIES=    typer
 
-# as of 0.29.2
-#    1620 passed
-#       7 failed
-#         - tests/test_tutorial/test_options/test_help/test_tutorial004.py:31 test_help[tutorial004_non_an]
-#         - tests/test_tutorial/test_options/test_help/test_tutorial004.py:31 test_help[tutorial004]
-#         - tests/test_tutorial/test_parameter_types/test_enum/test_tutorial003.py:25 test_help[tutorial003_non_an]
-#         - tests/test_tutorial/test_parameter_types/test_enum/test_tutorial003.py:25 test_help[tutorial003]
-#         - tests/test_type_conversion.py:166 test_tuple_wrong_arity
-#         - tests/test_types_file.py:138 test_binary_stderr
-#         - tests/test_types_file.py:273 test_file_error
-#       3 xfailed
-#      39 skipped
+# as of 0.29.2, all tests pass after 'make install'
+TEST_ENV+=     PYTHONPATH=${WRKSRC}
+# from scripts/test.sh
+TEST_ENV+=     TERMINAL_WIDTH=3000
+TEST_ENV+=     _TYPER_FORCE_DISABLE_TERMINAL=1
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index