git: cbb8e3610608 - main - textproc/py-chardet: Update to 4.0.0
Wen Heping
wen at FreeBSD.org
Tue Jun 1 12:14:43 UTC 2021
The branch main has been updated by wen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cbb8e36106080a07bcedff674c1ee411b70aef35
commit cbb8e36106080a07bcedff674c1ee411b70aef35
Author: Wen Heping <wen at FreeBSD.org>
AuthorDate: 2021-06-01 10:11:21 +0000
Commit: Wen Heping <wen at FreeBSD.org>
CommitDate: 2021-06-01 10:11:21 +0000
textproc/py-chardet: Update to 4.0.0
PR: 255025
Submitted by: takefu at airport.fm
---
textproc/py-chardet/Makefile | 3 +--
textproc/py-chardet/distinfo | 6 +++---
textproc/py-chardet/files/patch-test.py | 16 ----------------
3 files changed, 4 insertions(+), 21 deletions(-)
diff --git a/textproc/py-chardet/Makefile b/textproc/py-chardet/Makefile
index 9319b17eb709..252e0b74765b 100644
--- a/textproc/py-chardet/Makefile
+++ b/textproc/py-chardet/Makefile
@@ -1,8 +1,7 @@
# Created by: arved
PORTNAME= chardet
-PORTVERSION= 3.0.4
-PORTREVISION= 3
+PORTVERSION= 4.0.0
PORTEPOCH= 1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
diff --git a/textproc/py-chardet/distinfo b/textproc/py-chardet/distinfo
index 67ca82c9295b..1a905f7a6a83 100644
--- a/textproc/py-chardet/distinfo
+++ b/textproc/py-chardet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1499956132
-SHA256 (chardet-3.0.4.tar.gz) = 84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae
-SIZE (chardet-3.0.4.tar.gz) = 1868453
+TIMESTAMP = 1622541529
+SHA256 (chardet-4.0.0.tar.gz) = 0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa
+SIZE (chardet-4.0.0.tar.gz) = 1907771
diff --git a/textproc/py-chardet/files/patch-test.py b/textproc/py-chardet/files/patch-test.py
deleted file mode 100644
index 73c3e092398b..000000000000
--- a/textproc/py-chardet/files/patch-test.py
+++ /dev/null
@@ -1,16 +0,0 @@
-From 0561ddcedcd12ea1f98b7ddedb93686ed8a5ffa4 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro at hroncok.cz>
-Date: Tue, 12 Mar 2019 18:44:36 +0100
-Subject: [PATCH] Support pytest 4, don't apply marks directly to parameters
-
-Fixes https://github.com/chardet/chardet/issues/173
-
---- test.py.orig 2019-12-18 03:03:28 UTC
-+++ test.py
-@@ -59,7 +59,7 @@ def gen_test_params():
- full_path = join(path, file_name)
- test_case = full_path, encoding
- if full_path in EXPECTED_FAILURES:
-- test_case = pytest.mark.xfail(test_case)
-+ test_case = pytest.param(*test_case, marks=pytest.mark.xfail)
- yield test_case
More information about the dev-commits-ports-all
mailing list