notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
py-chardet Universal encoding detector for Python
4.0.0,1 textproc on this many watch lists=21 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.0.4_3,1Version of this port present on the latest quarterly branch.
Maintainer: python@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2006-01-25 22:49:18
Last Update: 2021-06-10 14:46:20
Commit Hash: e6a50aa
People watching this port, also watch:: libxml2, expat, pcre, libiconv, gnutls
Also Listed In: python
License: LGPL21
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}>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 py38-chardet
NOTE: This is a Python port. Instead of py38-chardet listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py38-chardet
Package flavors (<flavor>: <package>)
  • py38: py38-chardet
distinfo:
Packages (timestamps in pop-ups are UTC):
py27-chardet
ABIlatestquarterly
FreeBSD:11:aarch643.0.43.0.4_3
FreeBSD:11:amd64--
FreeBSD:11:armv62.3.0_13.0.4_3
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips642.3.0_13.0.4_3
FreeBSD:12:aarch643.0.4-
FreeBSD:12:amd64--
FreeBSD:12:armv63.0.43.0.4_3
FreeBSD:12:armv73.0.43.0.4_3
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips643.0.43.0.4_3
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc643.0.4_3-
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 
py36-chardet
ABIlatestquarterly
FreeBSD:11:aarch643.0.4-
FreeBSD:11:amd64--
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch643.0.4-
FreeBSD:12:amd64--
FreeBSD:12:armv63.0.4-
FreeBSD:12:armv73.0.4-
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips643.0.4-
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 
py37-chardet
ABIlatestquarterly
FreeBSD:11:aarch64-3.0.4_3
FreeBSD:11:amd64-3.0.4_3,1
FreeBSD:11:armv6-3.0.4_3
FreeBSD:11:i386-3.0.4_3,1
FreeBSD:11:mips--
FreeBSD:11:mips64-3.0.4_3
FreeBSD:12:aarch64-3.0.4_3,1
FreeBSD:12:amd64-3.0.4_3,1
FreeBSD:12:armv6-3.0.4_3
FreeBSD:12:armv7-3.0.4_3
FreeBSD:12:i386-3.0.4_3,1
FreeBSD:12:mips--
FreeBSD:12:mips64-3.0.4_3
FreeBSD:12:powerpc64-3.0.4_3,1
FreeBSD:13:aarch643.0.4_33.0.4_3,1
FreeBSD:13:amd64-3.0.4_3,1
FreeBSD:13:armv63.0.4_33.0.4_3,1
FreeBSD:13:armv73.0.4_33.0.4_3,1
FreeBSD:13:i386-3.0.4_3,1
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc643.0.4_33.0.4_3,1
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv63.0.4_3,1-
FreeBSD:14:armv73.0.4_3,1-
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc643.0.4_3,1-
 
py38-chardet
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd644.0.0,1-
FreeBSD:11:armv6--
FreeBSD:11:i3864.0.0,1-
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd644.0.0,1-
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3864.0.0,1-
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd644.0.0,1-
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3864.0.0,1-
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch644.0.0,1-
FreeBSD:14:amd644.0.0,1-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3864.0.0,1-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py38-setuptools>0 : devel/py-setuptools@py38
  2. python3.8 : lang/python38
Runtime dependencies:
  1. py38-setuptools>0 : devel/py-setuptools@py38
  2. python3.8 : lang/python38
This port is required by:
for Build
  1. devel/py-trimesh
  2. math/py-mathics-scanner
  3. textproc/translate-toolkit
for Run
  1. audio/py-music21
  2. biology/py-resdk
  3. deskutils/calibre
  4. devel/py-binaryornot
  5. devel/py-datapackage
  6. devel/py-prance
  7. devel/py-pypugjs
Expand this list (38 items / 31 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/py-tabulator
  3. devel/py-tiamat
  4. devel/py-trimesh
  5. finance/beancount
  6. finance/odoo
  7. irc/py-limnoria
  8. mail/py-afew
  9. mail/py-flanker
  10. math/py-mathics-scanner
  11. misc/orange3
  12. multimedia/gaupol
  13. multimedia/py-subliminal
  14. net-p2p/deluge-cli
  15. news/sabnzbdplus
  16. textproc/py-aeidon
  17. textproc/py-normality
  18. textproc/py-pdfminer.six
  19. textproc/py-pysrt
  20. textproc/translate-toolkit
  21. www/py-aiohttp
  22. www/py-httpx013
  23. www/py-instabot
  24. www/py-requests
  25. www/py-wfuzz
  26. Collapse this list.

Deleted ports which required this port:

Expand this list of 7 deleted ports
  1. deskutils/rednotebook*
  2. multimedia/py-openlp*
  3. security/w3af*
  4. textproc/scancode-toolkit*
  5. www/py-aiohttp2*
  6. www/py-django-mezzanine*
  7. x11-fm/sunflower*
  8. Collapse this list of deleted ports.
* - 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:
Options name:

USES:

Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/c/chardet/
  2. https://pypi.org/packages/source/c/chardet/
Collapse this list.

Number of commits found: 32

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
10 Jun 2021 14:46:20
 files touched by this commit commit hash:e6a50aa1e6c08a208471f9a3a5e98e009415cb4b  4.0.0,1
sunpoet search for other commits by this committer
textproc/py-chardet: Update do-test:

- Update COMMENT
- Clean up TEST_DEPENDS
- Sort TEST_DEPENDS
01 Jun 2021 10:11:21
 files touched by this commit commit hash:cbb8e36106080a07bcedff674c1ee411b70aef35  4.0.0,1
wen search for other commits by this committer
textproc/py-chardet: Update to 4.0.0

PR:		255025
Submitted by:	takefu@airport.fm
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  3.0.4_3,1
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
25 Mar 2021 13:23:36
Original commit files touched by this commit Revision:569200  3.0.4_3,1
rm search for other commits by this committer
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
25 Mar 2021 08:11:07
Original commit files touched by this commit Revision:569185  3.0.4_3,1
antoine search for other commits by this committer
Revert r569127, half of the ports tree is skipped after this upgrade

With hat:	portmgr
Reported by:	pkg-fallout
24 Mar 2021 14:42:03
Original commit files touched by this commit Revision:569127  4.0.0
rm search for other commits by this committer
textproc/py-chardet: update to 4.0.0

Changelog:
https://github.com/chardet/chardet/releases/tag/4.0.0

Remove patch merged upstream.
09 Jan 2021 16:34:07
Original commit files touched by this commit Revision:560874  3.0.4_3
antoine search for other commits by this committer
Remove python 2.7 support from a few ports
18 Dec 2019 04:52:14
Original commit files touched by this commit Revision:520358  3.0.4_3
koobs search for other commits by this committer
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)
08 Dec 2019 23:04:55
Original commit files touched by this commit Revision:519582  3.0.4_2
rm search for other commits by this committer
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
10 Apr 2019 06:18:32
Original commit files touched by this commit Revision:498530  3.0.4_1
antoine search for other commits by this committer
Bump a few PORTREVISIONs after r498529

