View | Details | Raw Unified | Return to bug 255025
Collapse All | Expand All

(-)./distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1499956132
1
TIMESTAMP = 1618301336
2
SHA256 (chardet-3.0.4.tar.gz) = 84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae
2
SHA256 (chardet-4.0.0.tar.gz) = 0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa
3
SIZE (chardet-3.0.4.tar.gz) = 1868453
3
SIZE (chardet-4.0.0.tar.gz) = 1907771
(-)./files/patch-test.py (-16 lines)
Lines 1-16 Link Here
1
From 0561ddcedcd12ea1f98b7ddedb93686ed8a5ffa4 Mon Sep 17 00:00:00 2001
2
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
3
Date: Tue, 12 Mar 2019 18:44:36 +0100
4
Subject: [PATCH] Support pytest 4, don't apply marks directly to parameters
5
6
Fixes https://github.com/chardet/chardet/issues/173
7
8
--- test.py.orig	2019-12-18 03:03:28 UTC
9
+++ test.py
10
@@ -59,7 +59,7 @@ def gen_test_params():
11
             full_path = join(path, file_name)
12
             test_case = full_path, encoding
13
             if full_path in EXPECTED_FAILURES:
14
-                test_case = pytest.mark.xfail(test_case)
15
+                test_case = pytest.param(*test_case, marks=pytest.mark.xfail)
16
             yield test_case
(-)./Makefile (-2 / +1 lines)
Lines 1-8 Link Here
1
# Created by: arved
1
# Created by: arved
2
2
3
PORTNAME=	chardet
3
PORTNAME=	chardet
4
PORTVERSION=	3.0.4
4
PORTVERSION=	4.0.0
5
PORTREVISION=	3
6
PORTEPOCH=	1
5
PORTEPOCH=	1
7
CATEGORIES=	textproc python
6
CATEGORIES=	textproc python
8
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP

Return to bug 255025