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.7.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/522ce321acdb
branches:  trunk
changeset: 385970:522ce321acdb
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Sep 29 10:08:14 2022 +0000

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

diffstat:

 devel/py-distro/Makefile |  11 ++++++-----
 devel/py-distro/PLIST    |  15 +++++++++++----
 devel/py-distro/distinfo |   8 ++++----
 3 files changed, 21 insertions(+), 13 deletions(-)

diffs (68 lines):

diff -r 2b4df992ff6b -r 522ce321acdb devel/py-distro/Makefile
--- a/devel/py-distro/Makefile  Thu Sep 29 09:27:33 2022 +0000
+++ b/devel/py-distro/Makefile  Thu Sep 29 10:08:14 2022 +0000
@@ -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 @@
 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 && \
diff -r 2b4df992ff6b -r 522ce321acdb devel/py-distro/PLIST
--- a/devel/py-distro/PLIST     Thu Sep 29 09:27:33 2022 +0000
+++ b/devel/py-distro/PLIST     Thu Sep 29 10:08:14 2022 +0000
@@ -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
diff -r 2b4df992ff6b -r 522ce321acdb devel/py-distro/distinfo
--- a/devel/py-distro/distinfo  Thu Sep 29 09:27:33 2022 +0000
+++ b/devel/py-distro/distinfo  Thu Sep 29 10:08:14 2022 +0000
@@ -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