pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-subversion re-import of subversion-python as ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a21ab713011
branches:  trunk
changeset: 464213:4a21ab713011
user:      recht <recht%pkgsrc.org@localhost>
date:      Thu Dec 04 16:41:22 2003 +0000

description:
re-import of subversion-python as py-subversion to match naming of
other python packages in pkgsrc.
ok'ed by epg@

diffstat:

 devel/py-subversion/DESCR         |   7 +++
 devel/py-subversion/Makefile      |  47 +++++++++++++++++++++++++
 devel/py-subversion/PLIST         |  71 +++++++++++++++++++++++++++++++++++++++
 devel/py-subversion/buildlink2.mk |  23 ++++++++++++
 4 files changed, 148 insertions(+), 0 deletions(-)

diffs (164 lines):

diff -r 058dfd74529d -r 4a21ab713011 devel/py-subversion/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-subversion/DESCR Thu Dec 04 16:41:22 2003 +0000
@@ -0,0 +1,7 @@
+The goal of the Subversion project is to build a version control system that
+is a compelling replacement for CVS in the open source community. The software
+is released under an Apache/BSD-style open source license.
+
+This package contains the Python bindings to the Subversion libraries
+and some programs that use them.  This includes cvs2svn, which
+converts CVS repositories to Subversion repositories.
diff -r 058dfd74529d -r 4a21ab713011 devel/py-subversion/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-subversion/Makefile      Thu Dec 04 16:41:22 2003 +0000
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/04 16:41:22 recht Exp $
+
+PKGNAME=       ${PYPKGPREFIX}-subversion-${SVNVER}
+COMMENT=       Python bindings and tools for Subversion
+
+.include "../../devel/subversion/Makefile.common"
+
+CONFIGURE_ENV+=                PYTHON2=${PYTHONBIN}
+
+PY_PATCHPLIST=         YES
+PYBINMODULE=           YES
+PYTHON_PATCH_SCRIPTS=  tools/cvs2svn/cvs2svn.py \
+                       tools/hook-scripts/mailer/mailer.py
+
+ALL_TARGET=            swig-py-lib swig-py
+INSTALL_TARGET=                install-swig-py-lib install-swig-py
+
+MAKE_ENV+=             EXTRA_CPPFLAGS=${BUILDLINK_CPPFLAGS}
+MAKEFLAGS+=            swig_pydir=${LOCALBASE}/${PYSITELIB}/libsvn \
+                       swig_pydir_extra=${LOCALBASE}/${PYSITELIB}/svn
+
+TEST_TARGET=           all check
+
+post-install:
+       ${RM} ${LOCALBASE}/${PYSITELIB}/libsvn/*.a
+       ${RM} ${LOCALBASE}/${PYSITELIB}/libsvn/*.la
+       ${INSTALL_DATA_DIR} ${SVNEXAMPLES}/python
+       ${INSTALL_DATA} ${WRKSRC}/tools/examples/*.py ${SVNEXAMPLES}/python
+       ${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/mailer/mailer.py \
+               ${SVNEXAMPLES}/hook-scripts
+       ${INSTALL_DATA} \
+               ${WRKSRC}/tools/hook-scripts/mailer/mailer.conf.example \
+               ${SVNEXAMPLES}/hook-scripts
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/subversion/cvs2svn
+       ${INSTALL_DATA} ${WRKSRC}/tools/cvs2svn/README ${SVNDOC}/cvs2svn
+       ${INSTALL_SCRIPT} ${WRKSRC}/tools/cvs2svn/cvs2svn.py \
+               ${PREFIX}/bin/cvs2svn
+       ${INSTALL_SCRIPT_DIR} ${LOCALBASE}/${PYSITELIB}/rcsparse
+       ${INSTALL_SCRIPT} ${WRKSRC}/tools/cvs2svn/rcsparse/*.py \
+               ${LOCALBASE}/${PYSITELIB}/rcsparse
+
+.include "../../devel/subversion/buildlink2.mk"
+.include "../../devel/swig-build/buildlink2.mk"
+.include "../../devel/swig-python/buildlink2.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 058dfd74529d -r 4a21ab713011 devel/py-subversion/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-subversion/PLIST Thu Dec 04 16:41:22 2003 +0000
@@ -0,0 +1,71 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/04 16:41:22 recht Exp $
+bin/cvs2svn
+lib/libsvn_swig_py-1.a
+lib/libsvn_swig_py-1.la
+lib/libsvn_swig_py-1.so
+lib/libsvn_swig_py-1.so.0
+lib/libsvn_swig_py-1.so.0.0
+${PYSITELIB}/libsvn/__init__.py
+${PYSITELIB}/libsvn/__init__.pyc
+${PYSITELIB}/libsvn/_client.so
+${PYSITELIB}/libsvn/_core.so
+${PYSITELIB}/libsvn/_delta.so
+${PYSITELIB}/libsvn/_fs.so
+${PYSITELIB}/libsvn/_ra.so
+${PYSITELIB}/libsvn/_repos.so
+${PYSITELIB}/libsvn/_wc.so
+${PYSITELIB}/libsvn/client.py
+${PYSITELIB}/libsvn/client.pyc
+${PYSITELIB}/libsvn/core.py
+${PYSITELIB}/libsvn/core.pyc
+${PYSITELIB}/libsvn/delta.py
+${PYSITELIB}/libsvn/delta.pyc
+${PYSITELIB}/libsvn/fs.py
+${PYSITELIB}/libsvn/fs.pyc
+${PYSITELIB}/libsvn/ra.py
+${PYSITELIB}/libsvn/ra.pyc
+${PYSITELIB}/libsvn/repos.py
+${PYSITELIB}/libsvn/repos.pyc
+${PYSITELIB}/libsvn/wc.py
+${PYSITELIB}/libsvn/wc.pyc
+${PYSITELIB}/rcsparse/__init__.py
+${PYSITELIB}/rcsparse/common.py
+${PYSITELIB}/rcsparse/compat.py
+${PYSITELIB}/rcsparse/debug.py
+${PYSITELIB}/rcsparse/default.py
+${PYSITELIB}/rcsparse/texttools.py
+${PYSITELIB}/svn/__init__.py
+${PYSITELIB}/svn/__init__.pyc
+${PYSITELIB}/svn/client.py
+${PYSITELIB}/svn/client.pyc
+${PYSITELIB}/svn/core.py
+${PYSITELIB}/svn/core.pyc
+${PYSITELIB}/svn/delta.py
+${PYSITELIB}/svn/delta.pyc
+${PYSITELIB}/svn/fs.py
+${PYSITELIB}/svn/fs.pyc
+${PYSITELIB}/svn/ra.py
+${PYSITELIB}/svn/ra.pyc
+${PYSITELIB}/svn/repos.py
+${PYSITELIB}/svn/repos.pyc
+${PYSITELIB}/svn/util.py
+${PYSITELIB}/svn/util.pyc
+${PYSITELIB}/svn/wc.py
+${PYSITELIB}/svn/wc.pyc
+share/doc/subversion/cvs2svn/README
+share/examples/subversion/hook-scripts/mailer.conf.example
+share/examples/subversion/hook-scripts/mailer.py
+share/examples/subversion/python/blame.py
+share/examples/subversion/python/check-modified.py
+share/examples/subversion/python/dumpprops.py
+share/examples/subversion/python/getfile.py
+share/examples/subversion/python/geturl.py
+share/examples/subversion/python/putfile.py
+share/examples/subversion/python/revplist.py
+share/examples/subversion/python/svnlook.py
+share/examples/subversion/python/svnshell.py
+@dirrm share/examples/subversion/python
+@dirrm share/doc/subversion/cvs2svn
+@dirrm ${PYSITELIB}/svn
+@dirrm ${PYSITELIB}/rcsparse
+@dirrm ${PYSITELIB}/libsvn
diff -r 058dfd74529d -r 4a21ab713011 devel/py-subversion/buildlink2.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-subversion/buildlink2.mk Thu Dec 04 16:41:22 2003 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/04 16:41:22 recht Exp $
+
+.if !defined(PY_SUBVERSION_BUILDLINK2_MK)
+PY_SUBVERSION_BUILDLINK2_MK=           #defined
+
+BUILDLINK_PACKAGES+=                   py-subversion
+BUILDLINK_DEPENDS.py-subversion?=      ${PYPKGPREFIX}-subversion-${SVNVER}:../../devel/py-subversion
+BUILDLINK_PKGSRCDIR.py-subversion?=    ../../devel/py-subversion
+
+EVAL_PREFIX+=          BUILDLINK_PREFIX.py-subversion=py-subversion
+BUILDLINK_PREFIX.py-subversion_DEFAULT=        ${LOCALBASE}
+
+.include "../../devel/subversion/buildlink2.mk"
+.include "../../devel/swig-python/buildlink2.mk"
+.include "../../lang/python/pyversion.mk"
+
+.include "../../devel/subversion/Makefile.version"
+
+BUILDLINK_TARGETS+=            py-subversion-buildlink
+
+py-subversion-buildlink: _BUILDLINK_USE
+
+.endif # PY_SUBVERSION_BUILDLINK2_MK



Home | Main Index | Thread Index | Old Index