Date: Wed, 11 Jan 2023 09:00:27 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ca90b661cb8c - main - devel/py-pytest-relaxed: Update version 1.1.5=>2.0.0 Message-ID: <202301110900.30B90RHm033482@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ca90b661cb8c03ee83f84ebcbc77dcd8d3f19571 commit ca90b661cb8c03ee83f84ebcbc77dcd8d3f19571 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-01-11 08:27:40 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-01-11 09:00:09 +0000 devel/py-pytest-relaxed: Update version 1.1.5=>2.0.0 - Add USE_PYTHON=pytest Relnotes: https://github.com/bitprophet/pytest-relaxed/releases/tag/2.0.0 --- devel/py-pytest-relaxed/Makefile | 8 ++------ devel/py-pytest-relaxed/distinfo | 6 +++--- devel/py-pytest-relaxed/files/patch-setup.py | 11 ----------- .../files/patch-tests_test__display.py | 17 ++++------------- 4 files changed, 9 insertions(+), 33 deletions(-) diff --git a/devel/py-pytest-relaxed/Makefile b/devel/py-pytest-relaxed/Makefile index 2c81b5ad459d..c75ad848fc4c 100644 --- a/devel/py-pytest-relaxed/Makefile +++ b/devel/py-pytest-relaxed/Makefile @@ -1,6 +1,5 @@ PORTNAME= pytest-relaxed -PORTVERSION= 1.1.5 -PORTREVISION= 1 +PORTVERSION= 2.0.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,11 +16,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4>=3:devel/py-pytest4@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}decorator>=4:devel/py-decorator@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist distutils pytest NO_ARCH= yes -do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs - .include <bsd.port.mk> diff --git a/devel/py-pytest-relaxed/distinfo b/devel/py-pytest-relaxed/distinfo index 9a109ec96617..e490026a9b36 100644 --- a/devel/py-pytest-relaxed/distinfo +++ b/devel/py-pytest-relaxed/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1560858639 -SHA256 (pytest-relaxed-1.1.5.tar.gz) = e39a7e5b14e14dfff0de0ad720dfffa740c128d599ab14cfac13f4deb34164a6 -SIZE (pytest-relaxed-1.1.5.tar.gz) = 26786 +TIMESTAMP = 1673400565 +SHA256 (pytest-relaxed-2.0.0.tar.gz) = 4b373cc754666ff60f5425a69cb414642c2a11ce7a46c8ce066a738e4092ca39 +SIZE (pytest-relaxed-2.0.0.tar.gz) = 27040 diff --git a/devel/py-pytest-relaxed/files/patch-setup.py b/devel/py-pytest-relaxed/files/patch-setup.py deleted file mode 100644 index d03b242daa7d..000000000000 --- a/devel/py-pytest-relaxed/files/patch-setup.py +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2022-03-12 07:31:32 UTC -+++ setup.py -@@ -24,7 +24,7 @@ setup( - # TODO: do we need to name the LHS 'pytest_relaxed' too? meh - "pytest11": ["relaxed = pytest_relaxed.plugin"] - }, -- install_requires=["pytest>=3,<5", "six>=1,<2", "decorator>=4,<5"], -+ install_requires=["pytest>=3,<5", "six>=1,<2", "decorator>=4"], - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Framework :: Pytest", diff --git a/devel/py-pytest-relaxed/files/patch-tests_test__display.py b/devel/py-pytest-relaxed/files/patch-tests_test__display.py index e79263b4b2d0..9bfced24100d 100644 --- a/devel/py-pytest-relaxed/files/patch-tests_test__display.py +++ b/devel/py-pytest-relaxed/files/patch-tests_test__display.py @@ -1,7 +1,7 @@ # Two tests fail when warnings are present in the test run # https://github.com/bitprophet/pytest-relaxed/issues/7 ---- tests/test_display.py.orig 2019-06-14 18:05:29 UTC +--- tests/test_display.py.orig 2022-12-17 02:40:44 UTC +++ tests/test_display.py @@ -18,7 +18,7 @@ def _expect_regular_output(testdir): assert "== FAILURES ==" in output @@ -12,21 +12,12 @@ class TestRegularFunctions: -@@ -170,7 +170,7 @@ OtherBehaviors +@@ -166,7 +166,7 @@ OtherBehaviors assert "== FAILURES ==" in output assert "AssertionError" in output # Summary - assert "== 1 failed, 4 passed, 1 skipped in " in output + assert "== 1 failed, 4 passed, 1 skipped" in output - def test_tests_are_colorized_by_test_result( # noqa: F811,E501 - self, testdir, environ -@@ -225,7 +225,7 @@ OtherBehaviors - assert "== FAILURES ==" in output - assert "AssertionError" in output - # Summary -- assert "== 1 failed, 4 passed, 1 skipped in " in output -+ assert "== 1 failed, 4 passed, 1 skipped" in output - - def test_nests_many_levels_deep_no_problem(self, testdir): - testdir.makepyfile( + def test_tests_are_colorized_by_test_result( + self, testdir, environ # noqa: F811,E501
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301110900.30B90RHm033482>