pkgsrc/devel/cvs2svn/Makefile
seb abb300fe94 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 12:47:22 +00:00

45 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2004/04/21 12:47:22 seb Exp $
DISTNAME= cvs2svn-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= 927
NO_BUILD= # defined
PY_PATCHPLIST= # defined
PYTHON_PATCH_SCRIPTS= cvs2svn.py verify-cvs2svn.py run-tests.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
${INSTALL_SCRIPT} ${WRKSRC}/verify-cvs2svn.py \
${PREFIX}/bin/verify-cvs2svn
for f in ${WRKSRC}/rcsparse/*.py; do \
${INSTALL_DATA} $$f ${PREFIX}/${PYSITELIB}/rcsparse; \
done
do-test:
cd ${WRKSRC}; ${PYTHONPATH.} PYTHONPATH=${WRKSRC} ./run-tests.py
# 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.${CVS2SVN_REVISION}
cd ${WRKDIR} && ${PAX} -w cvs2svn-0.${CVS2SVN_REVISION} | ${GZIP_CMD} > ${DISTDIR}/cvs2svn-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"