pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-distro



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Aug  5 10:09:48 UTC 2021

Modified Files:
        pkgsrc/devel/py-distro: Makefile distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-distro/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-distro/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-distro/Makefile
diff -u pkgsrc/devel/py-distro/Makefile:1.4 pkgsrc/devel/py-distro/Makefile:1.5
--- pkgsrc/devel/py-distro/Makefile:1.4 Sat May 16 09:10:42 2020
+++ pkgsrc/devel/py-distro/Makefile     Thu Aug  5 10:09:48 2021
@@ -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/}

Index: pkgsrc/devel/py-distro/distinfo
diff -u pkgsrc/devel/py-distro/distinfo:1.2 pkgsrc/devel/py-distro/distinfo:1.3
--- pkgsrc/devel/py-distro/distinfo:1.2 Mon Apr  6 09:14:03 2020
+++ pkgsrc/devel/py-distro/distinfo     Thu Aug  5 10:09:48 2021
@@ -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