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 photos
All times are UTC
Ukraine
Port details
py-standard-imghdr Backport of the standard library imghdr module
3.13.0 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: python@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-04-11 03:09:07
Last Update: 2026-04-11 03:03:49
Commit Hash: db42cb7
Also Listed In: python
License: PSFL
WWW:
https://github.com/youknowone/python-deadlib
Description:
Backport of the standard library imghdr module for Python 3.13+, where it was removed ("dead battery"). Provides imghdr.what() and imghdr.tests for packages that depend on the module.
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
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/py313-standard-imghdr-3.13.0/catalog.mk
  2. /usr/local/share/licenses/py313-standard-imghdr-3.13.0/LICENSE
  3. /usr/local/share/licenses/py313-standard-imghdr-3.13.0/PSFL
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}standard-imghdr>0:devel/py-standard-imghdr@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-standard-imghdr/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-standard-imghdr
  • pkg install py313-standard-imghdr
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 py313-standard-imghdr listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py313-standard-imghdr
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1775864214 SHA256 (standard_imghdr-3.13.0.tar.gz) = 8d9c68058d882f6fc3542a8d39ef9ff94d2187dc90bd0c851e0902776b7b7a42 SIZE (standard_imghdr-3.13.0.tar.gz) = 5511

Packages (timestamps in pop-ups are UTC):
py313-standard-imghdr
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest-3.13.0--3.13.0---
FreeBSD:14:quarterly--------
FreeBSD:15:latest-3.13.0n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest-3.13.0n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py313-setuptools>=0 : devel/py-setuptools@py313
  2. py313-wheel>=0 : devel/py-wheel@py313
  3. python3.13 : lang/python313
  4. py313-build>=0 : devel/py-build@py313
  5. py313-installer>=0 : devel/py-installer@py313
Test dependencies:
  1. python3.13 : lang/python313
Runtime dependencies:
  1. python3.13 : lang/python313
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-standard-imghdr
USES:
python:3.13+
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/s/standard_imghdr/
  2. https://pypi.org/packages/source/s/standard_imghdr/
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
3.13.0
11 Apr 2026 03:03:49
commit hash: db42cb71f2a4f4bd6dba031a11b6bf843158f223commit hash: db42cb71f2a4f4bd6dba031a11b6bf843158f223commit hash: db42cb71f2a4f4bd6dba031a11b6bf843158f223commit hash: db42cb71f2a4f4bd6dba031a11b6bf843158f223 files touched by this commit
Xin LI (delphij) search for other commits by this committer
devel/py-standard-imghdr: new port, backport of stdlib imghdr module

Provides the imghdr module removed from the Python standard library
in Python 3.13, for packages that depend on it.

WWW: https://github.com/youknowone/python-deadlib

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Number of commits found: 1