1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 PYTHON_USE_WITH_OR="berkdb gdbm"
8 PYTHON_USE_WITH_OPT="test"
9 SUPPORT_PYTHON_ABIS="1"
10 RESTRICT_PYTHON_ABIS="3.* *-jython"
16 DESCRIPTION="Convert a CVS repository to a Subversion repository"
17 HOMEPAGE="http://cvs2svn.tigris.org/"
18 SRC_URI="http://cvs2svn.tigris.org/files/documents/1462/${FILEVER}/${P}.tar.gz"
22 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
23 IUSE="bazaar git test"
25 DEPEND=">=dev-vcs/subversion-1.0.9"
27 bazaar? ( >=dev-vcs/bzr-1.13 )
28 git? ( >=dev-vcs/git-1.5.4.4 )
31 PYTHON_MODNAME="cvs2svn_lib cvs2svn_rcsparse"
35 python_convert_shebangs -r 2 .
45 insinto "/usr/share/${PN}"
46 doins -r contrib cvs2{svn,git,bzr}-example.options
51 # Need this because subversion is localized, but the tests aren't
55 "$(PYTHON)" -W ignore run-tests.py
57 python_execute_function testing
61 distutils_pkg_postinst
62 elog "Additional scripts and examples have been installed to:"
63 elog " /usr/share/${PN}/"