[Bug 229436] [NEW PORT] devel/py-binaryornot: Lightweight pure Python package to check if a file is binary or not

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 28 12:00:01 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229436

--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:

Author: miwi
Date: Sat Jul 28 11:59:37 UTC 2018
New revision: 475526
URL: https://svnweb.freebsd.org/changeset/ports/475526

Log:
  Ultra-lightweight library to guess whether a file is binary or text, using a
  heuristic similar to Perl's pp_fttext and its analysis. Tests are available
for
  these file types:

  - Text formats: .txt, .css, .json, .svg, .js, .lua, .pl, .rst

  - Binary formats: .png, .gif, .jpg, .tiff, .bmp, .DS_Store, .eot, .otf, .ttf,
                  .woff, .rgb

  It has also tests for numerous encodings.

  WWW: https://github.com/audreyr/binaryornot

  PR:           229436
  Submitted by: freebsd_ports at k-worx.org
  Sponsored by: iXsystems Inc.

Changes:
  head/devel/Makefile
  head/devel/py-binaryornot/
  head/devel/py-binaryornot/Makefile
  head/devel/py-binaryornot/distinfo
  head/devel/py-binaryornot/pkg-descr

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list