pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-wheel



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon May  1 09:35:27 UTC 2023

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

Log Message:
py-wheel: update to 0.40.0.

**0.40.0 (2023-03-14)**

- Added a ``wheel tags`` command to modify tags on an existing wheel
  (PR by Henry Schreiner)
- Updated vendored ``packaging`` to 23.0
- ``wheel unpack`` now preserves the executable attribute of extracted files
- Fixed spaces in platform names not being converted to underscores (PR by David Tucker)
- Fixed ``RECORD`` files in generated wheels missing the regular file attribute
- Fixed ``DeprecationWarning`` about the use of the deprecated ``pkg_resources`` API
  (PR by Thomas Grainger)
- Wheel now uses flit-core as a build backend (PR by Henry Schreiner)

**0.38.4 (2022-11-09)**

- Fixed ``PKG-INFO`` conversion in ``bdist_wheel`` mangling UTF-8 header values in
  ``METADATA`` (PR by Anderson Bravalheri)

**0.38.3 (2022-11-08)**

- Fixed install failure when used with ``--no-binary``, reported on Ubuntu 20.04, by
  removing ``setup_requires`` from ``setup.cfg``

**0.38.2 (2022-11-05)**

- Fixed regression introduced in v0.38.1 which broke parsing of wheel file names with
  multiple platform tags

**0.38.1 (2022-11-04)**

- Removed install dependency on setuptools
- The future-proof fix in 0.36.0 for converting PyPy's SOABI into a abi tag was
  faulty. Fixed so that future changes in the SOABI will not change the tag.

**0.38.0 (2022-10-21)**

- Dropped support for Python < 3.7
- Updated vendored ``packaging`` to 21.3
- Replaced all uses of ``distutils`` with ``setuptools``
- The handling of ``license_files`` (including glob patterns and default
  values) is now delegated to ``setuptools>=57.0.0`` (#466).
  The package dependencies were updated to reflect this change.
- Fixed potential DoS attack via the ``WHEEL_INFO_RE`` regular expression
- Fixed ``ValueError: ZIP does not support timestamps before 1980`` when using
  ``SOURCE_DATE_EPOCH=0`` or when on-disk timestamps are earlier than 1980-01-01. Such
  timestamps are now changed to the minimum value before packaging.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/py-wheel/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-wheel/PLIST
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/py-wheel/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-wheel/Makefile
diff -u pkgsrc/devel/py-wheel/Makefile:1.29 pkgsrc/devel/py-wheel/Makefile:1.30
--- pkgsrc/devel/py-wheel/Makefile:1.29 Sun Apr 30 19:40:20 2023
+++ pkgsrc/devel/py-wheel/Makefile      Mon May  1 09:35:27 2023
@@ -1,32 +1,29 @@
-# $NetBSD: Makefile,v 1.29 2023/04/30 19:40:20 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2023/05/01 09:35:27 wiz Exp $
 
-DISTNAME=      wheel-0.37.1
+DISTNAME=      wheel-0.40.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/wheel/}
 
-MAINTAINER=    pkgsrc-users%netbsd.org@localhost
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/pypa/wheel
 COMMENT=       Built-package format for Python
 LICENSE=       mit
 
-USE_LANGUAGES= # none
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6:../../devel/py-test
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=0:../../devel/py-flit_core
 
-PYSETUPTESTTARGET=     pytest
+USE_LANGUAGES= c # for tests only
 
-USE_PKG_RESOURCES=     yes
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+# needs to be installed first
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} wheel wheel-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/pyversion.mk"
-
-.if ${PYTHON_VERSION} > 300
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
-.endif
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-wheel/PLIST
diff -u pkgsrc/devel/py-wheel/PLIST:1.8 pkgsrc/devel/py-wheel/PLIST:1.9
--- pkgsrc/devel/py-wheel/PLIST:1.8     Fri Aug 21 07:54:23 2020
+++ pkgsrc/devel/py-wheel/PLIST Mon May  1 09:35:27 2023
@@ -1,57 +1,65 @@
-@comment $NetBSD: PLIST,v 1.8 2020/08/21 07:54:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2023/05/01 09:35:27 wiz Exp $
 bin/wheel-${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}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${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}/entry_points.txt
 ${PYSITELIB}/wheel/__init__.py
 ${PYSITELIB}/wheel/__init__.pyc
-${PYSITELIB}/wheel/__init__.pyo
 ${PYSITELIB}/wheel/__main__.py
 ${PYSITELIB}/wheel/__main__.pyc
-${PYSITELIB}/wheel/__main__.pyo
+${PYSITELIB}/wheel/_setuptools_logging.py
+${PYSITELIB}/wheel/_setuptools_logging.pyc
 ${PYSITELIB}/wheel/bdist_wheel.py
 ${PYSITELIB}/wheel/bdist_wheel.pyc
-${PYSITELIB}/wheel/bdist_wheel.pyo
 ${PYSITELIB}/wheel/cli/__init__.py
 ${PYSITELIB}/wheel/cli/__init__.pyc
-${PYSITELIB}/wheel/cli/__init__.pyo
 ${PYSITELIB}/wheel/cli/convert.py
 ${PYSITELIB}/wheel/cli/convert.pyc
-${PYSITELIB}/wheel/cli/convert.pyo
 ${PYSITELIB}/wheel/cli/pack.py
 ${PYSITELIB}/wheel/cli/pack.pyc
