notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details
py-typecode Comprehensive filetype and mimetype detection using libmagic and Pygments.
30.0.2 develnew! 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 View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: tuukka.pasanen@ilmi.fi search for ports maintained by this maintainer
Port Added: 2025-07-16 15:30:10
Last Update: 2025-07-16 14:53:21
Commit Hash: 08f8a8d
Also Listed In: python
License: APACHE20
WWW:
https://github.com/nexB/plugincode
Description:
TypeCode provides comprehensive filetype and mimetype detection using multiple detectors including libmagic (included as a dependency for Linux, Windows and macOS) and Pygments. It started as library in scancode-toolkit.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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}typecode>0:devel/py-typecode@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-typecode/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-typecode
  • pkg install py311-typecode
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 py311-typecode listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-typecode
Package flavors (<flavor>: <package>)
  • py311: py311-typecode
distinfo:
TIMESTAMP = 1747722646 SHA256 (typecode-30.0.2.tar.gz) = 17689d20af0ae6116e797ef2c5de65f0ce809128cf0e68479b34bd6ba4bc3898 SIZE (typecode-30.0.2.tar.gz) = 3863273

Packages (timestamps in pop-ups are UTC):
py311-typecode
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-30.0.2--30.0.2---
FreeBSD:13:quarterly--------
FreeBSD:14:latest-30.0.2--30.0.2---
FreeBSD:14:quarterly--------
FreeBSD:15:latest30.0.230.0.2n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-setuptools-scm>=0 : devel/py-setuptools-scm@py311
  3. py311-wheel>=0 : devel/py-wheel@py311
  4. python3.11 : lang/python311
  5. py311-build>=0 : devel/py-build@py311
  6. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-pytest>=7,1 : devel/py-pytest@py311
  2. python3.11 : lang/python311
Runtime dependencies:
  1. py311-commoncode>=30.2.0 : devel/py-commoncode@py311
  2. py311-pdfminer.six>=20200101 : textproc/py-pdfminer.six@py311
  3. py311-pygments>=2.19 : textproc/py-pygments@py311
  4. python3.11 : lang/python311
This port is required by:
for Run
  1. archivers/py-extractcode

Configuration Options:
No options to configure
Options name:
devel_py-typecode
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/t/typecode/
  2. https://pypi.org/packages/source/t/typecode/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
30.0.2
16 Jul 2025 14:53:21
commit hash: 08f8a8dc55c09bcb6511de52e6dd8daf5732ad2bcommit hash: 08f8a8dc55c09bcb6511de52e6dd8daf5732ad2bcommit hash: 08f8a8dc55c09bcb6511de52e6dd8daf5732ad2bcommit hash: 08f8a8dc55c09bcb6511de52e6dd8daf5732ad2b files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
Author: Tuukka Pasanen
devel/py-typecode: New port

Comprehensive filetype and mimetype detection using libmagic and
Pygments.

WWW: https://github.com/nexB/plugincode
PR:		287495
Sponsored by:	The FreeBSD Foundation

Number of commits found: 1