[131577] trunk/dports/devel
larryv at macports.org
larryv at macports.org
Wed Jan 14 16:10:12 PST 2015
Revision: 131577
https://trac.macports.org/changeset/131577
Author: larryv at macports.org
Date: 2015-01-14 16:10:12 -0800 (Wed, 14 Jan 2015)
Log Message:
-----------
subversion-python{24,25}bindings: Retire (#46394)
Modified Paths:
--------------
trunk/dports/devel/subversion-python24bindings/Portfile
trunk/dports/devel/subversion-python25bindings/Portfile
Modified: trunk/dports/devel/subversion-python24bindings/Portfile
===================================================================
--- trunk/dports/devel/subversion-python24bindings/Portfile 2015-01-15 00:02:23 UTC (rev 131576)
+++ trunk/dports/devel/subversion-python24bindings/Portfile 2015-01-15 00:10:12 UTC (rev 131577)
@@ -4,9 +4,8 @@
name subversion-python24bindings
version 1.8.11
+revision 1
categories devel python
-platforms darwin
-maintainers openmaintainer blair
description Python bindings for the subversion version control system (svn)
license Apache-2
@@ -15,92 +14,7 @@
outstanding problems with cvs(1). The python bindings \
provide access to subversion API from python.
-homepage http://subversion.apache.org/
-master_sites apache:subversion
-use_bzip2 yes
-checksums sha1 161edaee328f4fdcfd2a7c10ecd3fbcd51c61275 \
- rmd160 0c512065a168c4e928917e4377dc02b26fcbc72a
-
-distname subversion-${version}
-dist_subdir subversion
+replaced_by subversion-python27bindings
+PortGroup obsolete 1.0
-depends_lib port:expat \
- port:apr port:apr-util \
- port:db46 port:subversion \
- port:python24 \
- port:py24-bsddb port:sqlite3 \
- port:gettext port:libiconv \
- port:serf1 port:cyrus-sasl2 \
- port:libmagic port:libcomerr \
- port:zlib
-
-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_py24/g'"
- file rename \
- ${worksrcpath}/subversion/bindings/swig/python/libsvn_swig_py \
- ${worksrcpath}/subversion/bindings/swig/python/libsvn_swig_py24
-}
-
-configure.args --with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6 \
- --with-apr=${prefix}/bin/apr-1-config \
- --with-apr-util=${prefix}/bin/apu-1-config --without-apxs \
- --mandir=\\\${prefix}/share/man \
- --with-serf=${prefix} \
- --with-sasl=${prefix} \
- --with-libmagic=${prefix} \
- --without-gnome-keyring
-
-configure.env ac_cv_path_PYTHON=${prefix}/bin/python2.4 \
- ac_cv_python_includes=-I${prefix}/include/python2.4 \
- ac_cv_python_link="${configure.cc} -L${prefix}/lib -bundle -undefined dynamic_lookup" \
- ac_cv_python_libs="-L${prefix}/lib -bundle -undefined dynamic_lookup" \
- ac_cv_python_compile=${configure.cc}
-
-use_parallel_build yes
-build.target swig-py
-destroot.target install-swig-py DESTDIR=${destroot}
-
-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
- }
-
-post-configure { reinplace "s|need_relink=yes|need_relink=no|g" \
- ${worksrcpath}/libtool
- }
-
-variant no_bdb description {Build without support for BerkeleyDB repositories} {
- depends_lib-delete port:db46 port:py-bsddb
- configure.args-delete --with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6
- configure.args-append --without-berkeley-db
- }
-
-post-destroot {
- set PYTHON_PATH ${prefix}/lib/python2.4
-
- 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.4"
- }
-
-livecheck.type regex
-livecheck.url http://svn.apache.org/repos/asf/subversion/tags/
-livecheck.regex "(\\d+\\.\\d+\\.\\d+)/"
+homepage http://subversion.apache.org/
Modified: trunk/dports/devel/subversion-python25bindings/Portfile
===================================================================
--- trunk/dports/devel/subversion-python25bindings/Portfile 2015-01-15 00:02:23 UTC (rev 131576)
+++ trunk/dports/devel/subversion-python25bindings/Portfile 2015-01-15 00:10:12 UTC (rev 131577)
@@ -4,9 +4,8 @@
name subversion-python25bindings
version 1.8.11
+revision 1
categories devel python
-platforms darwin
-maintainers openmaintainer blair
description Python bindings for the subversion version control system (svn)
license Apache-2
@@ -15,92 +14,7 @@
outstanding problems with cvs(1). The python bindings \
provide access to subversion API from python.
-homepage http://subversion.apache.org/
-master_sites apache:subversion
-use_bzip2 yes
-checksums sha1 161edaee328f4fdcfd2a7c10ecd3fbcd51c61275 \
- rmd160 0c512065a168c4e928917e4377dc02b26fcbc72a
-
-distname subversion-${version}
-dist_subdir subversion
+replaced_by subversion-python27bindings
+PortGroup obsolete 1.0
-depends_lib port:expat \
- port:apr port:apr-util \
- port:db46 port:subversion \
- port:python25 \
- port:sqlite3 \
- port:gettext port:libiconv \
- port:serf1 port:cyrus-sasl2 \
- port:libmagic port:libcomerr \
- port:zlib
-
-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/db46:${prefix}/lib/db46:db-4.6 \
- --with-apr=${prefix}/bin/apr-1-config \
- --with-apr-util=${prefix}/bin/apu-1-config --without-apxs \
- --mandir=\\\${prefix}/share/man \
- --with-serf=${prefix} \
- --with-sasl=${prefix} \
- --with-libmagic=${prefix} \
- --without-gnome-keyring
-
-configure.env ac_cv_path_PYTHON=${prefix}/bin/python2.5 \
- ac_cv_python_includes=-I${prefix}/include/python2.5 \
- ac_cv_python_link="${configure.cc} -L${prefix}/lib -bundle -undefined dynamic_lookup -lpython2.5" \
- ac_cv_python_libs="-L${prefix}/lib -bundle -undefined dynamic_lookup -lpython2.5" \
- ac_cv_python_compile=${configure.cc}
-
-use_parallel_build yes
-build.target swig-py
-destroot.target install-swig-py DESTDIR=${destroot}
-
-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
- }
-
-post-configure { reinplace "s|need_relink=yes|need_relink=no|g" \
- ${worksrcpath}/libtool
- }
-
-variant no_bdb description {Build without support for BerkeleyDB repositories} {
- depends_lib-delete port:db46
- configure.args-delete --with-berkeley-db=:${prefix}/include/db46:${prefix}/lib/db46:db-4.6
- configure.args-append --without-berkeley-db
- }
-
-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"
- }
-
-livecheck.type regex
-livecheck.url http://svn.apache.org/repos/asf/subversion/tags/
-livecheck.regex "(\\d+\\.\\d+\\.\\d+)/"
+homepage http://subversion.apache.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150114/89f3da0e/attachment.html>
More information about the macports-changes
mailing list