BSD Ports

sysutils/py-distro 1.9.0p2 OpenBSD

provide information about the OS platform

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
sysutils, lang/python

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 (which will be removed in Python 3.8). It also provides much more functionality which isn't necessarily Python bound, like a command-line interface.

In the other systems

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

Install

Binary package:

pkg_add py3-distro

From the ports tree:

cd /usr/ports/sysutils/py-distro && make install

Dependencies

Build dependencies 5
Run dependencies 1