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
| System | Port | Version |
|---|---|---|
| OpenBSD | sysutils/py-distro | 1.9.0p2 |
| FreeBSD | sysutils/py-distro | 1.9.0 |
| DragonFly | sysutils/py-distro | 1.9.0 |
| MidnightBSD | sysutils/py-distro | 1.9.0_1 |
| HardenedBSD | sysutils/py-distro | 1.9.0 |
| GhostBSD | sysutils/py-distro | 1.9.0 |
Install
Binary package:
pkg_add py3-distro
From the ports tree:
cd /usr/ports/sysutils/py-distro && make install