BSD Ports

sysutils/py-distro 1.9.0 DragonFly

Linux OS platform information API

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
python, sysutils
Package size
30.2 KiB, 195.1 KiB installed

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.

In the other systems

SystemPortVersion
DragonFlysysutils/py-distro1.9.0
FreeBSDsysutils/py-distro1.9.0
OpenBSDsysutils/py-distro1.9.0p2
NetBSDdevel/py-distro1.9.0nb1
MidnightBSDsysutils/py-distro1.9.0_1

Install

Binary package:

pkg install py311-distro

From DPorts:

cd /usr/dports/sysutils/py-distro && make install clean

Dependencies

Run dependencies 1