pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/py-wxPython



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May  5 14:08:25 UTC 2025

Modified Files:
        pkgsrc/x11/py-wxPython: Makefile PLIST distinfo
Removed Files:
        pkgsrc/x11/py-wxPython/patches: patch-wx_svg___nanosvg.pyx

Log Message:
py-wxPython: updated to 4.2.3

4.2.3

New and improved in this release:
* This release was built using the wxWidgets' v3.2.7 release tag.  The only exception is that libtiff and pcre2 bundled with wxWidgets are updated to the versions from the wxWidgets master branch 
(libtiff 4.7.0 and pcre2 10.44).
* Fix test issues with wx.lib.introspect
* Add support for building on Windows ARM64
* Incorporate many improvements to type stubs
* Fix building documentation with latest sphinx
* Build smaller architecture-specific wheels on macOS instead of large universal2 wheels
* Calculate scroll based on child's relative position to scrolledpanel in wx.lib.scrolledpanel
* Fix float -> int conversion issues in wx.lib.fancytext
* Replace deprecated NumPy type aliases
* Use wx.StaticText in wx.lib.agw.hyperlink
* Implement partial support for pyproject.toml and other build process improvements
* Remove use of six and most Python 2 compatibility code
* Fix wxWidgets build on OpenSUSE
* Fix more int conversions in wx.lib.agw.flatnotebook
* Make build output reproducible
* Enable overridding wx.Sizer.InformFirstDirection()
* Implement __iter__ for wxList iterator classes (fixes Python 3.13.1 issue)
* Fix wx.lib.mixins.rubberband not clearing DC on redraw
* Support implementing CreateBitmapBundle for custom ArtProvider
* Fix float/int conversion issues in wx.lib.ogl
* Include usage of `wxMemoryFSHandler` in webview demo
* Fix crash when accessing wx.stc.StyledTextCtrl.DropTarget.Data
* Fix AuiManager pane minimizing issue
* Add range field to wx.lib.agw.pygauge.PyGauge format string
* Fix pickling of wx.RealPoint
* Avoid calling FlatMenu Destroy() in a finally block
* Update wxApp.IsDisplayAvailable to work on Wayland
* Fix InspectionTool crashes due to bad perspective string errors
* Drop support for Python 3.8 (EOL)
* Add CreateAccessible for Windows only
* Added check condition to AuiManager LoadPerspective()
* Fix RecursionError in platebtn bitmap getters
* Add Python implementation of GetPaths
* Support Wayland GTK backend in Window.GetHandle
* Refactor python only pdfviewer to support displaying pdf files where not all pages have the same size
* Improve support when specifying a pre-existing toolbar as the target for the restore icon when minimizing a pane in agw.aui
* Multiple bugfixes in pure python aui
* pdfviewer: Add support for pymupdf renaming


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/x11/py-wxPython/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/x11/py-wxPython/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/x11/py-wxPython/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/x11/py-wxPython/patches/patch-wx_svg___nanosvg.pyx

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

Modified files:

Index: pkgsrc/x11/py-wxPython/Makefile
diff -u pkgsrc/x11/py-wxPython/Makefile:1.14 pkgsrc/x11/py-wxPython/Makefile:1.15
--- pkgsrc/x11/py-wxPython/Makefile:1.14        Thu Apr 24 14:16:25 2025
+++ pkgsrc/x11/py-wxPython/Makefile     Mon May  5 14:08:24 2025
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2025/04/24 14:16:25 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2025/05/05 14:08:24 adam Exp $
 
-DISTNAME=      wxPython-4.2.1
+DISTNAME=      wxPython-4.2.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   9
-CATEGORIES=    x11
+CATEGORIES=    x11 python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/wxPython/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -12,32 +11,45 @@ COMMENT=    GUI Toolkit for Python
 # LGPLv2 with additional permission; http://opensource.org/licenses/wxwindows
 LICENSE=       gnu-lgpl-v2
 
-DEPENDS+=      ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
+TOOL_DEPENDS+= ${PYPKGPREFIX}-cython>=3.0.10:../../devel/py-cython
+TOOL_DEPENDS+= ${PYPKGPREFIX}-requests>=2.26.0:../../devel/py-requests
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-sip6>=6.10.0:../../x11/py-sip6
 DEPENDS+=      ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
-DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
 
