/[gentoo-x86]/dev-vcs/cvs2svn/cvs2svn-2.2.0.ebuild
Gentoo

Contents of /dev-vcs/cvs2svn/cvs2svn-2.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Mar 25 21:25:47 2011 UTC (3 years, 5 months ago) by arfrever
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +15 -5 lines
Set SUPPORT_PYTHON_ABIS (bug #329477).

(Portage version: 2.2.0_alpha28_p7/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs2svn/cvs2svn-2.2.0.ebuild,v 1.3 2010/06/22 18:43:49 arfrever Exp $
4
5 EAPI="2"
6 PYTHON_DEPEND="2"
7 PYTHON_USE_WITH_OR="berkdb gdbm"
8 PYTHON_USE_WITH_OPT="test"
9 SUPPORT_PYTHON_ABIS="1"
10 RESTRICT_PYTHON_ABIS="3.* *-jython"
11
12 inherit eutils distutils
13
14 FILEVER="44372"
15
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"
19
20 LICENSE="GPL-2"
21 SLOT="0"
22 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
23 IUSE="bazaar git test"
24
25 DEPEND=">=dev-vcs/subversion-1.0.9"
26 RDEPEND="${DEPEND}
27 bazaar? ( >=dev-vcs/bzr-1.13 )
28 git? ( >=dev-vcs/git-1.5.4.4 )
29 dev-vcs/rcs"
30
31 PYTHON_MODNAME="cvs2svn_lib cvs2svn_rcsparse"
32
33 src_prepare() {
34 epatch "${FILESDIR}/2.2.0-deprecated-modules.patch"
35 distutils_src_prepare
36 python_convert_shebangs -r 2 .
37 }
38
39 src_install() {
40 distutils_src_install
41 insinto "/usr/share/${PN}"
42 doins -r contrib cvs2svn-example.options
43 doman cvs2svn.1
44 }
45
46 src_test() {
47 # Need this because subversion is localized, but the tests aren't
48 export LC_ALL=C
49
50 testing() {
51 "$(PYTHON)" -W ignore run-tests.py
52 }
53 python_execute_function testing
54 }
55
56 pkg_postinst() {
57 distutils_pkg_postinst
58 elog "Additional scripts and examples have been installed to:"
59 elog " /usr/share/${PN}/"
60 }

  ViewVC Help
Powered by ViewVC 1.1.20