[49378] trunk/dports/devel/trac/Portfile
dluke at macports.org
dluke at macports.org
Wed Apr 8 10:53:31 PDT 2009
Revision: 49378
http://trac.macports.org/changeset/49378
Author: dluke at macports.org
Date: 2009-04-08 10:53:25 -0700 (Wed, 08 Apr 2009)
Log Message:
-----------
Update trac to use python26 instead of python25 (fixes #19218)
Modified Paths:
--------------
trunk/dports/devel/trac/Portfile
Modified: trunk/dports/devel/trac/Portfile
===================================================================
--- trunk/dports/devel/trac/Portfile 2009-04-08 17:39:02 UTC (rev 49377)
+++ trunk/dports/devel/trac/Portfile 2009-04-08 17:53:25 UTC (rev 49378)
@@ -1,10 +1,11 @@
# $Id$
PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python26 1.0
name trac
version 0.11.4
+revision 1
categories devel python
platforms darwin
maintainers dluke at geeklair.net
@@ -20,22 +21,21 @@
sha1 392f5fc0bc8e29ebea07182707ad31a55b9ec46f \
rmd160 dffe20cb4f1cda2d8feaed5746a9701c24ccaeef
-depends_lib port:subversion-python25bindings \
- port:py25-sqlite3 port:python25 \
- port:sqlite3 port:py25-hashlib \
- port:py25-pygments port:py25-genshi
+depends_lib port:subversion-python26bindings \
+ port:python26 port:sqlite3 \
+ port:py26-pygments port:py26-genshi
post-install { ui_msg "See http://projects.edgewall.com/trac/wiki/TracInstall for information on setting up a new trac environment."
}
variant postgres description {Build with postgresql support instead of sqlite} {
- depends_lib-delete port:sqlite3 port:py25-sqlite3
- depends_lib-append port:py25-pgsql port:py25-mx-base
+ depends_lib-delete port:sqlite3
+ depends_lib-append port:py26-pgsql port:py26-mx-base
}
variant mysql description {Build with mysql support instead of sqlite} {
- depends_lib-delete port:sqlite3 port:py25-sqlite3
- depends_lib-append port:py25-mysql
+ depends_lib-delete port:sqlite3
+ depends_lib-append port:py26-mysql
ui_msg "Warning: MySQL support is currently experimental. That means it works for some people, but several issues remain, in particular regarding the use of unicode and the key length in the repository cache."
ui_msg "See http://trac.edgewall.org/wiki/MySqlDb for more detailed information."
@@ -45,4 +45,8 @@
file mkdir ${destroot}${prefix}/share/trac/
file copy ${worksrcpath}/contrib \
${destroot}${prefix}/share/trac/contrib
+ system "ln -sf ${frameworks_dir}/Python.framework/Versions/2.6/bin/trac-admin \
+ ${destroot}${prefix}/bin/trac-admin"
+ system "ln -sf ${frameworks_dir}/Python.framework/Versions/2.6/bin/tracd \
+ ${destroot}${prefix}/bin/tracd"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090408/cbdde2dc/attachment.html>
More information about the macports-changes
mailing list