-USE_LANGUAGES+=                        c c++
-USE_TOOLS+=                    pkg-config
-MAKE_ENV+=                     WX_CONFIG=wx-config-3.2
-PYDISTUTILSPKG=                        no
-
-TOOL_DEPENDS+=                 ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
-
-BUILD_ARGS+=                   --use_syswx
-BUILD_ARGS+=                   --prefix=${PREFIX}
-BUILD_ARGS+=                   --destdir=${DESTDIR}
+USE_LANGUAGES+=        c c++
+USE_TOOLS+=    pkg-config
+MAKE_ENV+=     WX_CONFIG=wx-config-3.2
+PYDISTUTILSPKG=        no
+
+PYTHON_SELF_CONFLICT=  yes
+
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_ARGS+=   --destdir=${DESTDIR}
+BUILD_ARGS+=   --prefix=${PREFIX}
+BUILD_ARGS+=   --release
+BUILD_ARGS+=   --use_syswx
+.if defined(MAKE_JOBS) && !empty(MAKE_JOBS) && !(defined(MAKE_JOBS_SAFE) && ${MAKE_JOBS_SAFE:U:tl} == no)
+BUILD_ARGS+=   --jobs=${MAKE_JOBS}
+.endif
+
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 311
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
+.endif
 
 post-patch:
        # upstream (incorrectly) installs patch .orig files
        ${RM} -f ${WRKSRC}/wx/svg/_nanosvg.pyx.orig
 
 do-build:
-       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} build.py ${BUILD_ARGS} build_py
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${TOOL_PYTHONBIN} build.py ${BUILD_ARGS} build_py
 
 do-install:
-       cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} build.py ${BUILD_ARGS} install_py
+       cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${TOOL_PYTHONBIN} build.py ${BUILD_ARGS} install_py
 
-.include "../../x11/wxGTK32/buildlink3.mk"
-.include "../../x11/gtk3/buildlink3.mk"
 .include "../../lang/python/egg.mk"
+.include "../../x11/wxGTK32/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/x11/py-wxPython/PLIST
diff -u pkgsrc/x11/py-wxPython/PLIST:1.1 pkgsrc/x11/py-wxPython/PLIST:1.2
--- pkgsrc/x11/py-wxPython/PLIST:1.1    Mon Jun 26 20:53:23 2023
+++ pkgsrc/x11/py-wxPython/PLIST        Mon May  5 14:08:24 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2023/06/26 20:53:23 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2025/05/05 14:08:24 adam Exp $
 bin/helpviewer
 bin/img2png
 bin/img2py
@@ -11,6 +11,13 @@ bin/pywxrc
 bin/wxdemo
 bin/wxdocs
 bin/wxget
+${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}/wx/__init__.py
 ${PYSITELIB}/wx/__init__.pyc
 ${PYSITELIB}/wx/__version__.py
@@ -548,8 +555,6 @@ ${PYSITELIB}/wx/lib/pubsub/policies.py
 ${PYSITELIB}/wx/lib/pubsub/policies.pyc
 ${PYSITELIB}/wx/lib/pubsub/pub.py
 ${PYSITELIB}/wx/lib/pubsub/pub.pyc
-${PYSITELIB}/wx/lib/pubsub/py2and3.py
-${PYSITELIB}/wx/lib/pubsub/py2and3.pyc
 ${PYSITELIB}/wx/lib/pubsub/setuparg1.py
 ${PYSITELIB}/wx/lib/pubsub/setuparg1.pyc
 ${PYSITELIB}/wx/lib/pubsub/setupkwargs.py
@@ -777,10 +782,3 @@ ${PYSITELIB}/wx/xml.pyi
 ${PYSITELIB}/wx/xrc.py
 ${PYSITELIB}/wx/xrc.pyc
 ${PYSITELIB}/wx/xrc.pyi
-${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

Index: pkgsrc/x11/py-wxPython/distinfo
diff -u pkgsrc/x11/py-wxPython/distinfo:1.2 pkgsrc/x11/py-wxPython/distinfo:1.3
--- pkgsrc/x11/py-wxPython/distinfo:1.2 Mon Nov 20 00:07:41 2023
+++ pkgsrc/x11/py-wxPython/distinfo     Mon May  5 14:08:24 2025
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2023/11/20 00:07:41 gdt Exp $
+$NetBSD: distinfo,v 1.3 2025/05/05 14:08:24 adam Exp $
 
-BLAKE2s (wxPython-4.2.1.tar.gz) = 12a049858c1d3c9764c31dad1476d8b9685ebebb9b708b4eb363129e02667fb9
-SHA512 (wxPython-4.2.1.tar.gz) = ee9ab8effb3c71de004c3d61ec583b9980c6b75fe9bb04cf2c76025ea70afc206bc3073c44d1c83c7ba604afed9fd38c01b9ef506617ba279a4ac58e3cf34438
-Size (wxPython-4.2.1.tar.gz) = 73724359 bytes
-SHA1 (patch-wx_svg___nanosvg.pyx) = f87fbd2d96a0f26b95524d0fd83bca4f1eed287d
+BLAKE2s (wxPython-4.2.3.tar.gz) = 374bb98927a4e0c048e50bd0ed1ddd341fbe7e443c01648841a8663f07d725fa
+SHA512 (wxPython-4.2.3.tar.gz) = c7b9f0758b9d77dbeab436e8069c024796b6f252af5043615e14083b3f62fb44386c5f325a118f9e2d99c15eeb7687bb1cc1a13a00263114689b32e2126364a7
+Size (wxPython-4.2.3.tar.gz) = 58861286 bytes



Home | Main Index | Thread Index | Old Index