From owner-svn-ports-head@freebsd.org Thu Aug 18 22:54:23 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D36B1BBEDD8; Thu, 18 Aug 2016 22:54:23 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 846611CD1; Thu, 18 Aug 2016 22:54:23 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7IMsMEi001450; Thu, 18 Aug 2016 22:54:22 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7IMsM2a001448; Thu, 18 Aug 2016 22:54:22 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201608182254.u7IMsM2a001448@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Thu, 18 Aug 2016 22:54:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420428 - in head/devel/drpython: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 22:54:23 -0000 Author: marino Date: Thu Aug 18 22:54:22 2016 New Revision: 420428 URL: https://svnweb.freebsd.org/changeset/ports/420428 Log: devel/drpython: Remove wx.HIDE_READONLY attribute from wx.FileDialog This attribute has been removed for wxPython 3.0. Remove the flag to fix runtime error during saving and loading. See similar report on DrPython bug report 137. PR: 201699 Submitted by: Jordan Irwin Added: head/devel/drpython/files/patch-drFileDialog.py (contents, props changed) Modified: head/devel/drpython/Makefile Modified: head/devel/drpython/Makefile ============================================================================== --- head/devel/drpython/Makefile Thu Aug 18 22:27:48 2016 (r420427) +++ head/devel/drpython/Makefile Thu Aug 18 22:54:22 2016 (r420428) @@ -3,7 +3,7 @@ PORTNAME= drpython PORTVERSION= 3.11.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel python MASTER_SITES= SF/${PORTNAME}/DrPython%20%283.x%29/${PORTVERSION} PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} Added: head/devel/drpython/files/patch-drFileDialog.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/drpython/files/patch-drFileDialog.py Thu Aug 18 22:54:22 2016 (r420428) @@ -0,0 +1,13 @@ +--- drFileDialog.py.orig 2015-07-19 21:30:17 UTC ++++ drFileDialog.py +@@ -1026,8 +1026,8 @@ class drWxFileDialog(wx.FileDialog): + def FileDialog(parent, title, wildcard, point=(0, 0), size=wx.DefaultSize, IsASaveDialog=0, MultipleSelection=0, ShowRecentFiles=0): + if parent.prefs.usewxfiledialog: + if IsASaveDialog: +- return drWxFileDialog(parent, title, "", "", wildcard, wx.SAVE|wx.HIDE_READONLY|wx.OVERWRITE_PROMPT) ++ return drWxFileDialog(parent, title, "", "", wildcard, wx.FD_SAVE|wx.FD_OVERWRITE_PROMPT) + else: +- return drWxFileDialog(parent, title, "", "", wildcard, wx.OPEN|wx.HIDE_READONLY|wx.MULTIPLE) ++ return drWxFileDialog(parent, title, "", "", wildcard, wx.FD_OPEN|wx.FD_MULTIPLE) + else: + return drFileDialog(parent, title, wildcard, point, size, IsASaveDialog, MultipleSelection, ShowRecentFiles)