1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
7 DISTUTILS_SINGLE_IMPL=1
13 DESCRIPTION="Convert a CVS repository to a Subversion repository"
14 HOMEPAGE="http://cvs2svn.tigris.org/"
15 SRC_URI="http://cvs2svn.tigris.org/files/documents/1462/${FILEVER}/${P}.tar.gz"
19 KEYWORDS="~alpha amd64 ~ia64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
20 IUSE="bazaar git test"
21 RESTRICT="!test? ( test )"
23 DEPEND=">=dev-vcs/subversion-1.0.9"
25 bazaar? ( >=dev-vcs/bzr-1.13 )
26 git? ( >=dev-vcs/git-1.5.4.4 )
30 python-single-r1_pkg_setup
34 distutils-r1_src_prepare
39 distutils-r1_src_compile
44 distutils-r1_src_install
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
53 "${PYTHON}" -W ignore run-tests.py
57 elog "Additional scripts and examples have been installed to:"
58 elog " /usr/share/${PN}/"