[66137] trunk/dports/python

jmr at macports.org jmr at macports.org
Mon Apr 5 22:59:58 PDT 2010


Revision: 66137
          http://trac.macports.org/changeset/66137
Author:   jmr at macports.org
Date:     2010-04-05 22:59:57 -0700 (Mon, 05 Apr 2010)
Log Message:
-----------
py*-psyco: indicate that only i386 is supported, as opposed to "Intel"

Modified Paths:
--------------
    trunk/dports/python/py-psyco/Portfile
    trunk/dports/python/py25-psyco/Portfile
    trunk/dports/python/py26-psyco/Portfile

Modified: trunk/dports/python/py-psyco/Portfile
===================================================================
--- trunk/dports/python/py-psyco/Portfile	2010-04-06 05:57:51 UTC (rev 66136)
+++ trunk/dports/python/py-psyco/Portfile	2010-04-06 05:59:57 UTC (rev 66137)
@@ -8,6 +8,9 @@
 revision                2
 categories              python
 platforms               darwin
+if {[info exists supported_archs]} {
+    supported_archs i386
+}
 maintainers             erickt
 description             a python specializing compiler
 long_description        Psyco is a Python extension module which can \
@@ -24,8 +27,8 @@
 extract.post_args       "| tar -xf - --exclude '.cvsignore'"
 
 pre-fetch {
-	if {![variant_isset darwin_i386]} {
-		return -code error "psyco can only install on intel machine"
+	if {${configure.build_arch} != "i386"} {
+		return -code error "psyco only works on Intel IA-32 machines"
 	}
 }
 
@@ -34,5 +37,3 @@
                  ${destroot}${prefix}/share/doc/${name}
         file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}/
 }
-
-platform darwin i386 {}

Modified: trunk/dports/python/py25-psyco/Portfile
===================================================================
--- trunk/dports/python/py25-psyco/Portfile	2010-04-06 05:57:51 UTC (rev 66136)
+++ trunk/dports/python/py25-psyco/Portfile	2010-04-06 05:59:57 UTC (rev 66137)
@@ -7,6 +7,9 @@
 name                    py25-psyco
 version                 1.6
 platforms               darwin
+if {[info exists supported_archs]} {
+    supported_archs i386
+}
 license                 MIT
 maintainers             jmr openmaintainer
 description             a python specializing compiler
@@ -24,8 +27,8 @@
 extract.post_args       "| tar -xf - --exclude '.cvsignore'"
 
 pre-fetch {
-	if {![variant_isset darwin_i386]} {
-		return -code error "psyco only works on Intel machines"
+	if {${configure.build_arch} != "i386"} {
+		return -code error "psyco only works on Intel IA-32 machines"
 	}
 }
 
@@ -34,5 +37,3 @@
                  ${destroot}${prefix}/share/doc/${name}
         file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}/
 }
-
-platform darwin i386 {}

Modified: trunk/dports/python/py26-psyco/Portfile
===================================================================
--- trunk/dports/python/py26-psyco/Portfile	2010-04-06 05:57:51 UTC (rev 66136)
+++ trunk/dports/python/py26-psyco/Portfile	2010-04-06 05:59:57 UTC (rev 66137)
@@ -7,6 +7,9 @@
 name                    py26-psyco
 version                 1.6
 platforms               darwin
+if {[info exists supported_archs]} {
+    supported_archs i386
+}
 license                 MIT
 maintainers             jmr openmaintainer
 description             a python specializing compiler
@@ -24,8 +27,8 @@
 extract.post_args       "| tar -xf - --exclude '.cvsignore'"
 
 pre-fetch {
-	if {![variant_isset darwin_i386]} {
-		return -code error "psyco only works on Intel machines"
+	if {${configure.build_arch} != "i386"} {
+		return -code error "psyco only works on Intel IA-32 machines"
 	}
 }
 
@@ -34,5 +37,3 @@
                  ${destroot}${prefix}/share/doc/${name}
         file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}/
 }
-
-platform darwin i386 {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100405/5b8228ea/attachment.html>


More information about the macports-changes mailing list