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 Sep 29 10:08:14 UTC 2022

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

Log Message:
py-distro: updated to 1.7.0

1.7.0 (2022.02.15)

BACKWARD COMPATIBILITY:
* Dropped support for EOL Pythons 2.7, 3.4 and 3.5
* Dropped support for LSB and `uname` back-ends when `--root-dir` is specified
* Moved `distro.py` to `src/distro/distro.py`

ENHANCEMENTS:
* Documented that `distro.version()` can return an empty string on rolling releases
* Documented support for Python 3.10
* Added official support for Rocky Linux distribution
* Added a shebang to `distro.py` to allow standalone execution
* Added support for AIX platforms
* Added compliance for PEP-561

BUG FIXES:
* Fixed `include_uname` parameter oversight
* Fixed crash when `uname -rs` output is empty
* Fixed Amazon Linux identifier in `distro.id()` documentation
* Fixed OpenSuse >= 15 support
* Fixed encoding issues when opening distro release files
* Fixed `linux_distribution` regression


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-distro/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-distro/PLIST
cvs rdiff -u -r1.5 -r1.6 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.7 pkgsrc/devel/py-distro/Makefile:1.8
--- pkgsrc/devel/py-distro/Makefile:1.7 Wed Jan  5 15:41:03 2022
+++ pkgsrc/devel/py-distro/Makefile     Thu Sep 29 10:08:14 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2022/01/05 15:41:03 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2022/09/29 10:08:14 adam Exp $
 
-DISTNAME=      distro-1.6.0
+DISTNAME=      distro-1.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/distro/}
 
@@ -11,11 +10,13 @@ HOMEPAGE=   https://github.com/nir0s/distr
 COMMENT=       OS platform information API
 LICENSE=       apache-2.0
 
-PYTHON_VERSIONED_DEPENDENCIES= test:test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= # none
 
 USE_PKG_RESOURCES=     yes
 
-USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \

Index: pkgsrc/devel/py-distro/PLIST
diff -u pkgsrc/devel/py-distro/PLIST:1.1 pkgsrc/devel/py-distro/PLIST:1.2
--- pkgsrc/devel/py-distro/PLIST:1.1    Tue Oct  1 13:22:55 2019
+++ pkgsrc/devel/py-distro/PLIST        Thu Sep 29 10:08:14 2022
@@ -1,10 +1,17 @@
-@comment $NetBSD: PLIST,v 1.1 2019/10/01 13:22:55 triaxx Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/09/29 10:08:14 adam Exp $
 bin/distro-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/distro.py
-${PYSITELIB}/distro.pyc
-${PYSITELIB}/distro.pyo
+${PYSITELIB}/distro/__init__.py
+${PYSITELIB}/distro/__init__.pyc
+${PYSITELIB}/distro/__init__.pyo
+${PYSITELIB}/distro/__main__.py
+${PYSITELIB}/distro/__main__.pyc
+${PYSITELIB}/distro/__main__.pyo
+${PYSITELIB}/distro/distro.py
+${PYSITELIB}/distro/distro.pyc
+${PYSITELIB}/distro/distro.pyo
+${PYSITELIB}/distro/py.typed

Index: pkgsrc/devel/py-distro/distinfo
diff -u pkgsrc/devel/py-distro/distinfo:1.5 pkgsrc/devel/py-distro/distinfo:1.6
--- pkgsrc/devel/py-distro/distinfo:1.5 Tue Oct 26 10:18:23 2021
+++ pkgsrc/devel/py-distro/distinfo     Thu Sep 29 10:08:14 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 10:18:23 nia Exp $
+$NetBSD: distinfo,v 1.6 2022/09/29 10:08:14 adam Exp $
 
-BLAKE2s (distro-1.6.0.tar.gz) = da11aebf7b45e0ff20707f415620d7befe92ac3020b869a4fc4a526b3499f44f
-SHA512 (distro-1.6.0.tar.gz) = d30334ed1137c54ddc70e041b75be905b7e13398483d0d92117eca0407d2a7b60424d96fd7af885a2e3ea3676b1aef620e91598a53309ae0da12a360d57ac013
-Size (distro-1.6.0.tar.gz) = 53518 bytes
+BLAKE2s (distro-1.7.0.tar.gz) = 32bd67ba76bc5fc7f553f488989c5b328565be728e5e992b3de2fad2df45fcad
+SHA512 (distro-1.7.0.tar.gz) = 14516ecab33ee8c57c35a8279eb515fd699031fabac7d8886092ea98696797d55503179870aeb513a85e1a66c7e69f2f60bb6ea9fc935be975cb5135e1917ecc
+Size (distro-1.7.0.tar.gz) = 58164 bytes



Home | Main Index | Thread Index | Old Index