Skip to content

Commit

Permalink
x11-toolkits/py-wxPython4: pull in upstream patch removing attrdict
Browse files Browse the repository at this point in the history
attrdict is abandonware and broken on Python >= 3.10, and upstream
declared the functionality only used on Windows.

Approved by: mentors (implicit)
  • Loading branch information
vishwin committed Dec 29, 2022
1 parent 8799d82 commit eaa988b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions x11-toolkits/py-wxPython4/Makefile
Expand Up @@ -6,6 +6,9 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 42
DIST_SUBDIR= python

PATCH_SITES= https://github.com/wxWidgets/Phoenix/commit/
PATCHFILES= 2e9169effa9abf14f34f8436a791b8829eea7774.patch:-p1

MAINTAINER= desktop@FreeBSD.org
COMMENT= GUI toolkit for the Python programming language
WWW= https://www.wxpython.org
Expand All @@ -16,8 +19,7 @@ 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} \
${PYTHON_PKGNAMEPREFIX}attrdict>0:devel/py-attrdict@${PY_FLAVOR}
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pathlib2>0:devel/py-pathlib2@${PY_FLAVOR}

USES= compiler:c++11-lib gl localbase pkgconfig python:3.6+
USE_GL= glu
Expand Down
4 changes: 3 additions & 1 deletion x11-toolkits/py-wxPython4/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1662795152
TIMESTAMP = 1670184434
SHA256 (python/wxPython-4.2.0.tar.gz) = 663cebc4509d7e5d113518865fe274f77f95434c5d57bc386ed58d65ceed86c7
SIZE (python/wxPython-4.2.0.tar.gz) = 70958238
SHA256 (python/2e9169effa9abf14f34f8436a791b8829eea7774.patch) = 247ba7d0c347312c5602706734de504dc5a7282e9cf3ae7473da8b8416062d0b
SIZE (python/2e9169effa9abf14f34f8436a791b8829eea7774.patch) = 1270

0 comments on commit eaa988b

Please sign in to comment.