-${PYSITELIB}/wheel/cli/pack.pyo
+${PYSITELIB}/wheel/cli/tags.py
+${PYSITELIB}/wheel/cli/tags.pyc
 ${PYSITELIB}/wheel/cli/unpack.py
 ${PYSITELIB}/wheel/cli/unpack.pyc
-${PYSITELIB}/wheel/cli/unpack.pyo
 ${PYSITELIB}/wheel/macosx_libfile.py
 ${PYSITELIB}/wheel/macosx_libfile.pyc
-${PYSITELIB}/wheel/macosx_libfile.pyo
 ${PYSITELIB}/wheel/metadata.py
 ${PYSITELIB}/wheel/metadata.pyc
-${PYSITELIB}/wheel/metadata.pyo
-${PYSITELIB}/wheel/pkginfo.py
-${PYSITELIB}/wheel/pkginfo.pyc
-${PYSITELIB}/wheel/pkginfo.pyo
 ${PYSITELIB}/wheel/util.py
 ${PYSITELIB}/wheel/util.pyc
-${PYSITELIB}/wheel/util.pyo
 ${PYSITELIB}/wheel/vendored/__init__.py
 ${PYSITELIB}/wheel/vendored/__init__.pyc
-${PYSITELIB}/wheel/vendored/__init__.pyo
 ${PYSITELIB}/wheel/vendored/packaging/__init__.py
 ${PYSITELIB}/wheel/vendored/packaging/__init__.pyc
-${PYSITELIB}/wheel/vendored/packaging/__init__.pyo
-${PYSITELIB}/wheel/vendored/packaging/_typing.py
-${PYSITELIB}/wheel/vendored/packaging/_typing.pyc
-${PYSITELIB}/wheel/vendored/packaging/_typing.pyo
+${PYSITELIB}/wheel/vendored/packaging/_elffile.py
+${PYSITELIB}/wheel/vendored/packaging/_elffile.pyc
+${PYSITELIB}/wheel/vendored/packaging/_manylinux.py
+${PYSITELIB}/wheel/vendored/packaging/_manylinux.pyc
+${PYSITELIB}/wheel/vendored/packaging/_musllinux.py
+${PYSITELIB}/wheel/vendored/packaging/_musllinux.pyc
+${PYSITELIB}/wheel/vendored/packaging/_parser.py
+${PYSITELIB}/wheel/vendored/packaging/_parser.pyc
+${PYSITELIB}/wheel/vendored/packaging/_structures.py
+${PYSITELIB}/wheel/vendored/packaging/_structures.pyc
+${PYSITELIB}/wheel/vendored/packaging/_tokenizer.py
+${PYSITELIB}/wheel/vendored/packaging/_tokenizer.pyc
+${PYSITELIB}/wheel/vendored/packaging/markers.py
+${PYSITELIB}/wheel/vendored/packaging/markers.pyc
+${PYSITELIB}/wheel/vendored/packaging/requirements.py
+${PYSITELIB}/wheel/vendored/packaging/requirements.pyc
+${PYSITELIB}/wheel/vendored/packaging/specifiers.py
+${PYSITELIB}/wheel/vendored/packaging/specifiers.pyc
 ${PYSITELIB}/wheel/vendored/packaging/tags.py
 ${PYSITELIB}/wheel/vendored/packaging/tags.pyc
-${PYSITELIB}/wheel/vendored/packaging/tags.pyo
+${PYSITELIB}/wheel/vendored/packaging/utils.py
+${PYSITELIB}/wheel/vendored/packaging/utils.pyc
+${PYSITELIB}/wheel/vendored/packaging/version.py
+${PYSITELIB}/wheel/vendored/packaging/version.pyc
+${PYSITELIB}/wheel/vendored/vendor.txt
 ${PYSITELIB}/wheel/wheelfile.py
 ${PYSITELIB}/wheel/wheelfile.pyc
-${PYSITELIB}/wheel/wheelfile.pyo

Index: pkgsrc/devel/py-wheel/distinfo
diff -u pkgsrc/devel/py-wheel/distinfo:1.22 pkgsrc/devel/py-wheel/distinfo:1.23
--- pkgsrc/devel/py-wheel/distinfo:1.22 Mon Jan  3 09:30:11 2022
+++ pkgsrc/devel/py-wheel/distinfo      Mon May  1 09:35:27 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.22 2022/01/03 09:30:11 adam Exp $
+$NetBSD: distinfo,v 1.23 2023/05/01 09:35:27 wiz Exp $
 
-BLAKE2s (wheel-0.37.1.tar.gz) = 53a308ac8e5da797471b8f5b84c7c3864d92bcc4c581ef13f11a447c67a893a5
-SHA512 (wheel-0.37.1.tar.gz) = c977a740c17abd1fa4b4c2382a33f3ff887baa4231c36990d988cb8531496074e39744786ef6ac0da9c9af4977bce5b2da145377a3ac15eea918f8125bff66ec
-Size (wheel-0.37.1.tar.gz) = 66376 bytes
+BLAKE2s (wheel-0.40.0.tar.gz) = acd06436e16928424a6c81802a6f5075da41e0d44910d2f55ca903acc6e9f736
+SHA512 (wheel-0.40.0.tar.gz) = 211e68d927c93b9b2748bf081097d1172cf8d4863d540be72f1d6023b64042410805d4208a2c94de89a1eeb0fb32044e78f41ab58ac94498ac0c489a1eea0d23
+Size (wheel-0.40.0.tar.gz) = 96226 bytes



Home | Main Index | Thread Index | Old Index