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.diff -r1.4 -r1.5 pkgsrc/devel/py-distro/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.4 2020/05/16 09:10:42 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.5 2021/08/05 10:09:48 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= distro-1.5.0 | 3 | DISTNAME= distro-1.6.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=d/distro/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=d/distro/} | |
7 | 7 | |||
8 | MAINTAINER= root@zta.lk | 8 | MAINTAINER= root@zta.lk | |
9 | HOMEPAGE= https://github.com/nir0s/distro | 9 | HOMEPAGE= https://github.com/nir0s/distro | |
10 | COMMENT= OS platform information API | 10 | COMMENT= OS platform information API | |
11 | LICENSE= apache-2.0 | 11 | LICENSE= apache-2.0 | |
12 | 12 | |||
13 | PYTHON_VERSIONED_DEPENDENCIES= test:test | 13 | PYTHON_VERSIONED_DEPENDENCIES= test:test | |
14 | 14 | |||
15 | USE_LANGUAGES= # none | 15 | USE_LANGUAGES= # none | |
16 | 16 |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2020/04/06 09:14:03 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.3 2021/08/05 10:09:48 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (distro-1.5.0.tar.gz) = cb0e7d550a3c66c960a1914718e4f4dfe1228a19 | 3 | SHA1 (distro-1.6.0.tar.gz) = b00ad020bb53a097b7625eaa3a01e3ba65c41242 | |
4 | RMD160 (distro-1.5.0.tar.gz) = 34bf3cb1216eda586f428ea71a43629119d9f27d | 4 | RMD160 (distro-1.6.0.tar.gz) = 735d8872fcda1f3f28d8d4bda4d71fbe02d49ca5 | |
5 | SHA512 (distro-1.5.0.tar.gz) = 14831fe1355e9ef4f58f273ce4a548a3fe438e95466b4b4f596b8110da51305d66ed77c2e40c3dbfbcbd1a66c74e23a4d4244c8bfdebc4b49b3e7ddcbff55b8f | 5 | SHA512 (distro-1.6.0.tar.gz) = d30334ed1137c54ddc70e041b75be905b7e13398483d0d92117eca0407d2a7b60424d96fd7af885a2e3ea3676b1aef620e91598a53309ae0da12a360d57ac013 | |
6 | Size (distro-1.5.0.tar.gz) = 54340 bytes | 6 | Size (distro-1.6.0.tar.gz) = 53518 bytes |