Commit graph

32 commits

Author SHA1 Message Date
nia
df9686aa9d converters: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 10:06:37 +00:00
nia
43864756b5 converters: Remove SHA1 hashes for distfiles 2021-10-07 13:28:56 +00:00
wiz
b668da7f8f py-chardet: update to 4.0.0.
This will be the last release of chardet to support Python 2.7.
chardet 5.0 will only support 3.6+

Major Changes

This release is multiple years in the making, and provides some
quality of life improvements to chardet. The primary user-facing
changes are:

    Single-byte charset probers now use nested dictionaries under
    the hood, so they are usually a little faster than before. (See
    #121 for details)

    The CharsetGroupProber class now properly short-circuits when
    one of the probers in the group is considered a definite match.
    This lead to a substantial speedup.

    There is now a chardet.detect_all function that returns a list
    of possible encodings for the input with associated confidences.

    We have dropped support for Python 2.6, 3.4, and 3.5 as they
    are all past end-of-life.

The changes in this release have also laid the groundwork for
retraining the models to make them more accurate, and to support
some more encodings/languages (see #99 for progress). This is our
main focus for chardet 5.0 (beyond dropping Python 2 support).
2021-01-04 11:53:14 +00:00
wiz
e1cab12eeb *: use py-hypothesis via versioned_dependencies.mk 2020-10-06 10:51:21 +00:00
adam
16b4181f2e py-chardet: not need to include application.mk 2020-05-16 08:43:55 +00:00
adam
5970bbee39 py-chardet: pytest from versioned depens 2020-05-16 08:43:24 +00:00
szptvlfn
b0b6f2d0ba BUILD_DEPENDS+= -> TEST_DEPENDS+= 2018-08-20 22:36:20 +00:00
wiz
42426a5a45 Follow some redirects. 2017-09-03 08:53:04 +00:00
wiz
40f0e84f6d Remove outdated comment, tests work. 2017-06-08 22:19:14 +00:00
adam
499d974761 chardet 3.0.4
This minor bugfix release just fixes some packaging and documentation issues:
* Fix issue with setup.py where pytest_runner was always being installed.
* Make sure test.py is included in the manifest
* Fix a bunch of old URLs in the README and other docs.
* Update documentation to no longer imply we test/support Python 3 versions before 3.3
2017-06-08 19:06:51 +00:00
adam
000a06cbfd Changes 3.0.3:
This release fixes a crash when debugging logging was enabled.
2017-05-17 07:09:53 +00:00
wiz
4239dc1794 Add missing unused test dependency.
See also https://github.com/chardet/chardet/issues/120
2017-04-23 16:08:02 +00:00
wiz
0462b390e2 Updated py-chardet to 3.0.2.
chardet 3.0.2

Fixes an issue where detect would sometimes return None instead of a dict with the keys encoding, language, and confidence (Issue #113, PR #114).


chardet 3.0.1

This bugfix release fixes a crash in the EUC-TW prober when it encountered certain strings (Issue #67).


chardet 3.0.0

This release is long overdue, but still mostly serves as a placeholder
for the impending 4.0.0 release, which will have retrained models
for better accuracy. For now, this release will get the following
improvements up on PyPI:

    Added support for Turkish ISO-8859-9 detection (PR #41, thanks @queeup)
    Commented out large unused sections of Big5 and EUC-KR tables to save memory (8bc4b89)
    Removed Python 3.2 from testing, but add 3.4 - 3.6
    Ensure that stdin is open with mode 'rb' for chardetect CLI. (PR #38, thanks @lpsinger)
    Fixed chardetect crash with non-ascii file names (PR #39, thanks @nkanaev)
    Made naming conventions more Pythonic throughout (no more mTypicalPositiveRatio, and instead typical_positive_ratio)
    Modernized test scripts and infrastructure so we've got Travis testing and all that stuff
    Rename filter_without_english_words to filter_international_words and make it match current Mozilla implementation (PR #44, thanks @rsnair2)
    Updated filter_english_letters to match C implementation (c665459)
    Temporarily disabled Hungarian ISO-8859-2 and Windows-1250 detection because it is very inaccurate (da6c0a0)
    Allow CLI sub-package to be importable (PR #55)
    Add a hypotheis-based test (PR #66, thanks @DRMacIver)
    Strip endianness from UTF with BOM predictions so that the encoding can be passed directly to bytes.decode() (PR #73, thanks @snoack)
    Fixed broken links in docs (PR #90, thanks @roskakori)
    Added early exit to chardetect when encoding is detected instead of looping through entire file (PR #103, thanks @jpz)
    Use bytearray objects internally instead of wrap_ord calls, which provides a nice performance boost across the board (PR #106)
    Add language property to probers and UniversalDetector results (PR #180)
    Mark the 5 known test failures as such so we can have more useful Travis build results in the meantime (d588407)
2017-04-19 17:24:16 +00:00
jperkin
cf32c4d741 Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets. 2017-01-03 13:23:01 +00:00
wiz
1682c6507d Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
2016-08-28 15:48:28 +00:00
wiz
57199de455 Switch to MASTER_SITES_PYPI. 2016-06-08 17:43:20 +00:00
wiz
f15f52be2f Fix self-conflict between different python versions of this package.
Bump PKGREVISION.
2016-02-05 12:40:56 +00:00
agc
01dc1bd2b3 Add SHA512 digests for distfiles for converters category
Problems found with existing distfile:
	distfiles/libiconv-1.13-cp932.patch.gz
No changes made to the libiconv distinfo file.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 01:43:46 +00:00
wiz
dd6c1cef88 Update to 2.3.0:
Changes not found.
2014-10-12 14:52:36 +00:00
wiz
aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00
wiz
900f9003bc Update to 2.2.1, changelog not found. 2014-01-02 17:55:40 +00:00
wiz
bbe2d76fb8 Update to 2.1.1. Old HOMEPAGE gone, switch to pypi. Changes undocumented. 2012-10-20 13:14:48 +00:00
asau
46402b95a7 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-03 00:20:09 +00:00
wiz
c595076396 All supported python versions in pkgsrc support eggs, so remove
${PLIST.eggfile} from PLISTs and support code from lang/python.
2012-04-08 20:21:41 +00:00
obache
8646fba441 distutils pkg, register egg-info.
Bump PKGREVISION.
2012-01-23 07:54:23 +00:00
wiz
b5cc7b805c Update to 2.0.1 (python3 version of this library also available!)
2.0.1 (2009-11-10)
           * Migrated to http://code.google.com/p/chardet
           * Fixed minor typo in documentation
           * Synchronized version numbers of Python 2 and Python 3 versions
2009-11-17 14:29:32 +00:00
obache
f74d438dc1 Added license information as requested by maintainer via PR 41697. 2009-07-11 05:52:17 +00:00
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +00:00
snj
8faa9dd844 Change maintainer address, per PR pkg/41054. 2009-03-21 21:38:09 +00:00
joerg
25a80fb4ab Remove PYBINMODULE. All it did was mark some packages as not available
on some platforms that lacked shared library support in the past. The
list hasn't been maintained at all and the gain is very limited, so just
get rid of it.
2009-03-05 18:51:26 +00:00
joerg
2ff0c19a2e Supports DESTDIR 2009-02-16 19:26:00 +00:00
wiz
60c8f7980e Import wip/py-chardet-1.0.1:
Character encoding auto-detection in Python.

Packaged for wip by bartoszkuzma.
2008-10-08 09:38:46 +00:00