Commit graph

26 commits

Author SHA1 Message Date
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