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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (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.2: +21 -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.1.1.ebuild,v 1.2 2010/06/22 18:43:50 arfrever Exp $
4
5 EAPI="2"
6 PYTHON_DEPEND="2"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.* *-jython"
9
10 inherit distutils
11
12 FILEVER="42521"
13
14 DESCRIPTION="Convert a CVS repository to a Subversion repository"
15 HOMEPAGE="http://cvs2svn.tigris.org/"
16 SRC_URI="http://cvs2svn.tigris.org/files/documents/1462/${FILEVER}/${P}.tar.gz"
17
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="alpha amd64 ia64 ppc x86"
21 IUSE=""
22
23 DEPEND=">=dev-vcs/subversion-1.0.9"
24 RDEPEND="${DEPEND}
25 dev-vcs/rcs"
26
27 PYTHON_MODNAME="cvs2svn_lib cvs2svn_rcsparse"
28
29 src_prepare() {
30 distutils_src_prepare
31 python_convert_shebangs -r 2 .
32 }
33
34 src_install() {
35 distutils_src_install
36 insinto "/usr/share/${PN}"
37 doins -r contrib cvs2svn-example.options {profile-repos,show-db,verify-cvs2svn}.py
38 doman cvs2svn.1
39 }
40
41 src_test() {
42 # Need this because subversion is localized, but the tests aren't
43 export LC_ALL=C
44
45 testing() {
46 "$(PYTHON)" run-tests.py
47 }
48 python_execute_function testing
49 }
50
51 pkg_postinst() {
52 distutils_pkg_postinst
53 elog "Additional scripts and examples have been installed to:"
54 elog " /usr/share/${PN}/"
55 }

  ViewVC Help
Powered by ViewVC 1.1.20