Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details on branch 2023Q3
py-distro OS platform information API
1.9.0 sysutils Σ=11 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 1.9.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-12-31 05:52:35
Last Update: 2025-10-06 10:16:22
Commit Hash: b8203a3
People watching this port, also watch: p5-Net-SSLeay, p5-HTML-Parser, libffi, p5-Error, libxml2
Also Listed In: python
License: APACHE20
WWW:
https://distro.readthedocs.io/en/latest/
https://github.com/python-distro/distro
Description: #
distro provides information about the OS distribution it runs on, such as a reliable machine-readable ID, or version information. It is the recommended replacement for Python's original platform.linux_distribution function. It also provides much more functionality which isn't necessarily Python bound, like a command-line interface.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR}
To install the port: #
cd /usr/ports/sysutils/py-distro/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/py-distro
  • pkg install py311-distro
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-distro listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-distro
Package flavors (<flavor>: <package>) #
  • py311: py311-distro
distinfo: #
TIMESTAMP = 1703495825 SHA256 (distro-1.9.0.tar.gz) = 2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed SIZE (distro-1.9.0.tar.gz) = 60722

Packages (timestamps in pop-ups are UTC): #
py39-distro
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest--1.8.0--
FreeBSD:14:quarterly-----
FreeBSD:15:latest--n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
py311-distro
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---1.9.0-
FreeBSD:14:quarterly---1.9.0-
FreeBSD:15:latest--n/a1.9.0n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
py312-distro
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.9.01.9.0--1.9.0
FreeBSD:14:quarterly1.9.01.9.0--1.9.0
FreeBSD:15:latest1.9.01.9.0n/a-n/a
FreeBSD:15:quarterly1.9.01.9.0n/a-n/a
FreeBSD:16:latest1.9.01.9.0n/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-wheel>=0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies: #
  1. python3.11 : lang/python311
Runtime dependencies: #
  1. python3.11 : lang/python311
This port is required by: #
for Build #
  1. databases/mongodb80
  2. databases/mongodb90
  3. mail/py-offlineimap
  4. net/py-lib389
  5. security/py-certbot
  6. sysutils/conan
for Run #
  1. devel/py-e3-core
  2. devel/py-lazr.restfulclient
  3. devel/py-scikit-build
  4. filesystems/py-tahoe-lafs
  5. games/anki
  6. mail/py-offlineimap
  7. misc/py-google-genai
Expand this list (31 items / 24 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. misc/py-groq
  3. misc/py-langsmith
  4. misc/py-openpaperwork-core
  5. misc/py-runloop-api-client
  6. misc/py-shell-gpt
  7. multimedia/openshot
  8. net/py-lib389
  9. net-im/gajim
  10. net-mgmt/netbox-agent
  11. net-p2p/deluge-cli
  12. print/hplip
  13. security/py-certbot
  14. security/ssh-import-id
  15. sysutils/archey4
  16. sysutils/conan
  17. sysutils/py-datalad
  18. sysutils/py-google-compute-engine
  19. sysutils/py-pyinfra
  20. sysutils/py-salt
  21. www/py-parallel-web
  22. x11/cinnamon
  23. x11/mate-dock-applet
  24. Collapse this list.

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. mail/py-offlineimap3*
  2. science/dvc*
  3. Collapse this list of deleted ports.
* - 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: #
sysutils_py-distro
USES: #
python shebangfix
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/d/distro/
  2. https://pypi.org/packages/source/d/distro/
Collapse this list.

There are no commits on branch 2023Q3 for this port