Port details |
- py-chardet Universal encoding detector for Python
- 5.2.0,1 textproc
=25 5.2.0,1Version of this port present on the latest quarterly branch. - Maintainer: python@FreeBSD.org
 - Port Added: 2006-01-25 22:49:18
- Last Update: 2023-12-25 16:11:02
- Commit Hash: 941eb46
- People watching this port, also watch:: expat, pcre, libxml2, libgpg-error, sqlite3
- Also Listed In: python
- License: LGPL21
- WWW:
- https://chardet.readthedocs.io/en/latest/
- https://github.com/chardet/chardet
- Description:
- Character encoding auto-detection in Python.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/textproc/py-chardet/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/py-chardet
- pkg install py39-chardet
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-chardet listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-chardet
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1703495907
SHA256 (chardet-5.2.0.tar.gz) = 1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7
SIZE (chardet-5.2.0.tar.gz) = 2069618
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=0 : devel/py-setuptools@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- py39-hypothesis>=0 : devel/py-hypothesis@py39
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- This port is required by:
- for Build
-
- devel/cvise
- devel/py-trimesh
- math/py-mathics-scanner
- for Run
-
- audio/py-music21
- biology/py-resdk
- devel/cvise
- devel/py-binaryornot
- devel/py-dataflows-tabulator
- devel/py-datapackage
- devel/py-diff-cover
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- textproc_py-chardet
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
5.2.0,1 25 Dec 2023 16:11:02
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-chardet: Update to 5.2.0
- Update WWW
- Convert to USE_PYTHON=pep517
Changes: https://github.com/chardet/chardet/releases |
4.0.0,1 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
4.0.0,1 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
4.0.0,1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
4.0.0,1 20 Jul 2022 14:23:14
    |
Tobias C. Berner (tcberner)  |
textproc: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* -
* <glewis@FreeBSD.org>
* <koshy@india.hp.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron Straup Cope
* Aaron Straup Cope <ascope@cpan.org>
* Ache
* Adam Herzog <adam@herzogdesigns.com>
* Adam Weinberger <adamw@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
4.0.0,1 21 Jun 2022 16:36:33
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-chardet: Convert to USE_PYTHON=pytest |
4.0.0,1 16 Apr 2022 04:19:45
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-chardet: Update WWW |
4.0.0,1 10 Jun 2021 14:46:20
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/py-chardet: Update do-test:
- Update COMMENT
- Clean up TEST_DEPENDS
- Sort TEST_DEPENDS |
4.0.0,1 01 Jun 2021 10:11:21
    |
Wen Heping (wen)  |
textproc/py-chardet: Update to 4.0.0
PR: 255025
Submitted by: takefu@airport.fm |
3.0.4_3,1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
3.0.4_3,1 25 Mar 2021 13:23:36
  |
rm  |
textproc/py-chardet: pass maintainership to python
Last update (now reverted) broke many consumers in the tree,
so I feel it would be more responsible to pass this significant
port under python@ wing.
PR: 254536 |
3.0.4_3,1 25 Mar 2021 08:11:07
  |
antoine  |
Revert r569127, half of the ports tree is skipped after this upgrade
With hat: portmgr
Reported by: pkg-fallout |
4.0.0 24 Mar 2021 14:42:03
  |
rm  |
textproc/py-chardet: update to 4.0.0
Changelog:
https://github.com/chardet/chardet/releases/tag/4.0.0
Remove patch merged upstream. |
3.0.4_3 09 Jan 2021 16:34:07
  |
antoine  |
Remove python 2.7 support from a few ports |
3.0.4_3 18 Dec 2019 04:52:14
  |
koobs  |
textproc/py-charset: Fix test target
Fix test invocation with pytest 4.x [1], which was failing with:
if len(param.values) != len(argnames):
E TypeError: object of type 'MarkDecorator' has no len()
While here, fix out of order MASTER_SITES
[1] https://github.com/chardet/chardet/pull/174
Approved by: portmgr (blanket: ports compliance)
MFH: 2019Q4 (blanket(s): bugfix, ports compliance) |
3.0.4_2 08 Dec 2019 23:04:55
  |
rm  |
textproc/py-chardet: drop uncoditional pytest dependency
Dependency on pytest-runner is only used when setup.py is called
with `test` target, so drop it from BUILD_DEPENDS.
PR: 241767
Submitted by: ngie
Reviewed by: koobs
MFH: 2019Q4 |
3.0.4_1 10 Apr 2019 06:18:32
  |
