Port details on branch 2022Q2 |
- py-binaryornot Lightweight pure Python package to check if a file is binary or text
- 0.4.4 devel =0 0.4.4Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2018-07-28 11:59:52
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://github.com/audreyr/binaryornot
- Description:
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}binaryornot>0:devel/py-binaryornot@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-binaryornot/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-binaryornot
- pkg install py39-binaryornot
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-binaryornot listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-binaryornot
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1530180513
SHA256 (binaryornot-0.4.4.tar.gz) = 359501dfc9d40632edc9fac890e19542db1a287bbcfa58175b66658392018061
SIZE (binaryornot-0.4.4.tar.gz) = 371054
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-hypothesis>=0 : devel/py-hypothesis@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-chardet>=3.0.2 : textproc/py-chardet@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- devel/py-cookiecutter
-
Deleted ports which required this port:
- * - 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
- Options name:
- devel_py-binaryornot
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|