[28373] trunk/dports/devel/subversion-python24bindings/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Wed Aug 29 12:40:36 PDT 2007
Revision: 28373
http://trac.macosforge.org/projects/macports/changeset/28373
Author: blair at macports.org
Date: 2007-08-29 12:40:36 -0700 (Wed, 29 Aug 2007)
Log Message:
-----------
Update the Subversion Python 2.4 bindings to 1.4.5. This Portfile is
based off the r28347 Python 2.5 Portfile.
- Set DYLD_LIBRARY_PATH for test runs via method from #12421 (thanks nox!)
- use copy instead of file copy
- remove no longer necessary file delete commands
Modified Paths:
--------------
trunk/dports/devel/subversion-python24bindings/Portfile
Modified: trunk/dports/devel/subversion-python24bindings/Portfile
===================================================================
--- trunk/dports/devel/subversion-python24bindings/Portfile 2007-08-29 19:36:08 UTC (rev 28372)
+++ trunk/dports/devel/subversion-python24bindings/Portfile 2007-08-29 19:40:36 UTC (rev 28373)
@@ -2,8 +2,9 @@
PortSystem 1.0
name subversion-python24bindings
-version 1.4.4
+version 1.4.5
categories devel python
+platforms darwin
maintainers blair
description Python bindings for the subversion version control system.
@@ -13,9 +14,9 @@
provide access to subversion API from python.
homepage http://subversion.tigris.org/
-master_sites http://subversion.tigris.org/tarballs/
+master_sites ${homepage}/downloads
use_bzip2 yes
-checksums md5 d4aa5aeb09acb3307841022d279ab895
+checksums md5 4c333a5fe827568c67d195cda7a5e154
distname subversion-${version}
dist_subdir subversion
@@ -43,10 +44,20 @@
build.target swig-py
destroot.target install-swig-py DESTDIR=${destroot}
-test.env DYLD_LIBRARY_PATH=${worksrcpath}/subversion/bindings/swig/python/.libs:${worksrcpath}/subversion/bindings/swig/python/libsvn_swig_py24/.libs:${worksrcpath}/subversion/libsvn_client/.libs:${worksrcpath}/subversion/libsvn_delta/.libs:${worksrcpath}/subversion/libsvn_diff/.libs:${worksrcpath}/subversion/libsvn_fs/.libs:${worksrcpath}/subversion/libsvn_fs_base/.libs:${worksrcpath}/subversion/libsvn_fs_base/bdb/.libs:${worksrcpath}/subversion/libsvn_fs_base/util/.libs:${worksrcpath}/subversion/libsvn_fs_fs/.libs:${worksrcpath}/subversion/libsvn_ra/.libs:${worksrcpath}/subversion/libsvn_ra_dav/.libs:${worksrcpath}/subversion/libsvn_ra_local/.libs:${worksrcpath}/subversion/libsvn_ra_svn/.libs:${worksrcpath}/subversion/libsvn_repos/.libs:${worksrcpath}/subversion/libsvn_subr/.libs:${worksrcpath}/subversion/libsvn_wc/.libs
test.run yes
test.target check-swig-py
+pre-test {
+ set x {}
+ fs-traverse dir ${worksrcpath}/subversion {
+ if {[file tail ${dir}] == ".libs" && [file isdirectory ${dir}]} {
+ lappend x ${dir}
+ continue
+ }
+ }
+ test.env-append DYLD_LIBRARY_PATH=[join ${x} ":"]
+ }
+
pre-configure { reinplace "s|hardcode_direct=yes|hardcode_direct=no|g" \
${worksrcpath}/configure
}
@@ -76,72 +87,6 @@
file rename "${destroot}/${prefix}/lib/svn-python" \
"${destroot}/${prefix}/lib/svn-python2.4"
-
- file delete "${destroot}/${prefix}/lib/libsvn_client-1.0.0.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_fs-1.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_dav-1.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_repos-1.la"
- file delete "${destroot}/${prefix}/lib/libsvn_client-1.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_fs-1.la"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_dav-1.a"
- file delete "${destroot}/${prefix}/lib/libsvn_subr-1.0.0.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_client-1.a"
- file delete "${destroot}/${prefix}/lib/libsvn_fs_base-1.0.0.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_dav-1.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_subr-1.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_client-1.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_fs_base-1.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_dav-1.la"
- file delete "${destroot}/${prefix}/lib/libsvn_subr-1.a"
- file delete "${destroot}/${prefix}/lib/libsvn_client-1.la"
- file delete "${destroot}/${prefix}/lib/libsvn_fs_base-1.a"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_local-1.0.0.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_subr-1.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_delta-1.0.0.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_fs_base-1.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_local-1.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_subr-1.la"
- file delete "${destroot}/${prefix}/lib/libsvn_delta-1.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_fs_base-1.la"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_local-1.a"
- file delete "${destroot}/${prefix}/lib/libsvn_delta-1.a"
- file delete "${destroot}/${prefix}/lib/libsvn_fs_fs-1.0.0.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_local-1.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_delta-1.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_fs_fs-1.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_local-1.la"
- file delete "${destroot}/${prefix}/lib/libsvn_delta-1.la"
- file delete "${destroot}/${prefix}/lib/libsvn_fs_fs-1.a"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_svn-1.0.0.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_diff-1.0.0.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_fs_fs-1.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_svn-1.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_diff-1.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_fs_fs-1.la"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_svn-1.a"
- file delete "${destroot}/${prefix}/lib/libsvn_wc-1.0.0.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_diff-1.a"
- file delete "${destroot}/${prefix}/lib/libsvn_ra-1.0.0.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_svn-1.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_wc-1.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_diff-1.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_ra-1.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_svn-1.la"
- file delete "${destroot}/${prefix}/lib/libsvn_wc-1.a"
- file delete "${destroot}/${prefix}/lib/libsvn_diff-1.la"
- file delete "${destroot}/${prefix}/lib/libsvn_ra-1.a"
- file delete "${destroot}/${prefix}/lib/libsvn_repos-1.0.0.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_wc-1.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_fs-1.0.0.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_ra-1.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_repos-1.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_wc-1.la"
- file delete "${destroot}/${prefix}/lib/libsvn_fs-1.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_ra-1.la"
- file delete "${destroot}/${prefix}/lib/libsvn_repos-1.a"
- file delete "${destroot}/${prefix}/lib/libsvn_fs-1.a"
- file delete "${destroot}/${prefix}/lib/libsvn_ra_dav-1.0.0.0.dylib"
- file delete "${destroot}/${prefix}/lib/libsvn_repos-1.dylib"
}
# 10.3 says -> CarbonCore/MacTypes.h: No such file or directory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070829/b746c220/attachment.html
More information about the macports-changes
mailing list