Gentoo Archives: gentoo-commits

From: "Alexys Jacob (ultrabug)" <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/crmsh: crmsh-2.1.1.ebuild ChangeLog crmsh-1.2.6.ebuild crmsh-2.1.0.ebuild
Date: Tue, 02 Dec 2014 14:41:06
Message-Id: 20141202144059.5C681B5B9@oystercatcher.gentoo.org
1 ultrabug 14/12/02 14:40:59
2
3 Modified: ChangeLog
4 Added: crmsh-2.1.1.ebuild
5 Removed: crmsh-1.2.6.ebuild crmsh-2.1.0.ebuild
6 Log:
7 version bump, drop old
8
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B658FA13)
10
11 Revision Changes Path
12 1.14 sys-cluster/crmsh/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/crmsh/ChangeLog?rev=1.14&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/crmsh/ChangeLog?rev=1.14&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/crmsh/ChangeLog?r1=1.13&r2=1.14
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/crmsh/ChangeLog,v
21 retrieving revision 1.13
22 retrieving revision 1.14
23 diff -u -r1.13 -r1.14
24 --- ChangeLog 8 Oct 2014 10:02:22 -0000 1.13
25 +++ ChangeLog 2 Dec 2014 14:40:59 -0000 1.14
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sys-cluster/crmsh
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/crmsh/ChangeLog,v 1.13 2014/10/08 10:02:22 ultrabug Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/crmsh/ChangeLog,v 1.14 2014/12/02 14:40:59 ultrabug Exp $
31 +
32 +*crmsh-2.1.1 (02 Dec 2014)
33 +
34 + 02 Dec 2014; Ultrabug <ultrabug@g.o> -crmsh-1.2.6.ebuild,
35 + -crmsh-2.1.0.ebuild, +crmsh-2.1.1.ebuild:
36 + version bump, drop old stuff
37
38 *crmsh-2.1.0 (08 Oct 2014)
39
40
41
42
43 1.1 sys-cluster/crmsh/crmsh-2.1.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/crmsh/crmsh-2.1.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/crmsh/crmsh-2.1.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: crmsh-2.1.1.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/crmsh/crmsh-2.1.1.ebuild,v 1.1 2014/12/02 14:40:59 ultrabug Exp $
53
54 EAPI=5
55
56 PYTHON_COMPAT=( python{2_6,2_7} )
57
58 AUTOTOOLS_AUTORECONF=true
59 KEYWORDS=""
60 SRC_URI=""
61
62 if [[ ${PV} == *9999 ]]; then
63 EGIT_REPO_URI="git://github.com/crmsh/crmsh"
64 inherit git-2
65 S="${WORKDIR}/${PN}-${MY_TREE}"
66 else
67 SRC_URI="https://github.com/crmsh/crmsh/archive/${PV}.tar.gz -> ${P}.tar.gz"
68 KEYWORDS="~amd64 ~hppa ~x86"
69 fi
70
71 inherit autotools-utils python-r1
72
73 DESCRIPTION="Pacemaker command line interface for management and configuration"
74 HOMEPAGE="http://crmsh.github.io/"
75
76 LICENSE="GPL-2"
77 SLOT="0"
78 IUSE=""
79
80 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
81
82 DEPEND="${PYTHON_DEPS}
83 >=sys-cluster/pacemaker-1.1.8"
84 RDEPEND="${DEPEND}
85 dev-python/lxml[${PYTHON_USEDEP}]"
86
87 src_prepare() {
88 sed \
89 -e 's@CRM_CACHE_DIR=${localstatedir}/cache/crm@CRM_CACHE_DIR=${localstatedir}/crmsh@g' \
90 -i configure.ac || die
91 autotools-utils_src_prepare
92 }
93
94 src_configure() {
95 python_foreach_impl autotools-utils_src_configure
96 }
97
98 src_compile() {
99 python_foreach_impl autotools-utils_src_compile
100 }
101
102 src_install() {
103 python_foreach_impl autotools-utils_src_install
104 python_replicate_script "${ED}"/usr/sbin/crm
105 }