/[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.5 - (hide annotations) (download)
Fri Dec 30 15:43:10 2011 UTC (8 years, 3 months ago) by halcy0n
Branch: MAIN
Changes since 1.4: +2 -2 lines
Revert to ~ppc/~ppc64; bug #381127

(Portage version: 2.1.10.11/cvs/Linux ppc64)

1 arfrever 1.3 # Copyright 1999-2011 Gentoo Foundation
2 ulm 1.1 # Distributed under the terms of the GNU General Public License v2
3 halcy0n 1.5 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/stgit/stgit-0.14.3.ebuild,v 1.4 2011/09/25 17:47:09 armin76 Exp $
4 arfrever 1.3
5     EAPI="3"
6     PYTHON_DEPEND="2"
7 ulm 1.1
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 halcy0n 1.5 KEYWORDS="amd64 ~ppc ~ppc64 x86"
17 ulm 1.1 IUSE=""
18    
19 sping 1.2 RDEPEND=">=dev-vcs/git-1.5"
20 ulm 1.1 DEPEND="$RDEPEND"
21    
22 arfrever 1.3 pkg_setup() {
23     python_set_active_version 2
24     python_pkg_setup
25     }
26    
27 ulm 1.1 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