notbugIf you buy from Amazon USA, please support us by using this link.
Port details
py-binaryornot Lightweight pure Python package to check if a file is binary or text
0.4.4 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-07-28 11:59:52
Last Update: 2019-02-01 18:55:18
SVN Revision: 491837
Also Listed In: python
License: BSD3CLAUSE
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
SVNWeb : Homepage : PortsMon

There is no configure plist information for this port.

Dependency line: py27-binaryornot>0:devel/py-binaryornot


To install the port: cd /usr/ports/devel/py-binaryornot/ && make install clean
To add the package: pkg install py27-binaryornot

PKGNAME: py27-binaryornot

Package flavors (<flavor>: <package>)
  • py27: py27-binaryornot
  • py36: py36-binaryornot

distinfo:

TIMESTAMP = 1530180513
SHA256 (binaryornot-0.4.4.tar.gz) = 359501dfc9d40632edc9fac890e19542db1a287bbcfa58175b66658392018061
SIZE (binaryornot-0.4.4.tar.gz) = 371054


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. py27-setuptools>0 : devel/py-setuptools@py27
  2. python2.7 : lang/python27
Runtime dependencies:
  1. py27-chardet>=3.0.2 : textproc/py-chardet@py27
  2. py27-setuptools>0 : devel/py-setuptools@py27
  3. python2.7 : lang/python27

This port is required by:

for Run * - 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

USES:
python

Master Sites:
  1. https://files.pythonhosted.org/packages/source/b/binaryornot/
  2. https://pypi.org/packages/source/b/binaryornot/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
    Author: mat@FreeBSD.org
    Reason: 
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything.
    
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
    
        # make FLAVOR=py36 install
    
    

Number of commits found: 2

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
01 Feb 2019 18:55:18
Original commit files touched by this commit  0.4.4
Revision:491837
kai search for other commits by this committer
Change my maintainer email address to my new one at the FreeBSD project.

Reviewed by:	miwi (mentor)
Approved by:	miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19050
28 Jul 2018 11:59:36
Original commit files touched by this commit  0.4.4
Revision:475526
miwi search for other commits by this committer
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@k-worx.org
Sponsored by:	iXsystems Inc.

Number of commits found: 2

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
opensslFeb 20
msmtpFeb 15
firefoxFeb 13
firefox-esrFeb 13
thunderbirdFeb 13
linux-flashplayerFeb 12
openjpeg*Feb 11
openjpeg*Feb 11
kf5-kauthFeb 10
unitFeb 08
curlFeb 07
gitlab-ceFeb 06
dovecotFeb 05
typo3-8Feb 02
typo3-9Feb 02

10 vulnerabilities affecting 77 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-02-20 10:14:19


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 36420
Broken 111
Deprecated 405
Ignore 326
Forbidden 3
Restricted 162
No CDROM 74
Vulnerable 36
Expired 6
Set to expire 377
Interactive 0
new 24 hours 3
new 48 hours5
new 7 days59
new fortnight112
new month353

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.