git: 986adf7f1829 - main - x11-toolkits/py-wxPython4: Update to 4.2.0

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Tue, 25 Oct 2022 05:44:14 UTC
The branch main has been updated by lbartoletti:

URL: https://cgit.FreeBSD.org/ports/commit/?id=986adf7f182937a74f31faca993631a1098736f7

commit 986adf7f182937a74f31faca993631a1098736f7
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-09-13 08:44:52 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-10-25 05:44:03 +0000

    x11-toolkits/py-wxPython4: Update to 4.2.0
    
    - use wxgtk32
    
    PR:             265093
---
 x11-toolkits/py-wxPython4/Makefile                          |  9 +++++----
 x11-toolkits/py-wxPython4/distinfo                          |  6 +++---
 .../files/patch-sip_cpp_sip__gridwxGridEvent.cpp            | 13 -------------
 3 files changed, 8 insertions(+), 20 deletions(-)

diff --git a/x11-toolkits/py-wxPython4/Makefile b/x11-toolkits/py-wxPython4/Makefile
index 54706af3be83..38e982857e17 100644
--- a/x11-toolkits/py-wxPython4/Makefile
+++ b/x11-toolkits/py-wxPython4/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	wxPython
-PORTVERSION=	4.1.1
+PORTVERSION=	4.2.0
 CATEGORIES=	x11-toolkits python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX=	41
+PKGNAMESUFFIX=	42
 DIST_SUBDIR=	python
 
 MAINTAINER=	desktop@FreeBSD.org
@@ -16,11 +16,12 @@ LICENSE_NAME_WXWINDOWS=	wxWindows Library Licence, Version 3.1
 LICENSE_FILE_WXWINDOWS=	${WRKSRC}/license/licence.txt
 LICENSE_PERMS_WXWINDOWS=	dist-mirror pkg-mirror auto-accept
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pathlib2>0:devel/py-pathlib2@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pathlib2>0:devel/py-pathlib2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}attrdict>0:devel/py-attrdict@${PY_FLAVOR}
 
 USES=		compiler:c++11-lib gl localbase pkgconfig python:3.6+
 USE_GL=		glu
-USE_WX=		3.1
+USE_WX=		3.2
 USE_PYTHON=	distutils autoplist
 
 OPTIONS_DEFINE=		NLS
diff --git a/x11-toolkits/py-wxPython4/distinfo b/x11-toolkits/py-wxPython4/distinfo
index a796f2046b3d..b9d4b561b44c 100644
--- a/x11-toolkits/py-wxPython4/distinfo
+++ b/x11-toolkits/py-wxPython4/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643317997
-SHA256 (python/wxPython-4.1.1.tar.gz) = 00e5e3180ac7f2852f342ad341d57c44e7e4326de0b550b9a5c4a8361b6c3528
-SIZE (python/wxPython-4.1.1.tar.gz) = 66043287
+TIMESTAMP = 1662795152
+SHA256 (python/wxPython-4.2.0.tar.gz) = 663cebc4509d7e5d113518865fe274f77f95434c5d57bc386ed58d65ceed86c7
+SIZE (python/wxPython-4.2.0.tar.gz) = 70958238
diff --git a/x11-toolkits/py-wxPython4/files/patch-sip_cpp_sip__gridwxGridEvent.cpp b/x11-toolkits/py-wxPython4/files/patch-sip_cpp_sip__gridwxGridEvent.cpp
deleted file mode 100644
index 14a153c42943..000000000000
--- a/x11-toolkits/py-wxPython4/files/patch-sip_cpp_sip__gridwxGridEvent.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- sip/cpp/sip_gridwxGridEvent.cpp.orig	2022-01-27 22:07:16 UTC
-+++ sip/cpp/sip_gridwxGridEvent.cpp
-@@ -32,8 +32,8 @@ class sipwxGridEvent : public  ::wxGridEvent (public)
-      * this class.
-      */
- protected:
--    int GetRow() SIP_OVERRIDE;
--    int GetCol() SIP_OVERRIDE;
-+    int GetRow();
-+    int GetCol();
-      ::wxEvent* Clone() const SIP_OVERRIDE;
-      ::wxEventCategory GetEventCategory() const SIP_OVERRIDE;
-