/[gentoo-x86]/dev-vcs/stgit/stgit-0.14.3.ebuild
Gentoo

Contents of /dev-vcs/stgit/stgit-0.14.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Sep 25 17:47:09 2011 UTC (8 years, 6 months ago) by armin76
Branch: MAIN
Changes since 1.3: +2 -2 lines
Drop alpha keywords

(Portage version: 2.1.10.11/cvs/Linux ia64)

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/stgit/stgit-0.14.3.ebuild,v 1.3 2011/03/27 23:23:25 arfrever Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7
8 inherit distutils bash-completion
9
10 DESCRIPTION="Manage a stack of patches using GIT as a backend"
11 HOMEPAGE="http://www.procode.org/stgit/"
12 SRC_URI="http://homepage.ntlworld.com/cmarinas/${PN}/${P}.tar.gz"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="amd64 ppc ppc64 x86"
17 IUSE=""
18
19 RDEPEND=">=dev-vcs/git-1.5"
20 DEPEND="$RDEPEND"
21
22 pkg_setup() {
23 python_set_active_version 2
24 python_pkg_setup
25 }
26
27 src_install() {
28 sed -i -e 's-\(prefix:\) ~-\1 /usr-' setup.cfg
29 distutils_src_install
30 dodir /usr/share/doc/${PF}
31 mv "${D}/usr/share/${PN}/examples" "${D}/usr/share/doc/${PF}"
32 rmdir "${D}/usr/share/doc/${PN}"
33 dobashcompletion contrib/stgit-completion.bash ${PN}
34 }
35
36 src_test() {
37 export PATH=/usr/libexec/git-core/:$PATH
38 emake -j1 test
39 }

  ViewVC Help
Powered by ViewVC 1.1.20