On Wed, Jan 17, 2018 at 12:08:22AM +0100, Joerg Jung wrote: > Hi, > > please find attached a new port for sysutils/py-distro. > > $ cat pkg/DESCR > distro (for: Linux Distribution) provides information about the Linux > distribution it runs on, such as a reliable machine-readable ID, or version > information. > > It is a renewed alternative implementation for Python's original > platform.linux_distribution function, but it also provides much more > functionality which isn't necessarily Python bound like a command-line > interface. > > While this port is basically a NOP on OpenBSD it is required for the > upcoming homeassistant port. > > Please test and comment. OK to import? Have you looked into or possibly tested the upstream PR[0]? Maybe this gets settled in time so we can import py-distro as an actually useful port.
0: https://github.com/nir0s/distro/pull/207