[43139] trunk/dports/python

mcalhoun at macports.org mcalhoun at macports.org
Fri Dec 5 14:24:05 PST 2008


Revision: 43139
          http://trac.macports.org/changeset/43139
Author:   mcalhoun at macports.org
Date:     2008-12-05 14:24:04 -0800 (Fri, 05 Dec 2008)
Log Message:
-----------
Multiple Update: Allow py26- ports to use python26-1.0.tcl.

Modified Paths:
--------------
    trunk/dports/python/py26-libxml2/Portfile
    trunk/dports/python/py26-nose/Portfile
    trunk/dports/python/py26-numpy/Portfile
    trunk/dports/python/py26-openssl/Portfile
    trunk/dports/python/py26-setuptools/Portfile
    trunk/dports/python/py26-twisted/Portfile
    trunk/dports/python/py26-zopeinterface/Portfile

Modified: trunk/dports/python/py26-libxml2/Portfile
===================================================================
--- trunk/dports/python/py26-libxml2/Portfile	2008-12-05 22:17:19 UTC (rev 43138)
+++ trunk/dports/python/py26-libxml2/Portfile	2008-12-05 22:24:04 UTC (rev 43139)
@@ -3,42 +3,9 @@
 
 PortSystem 1.0
 
-#######################################################################################################
-# PortGroup python26 1.0
-#######################################################################################################
-# Can be removed once MacPorts 1.7.0 is released
-if {![info exists frameworks_dir]} {
-    set frameworks_dir ${prefix}/Library/Frameworks
-}
+# HACK: change to 'PortGroup python26 1.0' when MP 1.7 is released
+source ${portpath}/../../_resources/port1.0/group/python26-1.0.tcl
 
