[34651] trunk/dports/lang

raimue at macports.org raimue at macports.org
Sat Mar 1 10:00:13 PST 2008


Revision: 34651
          http://trac.macosforge.org/projects/macports/changeset/34651
Author:   raimue at macports.org
Date:     2008-03-01 10:00:12 -0800 (Sat, 01 Mar 2008)

Log Message:
-----------
lang/python*-doc:
Use dist_subdir to avoid downloading the same distfile twice

Modified Paths:
--------------
    trunk/dports/lang/python24-doc/Portfile
    trunk/dports/lang/python25-doc/Portfile
    trunk/dports/lang/python30-doc/Portfile

Modified: trunk/dports/lang/python24-doc/Portfile
===================================================================
--- trunk/dports/lang/python24-doc/Portfile	2008-03-01 17:23:18 UTC (rev 34650)
+++ trunk/dports/lang/python24-doc/Portfile	2008-03-01 18:00:12 UTC (rev 34651)
@@ -14,6 +14,7 @@
 homepage        http://www.python.org/
 master_sites    ${homepage}ftp/python/${version}/ \
                 ftp://ftp.python.org/pub/python/${version}/
+dist_subdir     [lindex [split $name -] 0]
 distname        Python-${version}
 checksums       md5 0ba90c79175c017101100ebf5978e906
 patchfiles      patch-configure \

Modified: trunk/dports/lang/python25-doc/Portfile
===================================================================
--- trunk/dports/lang/python25-doc/Portfile	2008-03-01 17:23:18 UTC (rev 34650)
+++ trunk/dports/lang/python25-doc/Portfile	2008-03-01 18:00:12 UTC (rev 34651)
@@ -18,6 +18,7 @@
 			ftp://ftp.fastorama.com/mirrors/ftp.python.org/pub/python/${version}/ \
 			ftp://ftp.python.jp/pub/python/${version}/
 
+dist_subdir		[lindex [split $name -] 0]
 distname		Python-${version}
 use_bzip2		yes
 

Modified: trunk/dports/lang/python30-doc/Portfile
===================================================================
--- trunk/dports/lang/python30-doc/Portfile	2008-03-01 17:23:18 UTC (rev 34650)
+++ trunk/dports/lang/python30-doc/Portfile	2008-03-01 18:00:12 UTC (rev 34651)
@@ -13,6 +13,7 @@
 
 homepage		http://www.python.org
 master_sites		http://www.python.org/ftp/python/3.0/
+dist_subdir		[lindex [split $name -] 0]
 distname		Python-${version}
 extract.suffix		.tgz
 checksums		md5 03e5e8676997cb9a27633b6db25ac80c

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080301/1e072bfd/attachment.html 


More information about the macports-changes mailing list