Subject: CVS commit: pkgsrc/devel/py-distro
From: Adam Ciarcinski
Date: 2021-08-05 12:09:48
Message id: 20210805100948.9A0A7FA97@cvs.NetBSD.org

Log Message:
py-distro: updated to 1.6.0

1.6.0 (2021.7.30)

BACKWARDS COMPATIBILITY:
* Deprecated the `distro.linux_distribution()` function. Use
  `distro.id()`, `distro.version()` and `distro.name()` instead
* Deprecated Python 2.7, 3.4 and 3.5 support. Further releases
  will only support Python 3.6+

ENHANCEMENTS:
* Added type hints to `distro` module
* Added `__version__` for checking `distro` version
* Added support for arbitrary rootfs via the `root_dir` parameter
* Added the `--root-dir` option to CLI
* Added fallback to `/usr/lib/os-release` when `/etc/os-release` isn't available

BUG FIXES:
* Fixed `subprocess.CalledProcessError` when running `lsb_release`
* Ignore `/etc/iredmail-release` file while parsing distribution
* Use a binary file for `/dev/null` to avoid `TextIOWrapper` overhead

RELEASE:
* Moved repository from `nir0s/distro` to
  [`python-distro/distro`](https://github.com/python-distro/distro) on GitHub.

Files:
RevisionActionfile
1.5modifypkgsrc/devel/py-distro/Makefile
1.3modifypkgsrc/devel/py-distro/distinfo