-set python.bin	    ${prefix}/bin/python2.6
-set python.lib	    ${frameworks_dir}/Python.framework/Versions/2.6/Python
-set python.pkgd	    ${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages
-set python.bindir	${frameworks_dir}/Python.framework/Versions/2.6/bin
-set python.include	${frameworks_dir}/Python.framework/Versions/2.6/include/python2.6
-
-categories		python
-
-dist_subdir		python
-
-depends_lib		port:python26
-
-use_configure	no
-
-build.cmd		${python.bin} setup.py --no-user-cfg
-build.target	build
-
-destroot.cmd	           ${python.bin} setup.py --no-user-cfg
-destroot.destdir	       --prefix=${frameworks_dir}/Python.framework/Versions/2.6 --root=${destroot}
-configure.pkg_config_path  ${frameworks_dir}/Python.framework/Versions/2.6/lib/pkgconfig
-
-set env(PATH) "${python.bindir}:$env(PATH)"
-
-pre-destroot	{
-	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
-}
-#######################################################################################################
-
 name                    py26-libxml2
 version                 2.6.21
 categories              python textproc

Modified: trunk/dports/python/py26-nose/Portfile
===================================================================
--- trunk/dports/python/py26-nose/Portfile	2008-12-05 22:17:19 UTC (rev 43138)
+++ trunk/dports/python/py26-nose/Portfile	2008-12-05 22:24:04 UTC (rev 43139)
@@ -3,42 +3,9 @@
 
 PortSystem			1.0
 
-#######################################################################################################
-# PortGroup python26 1.0
-#######################################################################################################
-# Can be removed once MacPorts 1.7.0 is released
-if {![info exists frameworks_dir]} {
-    set frameworks_dir ${prefix}/Library/Frameworks
-}
+# HACK: change to 'PortGroup python26 1.0' when MP 1.7 is released
+source ${portpath}/../../_resources/port1.0/group/python26-1.0.tcl
 
-set python.bin	    ${prefix}/bin/python2.6
-set python.lib	    ${frameworks_dir}/Python.framework/Versions/2.6/Python
-set python.pkgd	    ${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages
-set python.bindir	${frameworks_dir}/Python.framework/Versions/2.6/bin
-set python.include	${frameworks_dir}/Python.framework/Versions/2.6/include/python2.6
-
-categories		python
-
-dist_subdir		python
-
-depends_lib		port:python26
-
-use_configure	no
-
-build.cmd		${python.bin} setup.py --no-user-cfg
-build.target	build
-
-destroot.cmd	           ${python.bin} setup.py --no-user-cfg
-destroot.destdir	       --prefix=${frameworks_dir}/Python.framework/Versions/2.6 --root=${destroot}
-configure.pkg_config_path  ${frameworks_dir}/Python.framework/Versions/2.6/lib/pkgconfig
-
-set env(PATH) "${python.bindir}:$env(PATH)"
-
-pre-destroot	{
-	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
-}
-#######################################################################################################
-
 name				py26-nose
 version				0.10.4
 categories-append	www

Modified: trunk/dports/python/py26-numpy/Portfile
===================================================================
--- trunk/dports/python/py26-numpy/Portfile	2008-12-05 22:17:19 UTC (rev 43138)
+++ trunk/dports/python/py26-numpy/Portfile	2008-12-05 22:24:04 UTC (rev 43139)
@@ -3,42 +3,9 @@
 
 PortSystem              1.0
 
-#######################################################################################################
-# PortGroup python26 1.0
-#######################################################################################################
-# Can be removed once MacPorts 1.7.0 is released
-if {![info exists frameworks_dir]} {
-    set frameworks_dir ${prefix}/Library/Frameworks
-}
+# HACK: change to 'PortGroup python26 1.0' when MP 1.7 is released
+source ${portpath}/../../_resources/port1.0/group/python26-1.0.tcl
 
-set python.bin	    ${prefix}/bin/python2.6
-set python.lib	    ${frameworks_dir}/Python.framework/Versions/2.6/Python
-set python.pkgd	    ${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages
-set python.bindir	${frameworks_dir}/Python.framework/Versions/2.6/bin
-set python.include	${frameworks_dir}/Python.framework/Versions/2.6/include/python2.6
-
-categories		python
-
-dist_subdir		python
-
-depends_lib		port:python26
-
-use_configure	no
-
-build.cmd		${python.bin} setup.py --no-user-cfg
-build.target	build
-
-destroot.cmd	           ${python.bin} setup.py --no-user-cfg
-destroot.destdir	       --prefix=${frameworks_dir}/Python.framework/Versions/2.6 --root=${destroot}
-configure.pkg_config_path  ${frameworks_dir}/Python.framework/Versions/2.6/lib/pkgconfig
-
-set env(PATH) "${python.bindir}:$env(PATH)"
-
-pre-destroot	{
-	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
-}
-#######################################################################################################
-
 name                    py26-numpy
 version                 1.2.1
 categories              python

Modified: trunk/dports/python/py26-openssl/Portfile
===================================================================
--- trunk/dports/python/py26-openssl/Portfile	2008-12-05 22:17:19 UTC (rev 43138)
+++ trunk/dports/python/py26-openssl/Portfile	2008-12-05 22:24:04 UTC (rev 43139)
@@ -3,42 +3,9 @@
 
 PortSystem 1.0
 
-#######################################################################################################
-# PortGroup python26 1.0
-#######################################################################################################
-# Can be removed once MacPorts 1.7.0 is released
-if {![info exists frameworks_dir]} {
-    set frameworks_dir ${prefix}/Library/Frameworks
-}
+# HACK: change to 'PortGroup python26 1.0' when MP 1.7 is released
+source ${portpath}/../../_resources/port1.0/group/python26-1.0.tcl
 
-set python.bin	    ${prefix}/bin/python2.6
-set python.lib	    ${frameworks_dir}/Python.framework/Versions/2.6/Python
-set python.pkgd	    ${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages
-set python.bindir	${frameworks_dir}/Python.framework/Versions/2.6/bin
-set python.include	${frameworks_dir}/Python.framework/Versions/2.6/include/python2.6
-
-categories		python
-
-dist_subdir		python
-
-depends_lib		port:python26
-
-use_configure	no
-
-build.cmd		${python.bin} setup.py --no-user-cfg
-build.target	build
-
-destroot.cmd	           ${python.bin} setup.py --no-user-cfg
-destroot.destdir	       --prefix=${frameworks_dir}/Python.framework/Versions/2.6 --root=${destroot}
-configure.pkg_config_path  ${frameworks_dir}/Python.framework/Versions/2.6/lib/pkgconfig
-
-set env(PATH) "${python.bindir}:$env(PATH)"
-
-pre-destroot	{
-	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
-}
-#######################################################################################################
-
 name                    py26-openssl
 version                 0.8
 categories              python devel security

Modified: trunk/dports/python/py26-setuptools/Portfile
===================================================================
--- trunk/dports/python/py26-setuptools/Portfile	2008-12-05 22:17:19 UTC (rev 43138)
+++ trunk/dports/python/py26-setuptools/Portfile	2008-12-05 22:24:04 UTC (rev 43139)
@@ -3,42 +3,9 @@
 
 PortSystem			1.0
 
-#######################################################################################################
-# PortGroup python26 1.0
-#######################################################################################################
-# Can be removed once MacPorts 1.7.0 is released
-if {![info exists frameworks_dir]} {
-    set frameworks_dir ${prefix}/Library/Frameworks
-}
+# HACK: change to 'PortGroup python26 1.0' when MP 1.7 is released
+source ${portpath}/../../_resources/port1.0/group/python26-1.0.tcl
 
-set python.bin	    ${prefix}/bin/python2.6
-set python.lib	    ${frameworks_dir}/Python.framework/Versions/2.6/Python
-set python.pkgd	    ${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages
-set python.bindir	${frameworks_dir}/Python.framework/Versions/2.6/bin
-set python.include	${frameworks_dir}/Python.framework/Versions/2.6/include/python2.6
-
-categories		python
-
-dist_subdir		python
-
-depends_lib		port:python26
-
-use_configure	no
-
-build.cmd		${python.bin} setup.py --no-user-cfg
-build.target	build
-
-destroot.cmd	           ${python.bin} setup.py --no-user-cfg
-destroot.destdir	       --prefix=${frameworks_dir}/Python.framework/Versions/2.6 --root=${destroot}
-configure.pkg_config_path  ${frameworks_dir}/Python.framework/Versions/2.6/lib/pkgconfig
-
-set env(PATH) "${python.bindir}:$env(PATH)"
-
-pre-destroot	{
-	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
-}
-#######################################################################################################
-
 name				py26-setuptools
 version				0.6c9
 categories-append	devel

Modified: trunk/dports/python/py26-twisted/Portfile
===================================================================
--- trunk/dports/python/py26-twisted/Portfile	2008-12-05 22:17:19 UTC (rev 43138)
+++ trunk/dports/python/py26-twisted/Portfile	2008-12-05 22:24:04 UTC (rev 43139)
@@ -3,42 +3,9 @@
 
 PortSystem 1.0
 
-#######################################################################################################
-# PortGroup python26 1.0
-#######################################################################################################
-# Can be removed once MacPorts 1.7.0 is released
-if {![info exists frameworks_dir]} {
-    set frameworks_dir ${prefix}/Library/Frameworks
-}
+# HACK: change to 'PortGroup python26 1.0' when MP 1.7 is released
+source ${portpath}/../../_resources/port1.0/group/python26-1.0.tcl
 
-set python.bin	    ${prefix}/bin/python2.6
-set python.lib	    ${frameworks_dir}/Python.framework/Versions/2.6/Python
-set python.pkgd	    ${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages
-set python.bindir	${frameworks_dir}/Python.framework/Versions/2.6/bin
-set python.include	${frameworks_dir}/Python.framework/Versions/2.6/include/python2.6
-
-categories		python
-
-dist_subdir		python
-
-depends_lib		port:python26
-
-use_configure	no
-
-build.cmd		${python.bin} setup.py --no-user-cfg
-build.target	build
-
-destroot.cmd	           ${python.bin} setup.py --no-user-cfg
-destroot.destdir	       --prefix=${frameworks_dir}/Python.framework/Versions/2.6 --root=${destroot}
-configure.pkg_config_path  ${frameworks_dir}/Python.framework/Versions/2.6/lib/pkgconfig
-
-set env(PATH) "${python.bindir}:$env(PATH)"
-
-pre-destroot	{
-	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
-}
-#######################################################################################################
-
 name			py26-twisted
 version			8.1.0
 categories		python devel net

Modified: trunk/dports/python/py26-zopeinterface/Portfile
===================================================================
--- trunk/dports/python/py26-zopeinterface/Portfile	2008-12-05 22:17:19 UTC (rev 43138)
+++ trunk/dports/python/py26-zopeinterface/Portfile	2008-12-05 22:24:04 UTC (rev 43139)
@@ -3,42 +3,9 @@
 
 PortSystem 1.0
 
-#######################################################################################################
-# PortGroup python26 1.0
-#######################################################################################################
-# Can be removed once MacPorts 1.7.0 is released
-if {![info exists frameworks_dir]} {
-    set frameworks_dir ${prefix}/Library/Frameworks
-}
+# HACK: change to 'PortGroup python26 1.0' when MP 1.7 is released
+source ${portpath}/../../_resources/port1.0/group/python26-1.0.tcl
 
-set python.bin	    ${prefix}/bin/python2.6
-set python.lib	    ${frameworks_dir}/Python.framework/Versions/2.6/Python
-set python.pkgd	    ${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages
-set python.bindir	${frameworks_dir}/Python.framework/Versions/2.6/bin
-set python.include	${frameworks_dir}/Python.framework/Versions/2.6/include/python2.6
-
-categories		python
-
-dist_subdir		python
-
-depends_lib		port:python26
-
-use_configure	no
-
-build.cmd		${python.bin} setup.py --no-user-cfg
-build.target	build
-
-destroot.cmd	           ${python.bin} setup.py --no-user-cfg
-destroot.destdir	       --prefix=${frameworks_dir}/Python.framework/Versions/2.6 --root=${destroot}
-configure.pkg_config_path  ${frameworks_dir}/Python.framework/Versions/2.6/lib/pkgconfig
-
-set env(PATH) "${python.bindir}:$env(PATH)"
-
-pre-destroot	{
-	xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
-}
-#######################################################################################################
-
 name			py26-zopeinterface
 version			3.3.0
 categories		python zope
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081205/306b60e3/attachment-0001.html>


More information about the macports-changes mailing list