/[gentoo-x86]/dev-vcs/git/git-9999.ebuild
Gentoo

Diff of /dev-vcs/git/git-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 Revision 1.12
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-9999.ebuild,v 1.11 2011/01/07 21:51:31 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-9999.ebuild,v 1.12 2011/01/07 23:06:38 robbat2 Exp $
4 4
5EAPI=3 5EAPI=3
6 6
7GENTOO_DEPEND_ON_PERL=no 7GENTOO_DEPEND_ON_PERL=no
8
9# bug #329479: git-remote-testgit is not multiple-version aware
10PYTHON_DEPEND="python? 2"
11
8inherit toolchain-funcs eutils elisp-common perl-module bash-completion 12inherit toolchain-funcs eutils elisp-common perl-module bash-completion python
9[ "$PV" == "9999" ] && inherit git 13[ "$PV" == "9999" ] && inherit git
10 14
11MY_PV="${PV/_rc/.rc}" 15MY_PV="${PV/_rc/.rc}"
12MY_P="${PN}-${MY_PV}" 16MY_P="${PN}-${MY_PV}"
13 17
35# Common to both DEPEND and RDEPEND 39# Common to both DEPEND and RDEPEND
36CDEPEND=" 40CDEPEND="
37 !blksha1? ( dev-libs/openssl ) 41 !blksha1? ( dev-libs/openssl )
38 sys-libs/zlib 42 sys-libs/zlib
39 perl? ( dev-lang/perl[-build] ) 43 perl? ( dev-lang/perl[-build] )
40 python? ( dev-lang/python )
41 tk? ( dev-lang/tk ) 44 tk? ( dev-lang/tk )
42 curl? ( 45 curl? (
43 net-misc/curl 46 net-misc/curl
44 webdav? ( dev-libs/expat ) 47 webdav? ( dev-libs/expat )
45 ) 48 )
92 fi 95 fi
93 if use subversion && has_version dev-vcs/subversion && built_with_use --missing false dev-vcs/subversion dso ; then 96 if use subversion && has_version dev-vcs/subversion && built_with_use --missing false dev-vcs/subversion dso ; then
94 ewarn "Per Gentoo bugs #223747, #238586, when subversion is built" 97 ewarn "Per Gentoo bugs #223747, #238586, when subversion is built"
95 ewarn "with USE=dso, there may be weird crashes in git-svn. You" 98 ewarn "with USE=dso, there may be weird crashes in git-svn. You"
96 ewarn "have been warned." 99 ewarn "have been warned."
100 fi
101 if use python ; then
102 python_set_active_version 2
103 python_pkg_setup
97 fi 104 fi
98} 105}
99 106
100# This is needed because for some obscure reasons future calls to make don't 107# This is needed because for some obscure reasons future calls to make don't
101# pick up these exports if we export them in src_unpack() 108# pick up these exports if we export them in src_unpack()
237} 244}
238 245
239git_emake() { 246git_emake() {
240 # bug #326625: PERL_PATH, PERL_MM_OPT 247 # bug #326625: PERL_PATH, PERL_MM_OPT
241 # bug #320647: PYTHON_PATH 248 # bug #320647: PYTHON_PATH
249 # bug #329479: EPYTHON
242 PYTHON_PATH="" 250 PYTHON_PATH=""
243 use python && PYTHON_PATH="${EPREFIX}/usr/bin/python" 251 use python && PYTHON_PATH="${EPREFIX}/usr/bin/${EPYTHON}"
244 emake ${MY_MAKEOPTS} \ 252 emake ${MY_MAKEOPTS} \
245 DESTDIR="${D}" \ 253 DESTDIR="${D}" \
246 OPTCFLAGS="${CFLAGS}" \ 254 OPTCFLAGS="${CFLAGS}" \
247 OPTLDFLAGS="${LDFLAGS}" \ 255 OPTLDFLAGS="${LDFLAGS}" \
248 OPTCC="$(tc-getCC)" \ 256 OPTCC="$(tc-getCC)" \
324 elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die 332 elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
325 fi 333 fi
326 334
327 if use python && use gtk ; then 335 if use python && use gtk ; then
328 dobin "${S}"/contrib/gitview/gitview 336 dobin "${S}"/contrib/gitview/gitview
337 python_convert_shebangs "${D}"/usr/bin/gitview
329 dodoc "${S}"/contrib/gitview/gitview.txt 338 dodoc "${S}"/contrib/gitview/gitview.txt
330 fi 339 fi
331 340
332 dobin contrib/fast-import/git-p4 341 dobin contrib/fast-import/git-p4
333 dodoc contrib/fast-import/git-p4.txt 342 dodoc contrib/fast-import/git-p4.txt

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20