[120646] trunk/dports/python/py-spyder-devel
eborisch at macports.org
eborisch at macports.org
Wed Jun 4 09:40:10 PDT 2014
Revision: 120646
https://trac.macports.org/changeset/120646
Author: eborisch at macports.org
Date: 2014-06-04 09:40:10 -0700 (Wed, 04 Jun 2014)
Log Message:
-----------
py-spyder-devel: Update to 2.3.0rc; Add noAntiAlias variant: turns off antialiasing in editor.
Modified Paths:
--------------
trunk/dports/python/py-spyder-devel/Portfile
Added Paths:
-----------
trunk/dports/python/py-spyder-devel/files/no_AA.diff
Modified: trunk/dports/python/py-spyder-devel/Portfile
===================================================================
--- trunk/dports/python/py-spyder-devel/Portfile 2014-06-04 15:26:17 UTC (rev 120645)
+++ trunk/dports/python/py-spyder-devel/Portfile 2014-06-04 16:40:10 UTC (rev 120646)
@@ -3,7 +3,7 @@
PortSystem 1.0
name py-spyder-devel
-version 2.3.0beta4
+version 2.3.0rc
revision 0
# Preference on mailing list is to use small numbers for epoch.
# This is already a date code, so sticking with dates.
@@ -42,8 +42,8 @@
if {${name} ne ${subport}} {
checksums \
- rmd160 6c9eb242fd1c7c9c1094fb547746e9ce162a11ee \
- sha256 e852e46c61e642a24123bb922eec2d5acf75db802f312bb2836c84a49ba5a084
+ rmd160 51664bcf0293977d5b516929ecb11639adebe4d9 \
+ sha256 7e9b067254026af455a577d594734c97cf5e7fe9898544a09dd4c36756c28cb6
conflicts py${python.version}-spyder
@@ -96,6 +96,10 @@
are detected/enabled at runtime and may be installed separately.
} conflicts tiny {}
+ variant noAntiAlias description {Use non-anti-aliased fonts in editor.} {
+ patchfiles-append no_AA.diff
+ }
+
# These add very little to the install time
if {![ variant_isset tiny ]} {
depends_lib-append \
Added: trunk/dports/python/py-spyder-devel/files/no_AA.diff
===================================================================
--- trunk/dports/python/py-spyder-devel/files/no_AA.diff (rev 0)
+++ trunk/dports/python/py-spyder-devel/files/no_AA.diff 2014-06-04 16:40:10 UTC (rev 120646)
@@ -0,0 +1,13 @@
+--- spyderlib/widgets/sourcecode/syntaxhighlighters.py.orig 2014-05-01 12:42:23.000000000 -0500
++++ spyderlib/widgets/sourcecode/syntaxhighlighters.py 2014-05-01 12:43:40.000000000 -0500
+@@ -265,6 +265,10 @@
+ if bold:
+ format.setFontWeight(QFont.Bold)
+ format.setFontItalic(italic)
++ if not italic and not bold:
++ font = format.font()
++ font.setStyleStrategy(QFont.NoAntialias)
++ format.setFont(font)
+ self.formats[name] = format
+
+ def _check_color_scheme(self, color_scheme):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140604/c51796b9/attachment.html>
More information about the macports-changes
mailing list