With hat:	portmgr
20 Jun 2018 17:05:44
Original commit files touched by this commit Revision:472884  3.0.4
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
30 Nov 2017 15:50:34
Original commit files touched by this commit Revision:455210  3.0.4  Sanity Test Failure
mat search for other commits by this committer
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 View all of this commit message)
14 Jul 2017 20:15:14
Original commit files touched by this commit Revision:445822  3.0.4
rm search for other commits by this committer
textproc/py-chardet: update to 3.0.4
06 Jun 2017 20:55:21
Original commit files touched by this commit Revision:442803  3.0.3
rm search for other commits by this committer
textproc/py-chardet: update to 3.0.3
06 Jun 2017 09:56:50
Original commit files touched by this commit Revision:442754  3.0.2
koobs search for other commits by this committer
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 View all of this commit message)
23 Apr 2017 16:17:12
Original commit files touched by this commit Revision:439237  3.0.2
rm search for other commits by this committer
textproc/py-chardet: update to 3.0.2; use upstream tests
01 Apr 2016 14:25:18
Original commit files touched by this commit Revision:412349  2.3.0_1
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
05 Mar 2016 04:05:33
Original commit files touched by this commit Revision:410159  2.3.0_1
koobs search for other commits by this committer
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
12 Jan 2015 08:09:10
Original commit files touched by this commit Revision:376817  2.3.0
rm search for other commits by this committer
textproc/py-chardet: update to 2.3.0

- update to 2.3.0
- remove docs related code - it's not on the distfile anymore
07 Dec 2014 10:01:37
Original commit files touched by this commit Revision:374183  2.2.1
mva search for other commits by this committer
- Convert textproc/ to USES=python

With hat:	python@
23 Dec 2013 21:52:02
Original commit files touched by this commit Revision:337301  2.2.1
rm search for other commits by this committer
- update to 2.2.1
- support staging
- update WWW

PR:		164855
Submitted by:	olivierd (based on)
20 Sep 2013 23:17:32
Original commit files touched by this commit Revision:327773  2.0.1_1
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc)
02 Nov 2012 12:08:08
Original commit files touched by this commit Revision:306845  2.0.1_1
rm search for other commits by this committer
- take maintainership
- trim Makefile header
- remove redundant LICENSE_FILE
- tab -> space change in pkg-descr:WWW

Feature safe:	yes
08 Apr 2012 06:42:12
Original commit files touched by this commit   2.0.1_1
miwi search for other commits by this committer
- Fix MASTER_SITES
- Add LICENSE
- Support COPYTREE_SHARE

PR:             166052
Submitted by:   Ports Fury
Feature safe:   yes
04 Mar 2012 12:49:56
Original commit files touched by this commit   2.0.1
miwi search for other commits by this committer
- Update WWW

PR:             164855
Submitted by:   Olivier Duchateau <duchateau.olivier@gmail.com>
03 Jul 2011 14:40:25
Original commit files touched by this commit   2.0.1
ohauer search for other commits by this committer
-remove MD5
03 Apr 2010 20:42:15
Original commit files touched by this commit   2.0.1
lwhsu search for other commits by this committer
- Update to 2.0.1

PR:             ports/144346
Submitted by:   Kouki Hashimoto <hsmtkk AT gmail.com>
12 Mar 2008 10:23:46
Original commit files touched by this commit   1.0.1
arved search for other commits by this committer
Update to 1.0.1
Drop maintainership
09 Nov 2006 15:10:11
Original commit files touched by this commit   1.0_3
kuriyama search for other commits by this committer
Add a workaround to avoid unexpected exception during processing
iso-2022-jp encoding with specific character.

Approved by:    maintainer
15 Mar 2006 13:11:16
Original commit files touched by this commit   1.0_2
arved search for other commits by this committer
Install PORTDOCS

PR:             94460
Submitted by:   Dryice Liu
28 Jan 2006 22:18:17
Original commit files touched by this commit   1.0_1
arved search for other commits by this committer
Fix pkg-plist

Reported by:    pointyhat
25 Jan 2006 22:46:32
Original commit files touched by this commit   1.0
arved search for other commits by this committer
Add py-chardet, Mark Pilgrim's "Universal Encoding Detector"

Number of commits found: 32