pkgsrc/devel/cvs2svn/Makefile

36 lines
982 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.13 2006/03/04 21:29:13 jlam Exp $
2006-01-09 04:45:32 +01:00
DISTNAME= cvs2svn-1.3.0
PKGREVISION= 2
CATEGORIES= devel
2006-01-09 04:45:32 +01:00
MASTER_SITES= http://cvs2svn.tigris.org/files/documents/1462/25036/
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
PYTHON_PATCH_SCRIPTS= run-tests.py
# 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/html/cvs2svn
post-install:
for f in ${WRKSRC}/www/*.html; do \
${INSTALL_DATA} $${f} ${PREFIX}/share/doc/html/cvs2svn; \
done
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:
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
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"