pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-distlib py-distlib: updated to 0.3.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f59d1f17e4e
branches:  trunk
changeset: 382982:4f59d1f17e4e
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Aug 10 07:25:25 2022 +0000

description:
py-distlib: updated to 0.3.5

0.3.5
~~~~~

Released: 2022-07-14

- database

    - Fixed 170: Corrected implementation of ``get_required_dists()``.

- index

    - Updated coverage pragmas for tests relating to obsolete PyPI APIs.

- locators

    - Changed the default locator configuration.

- metadata

    - Updates in support of PEP 643 / Metadata 2.2.

- scripts

    - Updated launcher executables. Thanks to Michael Bikovitsky for his help with
      the launcher changes.

    - Fixed 164: Improved support for reproducible builds by allowing a fixed
      date/time to be inserted into created .exe files. Thanks to Somber Night for the
      patch.

- util

    - Fixed 161: Updated test case.

- wheel

    - Updated to write archive path of RECORD to RECORD instead of staging path.
      Thanks to Pieter Pas for the patch.

    - Fixed 169: Removed usage of deprecated imp module in favour of importlib.

    - Fixed 172: Compute ABI correctly for Python < 3.8.

In addition to the above, setup.py was replaced by setup.cfg and pyproject.toml.

diffstat:

 devel/py-distlib/Makefile |  14 +++++++++-----
 devel/py-distlib/PLIST    |  28 +++++++++-------------------
 devel/py-distlib/distinfo |   8 ++++----
 3 files changed, 22 insertions(+), 28 deletions(-)

diffs (107 lines):

diff -r 2ba91dfa0ade -r 4f59d1f17e4e devel/py-distlib/Makefile
--- a/devel/py-distlib/Makefile Wed Aug 10 07:17:23 2022 +0000
+++ b/devel/py-distlib/Makefile Wed Aug 10 07:25:25 2022 +0000
@@ -1,17 +1,21 @@
-# $NetBSD: Makefile,v 1.1 2022/01/10 19:33:39 adam Exp $
+# $NetBSD: Makefile,v 1.2 2022/08/10 07:25:25 adam Exp $
 
-DISTNAME=      distlib-0.3.4
+DISTNAME=      distlib-0.3.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/distlib/}
-EXTRACT_SUFX=  .zip
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://bitbucket.org/pypa/distlib
+HOMEPAGE=      https://github.com/pypa/distlib
 COMMENT=       Distribution utilities
 LICENSE=       python-software-foundation
 
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-wheel>=0.29.0:../../devel/py-wheel
+
 USE_LANGUAGES= # none
 
-.include "../../lang/python/egg.mk"
+do-test:
+       cd ${WRKSRC} && ${PYTHONBIN} tests/test_all.py
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2ba91dfa0ade -r 4f59d1f17e4e devel/py-distlib/PLIST
--- a/devel/py-distlib/PLIST    Wed Aug 10 07:17:23 2022 +0000
+++ b/devel/py-distlib/PLIST    Wed Aug 10 07:25:25 2022 +0000
@@ -1,51 +1,41 @@
-@comment $NetBSD: PLIST,v 1.3 2022/01/22 15:29:50 wiz Exp $
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.4 2022/08/10 07:25:25 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/distlib/__init__.py
 ${PYSITELIB}/distlib/__init__.pyc
-${PYSITELIB}/distlib/__init__.pyo
 ${PYSITELIB}/distlib/compat.py
 ${PYSITELIB}/distlib/compat.pyc
-${PYSITELIB}/distlib/compat.pyo
 ${PYSITELIB}/distlib/database.py
 ${PYSITELIB}/distlib/database.pyc
-${PYSITELIB}/distlib/database.pyo
 ${PYSITELIB}/distlib/index.py
 ${PYSITELIB}/distlib/index.pyc
-${PYSITELIB}/distlib/index.pyo
 ${PYSITELIB}/distlib/locators.py
 ${PYSITELIB}/distlib/locators.pyc
-${PYSITELIB}/distlib/locators.pyo
 ${PYSITELIB}/distlib/manifest.py
 ${PYSITELIB}/distlib/manifest.pyc
-${PYSITELIB}/distlib/manifest.pyo
 ${PYSITELIB}/distlib/markers.py
 ${PYSITELIB}/distlib/markers.pyc
-${PYSITELIB}/distlib/markers.pyo
 ${PYSITELIB}/distlib/metadata.py
 ${PYSITELIB}/distlib/metadata.pyc
-${PYSITELIB}/distlib/metadata.pyo
 ${PYSITELIB}/distlib/resources.py
 ${PYSITELIB}/distlib/resources.pyc
-${PYSITELIB}/distlib/resources.pyo
 ${PYSITELIB}/distlib/scripts.py
 ${PYSITELIB}/distlib/scripts.pyc
-${PYSITELIB}/distlib/scripts.pyo
 ${PYSITELIB}/distlib/t32.exe
 ${PYSITELIB}/distlib/t64-arm.exe
 ${PYSITELIB}/distlib/t64.exe
 ${PYSITELIB}/distlib/util.py
 ${PYSITELIB}/distlib/util.pyc
-${PYSITELIB}/distlib/util.pyo
 ${PYSITELIB}/distlib/version.py
 ${PYSITELIB}/distlib/version.pyc
-${PYSITELIB}/distlib/version.pyo
 ${PYSITELIB}/distlib/w32.exe
 ${PYSITELIB}/distlib/w64-arm.exe
 ${PYSITELIB}/distlib/w64.exe
 ${PYSITELIB}/distlib/wheel.py
 ${PYSITELIB}/distlib/wheel.pyc
-${PYSITELIB}/distlib/wheel.pyo
diff -r 2ba91dfa0ade -r 4f59d1f17e4e devel/py-distlib/distinfo
--- a/devel/py-distlib/distinfo Wed Aug 10 07:17:23 2022 +0000
+++ b/devel/py-distlib/distinfo Wed Aug 10 07:25:25 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/01/10 19:33:39 adam Exp $
+$NetBSD: distinfo,v 1.2 2022/08/10 07:25:25 adam Exp $
 
-BLAKE2s (distlib-0.3.4.zip) = 1a35df02452c170c13a743bda2aeb0a26118fb8ea612b0e2ce288f543cdabff0
-SHA512 (distlib-0.3.4.zip) = 87b5c151517a8043a4d714b561cc0758bd3209b71baf9dcd573a853bd036c54ac2359809b5e2d65cdeee3488757fdc63a2b1abb15e7e189bd601cde1fc85648c
-Size (distlib-0.3.4.zip) = 631981 bytes
+BLAKE2s (distlib-0.3.5.tar.gz) = 9d9eee2f12d75ed65c2bcb226275b81649d380698e52d50125eb2627ba513f1e
+SHA512 (distlib-0.3.5.tar.gz) = 1716a1fae01ec6bb5b8c03e42296e5039e74b0a614f20065cbf054181f4337c6bed712986bba177fa894854239a5aed90be2ff5670d38b6770efb1d498b0cca6
+Size (distlib-0.3.5.tar.gz) = 604087 bytes



Home | Main Index | Thread Index | Old Index