[96753] trunk/dports/python

blair at macports.org blair at macports.org
Fri Aug 17 21:04:09 PDT 2012


Revision: 96753
          https://trac.macports.org/changeset/96753
Author:   blair at macports.org
Date:     2012-08-17 21:04:07 -0700 (Fri, 17 Aug 2012)
Log Message:
-----------
py2{6,7}-svn: replace with py2{6,7}-pysvn.

Modified Paths:
--------------
    trunk/dports/python/py26-svn/Portfile
    trunk/dports/python/py27-svn/Portfile

Modified: trunk/dports/python/py26-svn/Portfile
===================================================================
--- trunk/dports/python/py26-svn/Portfile	2012-08-18 03:58:44 UTC (rev 96752)
+++ trunk/dports/python/py26-svn/Portfile	2012-08-18 04:04:07 UTC (rev 96753)
@@ -1,55 +1,28 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python26 1.0
+                
+name            py26-svn
+version         1.7.6
+revision        2
+replaced_by     py26-pysvn
+categories      python devel
+maintainers     blair gmail.com:yunzheng.hu openmaintainer
+platforms       darwin
+license         Apache-1.1
+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			py26-svn
-version			1.7.0
-categories		python devel
-license			Apache-1.1
-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/
+platforms       darwin
+distfiles
 
-homepage		http://pysvn.tigris.org/
-
-master_sites		http://pysvn.barrys-emacs.org/source_kits/
-distname		pysvn-${version}
-checksums		md5     77614676d24bca45749034ea6ec449d8 \
-			sha1    96f5217e7d74dbb2eee52e490e79d97b3959b0f0 \
-			rmd160  e343fd373559d138e7b8414034527a3721566594
-
-depends_lib-append	port:subversion
-
-patchfiles              patch-Source_setup_configure.py.diff
-
-worksrcdir		${worksrcdir}/Source
-
-use_configure		yes
-configure.cmd		${python.bin} setup.py configure
-configure.args		--svn-root-dir=${prefix}
 pre-configure {
-	system "cd ${worksrcpath} && ${python.bin} setup.py backport"
+    ui_error "Please install py26-pysvn instead."
+    return -code error "obsolete port"
 }
 
-build.cmd		make
-build.target
-
-destroot {
-	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}
-}
-
-livecheck.type  regex
-livecheck.url   http://pysvn.tigris.org/project_downloads.html
-livecheck.regex >pysvn-(.*?)${extract.suffix}<
+livecheck.type  none

Modified: trunk/dports/python/py27-svn/Portfile
===================================================================
--- trunk/dports/python/py27-svn/Portfile	2012-08-18 03:58:44 UTC (rev 96752)
+++ trunk/dports/python/py27-svn/Portfile	2012-08-18 04:04:07 UTC (rev 96753)
@@ -1,11 +1,11 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python27 1.0
                 
 name            py27-svn
 version         1.7.6
-revision        1
+revision        2
+replaced_by     py27-pysvn
 categories      python devel
 maintainers     blair gmail.com:yunzheng.hu openmaintainer
 platforms       darwin
@@ -17,49 +17,12 @@
     working copy, querying a repository, and synchronizing the two.
 
 homepage        http://pysvn.tigris.org/
+platforms       darwin
+distfiles
 
-master_sites    http://pysvn.barrys-emacs.org/source_kits/
-distname        pysvn-${version}
-checksums       md5     010a80f0058713209d62e96b20afbde9 \
-                sha1    720399815278a0b29a2ea87a09a0d2807d4614e4 \
-                rmd160  f6b44e293ec4a94cd610cb8e1f2b711c1aad5aee
-
-depends_lib-append  port:subversion
-
-patchfiles      patch-Source_setup_configure.py.diff
-
-worksrcdir      ${worksrcdir}/Source
-
-use_configure   yes
-
 pre-configure {
-    system "cd ${worksrcpath} && ${python.bin} setup.py backport"
+    ui_error "Please install py27-pysvn instead."
+    return -code error "obsolete port"
 }
 
-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}
-
-post-configure {
-    reinplace "s|^\t@|\t|" ${worksrcpath}/Makefile
-}
-
-build.cmd       make
-build.target
-
-destroot {
-    file mkdir ${destroot}${python.pkgd}
-    file copy ${worksrcpath}/pysvn ${destroot}${python.pkgd}
-
-    eval file copy [glob ${worksrcpath}/../Examples/*] \
-        ${destroot}${prefix}/share/doc/${name}/examples
-    eval file copy [glob ${worksrcpath}/../Docs/*] \
-        ${destroot}${prefix}/share/doc/${name}
-}
-
-livecheck.type  regex
-livecheck.url   http://pysvn.tigris.org/project_downloads.html
-livecheck.regex >pysvn-(.*?)${extract.suffix}<
+livecheck.type  none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120817/31a038f2/attachment.html>


More information about the macports-changes mailing list