[113740] trunk/dports/python/py-cairo/Portfile
sean at macports.org
sean at macports.org
Sat Nov 23 08:37:21 PST 2013
Revision: 113740
https://trac.macports.org/changeset/113740
Author: sean at macports.org
Date: 2013-11-23 08:37:21 -0800 (Sat, 23 Nov 2013)
Log Message:
-----------
py-cairo: remove 2.5 due to numpy update
Modified Paths:
--------------
trunk/dports/python/py-cairo/Portfile
Modified: trunk/dports/python/py-cairo/Portfile
===================================================================
--- trunk/dports/python/py-cairo/Portfile 2013-11-23 16:37:17 UTC (rev 113739)
+++ trunk/dports/python/py-cairo/Portfile 2013-11-23 16:37:21 UTC (rev 113740)
@@ -8,7 +8,7 @@
name py-cairo
set my_name pycairo
version 1.10.0
-revision 2
+revision 3
categories-append graphics
license {LGPL-2.1 MPL-1.1}
platforms darwin
@@ -20,31 +20,18 @@
homepage http://cairographics.org/pycairo/
master_sites http://cairographics.org/releases/
-# for python 3; python 2.5 is different, as well as 2.6 and 2.7
+# for python 3; python 2.6 and 2.7 is different
checksums rmd160 7d1c1c05113e5bbad32dbe96c65c918b170cac33 \
sha256 9aa4078e7eb5be583aeabbe8d87172797717f95e8c4338f0d4a17b683a7253be
-python.versions 25 26 27 31 32 33
+python.versions 26 27 32 33
-# fixes ticket 37254; can remove when we drop py25-*gtk*
-subport py25-cairo {
- version 1.8.2
- revision 3
-
- checksums rmd160 ce48a6b71b802f07d0e0d3cfa140fd39ab5fe4d7 \
- sha256 77a8cbe388fd66825056744f2fc5c58b3afc247748bc2c777751cc0c2eb30a2f
-
- test.run yes
- test.cmd "cd test && python2.5"
- test.target test.py
-}
-
if {${name} != ${subport}} {
depends_build port:pkgconfig port:py${python.version}-numpy
depends_lib-append path:lib/pkgconfig/cairo.pc:cairo
# pycairo distributes python 2.x versions as py2cairo
- if {${python.version} < 31 && ${python.version} > 25} {
+ if {${python.version} < 31} {
set my_name py2cairo
checksums rmd160 ce75db9af32ef1a3e90f6aaa649cbb2493a941a4 \
@@ -63,10 +50,8 @@
}
}
- if {${python.version} > 25} {
- use_bzip2 yes
- patchfiles-append setup.py.patch
- }
+ use_bzip2 yes
+ patchfiles-append setup.py.patch
post-extract {
fs-traverse item ${worksrcpath} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131123/f3fb1594/attachment.html>
More information about the macports-changes
mailing list