2006-03-04 22:28:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.13 2006/03/04 21:29:13 jlam Exp $
|
2004-04-13 00:23:46 +02:00
|
|
|
|
2006-01-09 04:45:32 +01:00
|
|
|
DISTNAME= cvs2svn-1.3.0
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 2
|
2004-04-13 00:23:46 +02:00
|
|
|
CATEGORIES= devel
|
2006-01-09 04:45:32 +01:00
|
|
|
MASTER_SITES= http://cvs2svn.tigris.org/files/documents/1462/25036/
|
2004-04-13 00:23:46 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-04-13 00:23:46 +02:00
|
|
|
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
|
2004-04-13 00:23:46 +02:00
|
|
|
|
|
|
|
CONFLICTS+= py*-subversion<1.0.1
|
|
|
|
|
2004-09-04 15:42:47 +02:00
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
PYTHON_PATCH_SCRIPTS= run-tests.py
|
2004-04-13 00:23:46 +02:00
|
|
|
|
2004-09-04 15:42:47 +02:00
|
|
|
# XXX cvs2svn depends on sort(1) with '-T' option. A dependency and a patch
|
|
|
|
# to resort on GNU sort from coreutils may be required.
|
2004-04-13 00:23:46 +02:00
|
|
|
|
2004-09-04 15:42:47 +02:00
|
|
|
INSTALLATION_DIRS+= share/doc/html/cvs2svn
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
for f in ${WRKSRC}/www/*.html; do \
|
|
|
|
${INSTALL_DATA} $${f} ${PREFIX}/share/doc/html/cvs2svn; \
|
2004-04-13 00:23:46 +02:00
|
|
|
done
|
|
|
|
|
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
|
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"
|
2004-04-13 00:23:46 +02:00
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|