[23672] trunk/dports/python
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 6 05:12:36 PDT 2007
Revision: 23672
http://trac.macosforge.org/projects/macports/changeset/23672
Author: stechert at macports.org
Date: 2007-04-06 05:12:36 -0700 (Fri, 06 Apr 2007)
Log Message:
-----------
Committing changes for Ticket #11691
Added Paths:
-----------
trunk/dports/python/py-svn/
trunk/dports/python/py-svn/Portfile
trunk/dports/python/py-svn/files/
trunk/dports/python/py-svn/files/patch-setup.py
Added: trunk/dports/python/py-svn/Portfile
===================================================================
--- trunk/dports/python/py-svn/Portfile (rev 0)
+++ trunk/dports/python/py-svn/Portfile 2007-04-06 12:12:36 UTC (rev 23672)
@@ -0,0 +1,44 @@
+# $Id: $
+
+PortSystem 1.0
+PortGroup python24 1.0
+
+name py-svn
+version 1.5.1
+categories python devel
+maintainers yunzheng.hu at gmail.com
+platforms darwin
+description Python Subversion Extension
+long_description The pysvn module is a python interface to the \
+ Subversion version control system. This API exposes \
+ client interfaces for managing a working copy, \
+ querying a repository, and synchronizing the two.
+
+homepage http://pysvn.tigris.org/
+
+master_sites http://pysvn.tigris.org/files/documents/1233/36248
+distname pysvn-${version}
+checksums md5 692b33cb82e2446c051df358d61b349a \
+ sha1 1f24b5b18bf93fc978afca049a219128c372ca57
+
+depends_lib port:python24 \
+ port:subversion
+
+patchfiles patch-setup.py
+
+use_configure yes
+configure.cmd cd Source && ${python.bin} setup.py configure
+
+build.cmd cd Source && make
+build.target all
+
+destroot {
+ file mkdir ${destroot}${python.pkgd}
+ file copy Source/pysvn ${destroot}${python.pkgd}
+
+ file mkdir ${destroot}${prefix}/share/doc/${name}/examples
+ eval file copy [glob ${worksrcpath}/Examples/*] \
+ ${destroot}${prefix}/share/doc/${name}/examples
+ eval file copy [glob ${worksrcpath}/Docs/*] \
+ ${destroot}${prefix}/share/doc/${name}
+}
Added: trunk/dports/python/py-svn/files/patch-setup.py
===================================================================
--- trunk/dports/python/py-svn/files/patch-setup.py (rev 0)
+++ trunk/dports/python/py-svn/files/patch-setup.py 2007-04-06 12:12:36 UTC (rev 23672)
@@ -0,0 +1,21 @@
+--- Source/setup.py.org 2007-03-31 15:05:46.000000000 +0200
++++ Source/setup.py 2007-03-31 15:05:21.000000000 +0200
+@@ -198,7 +198,7 @@
+
+ # 10.4 needs the libintl.a but 10.3 does not
+ template_values['extra_libs'] = '%(svn_lib_dir)s/libintl.a' % template_values
+- template_values['frameworks'] = '-framework System %s -framework CoreFoundation -framework Kerberos' % framework_lib
++ template_values['frameworks'] = '-framework System %s -framework CoreFoundation -framework Kerberos -framework Security' % framework_lib
+ else:
+ if self.verbose:
+ print 'Info: Using Mac OS X 10.3 makefile template'
+@@ -209,9 +209,6 @@
+ if self.is_mac_os_x_fink:
+ makefile.write( self.makefile_template_macosx_fink % template_values )
+
+- elif self.is_mac_os_x_darwin_ports:
+- makefile.write( self.makefile_template_macosx_darwin_ports % template_values )
+-
+ else:
+ makefile.write( self.makefile_template_macosx % template_values )
+ elif sys.platform.startswith('aix'):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070406/6ead0817/attachment.html
More information about the macports-changes
mailing list