pkgsrc/devel/cvs2svn/Makefile

42 lines
1.3 KiB
Makefile
Raw Normal View History

2018-07-03 07:03:01 +02:00
# $NetBSD: Makefile,v 1.35 2018/07/03 05:03:08 adam Exp $
DISTNAME= cvs2svn-2.3.0
PKGREVISION= 2
CATEGORIES= devel scm
MASTER_SITES= http://cvs2svn.tigris.org/files/documents/1462/46528/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cvs2svn.tigris.org/
COMMENT= Converts a CVS repository to a Subversion repository
Update to revision 947. Package changes: - actually use bl3 - let py-bsddb3 package enforce the accepted python versions via its buildlink3.mk - fix test target - no need to include subversion/buildlink3.mk (it had no effect anyway because USE_BUILDLINK3 was not defined to YES) just set a run dependency on subversion-base. Changes since last packaged version: ------------------------------------------------------------------------ r947 | fitz | 2004-05-11 22:42:02 +0200 (Tue, 11 May 2004) | 7 lines Fix OBOE and start_pass check. * cvs2svn.py: (main) Set default value of end_pass to len(_passes), *not* len(_passes) - 1. Also, check bottom bounds of start_pass. ------------------------------------------------------------------------ r946 | cmpilato | 2004-05-11 21:58:37 +0200 (Tue, 11 May 2004) | 4 lines * cvs2svn.py (usage): Fix the usage message to reflect new START:END syntax for -p argument. ------------------------------------------------------------------------ r945 | cmpilato | 2004-05-11 21:50:21 +0200 (Tue, 11 May 2004) | 5 lines * cvs2svn.py (main): Fix the map(x) bug introduced by the last commit, and rework the validation logic for -p values to be a little more concise and informative. Also, use START:END instead of START-END syntax. ------------------------------------------------------------------------ r944 | cmpilato | 2004-05-11 21:36:35 +0200 (Tue, 11 May 2004) | 5 lines * cvs2svn.py (Database.__init__): Route around a pybsddb3 / BerkeleyDB 4.2 compatibility bug by manually enacting the semantic difference between the 'n' and 'c' modes. ------------------------------------------------------------------------ r943 | fitz | 2004-05-11 21:05:43 +0200 (Tue, 11 May 2004) | 12 lines Change the -p switch to accept a range of passes, or to just run a single pass. * cvs2svn.py: (convert): Remove start_pass default arg value, add end_pass arg, and perform only passes from START_PASS to END_PASS, inclusive. (usage): Update doc. (main): Add a suitable default for end_pass, processing for '-p START-END' switch, and error checking for end_pass. ------------------------------------------------------------------------ r939 | maxb | 2004-05-02 14:55:18 +0200 (Sun, 02 May 2004) | 3 lines * cvs2svn.py (MimeMapper.print_missing_mappings): Tweak to hopefully work with older Python versions. ------------------------------------------------------------------------ r933 | fitz | 2004-04-28 17:59:29 +0200 (Wed, 28 Apr 2004) | 5 lines Fix URL to Issue Tracker and a few examples that are incorrect. Based on a patch from Jon Bendtsen <jbendtsen@laerdal.dk>. * README: Corrections. ------------------------------------------------------------------------ r929 | cmpilato | 2004-04-22 18:43:23 +0200 (Thu, 22 Apr 2004) | 3 lines * dist.sh Use the cvs2svn-rXXXX.tar.gz format instead of cvs2svn-0.XXXX.tar.gz. ------------------------------------------------------------------------ r928 | cmpilato | 2004-04-22 18:40:01 +0200 (Thu, 22 Apr 2004) | 2 lines * dist.sh Use 'svn export' now instead of all that complicated mumbo jumbo. :-)
2004-05-12 21:24:18 +02:00
DEPENDS+= subversion-base-[0-9]*:../../devel/subversion-base
CONFLICTS+= py*-subversion<1.0.1
PYDISTUTILSPKG= yes
REPLACE_PYTHON= run-tests.py cvs2svn_rcsparse/run-tests.py \
pkgsrc changes: - updating from 2.1.1 to 2.2.0 - adding destdir support Upstream changes: Version 2.2.0 (23 November 2008) -------------------------------- New features: * cvs2git: Omit fixup branch if a tag can be copied from an existing revision. * cvs2git: Add option to set the maximum number of merge sources per commit. * Allow arbitrary SVN directories to be created when a project is created. * Allow vendor branches to be excluded, grafting child symbols to trunk. * By default, omit trivial import branches from conversion. - Add --keep-trivial-imports option to get old behavior. * By default, don't include .cvsignore files in output (except as svn:ignore). - Add option --keep-cvsignore to get the old behavior. * Allow the user to specify the form of cvs2svn-generated log messages. * Allow file contents to be written inline in git-fast-import streams. * --create-option: allow arbitrary options to be passed to "svnadmin create". * Improve handling of auto-props file: - Discard extraneous spaces where they don't make sense. - Warn if parts of the file might be commented out unintentionally. - Warn if the user appears to be trying to quote a property value. Bugs fixed: * Fix issue #81: Remove svn:ignore property when .cvsignore is deleted. * Fix svn dumpfile conformance: - Don't include a leading '/' for Node-path. - Include the Node-kind field when copying nodes. * Make symlink test create symlinks explicitly, to avoid packaging problems. * Accept symbol references to revision numbers that end with ".0". Improvements and output changes: * When -v, log reasons for symbol conversion choices (tag/branch/exclude). * Log preferred parent determinations at verbose (rather than debug) level. * Log symbol transformations at verbose (rather than warn) level. * Log statistics about all symbol transformations at normal level. * cvs2git: Generate lightweight rather than annotated tags. * contrib/destroy_repository.py: - Allow symbols, files, and directories to be renamed. - Allow CVSROOT directory contents to be erased. - Specify what aspects of a repo to destroy via command-line options. Miscellaneous: * cvs2svn now requires Python version 2.4 or later.
2009-07-07 19:16:47 +02:00
cvs2svn_rcsparse/parse_rcs_file.py
2018-07-03 07:03:01 +02:00
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # not yet ported as of 2.3.0
pkgsrc changes: - updating from 2.1.1 to 2.2.0 - adding destdir support Upstream changes: Version 2.2.0 (23 November 2008) -------------------------------- New features: * cvs2git: Omit fixup branch if a tag can be copied from an existing revision. * cvs2git: Add option to set the maximum number of merge sources per commit. * Allow arbitrary SVN directories to be created when a project is created. * Allow vendor branches to be excluded, grafting child symbols to trunk. * By default, omit trivial import branches from conversion. - Add --keep-trivial-imports option to get old behavior. * By default, don't include .cvsignore files in output (except as svn:ignore). - Add option --keep-cvsignore to get the old behavior. * Allow the user to specify the form of cvs2svn-generated log messages. * Allow file contents to be written inline in git-fast-import streams. * --create-option: allow arbitrary options to be passed to "svnadmin create". * Improve handling of auto-props file: - Discard extraneous spaces where they don't make sense. - Warn if parts of the file might be commented out unintentionally. - Warn if the user appears to be trying to quote a property value. Bugs fixed: * Fix issue #81: Remove svn:ignore property when .cvsignore is deleted. * Fix svn dumpfile conformance: - Don't include a leading '/' for Node-path. - Include the Node-kind field when copying nodes. * Make symlink test create symlinks explicitly, to avoid packaging problems. * Accept symbol references to revision numbers that end with ".0". Improvements and output changes: * When -v, log reasons for symbol conversion choices (tag/branch/exclude). * Log preferred parent determinations at verbose (rather than debug) level. * Log symbol transformations at verbose (rather than warn) level. * Log statistics about all symbol transformations at normal level. * cvs2git: Generate lightweight rather than annotated tags. * contrib/destroy_repository.py: - Allow symbols, files, and directories to be renamed. - Allow CVSROOT directory contents to be erased. - Specify what aspects of a repo to destroy via command-line options. Miscellaneous: * cvs2svn now requires Python version 2.4 or later.
2009-07-07 19:16:47 +02:00
#USE_TOOLS+= gtar
#EXTRACT_USING= gtar
# XXX cvs2svn depends on sort(1) with '-T' option. A dependency and a patch
# to resort on GNU sort from coreutils may be required.
INSTALLATION_DIRS+= share/doc/cvs2svn
INSTALLATION_DIRS+= share/examples/cvs2svn
post-install:
cd ${WRKSRC}/www && \
pkgsrc changes: - updating from 2.1.1 to 2.2.0 - adding destdir support Upstream changes: Version 2.2.0 (23 November 2008) -------------------------------- New features: * cvs2git: Omit fixup branch if a tag can be copied from an existing revision. * cvs2git: Add option to set the maximum number of merge sources per commit. * Allow arbitrary SVN directories to be created when a project is created. * Allow vendor branches to be excluded, grafting child symbols to trunk. * By default, omit trivial import branches from conversion. - Add --keep-trivial-imports option to get old behavior. * By default, don't include .cvsignore files in output (except as svn:ignore). - Add option --keep-cvsignore to get the old behavior. * Allow the user to specify the form of cvs2svn-generated log messages. * Allow file contents to be written inline in git-fast-import streams. * --create-option: allow arbitrary options to be passed to "svnadmin create". * Improve handling of auto-props file: - Discard extraneous spaces where they don't make sense. - Warn if parts of the file might be commented out unintentionally. - Warn if the user appears to be trying to quote a property value. Bugs fixed: * Fix issue #81: Remove svn:ignore property when .cvsignore is deleted. * Fix svn dumpfile conformance: - Don't include a leading '/' for Node-path. - Include the Node-kind field when copying nodes. * Make symlink test create symlinks explicitly, to avoid packaging problems. * Accept symbol references to revision numbers that end with ".0". Improvements and output changes: * When -v, log reasons for symbol conversion choices (tag/branch/exclude). * Log preferred parent determinations at verbose (rather than debug) level. * Log symbol transformations at verbose (rather than warn) level. * Log statistics about all symbol transformations at normal level. * cvs2git: Generate lightweight rather than annotated tags. * contrib/destroy_repository.py: - Allow symbols, files, and directories to be renamed. - Allow CVSROOT directory contents to be erased. - Specify what aspects of a repo to destroy via command-line options. Miscellaneous: * cvs2svn now requires Python version 2.4 or later.
2009-07-07 19:16:47 +02:00
${INSTALL_DATA} *.html ${DESTDIR}${PREFIX}/share/doc/cvs2svn
cd ${WRKSRC} && \
pkgsrc changes: - updating from 2.1.1 to 2.2.0 - adding destdir support Upstream changes: Version 2.2.0 (23 November 2008) -------------------------------- New features: * cvs2git: Omit fixup branch if a tag can be copied from an existing revision. * cvs2git: Add option to set the maximum number of merge sources per commit. * Allow arbitrary SVN directories to be created when a project is created. * Allow vendor branches to be excluded, grafting child symbols to trunk. * By default, omit trivial import branches from conversion. - Add --keep-trivial-imports option to get old behavior. * By default, don't include .cvsignore files in output (except as svn:ignore). - Add option --keep-cvsignore to get the old behavior. * Allow the user to specify the form of cvs2svn-generated log messages. * Allow file contents to be written inline in git-fast-import streams. * --create-option: allow arbitrary options to be passed to "svnadmin create". * Improve handling of auto-props file: - Discard extraneous spaces where they don't make sense. - Warn if parts of the file might be commented out unintentionally. - Warn if the user appears to be trying to quote a property value. Bugs fixed: * Fix issue #81: Remove svn:ignore property when .cvsignore is deleted. * Fix svn dumpfile conformance: - Don't include a leading '/' for Node-path. - Include the Node-kind field when copying nodes. * Make symlink test create symlinks explicitly, to avoid packaging problems. * Accept symbol references to revision numbers that end with ".0". Improvements and output changes: * When -v, log reasons for symbol conversion choices (tag/branch/exclude). * Log preferred parent determinations at verbose (rather than debug) level. * Log symbol transformations at verbose (rather than warn) level. * Log statistics about all symbol transformations at normal level. * cvs2git: Generate lightweight rather than annotated tags. * contrib/destroy_repository.py: - Allow symbols, files, and directories to be renamed. - Allow CVSROOT directory contents to be erased. - Specify what aspects of a repo to destroy via command-line options. Miscellaneous: * cvs2svn now requires Python version 2.4 or later.
2009-07-07 19:16:47 +02:00
${INSTALL_DATA} cvs2svn-example.options ${DESTDIR}${PREFIX}/share/examples/cvs2svn
Update to version 0.927 (cvs2svn trunk revision 927). Package changes: - install verify-cvs2svn script - add test target support - follows included dist.sh script distribution numbering scheme XXX patch file patch-aa reverts cvs2svn trunk changeset revision 922 otherwise bsddb3's usage fails. Changes since last packaged version: ------------------------------------------------------------------------ r927 | kfogel | 2004-04-21 00:40:48 +0200 (Wed, 21 Apr 2004) | 4 lines * dist.sh: Tweak ordering of cleanup. * ./: Add "*.tar.gz" to svn:ignore. ------------------------------------------------------------------------ r926 | kfogel | 2004-04-21 00:35:29 +0200 (Wed, 21 Apr 2004) | 3 lines * dist.sh: New script, for packaging cvs2svn. ------------------------------------------------------------------------ r925 | maxb | 2004-04-19 22:03:26 +0200 (Mon, 19 Apr 2004) | 5 lines Fix a copy/paste-o that was causing "No origin records" errors. Debugged by Bill Soudan. * cvs2svn.py (get_symbol_closing_revs): Fix copy/paste-o. ------------------------------------------------------------------------ r924 | maxb | 2004-04-19 18:30:24 +0200 (Mon, 19 Apr 2004) | 3 lines Remove dry-run mode entirely. It has bitrotted into unusability, and would need to be re-written entirely to get it working. ------------------------------------------------------------------------ r922 | cmpilato | 2004-04-16 19:14:18 +0200 (Fri, 16 Apr 2004) | 3 lines * cvs2svn.py Don't import anydbm until after the bsddb3 check has been made. ------------------------------------------------------------------------ r921 | fitz | 2004-04-15 05:05:15 +0200 (Thu, 15 Apr 2004) | 6 lines Merge fitzsymbolicnametracker to trunk (r903:920). * cvs2svn.py: Merged from branch. * runtests.py: Merged from branch.
2004-04-21 14:47:22 +02:00
do-test:
cd ${WRKSRC} && ./run-tests.py
Update to version 0.927 (cvs2svn trunk revision 927). Package changes: - install verify-cvs2svn script - add test target support - follows included dist.sh script distribution numbering scheme XXX patch file patch-aa reverts cvs2svn trunk changeset revision 922 otherwise bsddb3's usage fails. Changes since last packaged version: ------------------------------------------------------------------------ r927 | kfogel | 2004-04-21 00:40:48 +0200 (Wed, 21 Apr 2004) | 4 lines * dist.sh: Tweak ordering of cleanup. * ./: Add "*.tar.gz" to svn:ignore. ------------------------------------------------------------------------ r926 | kfogel | 2004-04-21 00:35:29 +0200 (Wed, 21 Apr 2004) | 3 lines * dist.sh: New script, for packaging cvs2svn. ------------------------------------------------------------------------ r925 | maxb | 2004-04-19 22:03:26 +0200 (Mon, 19 Apr 2004) | 5 lines Fix a copy/paste-o that was causing "No origin records" errors. Debugged by Bill Soudan. * cvs2svn.py (get_symbol_closing_revs): Fix copy/paste-o. ------------------------------------------------------------------------ r924 | maxb | 2004-04-19 18:30:24 +0200 (Mon, 19 Apr 2004) | 3 lines Remove dry-run mode entirely. It has bitrotted into unusability, and would need to be re-written entirely to get it working. ------------------------------------------------------------------------ r922 | cmpilato | 2004-04-16 19:14:18 +0200 (Fri, 16 Apr 2004) | 3 lines * cvs2svn.py Don't import anydbm until after the bsddb3 check has been made. ------------------------------------------------------------------------ r921 | fitz | 2004-04-15 05:05:15 +0200 (Thu, 15 Apr 2004) | 6 lines Merge fitzsymbolicnametracker to trunk (r903:920). * cvs2svn.py: Merged from branch. * runtests.py: Merged from branch.
2004-04-21 14:47:22 +02:00
Update to revision 947. Package changes: - actually use bl3 - let py-bsddb3 package enforce the accepted python versions via its buildlink3.mk - fix test target - no need to include subversion/buildlink3.mk (it had no effect anyway because USE_BUILDLINK3 was not defined to YES) just set a run dependency on subversion-base. Changes since last packaged version: ------------------------------------------------------------------------ r947 | fitz | 2004-05-11 22:42:02 +0200 (Tue, 11 May 2004) | 7 lines Fix OBOE and start_pass check. * cvs2svn.py: (main) Set default value of end_pass to len(_passes), *not* len(_passes) - 1. Also, check bottom bounds of start_pass. ------------------------------------------------------------------------ r946 | cmpilato | 2004-05-11 21:58:37 +0200 (Tue, 11 May 2004) | 4 lines * cvs2svn.py (usage): Fix the usage message to reflect new START:END syntax for -p argument. ------------------------------------------------------------------------ r945 | cmpilato | 2004-05-11 21:50:21 +0200 (Tue, 11 May 2004) | 5 lines * cvs2svn.py (main): Fix the map(x) bug introduced by the last commit, and rework the validation logic for -p values to be a little more concise and informative. Also, use START:END instead of START-END syntax. ------------------------------------------------------------------------ r944 | cmpilato | 2004-05-11 21:36:35 +0200 (Tue, 11 May 2004) | 5 lines * cvs2svn.py (Database.__init__): Route around a pybsddb3 / BerkeleyDB 4.2 compatibility bug by manually enacting the semantic difference between the 'n' and 'c' modes. ------------------------------------------------------------------------ r943 | fitz | 2004-05-11 21:05:43 +0200 (Tue, 11 May 2004) | 12 lines Change the -p switch to accept a range of passes, or to just run a single pass. * cvs2svn.py: (convert): Remove start_pass default arg value, add end_pass arg, and perform only passes from START_PASS to END_PASS, inclusive. (usage): Update doc. (main): Add a suitable default for end_pass, processing for '-p START-END' switch, and error checking for end_pass. ------------------------------------------------------------------------ r939 | maxb | 2004-05-02 14:55:18 +0200 (Sun, 02 May 2004) | 3 lines * cvs2svn.py (MimeMapper.print_missing_mappings): Tweak to hopefully work with older Python versions. ------------------------------------------------------------------------ r933 | fitz | 2004-04-28 17:59:29 +0200 (Wed, 28 Apr 2004) | 5 lines Fix URL to Issue Tracker and a few examples that are incorrect. Based on a patch from Jon Bendtsen <jbendtsen@laerdal.dk>. * README: Corrections. ------------------------------------------------------------------------ r929 | cmpilato | 2004-04-22 18:43:23 +0200 (Thu, 22 Apr 2004) | 3 lines * dist.sh Use the cvs2svn-rXXXX.tar.gz format instead of cvs2svn-0.XXXX.tar.gz. ------------------------------------------------------------------------ r928 | cmpilato | 2004-04-22 18:40:01 +0200 (Thu, 22 Apr 2004) | 2 lines * dist.sh Use 'svn export' now instead of all that complicated mumbo jumbo. :-)
2004-05-12 21:24:18 +02:00
.include "../../databases/py-bsddb3/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"