summaryrefslogtreecommitdiff
path: root/devel/cvs2svn
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2004-04-12 22:23:46 +0000
committerseb <seb@pkgsrc.org>2004-04-12 22:23:46 +0000
commit388a5628dcf2c5497bc35bd93b9c8908ead69526 (patch)
treea509aa9bdda9ccaca5d16efb4a0bee6ee465ac37 /devel/cvs2svn
parent5d0853dc167c1afc209f75d1cc2e5c628a86c5f6 (diff)
downloadpkgsrc-388a5628dcf2c5497bc35bd93b9c8908ead69526.tar.gz
Initial import of cvs2svn at version 0.0.0.916 into the NetBSD Packages
Collection. Cvs2svn is a Python script that converts a CVS repository to a Subversion repository. It is designed for one-time conversions, not for repeated synchronizations between CVS and Subversion. Please note that cvs2svn was previously provided in the py-subversion package before version 1.0.1. This package is based on initial work by Eric Gillespie <epg@>. Thanks Eric!
Diffstat (limited to 'devel/cvs2svn')
-rw-r--r--devel/cvs2svn/DESCR3
-rw-r--r--devel/cvs2svn/Makefile40
-rw-r--r--devel/cvs2svn/PLIST11
-rw-r--r--devel/cvs2svn/distinfo4
4 files changed, 58 insertions, 0 deletions
diff --git a/devel/cvs2svn/DESCR b/devel/cvs2svn/DESCR
new file mode 100644
index 00000000000..cdd0c8589e1
--- /dev/null
+++ b/devel/cvs2svn/DESCR
@@ -0,0 +1,3 @@
+Cvs2svn is a Python script that converts a CVS repository to a Subversion
+repository. It is designed for one-time conversions, not for repeated
+synchronizations between CVS and Subversion.
diff --git a/devel/cvs2svn/Makefile b/devel/cvs2svn/Makefile
new file mode 100644
index 00000000000..ca1fe0fbee8
--- /dev/null
+++ b/devel/cvs2svn/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/12 22:23:47 seb Exp $
+
+DISTNAME= cvs2svn-0.0.0.${CVS2SVN_REVISION}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+
+MAINTAINER= seb@NetBSD.org
+HOMEPAGE= http://cvs2svn.tigris.org/
+COMMENT= Converts a CVS repository to a Subversion repository
+
+DEPENDS+= ${PYPKGPREFIX}-bsddb3-[0-9]*:../../databases/py-bsddb3
+
+CONFLICTS+= py*-subversion<1.0.1
+
+CVS2SVN_REVISION= 916
+NO_BUILD= # defined
+PY_PATCHPLIST= # defined
+PYTHON_PATCH_SCRIPTS= cvs2svn.py
+PYTHON_VERSIONS_ACCEPTED= 22 22pth 23 23pth
+
+INSTALLATION_DIRS+= bin share/doc/cvs2svn ${PYSITELIB}/rcsparse
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cvs2svn
+ ${INSTALL_SCRIPT} ${WRKSRC}/cvs2svn.py ${PREFIX}/bin/cvs2svn
+ for f in ${WRKSRC}/rcsparse/*.py; do \
+ ${INSTALL_DATA} $$f ${PREFIX}/${PYSITELIB}/rcsparse; \
+ done
+
+# Generate the distfile out of cvs2svn repository as
+# cvs2svn is yet packaged by its authors.
+gen-distfile:
+ ${MKDIR} ${WRKDIR}
+ svn export -r${CVS2SVN_REVISION} http://svn.collab.net/repos/cvs2svn/trunk/ ${WRKDIR}/cvs2svn-0.0.0.${CVS2SVN_REVISION}
+ cd ${WRKDIR} && ${PAX} -w cvs2svn-0.0.0.${CVS2SVN_REVISION} | ${GZIP_CMD} > ${DISTDIR}/cvs2svn-0.0.0.${CVS2SVN_REVISION}.tar.gz
+
+.include "../../devel/subversion/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cvs2svn/PLIST b/devel/cvs2svn/PLIST
new file mode 100644
index 00000000000..44de9048ee5
--- /dev/null
+++ b/devel/cvs2svn/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/12 22:23:47 seb Exp $
+bin/cvs2svn
+${PYSITELIB}/rcsparse/__init__.py
+${PYSITELIB}/rcsparse/common.py
+${PYSITELIB}/rcsparse/compat.py
+${PYSITELIB}/rcsparse/debug.py
+${PYSITELIB}/rcsparse/default.py
+${PYSITELIB}/rcsparse/texttools.py
+share/doc/cvs2svn/README
+@dirrm share/doc/cvs2svn
+@dirrm ${PYSITELIB}/rcsparse
diff --git a/devel/cvs2svn/distinfo b/devel/cvs2svn/distinfo
new file mode 100644
index 00000000000..965bd29a86d
--- /dev/null
+++ b/devel/cvs2svn/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/12 22:23:47 seb Exp $
+
+SHA1 (cvs2svn-0.0.0.916.tar.gz) = abf431b0dc3e4aa8feb279cb16cdd9457f573c20
+Size (cvs2svn-0.0.0.916.tar.gz) = 157081 bytes