antoine  |
Bump a few PORTREVISIONs after r498529
With hat: portmgr |
3.0.4 20 Jun 2018 17:05:44
  |
mat  |
Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.
Sponsored by: Absolight |
3.0.4 30 Nov 2017 15:50:34
  |
mat  |
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the (Only the first 15 lines of the commit message are shown above ) |
3.0.4 14 Jul 2017 20:15:14
  |
rm  |
textproc/py-chardet: update to 3.0.4 |
3.0.3 06 Jun 2017 20:55:21
  |
rm  |
textproc/py-chardet: update to 3.0.3 |
3.0.2 06 Jun 2017 09:56:50
  |
koobs  |
textproc/py3-chardet: Convert to slave port
The last update to www/py-requests [1] requires chardet >= 3.0.2. This commit
resulted in pkg-fallout notifications for the www/py3-requests port indicating
that the dependency version could not be satisfied:
py36-requests-2.17.3 depends on package: py36-chardet>=3.0.2 - not found
The textproc/py-chardet port version is 3.0.2, satisfying the dependency
and its minimum version requirement, but the textproc/py3-chardet port version
is 2.3.0. This is due to the py3-chardet being a copy of, not a slave of, and
inheriting values from py-chardet.
py3-foo ports are currently a workaround, used to provide Python 3.x versions of
dependencies for those ports that are built with Python 3.x. (Only the first 15 lines of the commit message are shown above ) |
3.0.2 23 Apr 2017 16:17:12
  |
rm  |
textproc/py-chardet: update to 3.0.2; use upstream tests |
2.3.0_1 01 Apr 2016 14:25:18
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
2.3.0_1 05 Mar 2016 04:05:33
  |
koobs  |
textproc/py-chardet: Enable concurrent, Modernize
- Enable "concurrent" Python installation
- Switch to GITHUB for DISTFILES (includes tests)
- Add test target
- Patch setup.py and test.py to support setuptools 'test' command
- Enable NO_ARCH (architecture independent)
[1] https://github.com/chardet/chardet/issues/13
Reviewed by: rm (maintiner)
Approved by: rm (maintainer)
Differential Revision: D5517 |
2.3.0 12 Jan 2015 08:09:10
  |
rm  |
textproc/py-chardet: update to 2.3.0
- update to 2.3.0
- remove docs related code - it's not on the distfile anymore |
2.2.1 07 Dec 2014 10:01:37
  |
mva  |
- Convert textproc/ to USES=python
With hat: python@ |
2.2.1 23 Dec 2013 21:52:02
  |
rm  |
- update to 2.2.1
- support staging
- update WWW
PR: 164855
Submitted by: olivierd (based on) |
2.0.1_1 20 Sep 2013 23:17:32
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
2.0.1_1 02 Nov 2012 12:08:08
  |
rm  |
- take maintainership
- trim Makefile header
- remove redundant LICENSE_FILE
- tab -> space change in pkg-descr:WWW
Feature safe: yes |
2.0.1_1 08 Apr 2012 06:42:12
 |
miwi  |
- Fix MASTER_SITES
- Add LICENSE
- Support COPYTREE_SHARE
PR: 166052
Submitted by: Ports Fury
Feature safe: yes |
2.0.1 04 Mar 2012 12:49:56
 |
miwi  |
- Update WWW
PR: 164855
Submitted by: Olivier Duchateau <duchateau.olivier@gmail.com> |
2.0.1 03 Jul 2011 14:40:25
 |
ohauer  |
-remove MD5 |
2.0.1 03 Apr 2010 20:42:15
 |
lwhsu  |
- Update to 2.0.1
PR: ports/144346
Submitted by: Kouki Hashimoto <hsmtkk AT gmail.com> |
1.0.1 12 Mar 2008 10:23:46
 |
arved  |
Update to 1.0.1
Drop maintainership |
1.0_3 09 Nov 2006 15:10:11
 |
kuriyama  |
Add a workaround to avoid unexpected exception during processing
iso-2022-jp encoding with specific character.
Approved by: maintainer |
1.0_2 15 Mar 2006 13:11:16
 |
arved  |
Install PORTDOCS
PR: 94460
Submitted by: Dryice Liu |
1.0_1 28 Jan 2006 22:18:17
 |
arved  |
Fix pkg-plist
Reported by: pointyhat |
1.0 25 Jan 2006 22:46:32
 |
arved  |
Add py-chardet, Mark Pilgrim's "Universal Encoding Detector" |