pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cvs2svn Initial import of cvs2svn at version 0.0...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c883f2a0ae72
branches:  trunk
changeset: 472850:c883f2a0ae72
user:      seb <seb%pkgsrc.org@localhost>
date:      Mon Apr 12 22:23:46 2004 +0000

description:
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:

 devel/cvs2svn/DESCR    |   3 +++
 devel/cvs2svn/Makefile |  40 ++++++++++++++++++++++++++++++++++++++++
 devel/cvs2svn/PLIST    |  11 +++++++++++
 devel/cvs2svn/distinfo |   4 ++++
 4 files changed, 58 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r 7efd617366d2 -r c883f2a0ae72 devel/cvs2svn/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cvs2svn/DESCR       Mon Apr 12 22:23:46 2004 +0000
@@ -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 -r 7efd617366d2 -r c883f2a0ae72 devel/cvs2svn/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cvs2svn/Makefile    Mon Apr 12 22:23:46 2004 +0000
@@ -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@localhost
+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 -r 7efd617366d2 -r c883f2a0ae72 devel/cvs2svn/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cvs2svn/PLIST       Mon Apr 12 22:23:46 2004 +0000
@@ -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 -r 7efd617366d2 -r c883f2a0ae72 devel/cvs2svn/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cvs2svn/distinfo    Mon Apr 12 22:23:46 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index