[27499] trunk

source_changes at macosforge.org source_changes at macosforge.org
Sat Aug 4 21:25:49 PDT 2007


Revision: 27499
          http://trac.macosforge.org/projects/macports/changeset/27499
Author:   dluke at macports.org
Date:     2007-08-04 21:25:48 -0700 (Sat, 04 Aug 2007)

Log Message:
-----------
New port, subversion-python25bindings (planning on deprecated the non-versioned subversion-pythonbindgs port)

Added Paths:
-----------
    trunk/dports/devel/subversion-python25bindings/
    trunk/dports/devel/subversion-python25bindings/Portfile
    trunk/dports/devel/subversion-python25bindings/files/
    trunk/dports/devel/subversion-python25bindings/files/svn-python.pth

Property Changed:
----------------
    trunk/


Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - 023a8b07-a327-4f20-9012-67c915bb7b7c:/local/branches/updates:21118
023a8b07-a327-4f20-9012-67c915bb7b7c:/local/trunk:21326
40426cdb-d25d-4106-b89a-567fc1e9311f:/local/trunk:22799
a2b01108-8822-4c85-91cd-1541804339d8:/local/macports:20632
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/libdnet-maintainer:20898
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-app-cli:20923
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-list-moreutils:20919
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-path-class:20929
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/updates:20946
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/trunk:20947
d9146071-5dc1-4620-afc7-8ba4e23d31df:/local/trunk:21690
e4b2a6a8-e742-4924-8f8a-3771363e925e:/local/trunk:25771
f2dd1c64-7982-4318-98ce-263798263e0a:/local:27710
fd7794eb-1723-4a49-8be4-c69b2a184b6d:/local/trunk:24020
   + 023a8b07-a327-4f20-9012-67c915bb7b7c:/local/branches/updates:21118
023a8b07-a327-4f20-9012-67c915bb7b7c:/local/trunk:21326
40426cdb-d25d-4106-b89a-567fc1e9311f:/local/trunk:22799
a2b01108-8822-4c85-91cd-1541804339d8:/local/macports:20632
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/libdnet-maintainer:20898
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-app-cli:20923
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-list-moreutils:20919
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/p5-path-class:20929
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/branches/updates:20946
b1dfe3f6-5eec-4605-9368-528ffc7f2357:/local/trunk:20947
d9146071-5dc1-4620-afc7-8ba4e23d31df:/local/trunk:21690
e4b2a6a8-e742-4924-8f8a-3771363e925e:/local/trunk:25771
f2dd1c64-7982-4318-98ce-263798263e0a:/local:27810
fd7794eb-1723-4a49-8be4-c69b2a184b6d:/local/trunk:24020

Added: trunk/dports/devel/subversion-python25bindings/Portfile
===================================================================
--- trunk/dports/devel/subversion-python25bindings/Portfile	                        (rev 0)
+++ trunk/dports/devel/subversion-python25bindings/Portfile	2007-08-05 04:25:48 UTC (rev 27499)
@@ -0,0 +1,150 @@
+# $Id$
+
+PortSystem 1.0
+name			subversion-python25bindings
+version			1.4.4
+categories		devel python
+maintainers		dluke at geeklair.net
+description		Python bindings for the subversion version control system.
+
+long_description	Subversion is a version control system designed to be \
+			as similar to cvs(1) as possible, while fixing many \
+			outstanding problems with cvs(1). The python bindings \
+			provide access to subversion API from python.
+
+homepage		http://subversion.tigris.org/
+master_sites		http://subversion.tigris.org/tarballs/
+use_bzip2		yes
+checksums 		md5 d4aa5aeb09acb3307841022d279ab895
+distname		subversion-${version}
+dist_subdir		subversion
+
+depends_lib		port:expat port:neon \
+			port:apr port:apr-util \
+			port:db44 port:subversion \
+			port:python25 \
+			port:py25-bsddb \
+			port:gettext
+
+post-patch {
+	system "cd ${worksrcpath}; find build* Makefile.in subversion/bindings/swig/python -type f -print0 | xargs -0 perl -w -p -i -e 's/libsvn_swig_py/libsvn_swig_py25/g'"
+	file rename \
+		${worksrcpath}/subversion/bindings/swig/python/libsvn_swig_py \
+		${worksrcpath}/subversion/bindings/swig/python/libsvn_swig_py25
+}
+
+configure.args		--with-berkeley-db=${prefix}/include/db44:${prefix}/lib/db44 \
+			--with-neon=${prefix} --with-apr=${prefix} \
+			--with-apr-util=${prefix} --without-apxs \
+			--mandir=\\\${prefix}/share/man \
+			--disable-neon-version-check \
+
+configure.env		ac_cv_path_PYTHON=${prefix}/bin/python2.5
+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_py25/.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-configure {		reinplace "s|hardcode_direct=yes|hardcode_direct=no|g" \
+				${worksrcpath}/configure
+			}
+
+post-configure {	reinplace "s|need_relink=yes|need_relink=no|g" \
+				${worksrcpath}/libtool
+			}
+
+variant no_bdb {	depends_lib-delete	port:db44 port:py25-bsddb
+			configure.args-delete 	--with-berkeley-db=${prefix}/include/db44:${prefix}/lib/db44
+			configure.args-append	--without-berkeley-db
+			}
+
+variant no_neon {	depends_lib-delete	port:neon
+			configure.args-append	--without-neon
+			configure.args-delete	--with-neon=${prefix}
+			}
+
+post-destroot {
+		set PYTHON_PATH ${prefix}/lib/python2.5
+
+		xinstall -m 755 -d ${destroot}${PYTHON_PATH}/site-packages
+		xinstall -m 755 ${portpath}/${filesdir}/svn-python.pth \
+			${destroot}${PYTHON_PATH}/site-packages
+		reinplace "s|@PREFIX@|${prefix}|g" \
+			${destroot}${PYTHON_PATH}/site-packages/svn-python.pth	
+
+		file rename "${destroot}/${prefix}/lib/svn-python" \
+			"${destroot}/${prefix}/lib/svn-python2.5"
+
+		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
+platform darwin 7 {		configure.args-append \
+					--disable-keychain
+				}


Property changes on: trunk/dports/devel/subversion-python25bindings/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/devel/subversion-python25bindings/files/svn-python.pth
===================================================================
--- trunk/dports/devel/subversion-python25bindings/files/svn-python.pth	                        (rev 0)
+++ trunk/dports/devel/subversion-python25bindings/files/svn-python.pth	2007-08-05 04:25:48 UTC (rev 27499)
@@ -0,0 +1 @@
+ at PREFIX@/lib/svn-python2.5

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070804/59bd8f81/attachment.html


More information about the macports-changes mailing list