On 10 Oct 2009, at 07:44, [email protected] wrote:
Revision
59139
Author
[email protected]
Date
2009-10-09 23:44:36 -0700 (Fri, 09 Oct 2009)
Log Message
mail/getmail - switch to python 2.6, ticket #21192 (maintainer
timeout)
Modified Paths
• trunk/dports/mail/getmail/Portfile
Diff
Modified: trunk/dports/mail/getmail/Portfile (59138 => 59139)
--- trunk/dports/mail/getmail/Portfile 2009-10-10 06:18:33 UTC (rev
59138)
+++ trunk/dports/mail/getmail/Portfile 2009-10-10 06:44:36 UTC (rev
59139)
@@ -1,10 +1,11 @@
# $Id$
PortSystem 1.0
-PortGroup python25 1.0
+PortGroup python26 1.0
name getmail
version 4.11.0
+revision 1
categories mail python
platforms darwin
maintainers mww
@@ -23,3 +24,17 @@
dist_subdir ${name}
patchfiles patch-setup.py.diff
+post-destroot {
+ foreach binfile [glob -tails -directory ${destroot}$
{python.prefix}/bin *] {
+ ln -s ${python.prefix}/bin/${binfile} \
+ ${destroot}${prefix}/bin/${binfile}
+ }
+ foreach manfile [glob -tails -directory ${destroot}$
{python.prefix}/share/man/man1 *] {
+ ln -s ${python.prefix}/share/man/man1/${manfile} \
+ ${destroot}${prefix}/share/man/man1/${manfile}
+ }
+ delete ${destroot}${prefix}/share/doc/${name}
+ move ${destroot}${python.prefix}/share/doc/${name} \
+ ${destroot}${prefix}/share/doc
+}
+
_______________________________________________
macports-changes mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes
So does getmail now depend on both python25 and python26?
I thought that after updating getmail [59139], which caused the
installation of python26, although python25 got updated too due to
[59156] in the same "sudo port upgrade outdated" run, that I'd be able
to uninstall python25 since nothing else needs it.
But it says getmail still depends on it.
iMac:~ mark$ sudo port installed
The following ports are currently installed:
getmail @4.11.0_1 (active)
python25 @2.5.4_8+darwin_10+macosx (active)
python26 @2.6.3_0+darwin (active)
python_select @0.3_0+darwin_10 (active)
iMac:~ mark$ sudo port uninstall python25
---> Unable to uninstall python25 2.5.4_8+darwin_10+macosx, the
following ports depend on it:
---> getmail
Error: port uninstall failed: Please uninstall the ports that depend
on python25 first.
iMac:~ mark$ sudo port uninstall python26
---> Unable to uninstall python26 2.6.3_0+darwin, the following ports
depend on it:
---> getmail
Error: port uninstall failed: Please uninstall the ports that depend
on python26 first.
Mark
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev