devel/py-scripttest: Update to 2.0

- Remove files/patch-tests_test__string.py

Reported by:	portscout!
This commit is contained in:
Nicola Vitale 2025-03-12 19:05:16 +01:00
parent eec95871b0
commit 6180f60d66
No known key found for this signature in database
GPG key ID: A51E190C4C0808D0
3 changed files with 4 additions and 17 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= scripttest
PORTVERSION= 1.3.0
PORTREVISION= 1
PORTVERSION= 2.0
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -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

View file

@ -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")
#-----------------------------------------