pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-distro py-distro: updated to 1.6.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b091278d832
branches:  trunk
changeset: 456662:2b091278d832
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Aug 05 10:09:48 2021 +0000

description:
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.

diffstat:

 devel/py-distro/Makefile |   4 ++--
 devel/py-distro/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 5fdafd36e22c -r 2b091278d832 devel/py-distro/Makefile
--- a/devel/py-distro/Makefile  Thu Aug 05 10:00:33 2021 +0000
+++ b/devel/py-distro/Makefile  Thu Aug 05 10:09:48 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2020/05/16 09:10:42 adam Exp $
+# $NetBSD: Makefile,v 1.5 2021/08/05 10:09:48 adam Exp $
 
-DISTNAME=      distro-1.5.0
+DISTNAME=      distro-1.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/distro/}
diff -r 5fdafd36e22c -r 2b091278d832 devel/py-distro/distinfo
--- a/devel/py-distro/distinfo  Thu Aug 05 10:00:33 2021 +0000
+++ b/devel/py-distro/distinfo  Thu Aug 05 10:09:48 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2020/04/06 09:14:03 wiz Exp $
+$NetBSD: distinfo,v 1.3 2021/08/05 10:09:48 adam Exp $
 
-SHA1 (distro-1.5.0.tar.gz) = cb0e7d550a3c66c960a1914718e4f4dfe1228a19
-RMD160 (distro-1.5.0.tar.gz) = 34bf3cb1216eda586f428ea71a43629119d9f27d
-SHA512 (distro-1.5.0.tar.gz) = 14831fe1355e9ef4f58f273ce4a548a3fe438e95466b4b4f596b8110da51305d66ed77c2e40c3dbfbcbd1a66c74e23a4d4244c8bfdebc4b49b3e7ddcbff55b8f
-Size (distro-1.5.0.tar.gz) = 54340 bytes
+SHA1 (distro-1.6.0.tar.gz) = b00ad020bb53a097b7625eaa3a01e3ba65c41242
+RMD160 (distro-1.6.0.tar.gz) = 735d8872fcda1f3f28d8d4bda4d71fbe02d49ca5
+SHA512 (distro-1.6.0.tar.gz) = d30334ed1137c54ddc70e041b75be905b7e13398483d0d92117eca0407d2a7b60424d96fd7af885a2e3ea3676b1aef620e91598a53309ae0da12a360d57ac013
+Size (distro-1.6.0.tar.gz) = 53518 bytes



Home | Main Index | Thread Index | Old Index