[96748] trunk/dports/python/py27-svn/Portfile
blair at macports.org
blair at macports.org
Fri Aug 17 20:30:42 PDT 2012
Revision: 96748
https://trac.macports.org/changeset/96748
Author: blair at macports.org
Date: 2012-08-17 20:30:42 -0700 (Fri, 17 Aug 2012)
Log Message:
-----------
py27-svn: whitespace fixes.
Modified Paths:
--------------
trunk/dports/python/py27-svn/Portfile
Modified: trunk/dports/python/py27-svn/Portfile
===================================================================
--- trunk/dports/python/py27-svn/Portfile 2012-08-18 03:28:53 UTC (rev 96747)
+++ trunk/dports/python/py27-svn/Portfile 2012-08-18 03:30:42 UTC (rev 96748)
@@ -2,60 +2,60 @@
PortSystem 1.0
PortGroup python27 1.0
+
+name py27-svn
+version 1.7.6
+categories python devel
+maintainers blair gmail.com:yunzheng.hu openmaintainer
+platforms darwin
+description Python Subversion Extension (pysvn)
+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.
-name py27-svn
-version 1.7.6
-categories python devel
-maintainers blair gmail.com:yunzheng.hu openmaintainer
-platforms darwin
-description Python Subversion Extension (pysvn)
-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/
-homepage http://pysvn.tigris.org/
+master_sites http://pysvn.barrys-emacs.org/source_kits/
+distname pysvn-${version}
+checksums md5 010a80f0058713209d62e96b20afbde9 \
+ sha1 720399815278a0b29a2ea87a09a0d2807d4614e4 \
+ rmd160 f6b44e293ec4a94cd610cb8e1f2b711c1aad5aee
-master_sites http://pysvn.barrys-emacs.org/source_kits/
-distname pysvn-${version}
-checksums md5 010a80f0058713209d62e96b20afbde9 \
- sha1 720399815278a0b29a2ea87a09a0d2807d4614e4 \
- rmd160 f6b44e293ec4a94cd610cb8e1f2b711c1aad5aee
+depends_lib-append port:subversion
-depends_lib-append port:subversion
+patchfiles patch-Source_setup_configure.py.diff
-patchfiles patch-Source_setup_configure.py.diff
+worksrcdir ${worksrcdir}/Source
-worksrcdir ${worksrcdir}/Source
-
-use_configure yes
-configure.cmd ${python.bin} setup.py configure
+use_configure yes
+configure.cmd ${python.bin} setup.py configure
configure.pre_args
-configure.args --apr-inc-dir=${prefix}/include/apr-1 \
- --apu-inc-dir=${prefix}/include/apr-1 \
- --apr-lib-dir=${prefix}/lib \
- --svn-root-dir=${prefix}
+configure.args --apr-inc-dir=${prefix}/include/apr-1 \
+ --apu-inc-dir=${prefix}/include/apr-1 \
+ --apr-lib-dir=${prefix}/lib \
+ --svn-root-dir=${prefix}
pre-configure {
- system "cd ${worksrcpath} && ${python.bin} setup.py backport"
+ system "cd ${worksrcpath} && ${python.bin} setup.py backport"
}
post-configure {
- reinplace "s|^\t@|\t|" ${worksrcpath}/Makefile
+ reinplace "s|^\t@|\t|" ${worksrcpath}/Makefile
}
-build.cmd make
+build.cmd make
build.target
destroot {
- file mkdir ${destroot}${python.pkgd}
- file copy ${worksrcpath}/pysvn ${destroot}${python.pkgd}
+ file mkdir ${destroot}${python.pkgd}
+ file copy ${worksrcpath}/pysvn ${destroot}${python.pkgd}
- file mkdir ${destroot}${prefix}/share/examples/${name}
- eval file copy [glob ${worksrcpath}/../Examples/*] \
- ${destroot}${prefix}/share/examples/${name}
- eval file copy [glob ${worksrcpath}/../Docs/*] \
- ${destroot}${prefix}/share/doc/${name}
+ file mkdir ${destroot}${prefix}/share/examples/${name}
+ eval file copy [glob ${worksrcpath}/../Examples/*] \
+ ${destroot}${prefix}/share/examples/${name}
+ eval file copy [glob ${worksrcpath}/../Docs/*] \
+ ${destroot}${prefix}/share/doc/${name}
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120817/8f88e566/attachment.html>
More information about the macports-changes
mailing list