diff --git a/devel/py-scripttest/Makefile b/devel/py-scripttest/Makefile index 91fd7bc1a577..c6c7f9cb5ae5 100644 --- a/devel/py-scripttest/Makefile +++ b/devel/py-scripttest/Makefile @@ -1,26 +1,25 @@ PORTNAME= scripttest -PORTVERSION= 1.3.0 -PORTREVISION= 1 +PORTVERSION= 2.0 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Helper to test command-line scripts WWW= https://github.com/pypa/scripttest LICENSE= MIT LICENSE_FILE= ${WRKSRC}/docs/license.rst TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} USES= python USE_GITHUB= yes GH_ACCOUNT= pypa USE_PYTHON= autoplist distutils NO_ARCH= yes do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include diff --git a/devel/py-scripttest/distinfo b/devel/py-scripttest/distinfo index 15c319922840..80eb7576b81a 100644 --- a/devel/py-scripttest/distinfo +++ b/devel/py-scripttest/distinfo @@ -1,2 +1,3 @@ -SHA256 (pypa-scripttest-1.3.0_GH0.tar.gz) = 33c2c5315538598652cecc28984557d55dbe75ff814e50e4307dc8fbfac51cd5 -SIZE (pypa-scripttest-1.3.0_GH0.tar.gz) = 14885 +TIMESTAMP = 1741802458 +SHA256 (pypa-scripttest-2.0_GH0.tar.gz) = 21483f4f07db1ba3f127b67e2b7c5b19bea1d2a4d6069006f124a3a3086a9697 +SIZE (pypa-scripttest-2.0_GH0.tar.gz) = 14676 diff --git a/devel/py-scripttest/files/patch-tests_test__string.py b/devel/py-scripttest/files/patch-tests_test__string.py deleted file mode 100644 index 4a9cc49b2efb..000000000000 --- a/devel/py-scripttest/files/patch-tests_test__string.py +++ /dev/null @@ -1,13 +0,0 @@ ---- tests/test_string.py.orig 2015-06-02 05:43:40 UTC -+++ tests/test_string.py -@@ -22,8 +22,8 @@ else: - utf8_str = 'Björk Guðmundsdóttir [ˈpjœr̥k ˈkvʏðmʏntsˌtoʊhtɪr]' - - --py2only = pytest.mark.skipif("sys.version_info >= (3, 0)") --py3only = pytest.mark.skipif("sys.version_info < (3, 0)") -+py2only = pytest.mark.skipif("sys.version_info >= (3, 0)",reason="Python 2.x Only") -+py3only = pytest.mark.skipif("sys.version_info < (3, 0)",reason="Python 3.x Only") - - - #-----------------------------------------