diff options
author | epg <epg> | 2003-05-25 09:09:40 +0000 |
---|---|---|
committer | epg <epg> | 2003-05-25 09:09:40 +0000 |
commit | dfaae4ff24962ebae916b03f1dc90a9c9f0eec9d (patch) | |
tree | 81092ad24dcf36cb0b9396c0fb8ef1e5493c5a9c /devel | |
parent | 2fcae7d0e1e2ad08b072bbb53e6750440d67311b (diff) | |
download | pkgsrc-dfaae4ff24962ebae916b03f1dc90a9c9f0eec9d.tar.gz |
import subversion-python-0.23.0
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.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/subversion-python/DESCR | 7 | ||||
-rw-r--r-- | devel/subversion-python/Makefile | 43 | ||||
-rw-r--r-- | devel/subversion-python/PLIST | 52 | ||||
-rw-r--r-- | devel/subversion-python/buildlink2.mk | 23 |
4 files changed, 125 insertions, 0 deletions
diff --git a/devel/subversion-python/DESCR b/devel/subversion-python/DESCR new file mode 100644 index 00000000000..f76ecd3c7e5 --- /dev/null +++ b/devel/subversion-python/DESCR @@ -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 --git a/devel/subversion-python/Makefile b/devel/subversion-python/Makefile new file mode 100644 index 00000000000..4fcb0f74830 --- /dev/null +++ b/devel/subversion-python/Makefile @@ -0,0 +1,43 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/05/25 09:09:40 epg 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.py + +ALL_TARGET= swig-py-lib swig-py +INSTALL_TARGET= install-swig-py-lib install-swig-py + +MAKE_ENV+= swig_pydir=${LOCALBASE}/${PYSITELIB}/svn + +TEST_TARGET= all check + +post-install: + ${RM} ${LOCALBASE}/${PYSITELIB}/svn/*.a + ${RM} ${LOCALBASE}/${PYSITELIB}/svn/*.la + ${INSTALL_DATA_DIR} ${SVNEXAMPLES}/python + ${INSTALL_DATA} ${WRKSRC}/tools/examples/*.py ${SVNEXAMPLES}/python + ${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/mailer.py \ + ${SVNEXAMPLES}/hook-scripts + ${INSTALL_DATA} ${WRKSRC}/tools/hook-scripts/mailer.conf.example \ + ${SVNEXAMPLES}/hook-scripts + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/subversion/cvs2svn + ${INSTALL_DATA} ${WRKSRC}/tools/cvs2svn/README ${SVNDOC}/cvs2svn + ${INSTALL_PROGRAM} ${WRKSRC}/tools/cvs2svn/cvs2svn.py \ + ${PREFIX}/bin/cvs2svn + ${INSTALL_PROGRAM_DIR} ${LOCALBASE}/${PYSITELIB}/rcsparse + ${INSTALL_PROGRAM} ${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 --git a/devel/subversion-python/PLIST b/devel/subversion-python/PLIST new file mode 100644 index 00000000000..2649bd73dbb --- /dev/null +++ b/devel/subversion-python/PLIST @@ -0,0 +1,52 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/25 09:09:40 epg 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}/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.so +${PYSITELIB}/svn/_delta.so +${PYSITELIB}/svn/_fs.so +${PYSITELIB}/svn/_ra.so +${PYSITELIB}/svn/_repos.so +${PYSITELIB}/svn/_util.so +${PYSITELIB}/svn/_wc.so +${PYSITELIB}/svn/client.py +${PYSITELIB}/svn/client.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/doc/subversion/cvs2svn +@dirrm share/examples/subversion/python +@dirrm ${PYSITELIB}/svn +@dirrm ${PYSITELIB}/rcsparse diff --git a/devel/subversion-python/buildlink2.mk b/devel/subversion-python/buildlink2.mk new file mode 100644 index 00000000000..869345713c2 --- /dev/null +++ b/devel/subversion-python/buildlink2.mk @@ -0,0 +1,23 @@ +# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/05/25 09:09:40 epg Exp $ + +.if !defined(SUBVERSION_PYTHON_BUILDLINK2_MK) +SUBVERSION_PYTHON_BUILDLINK2_MK= #defined + +BUILDLINK_PACKAGES+= subversion-python +BUILDLINK_DEPENDS.subversion-python?= ${PYPKGPREFIX}-subversion-${SVNVER}:../../devel/subversion-python +BUILDLINK_PKGSRCDIR.subversion-python?= ../../devel/subversion-python + +EVAL_PREFIX+= BUILDLINK_PREFIX.subversion-python=subversion-python +BUILDLINK_PREFIX.subversion-python_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+= subversion-python-buildlink + +subversion-python-buildlink: _BUILDLINK_USE + +.endif # SUBVERSION_PYTHON_BUILDLINK2_MK |