From: | "Krzysiek Pawlik (nelchael)" <nelchael@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/mercurial: ChangeLog mercurial-1.0.1-r2.ebuild |
Date: | Tue, 01 Jul 2008 06:34:19 |
Message-Id: | E1KDZRN-0001BK-Ah@stork.gentoo.org |
1 | nelchael 08/07/01 06:34:13 |
2 | |
3 | Modified: ChangeLog |
4 | Added: mercurial-1.0.1-r2.ebuild |
5 | Log: |
6 | Add patch to fix git patches handling. |
7 | (Portage version: 2.2_rc1/cvs/Linux 2.6.25-tuxonice-r5 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.71 dev-util/mercurial/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?rev=1.71&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?rev=1.71&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?r1=1.70&r2=1.71 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v |
19 | retrieving revision 1.70 |
20 | retrieving revision 1.71 |
21 | diff -u -r1.70 -r1.71 |
22 | --- ChangeLog 9 Jun 2008 19:34:22 -0000 1.70 |
23 | +++ ChangeLog 1 Jul 2008 06:34:12 -0000 1.71 |
24 | @@ -1,6 +1,13 @@ |
25 | # ChangeLog for dev-util/mercurial |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.70 2008/06/09 19:34:22 nelchael Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.71 2008/07/01 06:34:12 nelchael Exp $ |
29 | + |
30 | +*mercurial-1.0.1-r2 (01 Jul 2008) |
31 | + |
32 | + 01 Jul 2008; Krzysiek Pawlik <nelchael@g.o> |
33 | + +files/mercurial-1.0.1-87c704ac92d4-git-patch.patch, |
34 | + +mercurial-1.0.1-r2.ebuild: |
35 | + Add patch to fix git patches handling. |
36 | |
37 | 09 Jun 2008; Krzysiek Pawlik <nelchael@g.o> |
38 | mercurial-1.0.1-r1.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 dev-util/mercurial/mercurial-1.0.1-r2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/mercurial-1.0.1-r2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/mercurial-1.0.1-r2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: mercurial-1.0.1-r2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2008 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-1.0.1-r2.ebuild,v 1.1 2008/07/01 06:34:12 nelchael Exp $ |
52 | |
53 | inherit bash-completion distutils elisp-common flag-o-matic eutils |
54 | |
55 | DESCRIPTION="Scalable distributed SCM" |
56 | HOMEPAGE="http://www.selenic.com/mercurial/" |
57 | SRC_URI="http://www.selenic.com/mercurial/release/${P}.tar.gz" |
58 | |
59 | LICENSE="GPL-2" |
60 | SLOT="0" |
61 | KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
62 | IUSE="bugzilla cvs darcs emacs git gpg subversion test zsh-completion" |
63 | |
64 | CDEPEND=">=dev-lang/python-2.3" |
65 | RDEPEND="${CDEPEND} |
66 | bugzilla? ( dev-python/mysql-python ) |
67 | cvs? ( dev-util/cvs ) |
68 | darcs? ( || ( dev-python/celementtree dev-python/elementtree ) ) |
69 | git? ( dev-util/git ) |
70 | gpg? ( app-crypt/gnupg ) |
71 | subversion? ( dev-util/subversion ) |
72 | zsh-completion? ( app-shells/zsh )" |
73 | DEPEND="${CDEPEND} |
74 | emacs? ( virtual/emacs ) |
75 | test? ( app-arch/unzip )" |
76 | |
77 | PYTHON_MODNAME="${PN} hgext" |
78 | SITEFILE="70${PN}-gentoo.el" |
79 | |
80 | src_unpack() { |
81 | distutils_src_unpack |
82 | cd "${S}" |
83 | epatch "${FILESDIR}/${P}-87c704ac92d4-git-patch.patch" |
84 | } |
85 | |
86 | src_compile() { |
87 | filter-flags -ftracer -ftree-vectorize |
88 | |
89 | distutils_src_compile |
90 | |
91 | if use emacs; then |
92 | cd "${S}"/contrib |
93 | elisp-compile mercurial.el || die "elisp-compile failed!" |
94 | fi |
95 | |
96 | rm -rf contrib/{win32,macosx} |
97 | } |
98 | |
99 | src_install() { |
100 | distutils_src_install |
101 | |
102 | dobashcompletion contrib/bash_completion ${PN} |
103 | |
104 | if use zsh-completion ; then |
105 | insinto /usr/share/zsh/site-functions |
106 | newins contrib/zsh_completion _hg |
107 | fi |
108 | |
109 | rm -f doc/*.?.txt |
110 | dodoc CONTRIBUTORS PKG-INFO README doc/*.txt |
111 | cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/ |
112 | |
113 | dobin contrib/hgk |
114 | dobin contrib/hg-relink |
115 | dobin contrib/hg-ssh |
116 | |
117 | rm -f contrib/hgk contrib/hg-relink contrib/hg-ssh |
118 | |
119 | rm -f contrib/bash_completion |
120 | cp -r contrib "${D}"/usr/share/doc/${PF}/ |
121 | doman doc/*.? |
122 | |
123 | cat > "${T}/80mercurial" <<-EOF |
124 | HG=/usr/bin/hg |
125 | EOF |
126 | doenvd "${T}/80mercurial" |
127 | |
128 | if use emacs; then |
129 | elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!" |
130 | elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
131 | fi |
132 | } |
133 | |
134 | pkg_postinst() { |
135 | distutils_pkg_postinst |
136 | use emacs && elisp-site-regen |
137 | bash-completion_pkg_postinst |
138 | } |
139 | |
140 | pkg_postrm() { |
141 | distutils_pkg_postrm |
142 | use emacs && elisp-site-regen |
143 | } |
144 | |
145 | |
146 | |
147 | -- |
148 | gentoo-commits@l.g.o mailing list |