Gentoo Archives: gentoo-commits

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.ebuild
Date: Tue, 25 Mar 2008 17:23:42
Message-Id: E1JeCs7-000410-EV@stork.gentoo.org
1 nelchael 08/03/25 17:23:39
2
3 Modified: ChangeLog
4 Added: mercurial-1.0.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.66 dev-util/mercurial/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?rev=1.66&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?rev=1.66&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/ChangeLog?r1=1.65&r2=1.66
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v
19 retrieving revision 1.65
20 retrieving revision 1.66
21 diff -u -r1.65 -r1.66
22 --- ChangeLog 21 Jan 2008 09:36:03 -0000 1.65
23 +++ ChangeLog 25 Mar 2008 17:23:38 -0000 1.66
24 @@ -1,6 +1,11 @@
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.65 2008/01/21 09:36:03 nelchael Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/ChangeLog,v 1.66 2008/03/25 17:23:38 nelchael Exp $
29 +
30 +*mercurial-1.0 (25 Mar 2008)
31 +
32 + 25 Mar 2008; Krzysiek Pawlik <nelchael@g.o> +mercurial-1.0.ebuild:
33 + Version bump.
34
35 21 Jan 2008; Krzysiek Pawlik <nelchael@g.o>
36 mercurial-0.9.5-r1.ebuild:
37
38
39
40 1.1 dev-util/mercurial/mercurial-1.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/mercurial-1.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/mercurial/mercurial-1.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: mercurial-1.0.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-util/mercurial/mercurial-1.0.ebuild,v 1.1 2008/03/25 17:23:38 nelchael Exp $
50
51 inherit bash-completion distutils elisp-common flag-o-matic
52
53 DESCRIPTION="Scalable distributed SCM"
54 HOMEPAGE="http://www.selenic.com/mercurial/"
55 SRC_URI="http://www.selenic.com/mercurial/release/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
60 IUSE="bugzilla cvs darcs emacs git gpg subversion test zsh-completion"
61
62 CDEPEND=">=dev-lang/python-2.3"
63 RDEPEND="${CDEPEND}
64 bugzilla? ( dev-python/mysql-python )
65 cvs? ( dev-util/cvs )
66 darcs? ( || ( dev-python/celementtree dev-python/elementtree ) )
67 git? ( dev-util/git )
68 gpg? ( app-crypt/gnupg )
69 subversion? ( dev-util/subversion )
70 zsh-completion? ( app-shells/zsh )"
71 DEPEND="${CDEPEND}
72 emacs? ( virtual/emacs )
73 test? ( app-arch/unzip )"
74
75 PYTHON_MODNAME="${PN} hgext"
76 SITEFILE="70${PN}-gentoo.el"
77
78 src_compile() {
79 filter-flags -ftracer -ftree-vectorize
80
81 distutils_src_compile
82
83 if use emacs; then
84 cd "${S}"/contrib
85 elisp-compile mercurial.el || die "elisp-compile failed!"
86 fi
87
88 rm -rf contrib/{win32,macosx}
89 }
90
91 src_install() {
92 distutils_src_install
93
94 dobashcompletion contrib/bash_completion ${PN}
95
96 if use zsh-completion ; then
97 insinto /usr/share/zsh/site-functions
98 newins contrib/zsh_completion _hg
99 fi
100
101 dodoc CONTRIBUTORS PKG-INFO README doc/*.txt
102 cp hgweb*.cgi "${D}"/usr/share/doc/${PF}/
103 rm -f contrib/bash_completion
104 cp -r contrib "${D}"/usr/share/doc/${PF}/
105 doman doc/*.?
106
107 if use emacs; then
108 elisp-install ${PN} contrib/mercurial.el* || die "elisp-install failed!"
109 elisp-site-file-install "${FILESDIR}"/${SITEFILE}
110 fi
111 }
112
113 pkg_postinst() {
114 distutils_pkg_postinst
115 use emacs && elisp-site-regen
116 bash-completion_pkg_postinst
117 }
118
119 pkg_postrm() {
120 distutils_pkg_postrm
121 use emacs && elisp-site-regen
122 }
123
124
125
126 --
127 gentoo-commits@l.g.o mailing list